Dev & Engineering

Multi-Agent Architecture Patterns

Design multi-agent systems with context isolation, explicit handoffs, coordinated execution, and controlled failure handling.

55/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 18k
Last updated
16d ago
License
MIT
multi-agent-architecturecontext-isolationorchestrationswarm-coordination
+2agent-handoffsparallel-execution

What does this skill do, and when should you use it?

This skill guides developers designing multi-agent systems around supervisor, peer-to-peer swarm, and hierarchical architectures. Its central principle is context isolation: each agent should receive the context needed for its subtask without carrying unnecessary accumulated history. It covers parallelization, handoffs, consensus, validation, and failure mitigation. It is an architecture guide rather than an executable multi-agent runtime.

Explains how to select supervisor, swarm, or hierarchical topologies based on decomposition and coordination needs; designs explicit handoff and state-passing protocols; compares full-context delegation, instruction passing, and filesystem memory; recommends weighted voting, debate protocols, validation checkpoints, retries, circuit breakers, and time-to-live limits; and provides Python pseudocode, architecture diagrams, and references for LangGraph, AutoGen, and CrewAI.

Good fit
  • An agent-platform engineer deciding whether a complex task benefits from multiple isolated contexts.
  • A research-team developer coordinating parallel source searches, document analysis, and synthesis.
  • A customer-service developer routing billing, technical, sales, and general requests through explicit handoffs.
  • A production team diagnosing supervisor saturation, telephone-game information loss, or cascading agent errors.
  • An engineering team structuring a large workflow across strategy, planning, and execution layers.

How do you install this skill?

Before you use it
  • Do not treat scripts/coordination.py as production-ready: it contains synchronous simulation, placeholder logic, and incomplete handoff acknowledgement.
  • Before using filesystem coordination, add path restrictions, a permission model, concurrency guarantees, sensitive-data rules, and recovery procedures.
  • Verify the “approximately 15x cost,” LangGraph performance differences, and other quantitative claims against the original research; this review is static only.
  • Before adopting a framework example, complete dependencies, imports, graph termination conditions, and framework-version compatibility.
Before you start
Your agent needs
  • Network access
  • Local filesystem

Copy the complete skills/multi-agent-patterns directory into a compatible skills directory, for example: mkdir -p .codex/skills && cp -R skills/multi-agent-patterns .codex/skills/. It can also be copied into .claude/skills/ or the generic .agents/skills/ directory. Do not flatten SKILL.md into a standalone file. The source does not specify additional dependency installation.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/multi-agent-patterns" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Use it in an Agent Skills-compatible host with a request such as: Choose a multi-agent architecture for a system that performs parallel research, fact-checking, and report writing, then define its handoff and validation protocols. It is intended to activate for context isolation, supervisor or swarm coordination, explicit handoffs, parallel execution, or deciding whether multiple agents are justified.

What are this skill's strengths and limitations?

Pros
  • Covers supervisor, peer-to-peer swarm, and hierarchical architectures.
  • Treats context isolation as the primary design benefit of multi-agent systems.
  • Provides concrete guidance for handoffs, consensus, validation, and failure handling.
  • Addresses supervisor bottlenecks, information degradation, coordination overhead, and error propagation.
  • Uses platform-agnostic principles with transferable Python pseudocode examples.
Limitations
  • It is primarily architecture guidance and does not provide a complete executable framework implementation or test suite.
  • Multi-agent systems add token cost, communication overhead, and latency; the skill's gotchas recommend budgeting for roughly 15x baseline cost.
  • Framework-specific implementation requires consulting LangGraph, AutoGen, or CrewAI documentation.
  • The source does not provide project-specific performance results or deployment configurations.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Multi-Agent Architecture Patterns this page 55 · Use with care ★ 18k 16d ago MIT
Hermes Ephemeral Delegation 49 · Use with care ★ 7.8k 13d ago MIT
ClawTeam Multi-Agent Coordination 51 · Use with care ★ 1.5k 3mo ago MIT
ClawTeam Multi-Agent Swarm Coordination 49 · Use with care ★ 1.5k 3mo ago MIT
ClawTeam Multi-Agent Swarm Skill (Hermes Edition) 48 · Use with care ★ 1.5k 3mo ago MIT

The skill compares supervisor/orchestrator, peer-to-peer/swarm, and hierarchical architectures: supervisors fit centralized control and human oversight, swarms fit flexible exploration, and hierarchical systems fit large projects with strategy, planning, and execution layers. It also compares full-context delegation, instruction passing, and filesystem memory as isolation mechanisms.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
55/ 100 5-point scale 2.8 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust16 / 25 · 3.2/5

The skill provides architectural guidance and local examples, with no evidence of credential theft, covert exfiltration, or other malicious behavior. However, the filesystem-coordination examples write shared state, create directories, and create lock files without specifying least privilege, sensitive-data handling, user confirmation, isolation boundaries, or rollback, so 9 points are deducted.

2Reliability8 / 20 · 2.0/5

The concepts, reference material, and coordination.py are broadly consistent and include failure handling, retries, and circuit-breaker examples. However, key paths lack skill-specific tests; the handoff acknowledgement flow is incomplete; examples rely on simulated execution and placeholders; and some framework snippets lack complete imports or termination behavior. 12 points are deducted; the static cap is 10, so this receives 8.

3Adaptability11 / 15 · 3.7/5

Activation conditions, topology choices, adjacent-skill boundaries, and non-activation cases are relatively clear, covering supervisor, swarm, and hierarchical systems. Inputs, outputs, non-fit boundaries, and trigger precedence remain insufficiently formalized, and Chinese-language support and mainland-China network fit are not addressed, so 4 points are deducted.

