Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reference guide for Agentica multi-agent infrastructure APIs
.claude/skills/agentica-infrastructure/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -42% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -24% | 0% |
Complete API specification for Agentica multi-agent coordination infrastructure.
| Pattern | Purpose | Key Method | |---------|---------|------------| | Swarm | Parallel perspectives | .execute(query) | | Pipeline | Sequential stages | .run(initial_state) | | Hierarchical | Coordinator + specialists | .execute(task) | | Jury | Voting consensus | .decide(return_type, question) | | GeneratorCritic | Iterative refinement | .run(task) | | CircuitBreaker | Failure fallback | .execute(query) | | Adversarial | Debate + judge | .resolve(question) | | ChainOfResponsibility | Route to handler | .process(query) | | MapReduce | Fan out + reduce | .execute(query, chunks) | | Blackboard | Shared state | .solve(query) | | EventDriven | Event bus | .publish(event) |
| Component | File | Purpose | |-----------|------|---------| | CoordinationDB | coordination.py | SQLite tracking | | tracked_spawn | tracked_agent.py | Agent with tracking | | HandoffAtom | handoff_atom.py | Universal handoff format | | BlackboardCache | blackboard.py | Hot tier communication | | MemoryService | memory_service.py | Core + Archival memory | | create_claude_scope | claude_scope.py | Scope with file ops |
| Primitive | Purpose | |-----------|---------| | Consensus | Voting (MAJORITY, UNANIMOUS, THRESHOLD) | | Aggregator | Combine results (MERGE, CONCAT, BEST) | | HandoffState | Structured agent handoff | | build_premise | Structured premise builder | | gather_fail_fast | TaskGroup-based parallel execution |
See: API_SPEC.md in this skill directory
pythonfrom 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?")
API spec: .claude/skills/agentica-infrastructure/API_SPEC.md Source: scripts/agentica_patterns/
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 20,478 | 8,079 | -61% | 1 | 1 | 0% | 4,310 | 2,490 | -42% | 0 | 0 | — |
case-22 | pass→pass | 9,608 | 6,001 | -38% | 1 | 1 | 0% | 1,818 | 2,019 | +11% | 0 | 0 | — |
case-02 | fail→pass | 15,580 | 4,736 | -70% | 1 | 1 | 0% | 3,256 | 1,831 | -44% | 0 | 0 | — |
case-03 | fail→pass | 13,464 | 6,819 | -49% | 1 | 1 | 0% | 2,917 | 2,351 | -19% | 0 | 0 | — |
case-04 | fail→pass | 12,241 | 6,820 | -44% | 1 | 1 | 0% | 2,184 | 2,144 | -2% | 0 | 0 | — |
case-05 | fail→pass | 11,611 | 4,626 | -60% | 1 | 1 | 0% | 2,098 | 1,602 | -24% | 0 | 0 | — |
case-11 | fail→pass | 10,459 | 3,081 | -71% | 1 | 1 | 0% | 1,840 | 1,373 | -25% | 0 | 0 | — |
case-06 | fail→pass | 8,810 | 2,870 | -67% | 1 | 1 | 0% | 1,434 | 1,345 | -6% | 0 | 0 | — |
case-07 | fail→pass | 13,663 | 4,207 | -69% | 1 | 1 | 0% | 2,065 | 1,595 | -23% | 0 | 0 | — |
case-08 | fail→pass | 8,222 | 2,493 | -70% | 1 | 1 | 0% | 1,329 | 1,276 | -4% | 0 | 0 | — |
case-09 | fail→pass | 12,166 | 4,821 | -60% | 1 | 1 | 0% | 2,158 | 1,607 | -26% | 0 | 0 | — |
case-10 | fail→pass | 8,235 | 3,449 | -58% | 1 | 1 | 0% | 1,362 | 1,463 | +7% | 0 | 0 | — |
case-12 | fail→pass | 14,650 | 3,060 | -79% | 1 | 1 | 0% | 2,102 | 1,303 | -38% | 0 | 0 | — |
case-13 | fail→fail | 8,450 | 2,476 | -71% | 1 | 1 | 0% | 1,411 | 1,225 | -13% | 0 | 0 | — |
case-14 | fail→pass | 13,128 | 4,072 | -69% | 1 | 1 | 0% | 2,326 | 1,518 | -35% | 0 | 0 | — |
case-15 | fail→pass | 12,867 | 2,658 | -79% | 1 | 1 | 0% | 2,182 | 1,178 | -46% | 0 | 0 | — |
case-21 | fail→fail | 11,383 | 10,545 | -7% | 1 | 1 | 0% | 2,404 | 3,074 | +28% | 0 | 0 | — |
case-16 | pass→pass | 8,881 | 1,813 | -80% | 1 | 1 | 0% | 1,427 | 1,066 | -25% | 0 | 0 | — |
case-17 | pass→pass | 11,202 | 1,846 | -84% | 1 | 1 | 0% | 1,927 | 1,045 | -46% | 0 | 0 | — |
case-18 | fail→pass | 14,371 | 2,657 | -82% | 1 | 1 | 0% | 2,448 | 1,243 | -49% | 0 | 0 | — |
case-19 | fail→pass | 10,423 | 2,681 | -74% | 1 | 1 | 0% | 1,667 | 1,248 | -25% | 0 | 0 | — |
case-20 | pass→pass | 11,673 | 9,755 | -16% | 1 | 1 | 0% | 2,387 | 2,727 | +14% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +73 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/29/2026 | +78% |
Other measured skills in the registry, with their headline benchmark lift.