Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Explainer

Multi-agent systems: when one agent is not enough

Orchestrator-workers, subagents and handoffs compared on context, cost and failure modes.

By 7 min read
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
Quiz at the end
On this page

A multi-agent system splits one job across several model instances, each with its own instructions, tools and context window, coordinated by code or by a lead agent. Use one when the work divides into independent parts that each need a lot of reading, such as broad research, and would overflow or muddle a single agent’s context. Do not use one when the parts depend on each other’s decisions, as most coding does: the agents will make conflicting choices, and you will pay several times the tokens for a worse result.

This explainer covers the three common patterns (orchestrator-workers, subagents and handoffs), the evidence for and against splitting work, the cost and failure trade-offs side by side, and a checklist for deciding. It extends workflows vs agents, which covers the earlier question of whether you need an agent at all. Sources are linked inline; facts were checked on 21 November 2026.

Why split work across agents at all

A single agent works through a task in one growing context. Every file it reads, search it runs and tool result it gets stays there, and quality drops as that context fills with material that no longer matters. Splitting the work gives each part a clean context: a worker reads fifty pages, and the lead receives a one-paragraph summary.

The second reason is parallelism. Independent parts can run at the same time, so a broad task finishes sooner even though it uses more tokens in total. When the split is fixed in advance, this is the parallelization pattern and needs no agents at all.

Both reasons apply only when the parts really are independent. That condition decides almost every case below.

Three patterns

Each pattern below has the same four parts: how it works, what context passes between agents, what it costs, and where it fails.

Orchestrator-workers

How it works. Anthropic’s Building effective agents (December 2024) defines it as a pattern where “a central LLM dynamically breaks down tasks, delegates them to worker LLMs, and synthesizes their results.” Unlike a fixed parallel workflow, the subtasks are not decided in advance; the orchestrator chooses them from the input.

Context passed. The orchestrator writes a task description for each worker. Workers return results, not their full working.

Cost. One orchestrator plus N workers, each with its own context and tool calls. Anthropic’s research system (below) is this pattern, and it is the most expensive of the three.

Where it fails. Vague task descriptions. Anthropic found that without detailed descriptions “agents duplicate work, leave gaps” (Anthropic).

Subagents

How it works. A main agent hands a side task to a helper agent with its own system prompt, tool access and permissions, then carries on with the result. In Claude Code, the subagents documentation says each subagent “runs in its own context window”, and recommends one “when a side task would flood your main conversation with search results, logs, or file contents you won’t reference again”.

Context passed. The subagent starts from the task it is given and “returns only the summary” to the main conversation.

Cost. Subagents send their own requests and count toward the same usage limits; the docs note that running many subagents that each return detailed results “can consume significant context”. You can route them to a smaller, cheaper model.

Where it fails. Latency and missing context. The same docs say a subagent that is not a fork “starts fresh and may need time to gather context”. If the side task needs what the main agent already knows, you pay to rediscover it.

Handoffs

How it works. In an agent handoff, one agent passes control of the conversation to another, typically a triage agent routing to specialists. In the OpenAI Agents SDK, “Handoffs are represented as tools to the LLM”, so a Refund Agent appears as a tool named transfer_to_refund_agent.

Context passed. By default the receiving agent “gets to see the entire previous conversation history”. An input_filter function can trim it, for example by removing earlier tool calls.

Cost. Low compared with the other two: one agent is active at a time, so you pay for one conversation plus the routing.

Where it fails. Ownership and drift. Once control passes, the specialist owns the rest of the turn. The SDK’s guide to orchestrating multiple agents offers the alternative of agents as tools, where “A manager agent keeps control of the conversation and calls specialist agents”, for cases where a specialist should help with a bounded subtask but not take over.

Pattern Who decides the split Context between agents Relative cost Main failure
Orchestrator-workers Lead agent, at run time Task description out, result back Highest Duplicated work, gaps
Subagents Main agent, per side task Task out, summary back Medium Rediscovering context, latency
Handoffs Triage agent or code Full history by default Lowest Specialist owns the turn, drift

The evidence for multi-agent systems

The clearest published case is Anthropic’s multi-agent research system (June 2025). A lead agent running Claude Opus 4 with Claude Sonnet 4 subagents “outperformed single-agent Claude Opus 4 by 90.2%” on Anthropic’s internal research eval. Anthropic’s explanation is mostly about tokens: on the BrowseComp evaluation, “token usage by itself explains 80% of the variance” in performance. Splitting a broad search across agents with separate contexts is a way to spend more tokens usefully.

Note the shape of that task: research questions that fan out into many independent searches. These are Anthropic’s figures on its own eval, not an independent benchmark.

The evidence against

The same Anthropic post is candid about the limits. Multi-agent systems used “about 15× more tokens than chats”, compared with about 4 times for a single agent. It says domains that need “all agents to share the same context” are a poor fit, as are tasks with many dependencies between agents, and that “most coding tasks involve fewer truly parallelizable tasks than research”. Early versions spawned “50 subagents for simple queries”.

Walden Yan of Cognition argued in Don’t build multi-agents (June 2025) for two principles: “Share context, and share full agent traces, not just individual messages” and “Actions carry implicit decisions, and conflicting decisions carry bad results”. Their example: two agents asked to build the background and the bird of a Flappy Bird clone produced pieces in clashing styles that a final agent then had to reconcile. Their default is a single-threaded agent, with a separate model compressing history for very long tasks.

An academic study, Why Do Multi-Agent LLM Systems Fail? (Cemri and others, 2025), annotated more than 1,600 traces across 7 multi-agent frameworks and found 14 failure modes in three groups: system design issues, misalignment between agents, and weak task verification. The authors note that the performance gains of these systems on popular benchmarks “are often minimal”.

Our view

Start with one agent, and keep it until you can name the specific limit it hits. If the limit is context filling with material the agent reads once and never needs again, add a subagent for that side task. If the task is broad and truly parallel, such as research across many sources, an orchestrator with workers can pay for itself, provided the answer is worth several times the tokens. Use handoffs to route a conversation to a specialist, not to split one piece of work.

This does not apply if you are building a pipeline where code, not a model, decides the steps. That is a workflow with several model calls, and the patterns in workflows vs agents cover it better.

A checklist before you add a second agent

  • The single-agent version exists and you know where it fails.
  • The subtasks can be done without seeing each other’s decisions.
  • Each subtask needs enough reading that a clean context helps.
  • You can write a precise task description for each worker: goal, output format, tools and where to stop.
  • The task is worth several times the token cost, and you have set a limit on how many agents can be spawned.
  • One agent, or your code, merges the results and checks them against the original goal.
  • You trace every agent’s calls, so you can see which one went wrong.

Next steps

Covers

Check your understanding

Multi-agent systems quiz

When to split work across agents, orchestrator-workers, subagents and handoffs, the evidence for and against, and a checklist.

7 questions · pass mark 70%

Question 1 of 70 answered
  1. Which condition decides whether splitting a task across agents is likely to help?
Back to top