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.
Multi-agent systems address single-agent context limitations through distribution. Three dominant patterns exist: supervisor/orchestrator for centralized control, peer-to-peer/swarm for flexible handoffs, and hierarchical for layered abstraction. The critical design principle is context isolation—sub-agents exist primarily to partition context rather than to simulate organizational roles.
Effective multi-agent systems require explicit coordination protocols, consensus mechanisms that avoid sycophancy, and careful attention to failure modes including bottlenecks, divergence, and error propagation.
Этот навык следует использовать, когда пользователь просит «спроектировать многоагентную систему», «реализовать шаблон супервизора», «создать роевую архитектуру», «координировать несколько агентов» или упоминает многоагентные шаблоны, изоляцию контекста, передачу обслуживания агентов, субагенты или параллельное выполнение агентов. Источник: guanyang/antigravity-skills.