multi-agent-patterns

Design and implement multi-agent architectures with supervisor, swarm, and hierarchical coordination patterns.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/adrianasiam19/ATLAS --skill multi-agent-patterns-adrianasiam19
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: multi-agent-patterns
Source: https://github.com/adrianasiam19/ATLAS/tree/main/.agent/skills/multi-agent-patterns
Command: npx skills add https://github.com/adrianasiam19/ATLAS --skill multi-agent-patterns-adrianasiam19

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Single-agent systems hit context window limits, suffer from context degradation, and cannot parallelize work across independent subtasks. This Skill provides architectural patterns and reusable Python utilities for distributing work across multiple LLM agents with isolated contexts, explicit coordination protocols, and failure handling. ## Core Features & Use Cases - Three Architecture Patterns: Implement supervisor/orchestrator, peer-to-peer swarm, and hierarchical agent structures with guidance on when each fits. - Coordination Utilities: Use the included Python module for message passing, task delegation, weighted consensus voting, handoff protocols, and circuit-breaker failure handling. - Framework References: Get implementation examples for LangGraph, AutoGen, and CrewAI from the references directory. - Use Case: When building a research assistant that must search multiple sources, analyze findings, and write reports in parallel, use this Skill to design a supervisor that delegates to specialized researcher, analyzer, and writer agents while avoiding the telephone game problem. ## Quick Start Ask the AI to design a multi-agent system with a supervisor coordinating specialized worker agents for your task.

Frequently Asked Questions about multi-agent-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a multi-agent system with a supervisor pattern?▼

Create a central supervisor agent that decomposes tasks into subtasks, routes them to specialized workers based on capabilities, and aggregates results. Constrain worker output schemas to prevent supervisor context saturation, and cap workers at 3-5 per supervisor.

What is the difference between supervisor and swarm agent architectures?▼

Supervisor patterns use a central coordinator that delegates to workers and synthesizes results, giving strict control but creating a bottleneck. Swarm patterns let agents hand off directly to each other, eliminating translation errors but requiring explicit convergence constraints.

How much more expensive are multi-agent systems compared to single agents?▼

Production data shows multi-agent systems cost approximately 15x the tokens of a single-agent chat, versus roughly 4x for a single agent with tools. Budget for coordination overhead, retries, and consensus rounds, not just per-agent costs.

Does this work with LangGraph, AutoGen, or CrewAI?▼

Yes, the references directory includes framework-specific implementations. LangGraph uses graph-based state machines, AutoGen uses conversational GroupChat patterns, and CrewAI uses role-based hierarchical crews.

Why do multi-agent debates converge on wrong answers?▼

LLMs have an inherent bias toward agreement, causing sycophantic consensus where agents mimic each other rather than reason independently. Counter this with weighted voting by confidence, explicit adversarial roles, and requiring stated disagreements before convergence.

When should I avoid using multiple agents for a task?▼

Avoid multi-agent designs when a single agent's context can hold all task information, when subtasks are not parallelizable, or when coordination overhead exceeds the work itself. Over-decomposition spends more tokens on handoffs than on actual work.