AG

agentica-infrastructure

Comprehensive API documentation for building coordinated multi-agent systems.

Install

mkdir -p .claude/skills/agentica-infrastructure && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2321" && unzip -o skill.zip -d .claude/skills/agentica-infrastructure && rm skill.zip

Installs to .claude/skills/agentica-infrastructure

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Reference guide for Agentica multi-agent infrastructure APIs
60 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Define multi-agent coordination patterns
  • Implement swarm and jury consensus logic
  • Access coordination database schemas
  • Track agent state and memory
  • Manage handoff atoms

How it works

The infrastructure provides standardized classes and primitives for building multi-agent systems, using a SQLite-backed database to track state and agent interactions.

Inputs & outputs

You give it
coordination pattern configuration
You get back
agent execution result or consensus verdict

When to use agentica-infrastructure

  • Implementing multi-agent coordination patterns
  • Accessing coordination database schemas
  • Building custom agent patterns
  • Debugging agent tracking and memory

About this skill

Agentica Infrastructure Reference

Complete API specification for Agentica multi-agent coordination infrastructure.

When to Use

  • Building multi-agent workflows with Agentica patterns
  • Need exact constructor signatures for pattern classes
  • Want to understand coordination database schema
  • Implementing custom patterns using primitives
  • Debugging agent tracking or orphan detection

Quick Reference

11 Pattern Classes

PatternPurposeKey Method
SwarmParallel perspectives.execute(query)
PipelineSequential stages.run(initial_state)
HierarchicalCoordinator + specialists.execute(task)
JuryVoting consensus.decide(return_type, question)
GeneratorCriticIterative refinement.run(task)
CircuitBreakerFailure fallback.execute(query)
AdversarialDebate + judge.resolve(question)
ChainOfResponsibilityRoute to handler.process(query)
MapReduceFan out + reduce.execute(query, chunks)
BlackboardShared state.solve(query)
EventDrivenEvent bus.publish(event)

Core Infrastructure

ComponentFilePurpose
CoordinationDBcoordination.pySQLite tracking
tracked_spawntracked_agent.pyAgent with tracking
HandoffAtomhandoff_atom.pyUniversal handoff format
BlackboardCacheblackboard.pyHot tier communication
MemoryServicememory_service.pyCore + Archival memory
create_claude_scopeclaude_scope.pyScope with file ops

Primitives

PrimitivePurpose
ConsensusVoting (MAJORITY, UNANIMOUS, THRESHOLD)
AggregatorCombine results (MERGE, CONCAT, BEST)
HandoffStateStructured agent handoff
build_premiseStructured premise builder
gather_fail_fastTaskGroup-based parallel execution

Full API Spec

See: API_SPEC.md in this skill directory

Usage Example

from scripts.agentica_patterns.patterns import Swarm, Jury
from scripts.agentica_patterns.primitives import ConsensusMode
from scripts.agentica_patterns.coordination import CoordinationDB
from scripts.agentica_patterns.tracked_agent import tracked_spawn

# Create tracking database
db = CoordinationDB(session_id="my-session")

# Swarm with tracking
swarm = Swarm(
    perspectives=["Security expert", "Performance expert"],
    db=db
)
result = await swarm.execute("Review this code")

# Jury with consensus
jury = Jury(
    num_jurors=3,
    consensus_mode=ConsensusMode.MAJORITY,
    premise="You evaluate code quality",
    db=db
)
verdict = await jury.decide(bool, "Is this code production ready?")

Location

API spec: .claude/skills/agentica-infrastructure/API_SPEC.md Source: scripts/agentica_patterns/

When not to use it

  • Simple single-agent scripts
  • Non-Agentica infrastructure environments

Prerequisites

Agentica infrastructure library

Limitations

  • Requires adherence to Agentica pattern classes
  • Limited to supported coordination primitives

How it compares

It provides a structured framework for complex agent orchestration instead of building custom, ad-hoc coordination logic.

Compared to similar skills

agentica-infrastructure side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
agentica-infrastructure (this skill)27moNo flagsIntermediate
mcp-builder1363moReviewAdvanced
ai-agents-architect56moNo flagsAdvanced
llm-app-patterns36moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

mcp-builder

anthropics

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

136215

ai-agents-architect

davila7

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration. Use when: build agent, AI agent, autonomous agent, tool use, function calling.

534

llm-app-patterns

davila7

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

326

devtu-create-tool

mims-harvard

Create new scientific tools for ToolUniverse framework with proper structure, validation, and testing. Use when users need to add tools to ToolUniverse, implement new API integrations, create tool wrappers for scientific databases/services, expand ToolUniverse capabilities, or follow ToolUniverse contribution guidelines. Supports creating tool classes, JSON configurations, validation, error handling, and test examples.

14

mcp-builder

keepsty

MCP 服务器构建方法论 — 系统化构建生产级 MCP 工具,让 AI 助手连接外部能力

00

llm-council

am-will

Orchestrate a configurable, multi-member CLI planning council (Codex, Claude Code, Gemini, OpenCode, or custom) to produce independent implementation plans, anonymize and randomize them, then judge and merge into one final plan. Use when you need a robust, bias-resistant planning workflow, structured JSON outputs, retries, and failure handling across multiple CLI agents.

410

Search skills

Search the agent skills registry