What is the orchestrator-worker (sub-agent) pattern, and how do sub-agents communicate?
Quick-fire answer from the Awesome Generative AI Guide (MIT)
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
An orchestrator agent decomposes a task and delegates subtasks to worker sub-agents, each with its own isolated context and tools, then synthesizes their results. Isolation is the point: each worker keeps a small, focused context instead of one bloated shared window, which improves reliability and enables parallelism. The critical design decision is communication: sub-agents should pass state through well-defined interfaces (a short structured result or artifact), not by sharing raw traces, because dumping full transcripts between agents reintroduces the context bloat you split to avoid. Clear contracts between orchestrator and workers matter as much as the prompts.
Full worked answer
An orchestrator agent decomposes a task and delegates subtasks to worker sub-agents, each with its own isolated context and tools, then synthesizes their results. Isolation is the point: each worker keeps a small, focused context instead of one bloated shared window, which improves reliability and enables parallelism. The critical design decision is communication: sub-agents should pass state through well-defined interfaces (a short structured result or artifact), not by sharing raw traces, because dumping full transcripts between agents reintroduces the context bloat you split to avoid. Clear contracts between orchestrator and workers matter as much as the prompts.
Learn more: Anthropic: Multi-agent research system
What a good answer covers
- An orchestrator agent decomposes a task and delegates subtasks to worker sub-agents, each with its own…
- Isolation is the point: each worker keeps a small, focused context instead of one bloated shared window,…
- The critical design decision is communication
- Clear contracts between orchestrator and workers matter as much as the prompts
Key terms: Learn more
In the glossary: Multi-agent
Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep