Orchestrate multi-agent systems with coordinator-subagent patterns
What you should be able to do
- Lay out a hub-and-spoke system where the coordinator owns delegation, aggregation, error handling and routing.
- Explain why a subagent starts with isolated context and what that forces the coordinator to do.
- Have the coordinator choose which subagents a query needs instead of always running the whole pipeline.
- Partition scope so subagents do not duplicate each other, and close coverage gaps with an iterative refinement loop.
Exam traps (5)
Let subagents call each other directly — it removes a hop and the coordinator is a bottleneck.
Direct edges destroy the one place that can observe the run, handle errors consistently and control what information moves where. Failures become unattributable.
Hub-and-spoke: every message crosses the coordinator, which is what buys observability and uniform error handling.
Assume a subagent can see the conversation that spawned it.
Subagent context is isolated. Anything not written into its prompt does not exist for it, so it answers confidently from nothing.
Inherited context is a thing you pass, never a thing you get.
Route every request through all subagents so nothing is ever missed.
A one-line lookup then pays the latency and token cost of the whole fleet, and the extra output dilutes the synthesis.
The coordinator's job includes deciding which subagents a query actually needs.
Split a broad topic into one narrow subtopic per subagent and synthesise once.
Narrow partitions leave the space between them uncovered, and a single pass has no way to notice. The report looks complete and is not.
Partition to minimise duplication, then evaluate the synthesis for gaps and re-delegate until coverage holds.
Treat synthesis as the last step — once it has run, the work is done.
That makes coverage a property of the initial decomposition, which was written before anything had been searched.
Synthesis is an evaluation point. Feed its gaps back into targeted re-delegation and re-synthesise.
Primary sources
- Agent SDK — subagentschecked 2026-08-15
- Claude Code — sub-agentschecked 2026-08-15
Know cold
- Orchestrator
- Subagent
- Context isolation / progressive disclosure
- Task decomposition
16 practice questions in the bank are tagged to this task statement.
Practise this task in context: open it inside the interactive study guide, which carries the concept cards, the mock quiz and the practice simulation.