multi-agent-patterns

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

Updated May 18, 2026
One-click install
npx skills add https://github.com/fts-pro/FTS-MMIS-AFRIKA --skill multi-agent-patterns-fts-pro
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: multi-agent-patterns
Source: https://github.com/fts-pro/FTS-MMIS-AFRIKA/tree/main/.agent/skills/multi-agent-patterns
Command: npx skills add https://github.com/fts-pro/FTS-MMIS-AFRIKA --skill multi-agent-patterns-fts-pro

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 coordination utilities for distributing work across multiple language model agents with isolated contexts. ## Core Features & Use Cases - Three Architecture Patterns: Implement supervisor/orchestrator, peer-to-peer swarm, and hierarchical agent topologies with explicit handoff protocols and context isolation strategies. - Coordination Utilities: Use the included Python module for inter-agent messaging, weighted consensus voting, task decomposition, and circuit-breaker failure handling. - Framework Guidance: Reference implementations for LangGraph, AutoGen, and CrewAI cover supervisor graphs, GroupChat patterns, and role-based hierarchies. - Use Case: When building a research system where a single agent's context overflows with search results, use this Skill to split work across a researcher, analyzer, fact-checker, and writer coordinated by a supervisor with checkpointing. ## 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?▼

Deploy a central supervisor agent that decomposes user objectives into subtasks, routes them to specialized workers, and aggregates results. Constrain worker output schemas to prevent supervisor context saturation, and cap workers per supervisor at 3-5.

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 any agent hand off directly to any other, removing single points of failure but increasing coordination complexity.

LangGraph vs AutoGen vs CrewAI for multi-agent systems?▼

LangGraph uses graph-based state machines with explicit nodes and edges for deterministic routing. AutoGen uses conversational GroupChat patterns for event-driven coordination. CrewAI uses role-based hierarchical crews for structured team workflows.

How much more expensive are multi-agent systems than 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.

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

LLMs have an inherent bias toward agreement, so agents converge on agreeable rather than correct answers, and simple majority voting weights hallucinations equally with sound reasoning. Counter this with confidence-weighted voting and explicit adversarial roles.

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

Avoid multi-agent designs when a single agent's context can hold the task, when subtasks cannot run in parallel, or when coordination overhead exceeds the work itself. Over-decomposition into many fine-grained agents spends more tokens on handoffs than on actual work.