1.2 Multi-Agent Orchestration
What You Need to Know
Section titled “What You Need to Know”Multi-agent orchestration is several Claude agents working together on one complex task. A coordinator agent receives the task and splits it into parts. Subagents each handle one specialised task, such as web search, document analysis, synthesis or report generation. In the hub-and-spoke pattern, the coordinator is the hub (the centre) and the subagents are the spokes. When the coordinator splits a task into subtopics, the result is its decomposition.
This lesson uses one made-up example throughout: a skip hire firm that wants a report on what drives its costs. Its system has a coordinator and the four subagents above.
Hub-and-Spoke Architecture
Section titled “Hub-and-Spoke Architecture”The coordinator receives the initial task and decomposes it. It decides which subagents to invoke and passes context to them. It aggregates their results, handles errors, and routes information between them. Each subagent receives instructions from the coordinator and returns results to it.
All communication routes through the coordinator. Subagents never communicate directly with each other, whether for efficiency, convenience or any other reason. The skip hire firm’s web search subagent returns its findings to the coordinator, never directly to the synthesis subagent.
One hub gives three things. A direct message between subagents would bypass them.
- Observability: you can log and monitor every message in one place.
- Consistent error handling: the coordinator applies uniform error recovery policies.
- Controlled information flow: the coordinator decides what context each subagent receives.
The Critical Isolation Principle
Section titled “The Critical Isolation Principle”Isolation is the most misunderstood idea in multi-agent systems. Subagents do not automatically inherit the coordinator’s conversation history. A new subagent starts with only what the coordinator explicitly includes in the subagent’s prompt. It has no access to:
- The coordinator’s system prompt (unless explicitly included)
- Previous messages in the coordinator’s conversation
- Results from other subagents (unless the coordinator passes them)
- Any “shared memory” or global state
Subagents also do not share memory between invocations. If the coordinator invokes the web search subagent twice, the second invocation knows nothing about the first.
So the coordinator explicitly puts every piece of information that a subagent needs in that subagent’s prompt. There is no shared store where a subagent can find information. The skip hire firm’s synthesis subagent needs the web search results, so the coordinator puts them in the synthesis subagent’s prompt.
Coordinator Responsibilities
Section titled “Coordinator Responsibilities”The coordinator has four responsibilities.
1. Dynamic subagent selection. The coordinator analyses what a query requires and selects only the subagents it needs. A simple factual question might need only web search, not the full chain of research, analysis and synthesis. A coordinator that routes every query through every subagent wastes time and resources. If the owner asks for the landfill site’s opening hours, the coordinator invokes the web search subagent alone.
2. Research scope partitioning. The coordinator partitions the research scope to minimise duplicate work. It assigns each subagent distinct subtopics or source types, such as academic papers for one and news articles for another. No two subagents search the same sources. For the cost report, one subagent searches fuel price news while another analyses the firm’s invoices.
3. Iterative refinement loops. The coordinator evaluates the synthesis output for gaps. If it is incomplete, the coordinator re-delegates to the search and analysis subagents with targeted queries. It re-invokes synthesis and repeats the cycle until coverage is sufficient. If the first draft has no tyre costs, the coordinator sends a targeted search for them and runs synthesis again.
4. Centralised communication routing. All subagent communication routes through the coordinator for observability, consistent error handling and controlled information flow.
The Narrow Decomposition Failure
Section titled “The Narrow Decomposition Failure”Overly narrow task decomposition by the coordinator leads to incomplete coverage of broad research topics. Each subagent researches only what it is assigned. A subtopic nobody is assigned never gets researched.
The skip hire firm’s coordinator splits “what drives our costs?” into fuel and lorry maintenance. The web search subagent searches thoroughly for what the coordinator assigned to it. The synthesis subagent synthesises everything it receives. The report says nothing about landfill gate fees, staff wages or insurance. The coordinator asked no subagent about these costs.
When subagents execute their assigned tasks correctly but coverage is missing, the root cause is what the coordinator assigned them. The fault is in the coordinator’s decomposition, not in any downstream subagent. So when a report misses entire categories, check the decomposition before you blame the subagents. If output is incomplete in scope (not depth), the decomposition is almost always the root cause.
The fix is a decomposition that covers the full breadth of the topic. Better search queries would not fix the problem, and nor would a more capable synthesis subagent. More subagents would receive equally narrow assignments.
In the exam
Section titled “In the exam”The exam tests one orchestration pattern: hub-and-spoke, with a coordinator at the centre. It tests all four coordinator responsibilities. Direct communication between subagents is the wrong answer, even when an option offers it as a way to make the system more efficient. The exam often tests the confusion about isolation.
The exam guide’s sample set includes a question (Question 7) where a coordinator decomposes “impact of AI on creative industries” into only visual arts subtopics. This decomposition misses music, writing and film entirely. The root cause is the coordinator’s task decomposition. The exam expects you to trace the failure to its origin, not blame the subagents.
Exam Traps
Section titled “Exam Traps”Sources
Section titled “Sources”- Claude Agent SDK Overview — Anthropic
- Building with Claude API, including the Multi-Agent Research System scenario (Skilljar) — Anthropic
- CCAR-F Exam Guide v1.0: Task Statement 1.2 — Anthropic
Exam Simulator
Section titled “Exam Simulator”Five exam-style multiple-choice questions on Multi-Agent Orchestration. Pick an answer, then open the explanation.
Question 1
Section titled “Question 1”A multi-agent research system produces a report on “renewable energy technologies” that only covers solar and wind power. Each subagent produced thorough, well-sourced coverage of its assigned topic. The web search subagent returned relevant results for every query it received. What is the most likely root cause?
- A. The web search subagent used queries that were too narrow, missing results for other energy types
- B. The coordinator’s decomposition named only solar and wind, so no agent was assigned the rest
- C. The synthesis subagent failed to identify gaps in the research and request additional coverage
- D. The document analysis subagent did not have access to sources covering other renewable energy types
Answer & explanation
Correct: B
- B is correct because the coordinator is responsible for task decomposition. If it only assigns solar and wind as subtopics, no downstream agent can cover the missing categories. The root cause is always the coordinator’s decomposition when the output is incomplete in scope.
- A is wrong because the web search subagent researched exactly what it was assigned and returned relevant results. The issue is what it was asked to search for, not how it searched.
- C is wrong because the synthesis agent works with the research it receives. It cannot synthesise topics that were never researched. Gap identification during iterative refinement is the coordinator’s responsibility.
- D is wrong because source availability is not the issue. The coordinator never asked any agent to research these other energy types. Even with perfect source access, unassigned topics would remain uncovered.
Question 2
Section titled “Question 2”Which of the following is a benefit of routing ALL subagent communication through the coordinator?
- A. It reduces the total number of API calls required to complete a task
- B. It allows subagents to share memory and build on each other’s findings automatically
- C. It enables subagents to run in parallel without coordination overhead
- D. It provides observability, consistent error handling, and controlled information flow
Answer & explanation
Correct: D
- D is correct because centralised communication through the coordinator provides three specific benefits: observability (log and monitor every message in one place), consistent error handling (the coordinator applies uniform recovery policies), and controlled information flow (the coordinator decides what context each subagent receives).
- A is wrong because routing through the coordinator may actually increase API calls compared to direct communication. The benefit is control and visibility, not efficiency.
- B is wrong because subagents do NOT share memory. Communication through the coordinator means the coordinator explicitly passes information — there is no automatic memory sharing.
- C is wrong because parallel execution is achieved through multiple Task tool calls in a single response, not through the routing pattern. Centralised routing is about control, not parallelism.
Question 3
Section titled “Question 3”A developer proposes allowing subagents to communicate directly with each other to reduce latency. Why is this approach problematic?
- A. It breaks observability, consistent error handling, and controlled information flow
- B. Direct communication is not supported by the Claude API
- C. Subagents cannot process messages from other subagents
- D. It would require every subagent to have access to all the other subagents’ tools, widening each one’s scope
Answer & explanation
Correct: A
- A is correct because direct inter-subagent communication bypasses the coordinator, breaking the three benefits of hub-and-spoke architecture: observability (messages are no longer centrally logged), consistent error handling (no uniform recovery policies), and controlled information flow (no gatekeeper deciding what context flows where).
- B is wrong because the issue is architectural, not a technical API limitation. The pattern is wrong regardless of whether the API supports it.
- C is wrong because subagents can process any text input. The issue is not message processing capability but the loss of centralised control.
- D is wrong because tool access is a separate concern from communication routing. Direct communication does not inherently require shared tool access.
Question 4
Section titled “Question 4”A coordinator invokes a web search subagent twice for two different subtopics. The second invocation returns results that contradict the first. What explains this?
- A. The web search tool has a caching bug that returns stale results
- B. The coordinator passed conflicting instructions to the two invocations
- C. Subagents share no memory, so each invocation is fully independent
- D. The second subagent inherited stale context from the first invocation
Answer & explanation
Correct: C
- C is correct because subagent isolation means each invocation is completely independent. The second invocation has no knowledge of what the first found. Contradictory results are possible because each invocation searches independently and may find different sources.
- A is wrong because the explanation lies in subagent isolation, not tool caching. Each invocation is independent by design.
- B is wrong because while conflicting instructions could cause different results, the question asks what explains the contradiction — subagent isolation (no shared memory) is the architectural reason.
- D is wrong because subagents do NOT inherit context from previous invocations. This answer contradicts the isolation principle.
Question 5
Section titled “Question 5”A multi-agent system’s output consistently misses entire categories of a broad topic. A developer proposes adding three more specialist subagents to increase coverage. Will this fix the problem?
- A. Yes, more subagents means more comprehensive coverage of the topic
- B. No, narrow decomposition simply yields equally narrow assignments
- C. Yes, as long as the new subagents have access to different data sources
- D. No — the fix is to allow subagents to communicate directly so they can identify gaps themselves
Answer & explanation
Correct: B
- B is correct because the root cause is the coordinator’s task decomposition. If the coordinator only generates narrow subtopics, additional subagents receive equally narrow assignments. The fix is improving how the coordinator decomposes topics to ensure full breadth coverage.
- A is wrong because more subagents do not help if they receive narrow assignments. Coverage depends on what is assigned, not how many agents are available.
- C is wrong because data source access is irrelevant when the coordinator never assigns the missing categories. The agents cannot research topics they are never asked to investigate.
- D is wrong because direct subagent communication breaks hub-and-spoke architecture and does not address the decomposition problem. Gap identification is the coordinator’s responsibility during iterative refinement.