Multi-Agent Systems: When One Agent Is Not Enough

By on

A multi-agent system splits a job across several model-driven agents, each with its own context window. The evidence so far points one way: splitting helps when the work is broad and its parts are independent, and it hurts when each step depends on the one before. Most projects should start with one agent and add more only when they can say which of those two cases they are in.

In an earlier article I listed multi-agent systems among the directions agents were heading. This one looks at how that has turned out.

What changes when there is more than one agent

A single agent has one context window, and so one continuous record of what it has read, decided and done. With several agents, each has its own window and sees only what it is given. That is both the benefit and the difficulty.

The benefit is room. Each agent can spend its whole window on one part of the problem, several can run at the same time, and a long exploration does not crowd the context of the agent in charge. Anthropic notes that a subagent may use tens of thousands of tokens exploring and hand back a summary of 1,000 to 2,000. That makes subagents a memory technique as much as an architecture.

The difficulty is that nothing is shared unless someone writes it down and passes it on. Every hand-off is a place where information gets lost.

The most common arrangement is the orchestrator-worker pattern. Anthropic's Building effective agents describes it as one where "a central LLM dynamically breaks down tasks, delegates them to worker LLMs, and synthesizes their results".


flowchart TD
  Q[Question] --> L["Lead agent<br/>plans and delegates"]
  L -->|brief| W1[Worker 1]
  L -->|brief| W2[Worker 2]
  L -->|brief| W3[Worker 3]
  W1 -->|report| S["Lead agent<br/>combines and checks"]
  W2 -->|report| S
  W3 -->|report| S
  S --> A[Answer]
  style L fill:#eef2fc,stroke:#1b3fbf,color:#10204f
  style S fill:#eef2fc,stroke:#1b3fbf,color:#10204f

The case for: broad work

The strongest published result is Anthropic's account of how it built its research system (June 2025). A lead agent running Claude Opus 4, with Claude Sonnet 4 subagents, outperformed a single Opus 4 agent by 90.2% on the company's internal research evaluation.

The explanation is unglamorous. Token usage by itself explained 80% of the variance in performance. Several agents searching in parallel can read more than one agent can hold.

The price is in the same article: agents use about 4× the tokens of a chat interaction, and multi-agent systems about 15×. Anthropic's conclusion is that the approach suits "valuable tasks that involve heavy parallelization". It names the poor fits as well: work where every agent needs the same context, or where there are many dependencies between agents. Coding is its example, because most coding tasks have fewer truly parallel parts than research does.

The case against: dependent work

One day before that article, Walden Yan of Cognition published Don't Build Multi-Agents. It rests on two principles:

  1. "Share context, and share full agent traces, not just individual messages"
  2. "Actions carry implicit decisions, and conflicting decisions carry bad results"

His example is a Flappy Bird clone split between two subagents. One builds a background that looks like Super Mario. The other builds a bird that matches neither the game nor the background. The lead agent is left to combine two pieces that do not fit. Each subagent made reasonable decisions that the other never saw.

Two studies have put numbers on it since:

  • The failures have been catalogued. A UC Berkeley team analysed more than 1,600 annotated traces from seven multi-agent frameworks in Why Do Multi-Agent LLM Systems Fail? and catalogued 14 failure modes in three groups: system design issues, inter-agent misalignment and task verification. The middle group exists only because there is more than one agent.
  • The shape of the task decides the outcome. Google Research evaluated 180 agent configurations across four benchmarks in Towards a science of scaling agent systems. On a financial analysis task that splits into parallel parts, centralised coordination improved performance by 80.9% over a single agent. On a planning task whose steps must happen in order, every multi-agent variant did worse, by 39 to 70%. Agents working independently amplified errors 17.2 times, while a coordinating lead held that to 4.4 times.

The two sides agree more than their titles suggest:

Split the work across agents whenKeep one agent when
The parts do not need each other's resultsEach step builds on the one before
There is more to read than one window can holdThe whole task fits in one context
The parts can run at the same timeThe parts must agree in style or design, as in code or a UI
The result is worth several times the tokensCost or latency matters more than coverage