4Convention10 / 15 · 3.3/5

The documentation is well organized and includes progressive topics, examples, gotchas, integration boundaries, references, an MIT license, version, and update date. However, maintenance responsibility is assigned only to a broad contributor group; there is no changelog, explicit update path, dependency-installation guidance, or systematic FAQ, and some material assumes unavailable surrounding context. 5 points are deducted.

5Effectiveness6 / 15 · 2.0/5

The skill can guide topology selection, context isolation, handoffs, consensus, and failure handling, and it includes reusable local coordination code. However, the code contains simulated responses, production replacement points, and framework placeholders; no skill-specific key-path outputs are verified; and substantial engineering work remains, so 9 points are deducted. The static cap is 7, so this receives 6.

6Verifiability4 / 10 · 2.0/5

The skill includes external research and framework references, and repository-level CI and test materials exist. However, the supplied CI does not cover this skill's key paths, external claims and examples lack verifiable skill-specific test results, and some references support concepts rather than the stated quantitative claims. 6 points are deducted; the static cap is 5, so this receives 4.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision c578e85e40fe Review evidence[1][2][3][4][5][6][7][8][9][10]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Will using multiple agents reduce cost?
Not necessarily. The skill warns that multi-agent systems can use substantially more tokens than single-agent systems and should be measured against a single-agent baseline.
Does this skill run or deploy agents automatically?
No. The source provides architecture guidance, pseudocode, and design recommendations, but does not describe an executable runtime or deployment automation.
How can information loss between agents be reduced?
Use explicit handoff and state-passing protocols, apply `forward_message` when synthesis would lose fidelity, and add validation checkpoints for critical outputs.
When should multiple agents be avoided?
Avoid them when the task gains little from context isolation or when decomposition, communication, and consensus costs exceed the benefits of parallel execution.

More skills from this repository

All from muratcankoylan/Agent-Skills-for-Context-Engineering

Dev & Engineering

Latent Briefing

Share task-relevant orchestrator state with workers through task-guided KV-cache compaction when the inference runtime is controllable.

★ 18k FS 55 Use with care 16d ago
Dev & Engineering

Context Engineering for Production Agents

A structured guide to designing, optimizing, and evaluating production agent systems with reliable context management.

★ 18k FS 44 Not recommended 16d ago
Dev & Engineering

Long-Horizon Prompting

Designs auditable launch briefs for autonomous agents and parallel multi-agent work on difficult, long-running tasks.

★ 18k FS 57 Use with care 16d ago
Dev & Engineering

Context Engineering Fundamentals

Understand and shape reliable agent context through attention budgets, context-window mechanics, and signal-density principles.

★ 18k FS 55 Use with care 16d ago
Dev & Engineering

Context Degradation Diagnosis

Identify and mitigate lost attention, poisoning, distraction, confusion, and conflict in long agent contexts.

★ 18k FS 51 Use with care 16d ago
Dev & Engineering

Project Development Methodology

Decide whether an LLM fits the job, then design a staged agent pipeline with predictable parsing, iteration, and cost control.

★ 18k FS 50 Use with care 16d ago
Dev & Engineering

BDI Mental State Modeling

Turn RDF context into explainable belief, desire, and intention chains.

★ 18k FS 49 Use with care 16d ago
Dev & Engineering

Filesystem Context Engineering

Move large, durable, or shared agent context into files and retrieve it selectively when needed.

★ 18k FS 45 Not recommended 16d ago
Dev & Engineering

Context Compression Strategies

Compress long-running agent sessions while preserving files, decisions, risks, and next actions.

★ 18k FS 50 Use with care 16d ago
Dev & Engineering

Agent Evaluation Methods

Build repeatable evaluation, regression detection, and quality gates for agent pipelines.

★ 18k FS 46 Use with care 16d ago
Dev & Engineering

Self-Improvement Loops

Evolve agent harnesses, workflows, and context mechanisms under bounded, evidence-based evaluation.

★ 18k FS 58 Recommended 16d ago
Dev & Engineering

Context Efficiency Optimizer

Reduce context cost with caching, masking, compaction, and partitioning while preserving answer quality.

★ 18k FS 44 Not recommended 16d ago
Dev & Engineering

Agent Skill Blueprint

A reusable structure for authoring well-scoped context-engineering skills.

★ 18k FS 40 Not recommended 16d ago
Dev & Engineering

Reasoning Trace Optimizer

Diagnose context, tool, and instruction failures by analyzing agent traces and iteratively improving prompts.

★ 18k FS 38 Not recommended 16d ago
Dev & Engineering

Hosted Agent Infrastructure

Design remote sandbox infrastructure for fast, persistent, collaborative background coding agents.

★ 18k FS 33 Blocked 16d ago
Dev & Engineering

Advanced LLM Evaluation

Build auditable, calibrated LLM-output evaluations with explicit rubrics, confidence scoring, and bias controls.

★ 18k FS 56 Use with care 16d ago
Dev & Engineering

Persistent Semantic Memory Design

Design durable, retrievable agent memory that scales from simple files to temporal knowledge graphs.

★ 18k FS 53 Use with care 16d ago
Dev & Engineering

Agent Tool Design Guide

Design tool interfaces agents can route, call, and recover from reliably.

★ 18k FS 51 Use with care 16d ago
Dev & Engineering

Autonomous Agent Harness

Designs autonomous agent loops that remain controlled, recoverable, and auditable.

★ 18k FS 49 Use with care 16d ago
Dev & Engineering

Rigorous Research Agent

A validation, recovery, and source-tracking protocol for multi-step research.

★ 18k FS 45 Not recommended 16d ago

Related skills