Orchestrator and Sub-Agent Trade-Offs
How an orchestrator agent splits work across sub-agents, what each hand-off can lose, and when the extra cost is worth it, for your AI interview.
In short
An orchestrator agent splits a job into parts, gives each part to a sub-agent with its own clean context, then combines the results. It pays off when the parts are truly separate and the work is worth the extra tokens, time and failure points.
13 min readAdvancedCommon · estimateFacts checked 26 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
An orchestrator is one agent that breaks a job into parts and hands each part to a sub-agent. Each sub-agent works in its own context and sends back a short summary. The gain is room and speed. The cost is more tokens, more hand-offs, and more places to fail. I only split work when the parts really are separate, and I check each summary before the final answer.
Think of a general contractor on a building site. The contractor does not wire, plumb and roof the house alone. Each trade works in its own corner, and the contractor checks that the parts fit together. In AI, the orchestrator is the contractor and the sub-agents are the specialists. The orchestrator plans the work, gives each sub-agent a clear task, and combines what comes back.
The first gain is room. A model can only hold so much text at once, which is its context window. In a claims check, a long claim file can crowd out the clause that matters. Three sub-agents, each reading one bundle, keep their own context small. The orchestrator then reads three short summaries instead of the whole file. The second gain is time. Independent parts can run at the same time, so the job finishes in about the time of the slowest part.
The costs are real. Anthropic reports that its multi-agent research system used about 15 times more tokens than chats, and that work where every agent needs the same context fits poorly. Each hand-off can drop a detail, and a vague task can make two workers repeat the same work. So I give every sub-agent an objective, an output format, the sources to use and a clear boundary.
In an interview I would say: split only when the parts are separate, and measure the cost against one agent before and after. A coding fix inside one repo is often a single agent's job.
What is an orchestrator and a sub-agent, in plain words?
An orchestrator is the agent in charge. It reads the job, breaks it into parts, and gives each part to a worker. A sub-agent is one of those workers. It has its own instructions, its own tools and its own context window. It does its piece and sends a summary back, and the orchestrator combines the summaries into one answer.
Picture a general contractor on a building site. The contractor doesn't wire, plumb and roof the house alone. Each trade works in its own corner, and the contractor checks that the parts fit. In a real AI case, an insurer's claims team could give one agent the policy wording, another the medical records and a third the payment history, then let the orchestrator draft the claim decision.
Key words
- Orchestrator
- The agent in charge. It plans, delegates and merges.
- Sub-agent
- A worker agent with its own tools and context, started for one part of the job.
- Context window
- How much text a model can hold at once while it works.
- Hand-off
- The moment a task or a result passes between agents, where detail can get lost.
- Token
- A small chunk of text a model reads or writes, roughly part of a word. Models are billed and limited by tokens.
The same shape shows up in two places. Anthropic's December 2024 workflow guide calls it orchestrator-workers. Its research system uses that same orchestrator-worker pattern, with a lead agent and parallel sub-agents. The idea is the same, so I explain it once and name both.
What do you gain, and what does it cost?
Anthropic's December 2024 guide defines the pattern in one sentence: a central model breaks down tasks, sends them to worker models, and combines the results. The gain has two parts. Each worker starts with a small, clean context, and independent parts run at the same time.
“In the orchestrator-workers workflow, a central LLM dynamically breaks down tasks, delegates them to worker LLMs, and synthesizes their results.”
Anthropic
“Adds coordination overhead, latency, and failure modes.”
Microsoft
- Gain
Room and speed
Each sub-agent keeps a small context, and parallel parts finish near the time of the slowest one.
- Cost
Tokens and waiting
Anthropic's data: agents typically use about 4 times the tokens of a chat, and multi-agent systems about 15 times.
- Risk
Lost detail
Each hand-off can drop a fact, and two workers can repeat the same search.
What splitting the work gives and costs
Orchestrator
splits the job, then merges
You gain
Clean context each
each worker reads less
Parallel speed
parts finish near the slowest
You pay
More tokens
several agents read and reply
Hand-offs can lose detail
a vague brief repeats work
Worth it for high value
only when the parts truly split
- 1Splitting gives each worker room and parallel speed.
- 2The same split adds tokens and hand-off risk.
- 3The gains count only if the job is worth the cost.
- 4The costs are weighed against the value before you decide to split.
Anthropic's December 2024 guide puts the trade-off plainly: agentic systems often trade latency and cost for better task performance. Anthropic's June 2025 research write-up found that multi-agent setups excel at breadth-first questions, where many independent directions can be searched at once.
Tip
Asked about the trade-off, give both sides with a number from a source, then say what you would measure. Interviewers like a candidate who tests the split before trusting it.
How does a claims team split the work?
Take a made-up insurer with a long claim file and a decision due in one working day. A single agent would read the whole file in one context. The orchestrator instead splits the file into three bundles, and each sub-agent gets a task with a fixed output format. Anthropic's December 2024 guide says subtasks are determined by the orchestrator from the specific input, not fixed in advance. If the three bundles were always the same, plain parallel work would do the job.
- 1
Orchestrator splits the file
It sends medical records, policy wording and payment history to three sub-agents, each with a task and a summary format.
- 2
Sub-agents work at once
Each reads only its bundle, in its own context, and returns a short summary of about 1,000 to 2,000 tokens.
- 3
Orchestrator merges
It reads the three summaries, checks that they agree with each other, and drafts the decision.
- 4
A person approves
A claims handler reads the cited clauses before anything is paid or refused.
How a claim file is split and merged
Claim file
Long file, many clauses for one claim
Orchestrator
plans, delegates and merges
Sub-agents, at the same time
Medical records
its own context, one bundle
Policy wording
clauses with page numbers
Payment history
ledger lines and dates
Short summaries
about 1,500 tokens each
Claim decision
a person checks the clauses
- 1The whole claim file goes in, once.
- 2The orchestrator gives each sub-agent one bundle and a format.
- 3Each sub-agent sends back a short summary, not its whole reading.
- 4The orchestrator drafts the decision, and a person checks it.
The numbers in this code are made up, but the shape of the trade-off is real. It shows the parent's context shrinking, the wall time falling, and the total tokens rising. The code also leaves out the orchestrator's own plan and merge work, and assumes the three sub-agents start at once, so the real overhead is higher than these numbers show.
# A made-up claims check: one agent reads the whole file, or three sub-agents each read one bundle.
TOKENS = {"medical records": 9000, "policy wording": 7000, "payment history": 4000}
SECONDS = {"medical records": 40, "policy wording": 25, "payment history": 30}
SUMMARY_TOKENS = 1500 # what each sub-agent sends back (made-up)
single_context = sum(TOKENS.values())
parent_context = SUMMARY_TOKENS * len(TOKENS)
print("Single agent, tokens in one context:", single_context)
print("Orchestrator, tokens back in the parent:", parent_context)
print("Single agent, time one after another:", sum(SECONDS.values()), "s")
print("Orchestrator, time all at once:", max(SECONDS.values()), "s")
print("Single agent, total tokens read:", single_context)
print("Orchestrator, total tokens read:", sum(TOKENS.values()) + parent_context)Output
Single agent, tokens in one context: 20000 Orchestrator, tokens back in the parent: 4500 Single agent, time one after another: 95 s Orchestrator, time all at once: 40 s Single agent, total tokens read: 20000 Orchestrator, total tokens read: 24500
When should you not split the work?
Split only when the parts are truly separate and the answer does not need every part at once. Anthropic's June 2025 research write-up says that domains where all agents must share the same context fit poorly with multi-agent systems, and that many coding tasks have fewer independent parts than research does.
“some domains that require all agents to share the same context or involve many dependencies between agents are not a good fit for multi-agent systems today.”
Anthropic
“prevent overinvestment in simple queries, which was a common failure mode in our early versions”
Anthropic
The hard part is the hand-off. Anthropic says a lead agent must give each sub-agent an objective, an output format, guidance on the tools and sources, and clear task boundaries. Without these, agents duplicate work or leave gaps. Anthropic's June 2025 write-up gives a concrete case from its early versions: one worker explored the 2021 automotive chip crisis while two others duplicated work on current 2025 supply chains.
The second hard part is waiting. Anthropic's June 2025 write-up says its lead agents run sub-agents synchronously, waiting for each set to finish before going on. It also says synchronous execution creates bottlenecks, since the whole system can be blocked while one worker is still searching. Its engineers also suggest writing sub-agent output to a file, to minimise the game of telephone, where each relay garbles the last.
Tip
A good answer names the hand-off you would test first, such as the summary format, and the number you would check after a change.
How would you choose for a coding agent in CI?
A coding agent in a CI pipeline must fix a failing test that touches three files. Each step depends on the one before, since the fix in one file changes what the test expects in another. Anthropic's June 2025 write-up notes that most coding tasks have fewer truly parallel parts than research, and that LLM agents are not yet great at delegating in real time. Anthropic's December 2024 guide does list coding products that change many files as a fit for the orchestrator pattern. Here the three file fixes depend on each other, so one agent with a clear plan is the better start.
So I would keep one agent with a clear plan. Only at the end would I add a reviewer sub-agent with a fresh context, which reads the diff and returns a short list of problems. The reviewer gives a second look without writing any code, and the cost stays small.
What does the interviewer want to hear?
A strong answer covers
- A plain definition: an orchestrator plans and merges, and sub-agents do separate parts.
- The gain: a clean context for each worker, and parallel speed.
- The cost, said honestly: more tokens, waiting and more places to fail.
- The hand-off: an objective, an output format, the tools and clear boundaries.
- When not to split: shared context, or parts that depend on each other.
- A test: compare quality, time and cost against one agent.
Common traps
Trap"More agents always means better answers."
BetterMore agents add tokens and hand-offs. Split only when the parts are separate and the task is valuable.
Trap"Every sub-agent can see the whole conversation."
BetterEach one works in its own context window, so pass it only the facts its part needs.
Trap"Let the workers sort out the details themselves."
BetterVague briefs make workers repeat each other. Give each one an objective, a format and boundaries.
Can you spot the weak split?
Spot the weak brief
Which brief is most likely to make two sub-agents repeat the same search?
Quick check
An orchestrator is merging three sub-agent summaries for a claim decision. Which change most cuts the risk of lost detail?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
- Q169When is a multi-agent system worth it?11 min
- Q171What are computer-use and browser agents?11 min
- Q173How do you stop endless agent loops?11 min
- Q174What are common agent failure modes?12 min
- Q175What makes a tool-calling loop reliable enough to ship?13 min
- Q176How should an agent handle tool errors and retries?14 min
Learn it in depth
Last updated on 26 November 2026
Building a system where several agents share the work?
I design and build AI agents, including how they split work and hand it back, and the interface a person sees. Book a short call and tell me what your agents need to do.