multi-agent-orchestration
Skill69 starsChanged 7 months agoMITView on GitHub
Designs and coordinates multi-agent pipelines where specialized agents collaborate to complete complex tasks. Includes communication protocols, failure handling, and state management.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- roedyrustam/vibes-plugtheir own version, first seen Oct 3, 2026
- mnzralee/claude-multi-agent-architecturetheir own version, first seen Oct 3, 2026
- mizchi/skillstheir own version, first seen Oct 2, 2026
- lgzarturo/codeconductortheir own version, first seen Sep 30, 2026
- DavidTeju/shared-skillstheir own version, first seen Sep 3, 2026
- uvwt/agentdock-skillstheir own version, first seen Aug 30, 2026
Used with
Projects with it also use tdd-workflow and prompt-engineering.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
lodetomasiSkilltdd-workflow
Test-Driven Development workflow with red-green-refactor pattern and best practices
Also in 3 projects that use this
kongyo2Skillprompt-engineering
Comprehensive prompt engineering framework for designing, optimizing, and iterating LLM prompts. This skill should be used when users request prompt creation, optimization, or improvement for any LLM task, or when users need help translating vague requirements into effective prompts through collaborative dialogue and iterative refinement.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- mizchi/skills★ 349same name
- roedyrustam/vibes-plug★ 73same name
- qodex-ai/ai-agent-skills★ 45same name
- VoDaiLocz/kilo-kit-mcp★ 27same name
- cobusgreyling/agent-skills★ 18same name
- DavidTeju/shared-skills★ 9same name
- mnzralee/claude-multi-agent-architecture★ 8same name
- uvwt/agentdock-skills★ 7same name
- VersoXBT/claude-initial-setup★ 4same name
- int2t05/engineering-skills★ 3same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-output-validationSkill
- api-designSkill
- ci-cd-pipelinesSkill
- code-explanationSkill
- code-reviewSkill
- context-loadingSkill
- debugging-methodologySkill
- documentationSkill
- error-handlingSkill
- frontend-engineeringSkill
- git-workflowSkill
- goal-driven-executionSkill
- hallucination-preventionSkill
- idea-to-specSkill
- incremental-codingSkill
- integration-testingSkill
- meeting-notes-to-tasksSkill
- observabilitySkill
- performance-optimizationSkill
- production-deploymentSkill
- prompt-injection-defenseSkill
- rag-and-memorySkill
- refactoringSkill
- research-and-summarizeSkill
- security-hardeningSkill
- simplicity-firstSkill
- surgical-changesSkill
- task-decompositionSkill
- test-driven-developmentSkill
- think-before-codingSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Use a shared state store (database, key-value store) for information that multiple agents need.
- Distinctive: line 44
Verify: No agent receives more context than it requires for its specific task.
- Distinctive: line 89
No timeout defined for any agent call
- Distinctive: line 91
No human approval required for irreversible actions
- Distinctive: line 92
No distributed tracing across agent boundaries
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overview
Single agents are limited by context window, specialization depth, and parallelism. Multi-agent systems overcome these limits by routing subtasks to specialized agents. But multi-agent systems introduce new failure modes: lost context, conflicting decisions, infinite loops, and cascading failures.
This skill provides the architecture and coordination patterns to build multi-agent systems that are reliable, observable, and maintainable.
When to Use
- The task requires more context than a single agent can handle
- Different subtasks require different specializations (research, coding, review, security)
- Subtasks can be parallelized for speed
- The workflow is long-running and requires checkpointing
- Different tasks require different levels of human oversight
Process
Step 1: Design the Agent Network
- Define agent responsibilities: Each agent should have a single, well-defined job. Name them by role:
researcher,coder,reviewer,security-auditor,tester. - Define communication topology: Who can talk to whom?
- Pipeline: Agent A → Agent B → Agent C (sequential)
- Supervisor: Orchestrator dispatches to specialists (hub-and-spoke)
- Peer: Agents collaborate as equals (mesh)
- Define data contracts: What does each agent receive? What does it output? Use structured formats (JSON schemas) for inter-agent communication.
- Define the orchestration logic: Who decides which agent acts next?
Verify: You can draw the agent network on a whiteboard with clear roles and data flow.
Step 2: Implement Context Management
- Each agent should receive only the context it needs — not the full conversation history.
- Use a shared state store (database, key-value store) for information that multiple agents need.
- Pass summaries, not full transcripts, when context must traverse agent boundaries.
- Include a task ID in every message for tracing.
Verify: No agent receives more context than it requires for its specific task.
Step 3: Design for Failure
- Every agent call can fail — plan for it:
- Timeout with a defined maximum duration
- Retry with exponential backoff (max 3 retries)
- Fallback behavior when retries are exhausted
- Prevent infinite loops: Track call depth. If depth > N (e.g., 10), surface to human review.
- Checkpointing: For long workflows, save state after each major step so the workflow can be resumed after failure.
- Dead letter queue: Failed tasks that exhaust retries go to a queue for human inspection.
Verify: Failure scenarios are defined for every agent-to-agent call.
Step 4: Human-in-the-Loop Checkpoints
- Define which decisions require human approval:
- Irreversible actions (data deletion, financial transactions, external communications)
- High-uncertainty states (agents disagree, confidence below threshold)
- Sensitive operations (PII access, privileged system access)
- Design the human review interface: What information does the reviewer need? What actions can they take?
Verify: At least one human-in-the-loop checkpoint exists for high-risk operations.
Step 5: Observability
- Log every agent invocation: inputs, outputs, duration, token usage, errors.
- Implement distributed tracing across the agent network (trace ID propagated through all calls).
- Dashboard: agent activity, success/failure rates, latency, token consumption.
- Alerts: agent down, retry rate spike, context overflow, unexpected output patterns.
Verify: You can trace any specific task's full execution path across all agents from logs alone.
Common Rationalizations (and Rebuttals)
| Excuse | Rebuttal |
| "One agent is simpler" | Until it hits context limits, fails silently, or produces wrong results. Multi-agent is the right tool for complex tasks. |
| "We'll add observability later" | Multi-agent systems without observability are black boxes. Debug them in production — I dare you. |
| "Agents are smart, they'll figure it out" | Agents are tools. They need clear roles, contracts, and failure boundaries. |
| "The happy path works fine" | Multi-agent systems fail in complex ways. Design for failure from day one. |
Red Flags
- Agents pass full conversation history to other agents (context bloat)
- No timeout defined for any agent call
- Agents can call each other recursively without depth limits
- No human approval required for irreversible actions
- No distributed tracing across agent boundaries
- Agents making conflicting state changes with no conflict resolution
Verification
- Agent network designed with clear roles and data contracts
- Context is minimized at each agent boundary
- Failure handling (timeout, retry, fallback) for every agent call
- Infinite loop prevention via call depth limits
- Human-in-the-loop checkpoints for high-risk operations
- Distributed tracing implemented across agents
- End-to-end test of failure scenarios
References
- task-decomposition skill
- observability skill
- prompt-injection-defense skill
- hallucination-prevention skill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

