Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

multi-agent-architecture-reference

БесплатноЗапускает вложенные скриптыНе проверен

Decision matrix for selecting multi-agent topologies (Supervisor, Swarm, Hierarchical, Conductor) with token economics, failure modes, and escalation paths

oimiragieoот oimiragieo★ 48 звёзд на GitHub

Об этом скилле

Multi-Agent Architecture Reference

Canonical reference for multi-agent topology selection — provides a 6-topology decision matrix with token economics, failure modes, escalation paths, and links to existing agent-studio patterns. - Select the optimal multi-agent topology for a given task based on complexity, cost constraints, and fault tolerance requirements - Estimate token cost multiplier for each topology relative to single-agent baseline - Identify known failure modes (SE-M01 through SE-M05) and their mitigations - Map tasks to existing agent-studio patterns (wave-executor, consensus-voting, swarm-coordination) - Provide escalation path guidance: when to upgrade TRIVIAL → Supervisor → Hierarchical - Reference conductor pattern as agent-studio's default recommendation

Step 1: Characterize the Task

Answer these four questions before selecting a topology:

  1. Task independence: Can sub-tasks run in parallel without shared state? (YES → Swarm or Fan-out)
  2. Task types known: Is the set of task types stable and deterministic at design time? (YES → Supervisor)
  3. Phase complexity: Does the work require multi-stage sub-orchestration? (YES → Hierarchical or Conductor)
  4. 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-executor for 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
Полный SKILL.md на GitHub

Установить multi-agent-architecture-reference в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
WebSearch
WebFetch

Вложенные файлы

commands/multi-agent-architecture-reference.mdhooks/post-execute.cjshooks/pre-execute.cjsreferences/research-requirements.mdrules/multi-agent-architecture-reference.mdschemas/input.schema.jsonschemas/output.schema.jsonscripts/main.cjstemplates/implementation-template.md

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить multi-agent-architecture-reference с