{"id":"agentica-infrastructure","name":"agentica-infrastructure","summary":"AgenticaマルチエージェントインフラストラクチャAPIの参考ガイド","body":"# Agentica Infrastructure Reference\n\nComplete API specification for Agentica multi-agent coordination infrastructure.\n\n## When to Use\n\n- Building multi-agent workflows with Agentica patterns\n- Need exact constructor signatures for pattern classes\n- Want to understand coordination database schema\n- Implementing custom patterns using primitives\n- Debugging agent tracking or orphan detection\n\n## Quick Reference\n\n### 11 Pattern Classes\n\n| Pattern | Purpose | Key Method |\n|---------|---------|------------|\n| `Swarm` | Parallel perspectives | `.execute(query)` |\n| `Pipeline` | Sequential stages | `.run(initial_state)` |\n| `Hierarchical` | Coordinator + specialists | `.execute(task)` |\n| `Jury` | Voting consensus | `.decide(return_type, question)` |\n| `GeneratorCritic` | Iterative refinement | `.run(task)` |\n| `CircuitBreaker` | Failure fallback | `.execute(query)` |\n| `Adversarial` | Debate + judge | `.resolve(question)` |\n| `ChainOfResponsibility` | Route to handler | `.process(query)` |\n| `MapReduce` | Fan out + reduce | `.execute(query, chunks)` |\n| `Blackboard` | Shared state | `.solve(query)` |\n| `EventDriven` | Event bus | `.publish(event)` |\n\n### Core Infrastructure\n\n| Component | File | Purpose |\n|-----------|------|---------|\n| `CoordinationDB` | `coordination.py` | SQLite tracking |\n| `tracked_spawn` | `tracked_agent.py` | Agent with tracking |\n| `HandoffAtom` | `handoff_atom.py` | Universal handoff format |\n| `BlackboardCache` | `blackboard.py` | Hot tier communication |\n| `MemoryService` | `memory_service.py` | Core + Archival memory |\n| `create_claude_scope` | `claude_scope.py` | Scope with file ops |\n\n### Primitives\n\n| Primitive | Purpose |\n|-----------|---------|\n| `Consensus` | Voting (MAJORITY, UNANIMOUS, THRESHOLD) |\n| `Aggregator` | Combine results (MERGE, CONCAT, BEST) |\n| `HandoffState` | Structured agent handoff |\n| `build_premise` | Structured premise builder |\n| `gather_fail_fast` | TaskGroup-based parallel execution |\n\n## Full API Spec\n\nSee: `API_SPEC.md` in this skill directory\n\n## Usage Example\n\n```python\nfrom scripts.agentica_patterns.patterns import Swarm, Jury\nfrom scripts.agentica_patterns.primitives import ConsensusMode\nfrom scripts.agentica_patterns.coordination import CoordinationDB\nfrom scripts.agentica_patterns.tracked_agent import tracked_spawn\n\n# Create tracking database\ndb = CoordinationDB(session_id=\"my-session\")\n\n# Swarm with tracking\nswarm = Swarm(\n    perspectives=[\"Security expert\", \"Performance expert\"],\n    db=db\n)\nresult = await swarm.execute(\"Review this code\")\n\n# Jury with consensus\njury = Jury(\n    num_jurors=3,\n    consensus_mode=ConsensusMode.MAJORITY,\n    premise=\"You evaluate code quality\",\n    db=db\n)\nverdict = await jury.decide(bool, \"Is this code production ready?\")\n```\n\n## Location\n\nAPI spec: `.claude/skills/agentica-infrastructure/API_SPEC.md`\nSource: `scripts/agentica_patterns/`","author":"@parcadei","ownerProfile":null,"authorContacts":null,"sourceUrl":"https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/agentica-infrastructure","license":"MIT","category":"devops","lang":"en","tokens":686,"stars":0,"calls30d":1,"claimed":false,"visibility":"public","origin":"crawler","version":"0.1.0","createdAt":"2026-08-22","updatedAt":"2026-08-22","files":[{"path":"API_SPEC.md","size":26597,"sha256":"bfbc263573a713aaffa7ab7e8734b121fc424950091e72d2bb2f43b9916bc5b8"}],"requires":{"mcp":[],"tools":["Read"]},"safety":{"flags":[],"scannedAt":"2026-08-22","hasScripts":false,"networkEndpoints":[]}}