How we built our multi-agent research system
TL;DR. Anthropic’s Research feature uses an orchestrator-worker design. A lead agent plans (and saves its plan to memory), spawns several subagents that search in parallel, each in its own context window, then synthesises their condensed findings and decides whether to research more. A separate CitationAgent attaches citations at the end. On an internal research eval, Opus 4 as lead with Sonnet 4 subagents beat a single Opus 4 agent by 90.2%, but the system uses about 15× the tokens of a chat. The essay is also a practical guide to prompting for delegation, evaluating research agents and running stateful agents in production.
Why it matters now. This is the clearest public description of a production deep-research agent, and the source of the widely repeated claim that performance on BrowseComp is mostly explained by tokens spent. For anyone training search agents with RL or evaluating them on BrowseComp-Plus, it frames the central question: is a gain due to a better policy or to more compute? Its practical lessons (delegation briefs, effort scaling, source quality, end-state evaluation) transfer directly to research systems built on fixed corpora.
Key idea
Section titled “Key idea”Problem. Open-ended research needs many searches in directions that cannot be planned in advance, and the information found quickly exceeds one context window. A single agent searching sequentially is slow and runs out of window.
Architecture.
- The LeadResearcher thinks through the approach and saves its plan to Memory, because its context is truncated past 200,000 tokens.
- It spawns subagents with specific tasks. Each runs its own search loop, using interleaved thinking after tool results to judge quality and refine the next query, and returns findings.
- The lead synthesises, then either spawns more subagents or exits the loop.
- A CitationAgent processes the documents and report to attach each claim to a location in a source.
Why it works, per the essay. “The essence of search is compression”: subagents explore in parallel and condense what they found for the lead. Separate contexts also give separation of concerns (different tools, prompts and trajectories), which reduces path dependency. And, the essay argues, multi-agent systems work mainly because they let the system spend enough tokens on the problem: on BrowseComp, token usage alone explained 80% of performance variance, and token usage, number of tool calls and model choice together explained 95%. Model choice matters a lot too: upgrading to Sonnet 4 helped more than doubling the token budget on Sonnet 3.7.
When not to use it. Tasks where all agents need the same context, or with many dependencies between agents, such as most coding tasks. Agents are not yet good at coordinating in real time.
Prompting lessons (the essay’s eight principles, condensed).
- Think like your agents: watch step-by-step simulations to see failures such as continuing after enough results or overly verbose queries.
- Teach delegation: each subagent needs an objective, an output format, tool and source guidance, and clear boundaries. Short one-line briefs (for example, just naming the semiconductor shortage as the topic) led to duplicated work: one subagent studied the 2021 automotive chip crisis while two others covered the same 2025 supply chains.
- Scale effort to complexity: about 1 agent with 3–10 tool calls for simple fact-finding; 2–4 subagents with 10–15 calls each for direct comparisons; more than 10 subagents with divided responsibilities for complex research.
- Tool design and selection: give heuristics for choosing among tools; bad tool descriptions send agents down wrong paths.
- Let agents improve themselves: a tool-testing agent that used a flawed MCP tool dozens of times and rewrote its description cut task completion time for later agents by 40%.
- Start wide, then narrow: agents default to long, specific queries that return little; prompt them to search broadly first.
- Guide the thinking: the lead plans in extended thinking; subagents think between tool calls.
- Parallelise: 3–5 subagents in parallel, each running 3+ tools in parallel, cut research time by up to 90% on complex queries.
Worked cost arithmetic (illustrative). If a chat costs tokens, a single agent costs about and the multi-agent system about . Reading the 90.2% gain as relative (score ratio ),
So the multi-agent system is roughly twice as expensive per unit of score, and the comparison is not at matched budget. Whether a single agent given more tokens would close the gap is exactly what the essay’s own variance analysis raises and does not test.
Evaluating research agents. Start with about 20 queries from real usage: early changes have large effects (the essay mentions a prompt tweak moving success from 30% to 80%). Use an LLM judge with a rubric covering factual accuracy, citation accuracy, completeness, source quality and tool efficiency; the team found a single call producing 0.0–1.0 scores and pass/fail more consistent with humans than several separate judges. Human testers still caught what the judge missed, notably a preference for SEO-optimised content farms over authoritative sources such as academic PDFs, fixed with source-quality heuristics. For agents that change state, evaluate the end state rather than each turn.
Production engineering. Agents are stateful and errors compound, so the system resumes from where an error occurred instead of restarting, tells the agent when a tool is failing so it can adapt, and adds deterministic safeguards such as retries and checkpoints. Full production tracing (monitoring decision patterns, not conversation contents) made failures diagnosable. Deployments use rainbow deployments so running agents are not broken by code changes. Subagents currently run synchronously, so the lead cannot steer them and one slow subagent blocks the whole system. The appendix suggests subagents write outputs to a filesystem and pass back references, so findings are not distorted by being relayed through the lead.
| Single agent | Multi-agent research system | |
|---|---|---|
| Context | One window, sequential searches | Lead window + one window per subagent |
| Tokens | ≈ 4× a chat | ≈ 15× a chat |
| Fits | Dependent, shared-context tasks (most coding) | Breadth-first research with independent directions |
| What was compared | Opus 4 alone | Same lead model (Opus 4) and the same internal eval, but the system adds Sonnet 4 subagents and spends more tokens |
| Evidence | 90.2% gain on an internal eval; BrowseComp variance analysis; all vendor-reported |
Key results
Section titled “Key results”All results are vendor-reported on internal evaluations or internal analyses.
- Internal research eval: Opus 4 lead with Sonnet 4 subagents outperformed single-agent Opus 4 by 90.2%. Example: listing board members of all Information Technology S&P 500 companies, which the multi-agent system solved and the single agent did not.
- BrowseComp variance analysis: three factors explain 95% of performance variance; token usage alone 80%; the others are number of tool calls and model choice.
- Tokens: agents use about 4× the tokens of chat; multi-agent systems about 15×.
- Speed: parallel subagents and parallel tool calls cut research time by up to 90% on complex queries.
- Tool-description rewriting by a testing agent cut later task completion time by 40%.
Limitations & open questions
Section titled “Limitations & open questions”- Not at matched cost. The headline gain compares systems with different token budgets and different subagent models. By the essay’s own analysis, tokens are the main driver, so the architecture’s contribution is not isolated.
- Internal eval, unspecified. Neither the research eval nor the units of the variance analysis are described in enough detail to reproduce or interpret precisely.
- Coordination is weak. Synchronous subagents, no steering mid-run and no subagent-to-subagent communication. Asynchronous coordination is named as future work.
- Judge design conflicts with later advice. This essay found one judge over all dimensions most consistent; the later evals essay recommends one isolated judge per dimension. Which is better probably depends on the task.
- Open question. Can an RL-trained single agent with context management match a multi-agent system at equal tokens, or does parallel exploration in separate windows give something a single trajectory cannot?
Connections
Section titled “Connections”- Building effective agents: the orchestrator-workers pattern this system implements.
- Effective context engineering: sub-agents as one of three long-horizon context techniques.
- Demystifying evals for AI agents: the later, more general evaluation guidance.
- MAST: a taxonomy of how multi-agent LLM systems fail.
- OpenAI deep research and Tongyi DeepResearch: other production deep-research agents, trained rather than prompted.
- BrowseComp and BrowseComp-Plus: the benchmark in the variance analysis and its fixed-corpus version.
- Deep research is a retrieval problem: the IR view of the same system class.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Take the essay's cost figures: a single agent uses about 4× the tokens of a chat and the multi-agent system about 15×. Read "outperformed by 90.2%" as a relative gain, so the multi-agent score is 1.902 times the single-agent score. Compute the multi-agent system's token cost per unit of score relative to the single agent. Then use the effort-scaling rules to estimate tool calls for a simple fact query, a comparison and a complex query with 10 subagents, and explain what these numbers imply for comparing the two systems fairly.
What a strong answer covers
- Token ratio multi / single = 15 / 4 = 3.75; score ratio = 1.902; cost per unit of score is 3.75 / 1.902 ≈ 1.97× higher for the multi-agent system.
- Simple fact-finding: 1 agent with 3–10 calls. Comparison: 2–4 subagents × 10–15 calls = 20–60 calls. Complex: more than 10 subagents × 10–15 calls each, so well over 100 calls.
- The multi-agent system spends far more on hard queries by design, so part of the gain is simply spending more.
- A fair comparison gives the single agent the same token or call budget (for example, more turns or a larger window with compaction) and compares at matched cost.
- If "90.2%" were percentage points instead of a relative gain, the arithmetic would be different; the essay does not report the base score, which limits what can be computed.
- Mechanism
The essay says the essence of search is compression and that multi-agent systems work mainly because they help spend enough tokens on the problem. Explain the mechanism: what each subagent's separate context window buys, why parallel subagents reduce path dependency, and why the same design is a poor fit for most coding tasks.
What a strong answer covers
- Each subagent explores in its own window and returns only a condensed finding, so the lead's window holds many compressed results instead of all raw tool output.
- Total tokens spent can exceed one window because the work is spread over several windows; the BrowseComp analysis ties performance mostly to token use.
- Separate prompts, tools and trajectories mean one bad early search does not steer the whole investigation, which reduces path dependency.
- Breadth-first questions with independent directions (for example, board members of every S&P 500 IT company) split cleanly; coding tasks have fewer truly parallel parts and more shared context and dependencies.
- Agents also coordinate poorly in real time, and the lead runs subagents synchronously, so tightly coupled work gains little.
- Critique
The headline claims are a 90.2% gain over single-agent Opus 4 on an internal research eval and that three factors explain 95% of BrowseComp performance variance, with token usage alone explaining 80%. Critique whether this evidence shows that multi-agent architecture beats a single agent, and design the analysis that would settle it.
What a strong answer covers
- The 90.2% compares systems with different token budgets (and different models as subagents), on an internal eval that outsiders cannot inspect or reproduce.
- If tokens explain 80% of variance, the natural alternative explanation is that a single agent with the same token budget would close much of the gap.
- The essay does not say what the units of the variance analysis are (runs, configurations, questions), so the 95% and 80% cannot be interpreted precisely.
- Settle it with a matched-budget comparison: single agent with compaction or larger budget versus multi-agent at equal tokens, on a public benchmark such as BrowseComp-Plus, with several runs per question.
- Also report cost per correct answer and latency, since the essay itself says multi-agent use is only economical for high-value tasks.
- What if…
For grading research outputs, this essay found that one LLM call with one prompt, producing 0.0–1.0 scores plus pass/fail over a rubric (factual accuracy, citation accuracy, completeness, source quality, tool efficiency), was the most consistent and closest to human judgement. The later Anthropic evals essay recommends grading each rubric dimension with an isolated judge. Design an ablation that tests which is better for deep-research reports, and say what could explain the disagreement.
What a strong answer covers
- Arms: a single judge over all dimensions versus one isolated judge per dimension, same judge model, same rubric text and same outputs.
- Collect expert human scores on a sample and measure agreement per dimension (correlation, Cohen's kappa on pass/fail) and test-retest consistency across repeated judge calls.
- A single judge may look more consistent because dimensions bleed into one halo score, which is consistent but less informative per dimension.
- Isolated judges may be noisier per call but give separable signals; which wins can depend on whether tasks have a clear answer (the essay notes the judge worked best then).
- Check cost and position or length biases in both arms, since longer reports may be favoured.
- Design
Design a multi-agent research system over the fixed BrowseComp-Plus corpus with a search tool and a get-document tool. Specify the lead's delegation brief, how it scales effort to query complexity, how subagent results reach the lead without a game of telephone, how citations are attached and checked, and how you would decide whether multi-agent is worth its cost here.
What a strong answer covers
- Briefs follow the essay: objective, output format, which tools and sources to use, and clear boundaries, so subagents do not duplicate searches.
- Effort rules in the lead prompt: one agent with a few calls for simple lookups, a few subagents for comparisons, many subagents only for complex multi-constraint questions.
- Subagents write findings and document ids to a shared store and pass back lightweight references, rather than relaying everything through the lead.
- A citation step maps each claim to document ids, which can be checked against the corpus relevance judgments for evidence precision and recall.
- Compare against a single agent at matched token budget on accuracy, evidence recall and cost per correct answer.
- Connect
Human testers found that early agents preferred SEO-optimised content farms over authoritative but lower-ranked sources, and the essay fixed this with source-quality heuristics in the prompt; it also tells agents to start with short, broad queries and then narrow. Connect both findings to IR, and propose how an RL-trained search agent could learn them instead of having them written into a prompt.
What a strong answer covers
- Content-farm preference is a ranking-quality problem: the agent trusts the engine's ranking and surface relevance, not authority; IR has long studied quality and authority signals beyond topical match.
- Start wide, then narrow mirrors exploratory search and query reformulation: broad queries reveal the landscape, then specific ones target gaps; long, specific first queries return little.
- For RL, add rewards or penalties tied to evidence quality (for example, citation support from authoritative documents) rather than answer correctness alone.
- Query-level behaviour can be shaped by rewarding information gain per search, which favours broad then narrow strategies without hard-coding them.
- Evaluate on a fixed corpus with known relevance and quality labels, so source choice can be measured rather than inferred.