multi-agent-patterns

Solid

This skill should be used when the user asks to "design multi-agent system", "implement supervisor pattern", "create swarm architecture", "coordinate multiple agents", or mentions multi-agent patterns, context isolation, agent handoffs, sub-agents, or parallel agent execution.

AI & Automation 887 stars 161 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
98
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Multi-Agent Architecture Patterns Multi-agent architectures distribute work across multiple language model instances, each with its own context window. When designed well, this distribution enables capabilities beyond single-agent limits. When designed poorly, it introduces coordination overhead that negates benefits. The critical insight is that sub-agents exist primarily to isolate context, not to anthropomorphize role division. ## When to Activate Activate this skill when: - Single-agent context limits constrain task complexity - Tasks decompose naturally into parallel subtasks - Different subtasks require different tool sets or system prompts - Building systems that must handle multiple domains simultaneously - Scaling agent capabilities beyond single-context limits - Designing production agent systems with multiple specialized components ## Core Concepts Use multi-agent patterns when a single agent's context window cannot hold all task-relevant information. Context isolation is the primary benefit — each agent operates in a clean context without accumulated noise from other subtasks, preventing the telephone game problem where information degrades through repeated summarization. Choose among three dominant patterns based on coordination needs, not organizational metaphor: - **Supervisor/orchestrator** — Use for centralized control when tasks have clear decomposition and human oversight matters. A single coordinator delegates to specialists and synthesizes result...

Details

Author
guanyang
Repository
guanyang/antigravity-skills
Created
5 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category