multi-agent-architecture-reference
БесплатноЗапускает вложенные скриптыНе проверенDecision matrix for selecting multi-agent topologies (Supervisor, Swarm, Hierarchical, Conductor) with token economics, failure modes, and escalation paths
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
Multi-Agent Architecture Reference
Step 1: Characterize the Task
Answer these four questions before selecting a topology:
- Task independence: Can sub-tasks run in parallel without shared state? (YES → Swarm or Fan-out)
- Task types known: Is the set of task types stable and deterministic at design time? (YES → Supervisor)
- Phase complexity: Does the work require multi-stage sub-orchestration? (YES → Hierarchical or Conductor)
- Stakes: Does an incorrect outcome require multi-reviewer agreement? (YES → Consensus Voting)
Step 2: Apply the Topology Decision Matrix
| Topology | Token Cost | Best For | Failure Modes | Existing Skill |
|---|---|---|---|---|
| Conductor | ~6x | Sequential phases, ordered agent steps, default agent-studio pattern | Orchestrator overload (SE-M01) | master-orchestrator.md |
| Supervisor | ~5x | Known task types, specialist agents, deterministic routing | Single point of failure; router miscalibration (SE-M01) | Built into Router |
| Fan-out/Fan-in | ~8x | Parallel review/analysis, map-reduce, search | Result aggregation complexity | wave-executor |
| Swarm | ~8x | Independent tasks, load balancing, fault-tolerant processing | Coordination overhead; consensus deadlock; orphaned tasks (SE-M02, SE-M05) | swarm-coordination |
| Consensus Voting | ~12x | High-stakes decisions requiring multi-reviewer agreement | Deadlock on split votes (SE-M02) | consensus-voting |
| Hierarchical | ~15x | EPIC complexity, multiple distinct phases with sub-orchestration | Cascade failures; token runaway at depth >3 (SE-M03, SE-M04) | Custom per project |
Token costs are relative to single-agent baseline (as of 2026). Use as order-of-magnitude guidance.
Step 3: Check Failure Mode Taxonomy
Before finalizing topology, verify mitigation for relevant failure modes:
SE-M01: Coordinator Overload
- Topologies affected: Supervisor, Conductor, Hierarchical root
- Symptom: Single coordinator receives more traffic than it can route
- Fix: Distribute coordination or add routing replicas; use
wave-executorfor fan-out
SE-M02: Swarm Deadlock
- Topologies affected: Swarm, Consensus Voting
- Symptom: Agents wait for each other's consensus indefinitely
- Fix: Timeout + majority-vote with tie-breaker; set consensus_timeout_ms
SE-M03: Cascade Failure
- Topologies affected: Hierarchical
- Symptom: A mid-level agent failure halts all downstream agents
- Fix: Circuit breakers at each tier; retry with backoff; fallback agents
SE-M04: Token Runaway
- Topologies affected: Hierarchical
- Symptom: Spawning too many levels burns tokens exponentially
- Fix: Set max_depth=3; monitor token budget per level; prefer Conductor over deep Hierarchical
SE-M05: Orphaned Tasks
- Topologies affected: Swarm
- Symptom: Agents drop tasks when no ownership is clear
- Fix: Assign task IDs; use TaskUpdate tracking; require TaskUpdate(in_progress) on pickup
Step 4: Apply Escalation Path
Use the complexity escalation ladder when initial topology is insufficient:
TRIVIAL → Single agent (no multi-agent needed)
↓ (task types > 1, > 3 files)
LOW → Supervisor (router delegates to 2-3 specialists)
↓ (parallel processing needed)
MEDIUM → Conductor + Fan-out (master-orchestrator + wave-executor)
↓ (multi-phase with sub-orchestration)
HIGH → Hierarchical (orchestrators at multiple tiers)
↓ (high-stakes decision required)
EPIC → Hierarchical + Consensus Voting (max 3 tiers + voting g
Установить multi-agent-architecture-reference в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWebSearchWebFetchВложенные файлы
FAQ
Что делает скилл multi-agent-architecture-reference?
Decision matrix for selecting multi-agent topologies (Supervisor, Swarm, Hierarchical, Conductor) with token economics, failure modes, and escalation paths
Как установить скилл multi-agent-architecture-reference?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл multi-agent-architecture-reference запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic