Building Production Multi-Agent Research Systems with Claude

anthropic · Tech · 2025 · source Agentic: yes · promotional bias: low · source-backed · extracted with prompt 0.5.5 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Production multi-agent research over web, Google Workspace, and integrated enterprise data sources

Anthropic needed Claude Research to answer open-ended research questions that require dynamic planning, parallel search, tool use, citation grounding, long-running state, evaluation, and reliable production operation across many external data sources.

Constraints:

Architecture

Claude Research uses an orchestrator-worker architecture. A LeadResearcher agent analyzes the user query, thinks through a plan, saves it to external memory to survive context truncation, creates specialized subagents for parallel search, receives compressed findings, decides whether more research is needed, and then hands the result to a CitationAgent that grounds claims in source locations. Subagents independently search web and integrated sources, evaluate tool results with interleaved thinking, and return findings. Production reliability layers include detailed prompts for delegation and effort scaling, MCP/tool-description heuristics, small-sample and LLM-judge evaluation, human evaluation, full production tracing, retry logic, checkpoints, graceful tool-failure handling, and rainbow deployments.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  user-query[User query] --> leadresearcher-agent[LeadResearcher agent]
  leadresearcher-agent --> memory[Memory]
  leadresearcher-agent --> subagent-pool[Subagent pool]
  subagent-pool --> search-and-integration-tools[Search and integration tools]
  subagent-pool --> interleaved-thinking[Interleaved thinking]
  subagent-pool --> leadresearcher-agent
  leadresearcher-agent --> citationagent[CitationAgent]
  citationagent --> final-cited-answer[Final cited answer]
  evaluation-suite[Evaluation suite] --> leadresearcher-agent
  leadresearcher-agent --> production-tracing[Production tracing]
  production-tracing --> evaluation-suite
  production-tracing --> retry-and-checkpoint-layer[Retry and checkpoint layer]
  retry-and-checkpoint-layer --> leadresearcher-agent
  rainbow-deployment-system[Rainbow deployment system] --> leadresearcher-agent
  tool-description-testing[Tool-description testing] --> search-and-integration-tools
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
User query Open-ended research request that may require broad search, many tools, and dynamic investigation. LeadResearcher agent
LeadResearcher agent Orchestrator that plans the research, allocates effort, creates subagents, synthesizes findings, and decides whether more work is needed. Memory, Subagent pool, CitationAgent, Production tracing
Memory External persistence for plans and key context when the research process risks exceeding context limits. LeadResearcher agent
Subagent pool Parallel specialized research workers with separate context windows, tools, prompts, and exploration trajectories. Search and integration tools, Interleaved thinking, LeadResearcher agent
Search and integration tools Web, Google Workspace, MCP, and other integrated tools that agents use to gather research evidence. Subagent pool, Tool-description testing
Interleaved thinking Reasoning process used by subagents after tool results to evaluate quality, identify gaps, and refine queries. Subagent pool
CitationAgent Post-research agent that maps report claims to specific source locations and produces citations. Final cited answer
Final cited answer User-facing research result with claims attributed to sources. —
Evaluation suite Small-sample tests, LLM-as-judge rubrics, human testing, and outcome-based checks for multi-agent behavior. LeadResearcher agent, Production tracing
Production tracing Observability layer for diagnosing agent decisions, search behavior, tool failures, and interaction structures. Evaluation suite, Retry and checkpoint layer
Retry and checkpoint layer Deterministic safeguards that let long-running agents resume from failures instead of restarting from the beginning. LeadResearcher agent
Rainbow deployment system Deployment strategy that keeps old and new agent versions running while gradually shifting traffic. LeadResearcher agent
Tool-description testing Agent-assisted process for testing flawed MCP tools and rewriting descriptions to prevent future tool-use failures. Search and integration tools

Data flow

A user submits a research query. The LeadResearcher analyzes it, develops a strategy, writes the plan to Memory, and spawns specialized subagents. Each subagent uses search tools and other integrations to explore an assigned aspect, applies interleaved thinking to evaluate results, and returns compressed findings. The LeadResearcher synthesizes findings, may create more subagents or refine the strategy, and exits the loop once enough information is gathered. A CitationAgent then processes the documents and research report, identifies source locations for citations, and returns a cited answer to the user. Evaluation and production tracing run around this loop to judge outcomes, inspect decisions, and diagnose failures.

6 supporting quotes
“When a user submits a query, the lead agent analyzes it, develops a strategy, and spawns subagents to explore different aspects simultaneously.”article, stated
“The LeadResearcher begins by thinking through the approach and saving its plan to Memory to persist the context”article, stated
“It then creates specialized Subagents (two are shown here, but it can be any number) with specific research tasks.”article, stated
“Each Subagent independently performs web searches, evaluates tool results using interleaved thinking, and returns findings”article, stated
“Once sufficient information is gathered, the system exits the research loop and passes all findings to a CitationAgent”article, stated
“processes the documents and research report to identify specific locations for citations. This ensures all claims are properly attributed to their sources. The final research results, complete with citations, are then returned to the user. ### Prompt engineering and evaluations”article, stated

Why this architecture

Anthropic chose a multi-agent orchestrator-worker architecture because complex research benefits from breadth, parallelism, separate context windows, and dynamic search. Static RAG and single-agent sequential search are weaker fits when the path is unknown, the information exceeds one context window, and multiple independent lines of inquiry must be compressed into a final answer.

5 supporting quotes
“Research work involves open-ended problems where it’s very difficult to predict the required steps in advance.”article, stated
“many turns, making decisions about which directions to pursue based on intermediate findings. A linear, one-shot pipeline cannot handle these tasks. The essence of search is compression: distilling insights from a vast corpus. Subagents facilitate compression by operating”article, stated
“Subagents facilitate compression by operating in parallel with their own context windows, exploring different aspects of the question simultaneously”article, stated
“to the lead agent so it can compile a final answer. Traditional approaches using Retrieval Augmented Generation (RAG) use static retrieval. That is, they fetch some set of chunks that are most similar to an input query and use these chunks to generate a response. In contrast, our architecture uses a”article, stated
“our architecture uses a multi-step search that dynamically finds relevant information, adapts to new findings, and analyzes results”article, stated

Models used: Claude Opus 4 · Claude Sonnet 4 · Claude Sonnet 3.7 · Claude 4 models · LLM judge · MCP servers · Google Workspace integrations · Web search tools

Scale

Alternatives considered (roads not taken)

Static RAG over similar chunks

Rejected because: Anthropic contrasts static chunk retrieval with dynamic multi-step search that adapts to findings and analyzes results.

“to the lead agent so it can compile a final answer. Traditional approaches using Retrieval Augmented Generation (RAG) use static retrieval. That is, they fetch some set of chunks that are most similar to an input query and use these chunks to generate a response. In contrast, our architecture uses a”article, stated
“In contrast, our architecture uses a multi-step search that dynamically finds relevant information, adapts to new findings”article, stated

A single-agent Claude Opus 4 research system

Rejected because: The multi-agent system performed better on internal research evals and succeeded on breadth-first S&P 500 board-member research where the single agent failed.

“4 as the lead agent and Claude Sonnet 4 subagents outperformed single-agent Claude Opus 4 by 90.2% on our internal research eval. For example, when asked to identify all the board members of the companies in the Information Technology S&P 500, the multi-agent system found the correct answers”article, stated
“the multi-agent system found the correct answers by decomposing this into tasks for subagents, while the single agent system failed”article, stated

Sequential search execution

Rejected because: Early agents that searched sequentially were too slow, so Anthropic added parallel subagents and parallel tool use.

“speed and performance.** Complex research tasks naturally involve exploring many sources. Our early agents executed sequential searches, which was painfully slow. For speed, we introduced two kinds of parallelization: (1) the lead agent spins up 3-5 subagents in parallel rather than”article, stated
“exploring many sources. Our early agents executed sequential searches, which was painfully slow. For speed, we introduced two kinds of parallelization: (1) the lead agent spins up 3-5 subagents in parallel rather than serially; (2) the subagents use 3+ tools in parallel.”article, stated

Rigid scripted process evaluation

Rejected because: Multi-agent systems may take different valid paths, so evaluation must judge outcomes and reasonable process rather than exact step sequences.

“Even with identical starting points, agents might take completely different valid paths to reach their goal. One agent might search three sources while another searches ten, or they might use different tools to find the same answer. Because we don’t always”article, stated
“we need flexible evaluation methods that judge whether agents achieved the right outcomes while also following a reasonable process.”article, stated

Updating all running agents simultaneously

Rejected because: Agent systems are stateful and run continuously, so Anthropic uses rainbow deployments to keep old and new versions running while shifting traffic.

“We therefore need to prevent our well-meaning code changes from breaking existing agents. We can’t update every agent to the new version at the same time. Instead, we use rainbow deployments to avoid disrupting”article, stated
“we use rainbow deployments to avoid disrupting running agents”article, stated

Restarting agents from the beginning after errors

Rejected because: Restarts are expensive and frustrating, so the production system resumes from where the agent failed.

“When errors occur, we can't just restart from the beginning: restarts are expensive and frustrating for users.”article, stated
“Instead, we built systems that can resume from where the agent was when the errors occurred. We also use the model’s intelligence to handle issues gracefully: for instance, letting the agent know when a tool is failing and letting it adapt works surprisingly”article, stated

Patterns

multi-agent-orchestration (agent-architecture)

The LeadResearcher coordinates specialized subagents that search in parallel, compress findings, and return them for synthesis.

“Our Research system uses a multi-agent architecture with an orchestrator-worker pattern, where a lead agent coordinates the process”article, stated
“The multi-agent architecture in action: user queries flow through a lead agent that creates specialized subagents”article, stated

tool-use-orchestration (agent-tools)

Agents use web, Google Workspace, MCP, and other tools, with explicit heuristics for matching tool choice to user intent and avoiding wrong-tool failures.

“Tool design and selection are critical. Agent-tool interfaces are as critical as human-computer interfaces.”article, stated
“We gave our agents explicit heuristics: for example, examine all available tools first, match tool usage to user intent”article, stated

context-compaction (context-management)

Subagents operate with their own context windows and return compressed findings; the lead also saves plans to memory before context truncation.

“Subagents facilitate compression by operating in parallel with their own context windows”article, stated
“saving its plan to Memory to persist the context, since if the context window exceeds 200,000 tokens it will be truncated”article, stated

agent-memory (state)

The LeadResearcher writes its plan to external Memory to preserve critical context across long research loops.

“The LeadResearcher begins by thinking through the approach and saving its plan to Memory to persist the context, since if the context window exceeds 200,000 tokens it will be truncated and it is important to retain the plan.”article, stated
“We implemented patterns where agents summarize completed work phases and store essential information in external memory”article, stated

eval-driven-development (quality)

The team started evaluation early with small real-usage query sets, then used those tests to guide prompt and system changes.

“Good evaluations are essential for building reliable AI applications, and agents are no different.”article, stated
“We started with a set of about 20 queries representing real usage patterns.”article, stated

llm-as-judge (evaluation)

Research outputs are graded by an LLM judge against a rubric for factual accuracy, citation accuracy, completeness, source quality, and tool efficiency.

“We used an LLM judge that evaluated each output against criteria in a rubric: factual accuracy”article, stated
“Using an LLM as a judge allowed us to scalably evaluate hundreds of outputs.”article, stated

observability-tracing (operations)

Full production tracing and high-level decision-pattern monitoring are used to diagnose why agents fail without inspecting individual conversation contents.

“Adding full production tracing let us diagnose why agents failed and fix issues systematically.”article, stated
“we monitor agent decision patterns and interaction structures—all without monitoring the contents of individual conversations”article, stated

durable-execution (reliability)

Long-running agents can resume from failures using retry logic, checkpoints, and deterministic safeguards rather than restarting from scratch.

“This means we need to durably execute code and handle errors along the way.”article, stated
“We combine the adaptability of AI agents built on Claude with deterministic safeguards like retry logic and regular checkpoints.”article, stated

canary-rollout (deployment)

Rainbow deployments gradually shift traffic from old to new versions while both continue running so stateful agents are not disrupted.

“we use rainbow deployments to avoid disrupting running agents”article, stated

latency-optimization (performance)

Parallel subagents and parallel tool calls replace slow sequential searches, reducing complex research time by up to 90%.

“Our early agents executed sequential searches, which was painfully slow.”article, stated
“These changes cut research time by up to 90% for complex queries”article, stated

cost-aware-routing (economics)

The architecture is reserved for high-value tasks because multi-agent systems spend enough tokens to improve performance but cost roughly 15x standard chat token usage.

“In our data, agents typically use about 4× more tokens than chat interactions, and multi-agent systems use about 15× more tokens than chats. For economic viability, multi-agent systems require tasks where the value of the task is high enough to pay for the increased performance.”article, stated
“For economic viability, multi-agent systems require tasks where the value of the task is high enough to pay for the increased performance.”article, stated

Tradeoffs

Use multi-agent search for Claude Research

Chose Lead agent plus specialized parallel subagents over Single-agent sequential search.

Rationale: The multi-agent system outperformed the single-agent baseline on internal evals and handled breadth-first research by decomposing independent directions.

“outperformed single-agent Claude Opus 4 by 90.2% on our internal research eval.”article, stated
“the multi-agent system found the correct answers by decomposing this into tasks for subagents, while the single agent system failed”article, stated

Spend more tokens to buy research capacity

Chose High-token multi-agent execution over Lower-cost chat-like interaction.

Rationale: The data showed token usage strongly explained performance variance, but the system must be reserved for tasks valuable enough to pay the cost.

3 supporting quotes
“We found that token usage by itself explains 80% of the variance, with the number of tool calls and the model choice as the two other explanatory factors.”article, stated
“In our data, agents typically use about 4× more tokens than chat interactions, and multi-agent systems use about 15× more tokens than chats. For economic viability, multi-agent systems require tasks where the value of the task is high enough to pay for the increased performance.”article, stated
“For economic viability, multi-agent systems require tasks where the value of the task is high enough”article, stated

Use flexible outcome/process evaluation

Chose LLM judge, human review, and reasonable-process checks over Validating a prescribed sequence of steps.

Rationale: Agents can reach the same correct outcome through different paths, so the eval must judge result quality and process reasonableness.

“agents might take completely different valid paths to reach their goal.”article, stated
“we need flexible evaluation methods that judge whether agents achieved the right outcomes while also following a reasonable process.”article, stated

Keep synchronous lead/subagent coordination for now

Chose Lead waits for subagent sets to complete over Fully asynchronous subagent coordination.

Rationale: Synchronous execution simplifies coordination today, while asynchronous execution promises more parallelism at the cost of state and error-propagation complexity.

“This simplifies coordination, but creates bottlenecks in the information flow between agents.”article, stated
“this asynchronicity adds challenges in result coordination, state consistency, and error propagation across the subagents.”article, stated

Use rainbow deployments for stateful agent systems

Chose Gradually shift traffic while old and new versions both run over Updating every agent to the new version at once.

Rationale: Running agents may be anywhere in their process, so abrupt updates can break stateful workflows.

“agents might be anywhere in their process. We therefore need to prevent our well-meaning code changes from breaking existing agents.”article, stated
“by gradually shifting traffic from old to new versions while keeping both running simultaneously.”article, stated

Use prompt heuristics instead of rigid rules

Chose Frameworks for collaboration, effort budgets, and search strategy over Strict step-by-step prompt scripts.

Rationale: The system needs flexible research behavior but still needs guardrails against spiraling, over-searching, and duplicate work.

3 supporting quotes
“Our prompting strategy focuses on instilling good heuristics rather than rigid rules.”article, stated
“the best prompts for these agents are not just strict instructions, but frameworks for collaboration”article, stated
“We also proactively mitigated unintended side effects by setting explicit guardrails to prevent the agents from spiraling out of control.”article, stated

Gotchas (what bit them)

Multi-agent research is only worth the cost for sufficiently valuable, parallelizable tasks.

Root cause: The architecture gains capability by spending many more tokens and tool calls than chat or single-agent approaches.

Resolution: Apply it where the task value, parallelism, context demand, and tool complexity justify the 15x token usage.

3 supporting quotes
“in practice, these architectures burn through tokens fast. In our data, agents typically use about 4× more tokens than chat interactions, and multi-agent systems use about 15× more tokens than chats.”article, stated
“multi-agent systems require tasks where the value of the task is high enough to pay for the increased performance.”article, stated
“multi-agent systems excel at valuable tasks that involve heavy parallelization, information that exceeds single context windows”article, stated

Poor delegation prompts cause duplicate work and gaps.

Root cause: Simple subagent instructions are too vague for coordinated research, so subagents may misinterpret tasks or repeat each other.

Resolution: Give each subagent an objective, output format, tool/source guidance, and clear task boundaries.

“Without detailed task descriptions, agents duplicate work, leave gaps, or fail to find necessary information.”article, stated
“Each subagent needs an objective, an output format, guidance on the tools and sources to use, and clear task boundaries.”article, stated

Agents over-invest in simple queries unless effort is explicitly scaled.

Root cause: Agents struggle to judge appropriate effort for different task complexity levels.

Resolution: Embed scaling rules in prompts for simple, comparative, and complex research tasks.

“Agents struggle to judge appropriate effort for different tasks, so we embedded scaling rules in the prompts.”article, stated
“These explicit guidelines help the lead agent allocate resources efficiently and prevent overinvestment in simple queries”article, stated

Bad tool descriptions send agents down wrong paths.

Root cause: With MCP and many external tools, agents encounter unseen tools with uneven description quality.

Resolution: Use explicit tool-choice heuristics and agent-assisted tool-description testing to improve future tool ergonomics.

