In short

One lead agent plans the research. A team of subagents searches at the same time, each in its own context window, and reports back. Anthropic found that this beats a single agent on broad research, and that the team, not a bigger model, made the difference.

The setup comes from Anthropic's engineering write-up on the Research feature in Claude, published in June 2025, and from the system prompts Anthropic later open-sourced. This guide walks through what they built, the rules that made it work and what it costs, and how to set up the same pattern in Claude Code.

Why a team beats one agent

With Claude Opus 4 as the lead and Claude Sonnet 4 subagents, the system outperformed a single Claude Opus 4 agent by 90.2% on Anthropic's internal research eval. On a task like “identify all the board members of the companies in the information technology s&p 500”, the team split the companies between subagents and found the answer. The single agent searched one company after another and failed.

The reason is mostly reading capacity. On the BrowseComp benchmark, three factors explained 95% of the difference in performance: token usage (80% on its own), the number of tool calls and the model choice. A team of subagents gives a question many fresh context windows instead of one.

The plan goes to memory first

Research runs long. Once the context passes 200,000 tokens it gets truncated, and whatever was at the start is gone, the plan included. So the lead writes its plan to an external memory before the first search. When the context is cut, it reads the plan back and carries on. Near the limit, it can also hand off to a fresh subagent with a clean context.

Every subagent gets a brief

A one-line task like “research the semiconductor shortage” isn't enough. In Anthropic's tests, one subagent took it as the 2021 automotive chip crisis while two others both researched the 2025 supply chains. So every brief has four parts:

  • an objective,
  • an output format,
  • the tools and sources to use,
  • clear boundaries: what this subagent should not cover.

Scale the effort to the question

Early versions spawned 50 subagents for simple questions. The fix was a set of rules in the lead's prompt:

  • Simple fact-finding: 1 agent, 3–10 tool calls.
  • Direct comparison: 2–4 subagents, 10–15 calls each.
  • Complex research: 10+ subagents, clearly divided responsibilities.

The subagents also start with short, broad searches, see what's out there, and only then narrow down. Agents left to themselves write long, specific queries that return almost nothing.

Run them in parallel

The first versions searched one step at a time. Two changes fixed that. The lead starts 3–5 subagents at once instead of one by one, and each subagent runs 3+ tool calls at once. Together they cut research time by up to 90% on complex queries.

Files, not long hand-offs

When every result travels back through the lead's conversation, it's like a game of telephone: details get lost and the copies eat tokens. Anthropic has the subagents save their work to files and pass back only a short reference, such as a path. The lead opens what it needs, and nothing is retyped along the way.

A citation pass at the end

When the research is done, a separate citation agent reads the report and the sources and links key claims to the sources that directly support them. Its prompt forbids changing the report text: it only adds citations. That job stays separate from writing, so the writer focuses on the answer and the citation agent on the attribution.

What it costs

Teams burn tokens. Anthropic measured that agents use about 4× the tokens of a chat, and multi-agent systems about 15×. That pays off for questions that are worth it: due diligence, a market or literature review, a decision with money behind it. It doesn't pay off for a quick lookup, where one agent is faster and cheaper.

When not to use a team

Anthropic says a multi-agent system fits best for:

  • Valuable tasks that parallelise well
  • More information than one context window holds
  • Many complex tools to work with

It fits poorly for:

  • Tasks where every agent needs the same context
  • Many dependencies between agents
  • Most coding tasks today

Coding is the clearest poor fit. It has fewer truly parallel parts than research, and agents are not yet good at coordinating with each other in real time.

How to test it

Start small. Anthropic began with about 20 questions taken from real use. Early on, a single prompt change can lift success from 30% to 80%, so a few cases show it clearly. One LLM judge scores each answer from 0.0 to 1.0 on five criteria, with a pass or fail:

  • Factual accuracy
  • Citation accuracy
  • Completeness
  • Source quality
  • Tool efficiency

