Hub and spoke
- Web searchfinds public sources
- Document analysisreads supplied files
- Synthesismerges findings into a draft
- Report writerformats the final output
Hub and spoke
In the pattern the exam tests, one coordinator talks to every subagent and subagents do not talk to each other. The coordinator decomposes the task, delegates, collects results, aggregates them, and decides whether coverage is sufficient. Subagents are specialists — search, document analysis, synthesis, report writing — each with its own context.
Routing everything through the hub is a deliberate cost. It adds a hop, but it gives you one place to observe the system, one place to handle errors consistently, and control over what information reaches which agent. A mesh where subagents message each other is harder to reason about and harder to debug.
There is a second reason the hub works: context stays small. Each subagent can read dozens of pages in its own context window and send back only a condensed summary. Anthropic's context-engineering write-up describes subagents that spend tens of thousands of tokens exploring and return something like 1,000–2,000 tokens. The coordinator reasons over those summaries, not over every page every subagent read.
Choosing which subagents to call
A good coordinator reads the query and selects the agents it needs. A simple factual question may need one search pass and no synthesis agent at all; routing it through the full pipeline wastes time and money. The guide frames this as analysing query requirements and dynamically selecting subagents rather than always running every stage.
Anthropic's research-system post shows why this matters. Its lead agent was given explicit effort-scaling rules in its prompt, because agents found it hard to judge how much effort a query deserved. The post also puts numbers on the trade-off: the multi-agent setup beat a single agent by a wide margin on its internal research evaluation, but used roughly fifteen times the tokens of an ordinary chat. That is worth paying for a broad question and wasteful for a narrow one.
Scale the team to the question
- One fact, one sourceOne agent, a few callsroughly 3–10 tool calls
- Compare a few things2–4 subagentsabout 10–15 tool calls each
- Broad, many-sided researchMany subagentsclearly divided responsibilities
Decomposition is where coverage is won or lost
The guide calls out a specific failure: a coordinator that decomposes a broad topic too narrowly, so whole areas are never researched and the final report looks confident but incomplete. The fix is at decomposition time — partition the scope so subagents cover distinct subtopics or source types, with little overlap and no gaps.
The opposite failure is duplication. Anthropic describes an early version of its system in which a vague instruction on semiconductor shortages sent one subagent to the 2021 automotive chip crisis while two others both investigated current supply chains. The lesson it drew: each delegated task needs an objective, an output format, guidance on which tools and sources to use, and clear task boundaries. A subagent cannot avoid overlapping with siblings it cannot see; only the coordinator can draw the lines.
| Symptom | Where the fault is | Fix |
|---|---|---|
| Two subagents return the same sources | Scope partitioning | Assign distinct subtopics or source types to each |
| Report omits an obvious area | Decomposition too narrow | Broaden the plan; evaluate coverage before finishing |
| Simple queries are slow and expensive | Always running the full pipeline | Select subagents per query |
| Errors handled differently in each agent | Subagents talking directly | Route through the coordinator |
Iterative refinement
Coverage is checked, not assumed. After synthesis, the coordinator evaluates the draft for gaps, re-delegates targeted queries to search or analysis agents, and runs synthesis again — repeating until coverage is sufficient. This loop lives in the coordinator because only the coordinator sees the whole picture.
The coordinator's refine loop
- Decomposedistinct subtopics, clear boundaries
- Delegateparallel subagents, one scope each
- Synthesisemerge findings with sources
- Check coveragewhich parts of the question are thin?
gaps found → targeted re-delegation · coverage sufficient → final report
Anthropic's own research system follows this shape: a lead agent plans the approach and spawns several subagents in parallel to explore different aspects, then combines what they return. Its “Building effective agents” post calls the general pattern orchestrator–workers, and notes what separates it from simple parallel fan-out: the subtasks are not fixed in advance but decided by the orchestrator from the input.
Traps the wrong answers are built from
| Tempting but wrong | Do this instead |
|---|---|
| Running every subagent for every query | Select subagents from the query's actual requirements. |
| Letting subagents message each other directly | Route all communication through the coordinator. |
| Narrow decomposition of a broad topic | Partition scope to cover it, and check coverage before finishing. |
| Accepting the first synthesis | Evaluate for gaps and re-delegate until coverage is sufficient. |
| Vague one-line task descriptions for subagents | Give each an objective, output format, source guidance and boundaries. |
You should now be able to
- Design a coordinator that chooses subagents per query rather than always running the full pipeline.
- Partition research scope across subagents to minimise duplication.
- Implement a refine loop: evaluate synthesis, re-delegate targeted queries, re-synthesise.
- Justify routing all subagent communication through the coordinator.
- Diagnose whether a coverage or duplication failure started in decomposition or in a subagent.