“Bad tool descriptions can send agents down completely wrong paths, so each tool needs a distinct purpose and a clear description.”article, stated
“We even created a tool-testing agent—when given a flawed MCP tool, it attempts to use the tool and then rewrites the tool description”article, stated

Automated evals miss source-quality and edge-case failures.

Root cause: Research outputs are free-form, and agents can choose plausible-looking but low-quality sources.

Resolution: Keep human testing in the loop and add source-quality heuristics to prompts.

3 supporting quotes
“Human evaluation catches what automation misses. People testing agents find edge cases that evals miss. These include hallucinated answers on unusual queries, system failures, or subtle source selection biases.”article, stated
“human testers noticed that our early agents consistently chose SEO-optimized content farms over authoritative but less highly-ranked sources”article, stated
“Adding source quality heuristics to our prompts helped resolve this issue.”article, stated

Small prompt or code changes can cascade into large behavior changes.

Root cause: Subagents interact with the lead agent in a non-deterministic, emergent system rather than a fixed execution path.

Resolution: Use tracing, interaction-pattern monitoring, careful prompting, and controlled deployments to diagnose and isolate changes.

3 supporting quotes
“small changes to the lead agent can unpredictably change how subagents behave.”article, stated
“In agentic systems, minor changes cascade into large behavioral changes, which makes it remarkably difficult to write code for complex agents that must maintain state in a long-running process.”article, stated
“Adding full production tracing let us diagnose why agents failed and fix issues systematically.”article, stated

Synchronous subagent execution bottlenecks coordination.

Root cause: The lead waits for each set of subagents before proceeding, preventing steering and coordination while work is underway.

Resolution: The team identifies asynchronous execution as a future path, while acknowledging result coordination, state consistency, and error propagation complexity.

3 supporting quotes
“Currently, our lead agents execute subagents synchronously, waiting for each set of subagents to complete before proceeding.”article, stated
“Asynchronous execution would enable additional parallelism: agents working concurrently and creating new subagents when needed.”article, stated
“this asynchronicity adds challenges in result coordination, state consistency, and error propagation across the subagents.”article, stated

Evaluation

Anthropic evaluates Claude Research with small real-usage query sets, LLM-as-judge rubrics, human evaluation, process/outcome checks suited to non-deterministic paths, production tracing, and end-state evaluation for state-mutating agents. The LLM judge grades factual accuracy, citation accuracy, completeness, source quality, and tool efficiency, while human testers catch edge cases and source-selection failures.

Metrics: Internal research eval uplift versus single-agent Claude Opus 4 · BrowseComp performance variance explained by token usage, tool calls, and model choice · Small initial set of about 20 real-usage queries · LLM judge rubric scores from 0.0 to 1.0 plus pass/fail · Factual accuracy · Citation accuracy · Completeness · Source quality · Tool efficiency · Human tester findings on hallucinations, failures, and source-selection bias

6 supporting quotes
“Good evaluations are essential for building reliable AI applications, and agents are no different.”article, stated
“We started with a set of about 20 queries representing real usage patterns.”article, stated
“We used an LLM judge that evaluated each output against criteria in a rubric: factual accuracy”article, stated
“a single prompt outputting scores from 0.0-1.0 and a pass-fail grade was the most consistent and aligned with human judgements.”article, stated
“Human evaluation catches what automation misses. People testing agents find edge cases that evals miss. These include hallucinated answers on unusual queries, system failures, or subtle source selection biases.”article, stated
“Adding full production tracing let us diagnose why agents failed and fix issues systematically.”article, stated

Outcomes

The article describes production Claude Research rather than a prototype: it searches web, Google Workspace, and integrations; persists plans around 200,000-token context limits; uses 3-5 parallel subagents and 3+ tools in parallel for some complex queries; consumes about 15x chat tokens; and reports top Research categories such as software systems (10%) and professional content (8%).

7 supporting quotes
“Claude now has Research capabilities that allow it to search across the web, Google Workspace”article, stated
“outperformed single-agent Claude Opus 4 by 90.2% on our internal research eval.”article, stated
“three factors explained 95% of the performance variance in the BrowseComp evaluation”article, stated
“These changes cut research time by up to 90% for complex queries, allowing Research to do more work in minutes instead of hours while covering more information than other systems.”article, stated
“resulted in a 40% decrease in task completion time for future agents using the new description”article, stated
“Multi-agent research systems can operate reliably at scale with careful engineering, comprehensive testing”article, stated
“save up to days of work by uncovering research connections they wouldn't have found alone.”article, stated