People still test it too. Testers found that early agents preferred SEO content farms over academic PDFs and expert blogs, which led to source-quality rules in the prompts. Tool descriptions matter as well: a testing agent that rewrote unclear tool descriptions cut task time by 40% for the agents that used them afterwards.

Set it up in Claude Code

Claude Code has the parts built in. A subagent is a Markdown file in .claude/agents/ with its own instructions, tools and model, and it runs in its own context window. Set its model to sonnet for the searching. The main session is the lead and runs on the model you chose for it.

The prompt then applies the rules above: the plan goes into a file first, several subagents run in parallel with a full brief each, the findings go into files with only the path coming back, and a final pass checks the sources. See the Claude Code subagent docs for every option.

Subagent file

--- name: web-researcher description: Researches one sub-question on the web and saves its findings to a file. Use for research tasks. tools: WebSearch, WebFetch, Read, Write model: sonnet --- You research one sub-question for a lead agent. Your brief gives an objective, an output format, the tools and sources to use, and what not to cover. Stay inside it. Start with short, broad searches, then narrow. Prefer primary sources over SEO content farms. Stop when new searches stop adding facts. Save your findings, with the URL of every source, to the file named in the brief. Reply with only the file path and one line on what you found.

Save as .claude/agents/web-researcher.md. Claude picks it up within a few seconds.

Research prompt

Research: Compare three CRMs for a 20-person agency. First write your plan to research/plan.md. Then run 4 web-researcher subagents in parallel, one per topic, each with a brief: objective, output format, tools and sources, and what not to cover. Each saves its findings in research/findings/ and returns only the path. Write the report to research/report.md, then check that every claim in it links to a source in the findings.

Paste into the main session, which acts as the lead. Change the question to yours.

Talk to us

Want a research or agent workflow like this in your business?

Tell us what you'd like researched, compared or automated. We build AI agents that work on your own data and tools, with the same rules: briefs, sources and a check before anything ships. We reply within one working day.

What would you like researched or automated? A few lines is plenty.

FAQ

What is a multi-agent research system?

A lead agent that plans the research, splits it into separate questions and hands each to a subagent with its own context window. The subagents search at the same time and report back. The lead combines their findings, decides whether more research is needed and writes the answer. A citation pass then links each claim to its source.

Is a team of agents really 90% better than one?

In Anthropic's test, a system with Claude Opus 4 as the lead and Claude Sonnet 4 subagents outperformed a single Claude Opus 4 agent by 90.2%. That was on Anthropic's internal research eval, not a public benchmark, and with the models of June 2025. The gain is largest on broad questions that split into independent parts.

Why does a team do better than one bigger model?

Mostly because it can spend more tokens on the problem. On BrowseComp, three factors explained 95% of the difference in performance, and token usage alone explained 80%. Each subagent brings its own context window, so the team can read far more than one agent can fit.

How much more does it cost?

Anthropic measured that agents use about 4× the tokens of a chat, and multi-agent systems about 15×. It pays off only when the answer is worth that much: deep research, due diligence, market or literature reviews. It doesn't pay off for quick questions.

What should a subagent's brief contain?

Four things: an objective, the format of the output, the tools and sources to use, and clear boundaries, meaning what the subagent should not cover. Without boundaries, Anthropic saw two subagents research exactly the same thing while another went off in a different direction.

Why save the plan to memory?

Long research can outgrow the context window. Past 200,000 tokens, Anthropic's system truncates the context, so the lead writes its plan to an external memory before it starts and can read it back after the context has been cut.

When is a multi-agent system the wrong choice?

When every agent needs the same context, or the work has many dependencies between steps. Anthropic names most coding tasks as an example: they have fewer truly parallel parts than research, and agents are not yet good at coordinating with each other in real time.

Can I build this in Claude Code?

Yes. Define a research subagent as a Markdown file in .claude/agents/ and set its model to sonnet. The main session acts as the lead: ask it to write its plan to a file, run several subagents in parallel with a brief each, and have them save findings to files and return only the path. Subagents run in their own context windows. Anthropic's parallel setup cut research time by up to 90% on complex questions.