Marketplace

multi-agent

Build multi-agent systems - orchestration, coordination, workflows, and distributed architectures

$ インストール

git clone https://github.com/pluginagentmarketplace/custom-plugin-ai-agents /tmp/custom-plugin-ai-agents && cp -r /tmp/custom-plugin-ai-agents/skills/multi-agent ~/.claude/skills/custom-plugin-ai-agents

// tip: Run this command in your terminal to install the skill


name: multi-agent description: Build multi-agent systems - orchestration, coordination, workflows, and distributed architectures sasmp_version: "1.3.0" bonded_agent: 05-multi-agent bond_type: PRIMARY_BOND version: "2.0.0"

Multi-Agent Systems

Build coordinated multi-agent systems for complex tasks.

When to Use This Skill

Invoke this skill when:

  • Tasks require multiple specialized agents
  • Building orchestrator-worker patterns
  • Implementing agent workflows
  • Coordinating parallel execution

Parameter Schema

ParameterTypeRequiredDescriptionDefault
taskstringYesMulti-agent goal-
architectureenumNoorchestrator-worker, hierarchical, peer-to-peerorchestrator-worker
frameworkenumNolanggraph, autogen, crewailanggraph

Quick Start

from langgraph.graph import StateGraph, MessagesState
from langgraph.prebuilt import create_react_agent

# Create specialized agents
researcher = create_react_agent(llm, [web_search])
coder = create_react_agent(llm, [execute_code])

# Build graph
graph = StateGraph(MessagesState)
graph.add_node("researcher", researcher)
graph.add_node("coder", coder)
graph.add_conditional_edges("coordinator", router)

Architecture Patterns

Orchestrator-Worker

Orchestrator (Opus)
    ├── Researcher (Sonnet)
    ├── Analyst (Sonnet)
    └── Writer (Haiku)

Hierarchical

Manager (Opus)
    ├── Research Lead (Sonnet)
    │   ├── Web Researcher (Haiku)
    │   └── Doc Analyst (Haiku)
    └── Engineering Lead (Sonnet)
        ├── Frontend Dev (Haiku)
        └── Backend Dev (Haiku)

Model Allocation

Agent TypeModelRationale
OrchestratorOpusComplex planning
SpecialistSonnetReasoning
WorkerHaikuSimple tasks

Troubleshooting

IssueSolution
Agents not coordinatingCheck message bus
DeadlockAdd timeout, detect cycles
Inconsistent resultsSynchronize state
High costsUse cheaper models for workers

Best Practices

  • One job per agent (single responsibility)
  • Orchestrator handles planning only
  • Use checkpointing for long workflows
  • Implement circuit breakers per agent

Related Skills

  • ai-agent-basics - Single agents
  • agent-memory - Shared state
  • tool-calling - Per-agent tools

References