Loading...
Loading...
Reference guide for Agentica multi-agent infrastructure APIs
npx skill4agent add parcadei/continuous-claude-v3 agentica-infrastructure| Pattern | Purpose | Key Method |
|---|---|---|
| Parallel perspectives | |
| Sequential stages | |
| Coordinator + specialists | |
| Voting consensus | |
| Iterative refinement | |
| Failure fallback | |
| Debate + judge | |
| Route to handler | |
| Fan out + reduce | |
| Shared state | |
| Event bus | |
| Component | File | Purpose |
|---|---|---|
| | SQLite tracking |
| | Agent with tracking |
| | Universal handoff format |
| | Hot tier communication |
| | Core + Archival memory |
| | Scope with file ops |
| Primitive | Purpose |
|---|---|
| Voting (MAJORITY, UNANIMOUS, THRESHOLD) |
| Combine results (MERGE, CONCAT, BEST) |
| Structured agent handoff |
| Structured premise builder |
| TaskGroup-based parallel execution |
API_SPEC.mdfrom 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?").claude/skills/agentica-infrastructure/API_SPEC.mdscripts/agentica_patterns/