Multi-Agent Orchestration with Claude: Coordinators and Subagents

📚 Exam guide v1.0 (July 2026)🔄 Checked against official sources: 11 Nov 2026✏️ Updated: 12 Nov 2026⏱️ 9 min read🎯 Official objectives 1.2 and 1.3

👋 In plain words: Some jobs are too big for one agent, so you split them across a team: a coordinator agent hands out pieces to helper agents and combines what they find. This lesson shows how that team is organised and the mistakes that leave gaps in the result.

Advertisement

Multi-agent systems split a large job across specialised agents. The exam focuses on the coordinator–subagent pattern used by the Claude Agent SDK, and on the mistakes that make such systems produce incomplete or unattributed results (Task Statements 1.2 and 1.3).

📖 What You’ll Learn: You will be able to design a hub-and-spoke Claude system that delegates to subagents, passes context explicitly and runs subagents in parallel.

🔑 Key terms

  • Coordinator: The 'manager' agent that splits the task, hands out pieces, and combines the results.
  • Subagent: A helper agent with one focused job and only the tools it needs.
  • Hub-and-spoke: A layout where every message goes through the coordinator. Helpers never talk to each other directly.
  • Task tool: The Agent SDK tool a coordinator uses to start a subagent.
  • Context: Everything Claude can see in the current conversation.

📖 The story in this lesson

ShopNest wants a report comparing delivery companies before peak season. A coordinator agent hands out searching, contract reading and report writing to three subagents, then puts the report together.

💡 Think of it like this

Think of a newsroom. The editor (coordinator) assigns stories to reporters (subagents). Reporters don't swap notes directly: everything goes through the editor, who checks it, fills gaps and publishes one paper. And a new reporter knows nothing about the story until the editor briefs them.

🕸️ Hub-and-spoke architecture

A coordinator agent decomposes the task, decides which subagents to invoke, delegates, aggregates results and handles errors. Subagents never talk to each other directly — every message goes through the coordinator. That gives you observability, consistent error handling and controlled information flow.

  • Select subagents per query. A simple factual question should not run the full search → analysis → synthesis → report pipeline.
  • Partition the scope. Give each subagent distinct subtopics or source types so work isn’t duplicated.
  • Refine iteratively. The coordinator checks the synthesis for gaps, re-delegates targeted queries, and re-runs synthesis until coverage is sufficient.
⚠️ Watch out: When a report misses whole areas of a topic but every subagent “succeeded”, the root cause is the coordinator’s too-narrow decomposition — not the search or synthesis agents.

🌍 Real-world example: The report that forgot half the market

ShopNest's report covers only express couriers. Every subagent 'succeeded'. The coordinator's log shows why: it only asked about 'express delivery' and 'same-day delivery', never budget or freight carriers. The gap came from the coordinator's split of the task, not from the helpers.

Coordinator and subagent hub-and-spoke architectureCoordinator agentdecomposes · delegates with Taskaggregates · handles errorsSearchweb sourcesDocumentanalysisSynthesis+ verify_fact onlyReportwriter↓ prompt with explicit context↑ structured results + sourcesParallel = several Task callsin ONE coordinator response✗ No direct subagent-to-subagent messages, and subagents do not inherit the coordinator’s history
Figure: hub-and-spoke — every message flows through the coordinator. Swipe sideways to see the whole diagram.
Advertisement

🤖 Spawning subagents in the Agent SDK

  • Subagents are spawned with the Task tool. The coordinator’s allowedTools must include "Task", or it cannot delegate.
  • Each subagent type is configured with an AgentDefinition: a description, a system prompt and tool restrictions.
  • To run subagents in parallel, the coordinator emits several Task calls in one response — not one per turn.

🌍 Real-world example: Running three helpers at once

To save time, the coordinator asks for three Task calls in one response: search, contracts and pricing. They run in parallel. If it made one call per turn, they would run one after another and the report would take three times as long.

allowedTools: ["Task", "Read"]   # without "Task" the coordinator cannot delegate

🤖 Subagents start with an empty context

Subagents do not inherit the coordinator’s conversation and don’t share memory between invocations. Anything a subagent needs must be in its prompt.

{
  "task": "Synthesise findings on EU battery regulation",
  "quality_bar": "Two independent sources per claim; flag conflicts",
  "findings": [
    {"claim": "Battery passport required from Feb 2027",
     "excerpt": "...",
     "source_url": "https://example.org/reg",
     "published": "2025-08-14"}
  ]
}

Structured data that separates content from metadata (URL, document, page, date) keeps attribution intact across handoffs. Write coordinator prompts as goals and quality criteria, not step-by-step procedures, so subagents can adapt to what they find.

🌍 Real-world example: The writer with nothing to write about

The report-writer subagent receives only 'Write the comparison report' and produces vague text. It never saw the search results, because subagents don't see the coordinator's conversation. The fix is to put the findings, with their source links, into the subagent's prompt.

{"task": "Compare carriers", "findings": [{"claim": "Carrier A: 2-day delivery", "source_url": "https://example.com/a"}]}
🚫 Common beginner mistake: Assuming a subagent 'knows' what the coordinator learned. It starts with an empty context, so pass everything it needs in its prompt.

🛠️ Try it yourself (about 10 minutes)

  1. Pick a research question, such as 'Which three test frameworks suit our web app?'.
  2. Write down how a coordinator would split it into three subagent jobs.
  3. For each job, list the tools it needs, three at most.
  4. Write the JSON the coordinator would pass to the final writer subagent.

✅ You are done when: you have three non-overlapping jobs with tools listed, and a JSON brief that includes sources.

Advertisement

🧪 Exam-Style Practice Questions

Try these before opening the answers. They use the same scenario style as the real exam.

Question 1. A research report on "renewable energy policy" covers only solar subsidies. Every subagent completed its assignment successfully. Coordinator logs show the subtasks "solar tax credits", "solar feed-in tariffs" and "rooftop solar rebates". What's the root cause?

  • A. The analysis agent filters out wind sources
  • B. The synthesis agent drops content
  • C. The search agent's queries are too narrow
  • D. The coordinator's decomposition was too narrow
Show answer

Answer: D. The subagents did exactly what they were assigned; the assignments themselves missed wind, hydro, grid and so on. A, B and C blame agents that worked correctly within their scope.

Question 2. A subagent receives the task "Synthesise the findings" and produces generic text. Why?

  • A. It needs context: fork
  • B. Subagents can't read JSON
  • C. Its model is too small
  • D. It doesn't automatically inherit the coordinator's history, so the findings must be in its prompt
Show answer

Answer: D. Context must be passed explicitly. C: the model isn't the issue; it has no input to work from. B: false. A: context: fork is a Claude Code skill option and isolates context further, which doesn't help here.

Question 3. A subagent should run in parallel with two others. Where do the three Task calls go?

  • A. In three consecutive coordinator turns
  • B. In separate sessions started by a cron job
  • C. In a single coordinator response
  • D. In a batch request
Show answer

Answer: C. Several tool calls in one response run concurrently. A serialises them. B and D aren't how the SDK parallelises subagents.

Advertisement

📝 Assignment

Do these tasks in order. Each one has a Done when check, so you know when it is complete. The stretch task is optional but close to what the exam expects from an architect. Keep your answers in one notes file or Git repository, and revisit them in your final week of revision together with the cheat sheet in the last lesson of this course.

  1. Task 1: Sketch a coordinator with three subagents for a research task and list the tools each subagent gets (no more than five).
    ✅ Done when: Every subagent has a one-line role and no more than five tools, and no tool is given to a subagent that does not need it.
  2. Task 2: Write the JSON you would pass to a synthesis subagent, including claim, excerpt, source URL and date for two findings.
    ✅ Done when: Your JSON keeps content and metadata in separate fields, so a synthesis agent could cite each claim correctly.
  3. Stretch: write a coordinator prompt that states goals and quality criteria without step-by-step instructions.
    ✅ Done when: Your coordinator prompt states the goal and at least three quality criteria, and contains no numbered step-by-step instructions.
Advertisement

❓ Frequently Asked Questions

🤔 Do subagents see the coordinator's conversation?

No. Subagents start with isolated context, so the coordinator must put everything they need in their prompt.

🤔 How do I run subagents in parallel?

Have the coordinator emit several Task tool calls in a single response instead of one per turn.

🤔 Why route everything through the coordinator?

It gives you observability, consistent error handling and control over what information each agent sees.

🤔 What causes a report to miss whole topics?

Usually the coordinator decomposed the topic too narrowly, even though each subagent completed its own task.

🏁 Summary

  • All communication flows through the coordinator.
  • "Task" must be in the coordinator’s allowedTools; parallel = multiple Task calls in one turn.
  • Pass context explicitly, as structured data with source metadata.
  • Missing coverage with “successful” subagents → narrow decomposition.
📝 Test yourself: Mock Test 1 · Mock Test 2 (30 scenario-based questions in 60 minutes, with explanations).

Next, continue with Claude Agent SDK Hooks, Prerequisite Gates and Human Handoffs.

🎬 Prefer video? Watch QA, automation and AI testing tutorials on the SQA Tools YouTube channel.

Independent study material by SQA Tools. Not affiliated with, endorsed by or sponsored by Anthropic. Claude is a trademark of Anthropic. Mock questions are original practice items, not real exam content. Exam facts checked against Anthropic's official exam guides and certification FAQ on 11 November 2026.