How to brief a subagent

Once you split the work, quality depends on what the lead hands each worker. Anthropic's rule is: "Each subagent needs an objective, an output format, guidance on the tools and sources to use, and clear task boundaries."

Here is the pattern in TypeScript. runAgent is a complete agent loop, like the one in the article on how agents use tools, started with an empty context.

interface Brief {
  objective: string; // what to find out or produce
  outputFormat: string; // what to hand back, and how long
  tools: string[]; // which tools this worker may use
  boundaries: string; // what is out of scope
}

// Runs one agent to completion in a fresh context and returns its answer.
type RunAgent = (prompt: string, tools: string[]) => Promise<string>;

const MAX_WORKERS = 4;

const briefToPrompt = (brief: Brief) =>
  [
    `Objective: ${brief.objective}`,
    `Hand back: ${brief.outputFormat}`,
    `Out of scope: ${brief.boundaries}`,
  ].join('\n');

export async function research(question: string, runAgent: RunAgent) {
  // 1. The lead plans: it splits the question into independent briefs.
  const plan = await runAgent(
    `Split this question into at most ${MAX_WORKERS} independent research ` +
      `tasks. Reply with a JSON array of briefs, each with objective, ` +
      `outputFormat, tools and boundaries. If the question does not split ` +
      `cleanly, reply with a single brief.\n\n${question}`,
    [],
  );
  // Check the shape of this JSON before trusting it in real code.
  const briefs = (JSON.parse(plan) as Brief[]).slice(0, MAX_WORKERS);

  // 2. Workers run in parallel, each in its own context window.
  const results = await Promise.allSettled(
    briefs.map((brief) => runAgent(briefToPrompt(brief), brief.tools)),
  );

  // 3. Only the reports reach the lead, never the workers' full histories.
  const reports = results.map((result, i) =>
    result.status === 'fulfilled'
      ? `Report ${i + 1}, ${briefs[i].objective}:\n${result.value}`
      : `Report ${i + 1}, ${briefs[i].objective}: failed, ${result.reason}`,
  );

  // 4. The lead writes the answer and compares the reports with each other.
  return runAgent(
    `Answer the question from the reports below. Say where reports ` +
      `disagree and where one failed.\n\nQuestion: ${question}\n\n` +
      reports.join('\n\n'),
    [],
  );
}

Four choices in this code come from the evidence above:

  • Workers get a brief, not the conversation. Anything a worker needs must be in the brief, so write it as you would for a contractor who has never seen the project.
  • The cap on workers is in code. Anthropic's early agents made mistakes like "spawning 50 subagents for simple queries". It added rules of scale to the lead's prompt: one agent and 3 to 10 tool calls for a simple fact, 2 to 4 subagents for a direct comparison, and more than 10 only for complex research.
  • One failed worker does not sink the rest. Promise.allSettled lets the others finish, and the lead is told which report is missing.
  • The lead checks the reports against each other. Verification is one of the three failure groups in the Berkeley taxonomy, and the error amplification figures show what unchecked workers cost.

The prompt also lets the lead return a single brief. A question that does not split should not be split.

MCP and A2A

Two protocols come up in any discussion of multi-agent systems, and they solve different problems.

  • MCP connects an agent to tools and data.
  • A2A (Agent2Agent) connects agents to other agents across vendors and organisations. Google created it in April 2025 and gave it to the Linux Foundation that June. A year after launch, the foundation reported a stable version 1.0 and more than 150 supporting organisations.

You need A2A when agents built by different teams or companies have to find and call each other. Inside one application, a function call like the one above is enough.

How to decide

  1. Build the single agent first, and measure it on real tasks.
  2. If it fails because it runs out of context or time on broad tasks, add workers for the reading and searching. Keep the decisions and the writing with the lead.
  3. If it fails for another reason, such as poor tool use or unclear instructions, more agents will multiply the failure. Fix the single agent.
  4. Cap the number of workers and the token budget in code.
  5. Compare cost per finished task, not cost per request.