multi-agent-patterns

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

3|2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Yoodaddy0311/artibot --skill multi-agent-patterns-yoodaddy0311
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: multi-agent-patterns
Source: https://github.com/Yoodaddy0311/artibot/tree/main/plugins/artibot/skills/multi-agent-patterns
Command: npx skills add https://github.com/Yoodaddy0311/artibot --skill multi-agent-patterns-yoodaddy0311

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Single agents hit context-window limits, suffer lost-in-middle degradation, and cannot parallelize work across domains. This Skill provides proven architectural patterns for splitting work across multiple agents with proper context isolation, coordination, and failure handling. ## Core Features & Use Cases - Three Core Architectures: Supervisor/Orchestrator for controlled delegation, Peer-to-Peer/Swarm for flexible handoffs, and Hierarchical layers for large projects. - Context Isolation Mechanisms: Instruction passing, file-system memory, and bounded task descriptions to keep each agent's context clean. - Consensus & Failure Mitigation: Weighted voting, debate protocols, TTL limits, circuit breakers, and supervisor bottleneck fixes like forward_message. - Use Case: When designing a system where research, coding, and review must run in parallel, apply the supervisor pattern with direct response forwarding to avoid the telephone-game distortion of sub-agent outputs. ## Quick Start Ask the agent to design a multi-agent architecture for your task using the supervisor, swarm, or hierarchical pattern with explicit handoff protocols.

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 architecture?▼

Choose between three patterns: Supervisor for controlled delegation with a central orchestrator, Swarm for peer-to-peer handoffs without a single point of failure, and Hierarchical for large projects needing strategy, planning, and execution layers. Match the pattern to your coordination needs, not organizational metaphors.

Supervisor vs swarm pattern for agent coordination?▼

Supervisor gives workflow control and easy human-in-the-loop but risks becoming a bottleneck and distorting sub-agent responses. Swarm has no single failure point and suits breadth-first exploration, but coordination complexity grows with agent count. Use forward_message to let supervisors pass responses directly.

When should I not use a multi-agent architecture?▼

Avoid multi-agent designs when the task fits within a single agent's context window with no parallelism benefit. A single agent with good tools outperforms a poorly coordinated multi-agent system; only scale out when context isolation or parallel execution provides measurable benefit.

Why do multi-agent systems fail or diverge?▼

Common failures include supervisor bottlenecks, coordination overhead, divergence, and error propagation. Mitigate with explicit handoff protocols, goal boundaries with convergence checks, TTL limits on agent loops, output validation, and retry logic with circuit breakers.

How much more expensive is a multi-agent system in tokens?▼

A single agent chat costs 1x tokens, a single agent with tools about 4x, and a multi-agent system roughly 15x. The multiplier is bounded, and quality plus parallelism gains typically exceed the cost on non-trivial tasks.

How do I keep agent contexts isolated in a multi-agent system?▼

Pass bounded task instructions to sub-agents instead of full conversation history, and use the file system as shared memory to prevent context bloat. Full-context delegation is only appropriate for genuinely complex tasks where isolation matters less.