Multi-Agent System

A multi-agent system consists of multiple agents (LLMs autonomously using tools in a loop) working together.

Verified

On this page

Definition

A multi-agent system consists of multiple agents (LLMs autonomously using tools in a loop) working together. In the Research feature, one agent plans a research process from user queries, then uses tools to create parallel agents that search for information simultaneously. The Research system uses a multi-agent architecture with an orchestrator-worker pattern, where a lead agent coordinates the process while delegating to specialized subagents that operate in parallel.

Systems with multiple agents introduce new challenges in agent coordination, evaluation, and reliability. Multi-agent systems differ from single-agent systems in several ways, including a rapid growth in coordination complexity.

At a glance

When a user submits a query, the lead agent analyzes it, develops a strategy, and spawns subagents to explore different aspects simultaneously.

Diagram: 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. > The LeadResearcher then creates specialized Subagents with specific research tasks. > Each Subagent independently performs web searches, evaluates tool results using interleaved thinking, and returns findings to the LeadResearcher. > The LeadResearcher synthesizes these results and decides whether more research is needed; if so, it can create additional subagents or refine its strategy. > Once sufficient information is gathered, the system exits the research loop and passes findings to a CitationAgent, which processes the documents and research report to identify specific locations for citations. > The final research results, complete with citations, are then returned to the user.1The LeadResearcher begins by thinking throughthe approach and saving its plan to Memory topersist the context, since if the contextwindow exceeds 200,000 tokens it will betruncated and it is important to retain theplan.2The LeadResearcher then creates specializedSubagents with specific research tasks.3Each Subagent independently performs websearches, evaluates tool results usinginterleaved thinking, and returns findings tothe LeadResearcher.4The LeadResearcher synthesizes these resultsand decides whether more research is needed; ifso, it can create additional subagents orrefine its strategy.5Once sufficient information is gathered, thesystem exits the research loop and passesfindings to a CitationAgent, which processesthe documents and research report to identifyspecific locations for citations.6The final research results, complete withcitations, are then returned to the user.

How it works

Research work involves open-ended problems where it is very difficult to predict the required steps in advance. Anthropic says a linear, one-shot pipeline cannot handle research tasks that require the model to make autonomous decisions over many turns and adapt its direction to intermediate findings. Subagents facilitate compression by operating in parallel with their own context windows, exploring different aspects of the question simultaneously before condensing the most important tokens for the lead research agent.

According to Anthropic's system description, each subagent has distinct tools, prompts, and exploration trajectories. The team says this separation of concerns reduces path dependency and enables thorough, independent investigations. Traditional approaches using Retrieval Augmented Generation (RAG) use static retrieval. Such approaches fetch a set of chunks most similar to an input query and use those chunks to generate a response.

In contrast, the Research architecture uses a multi-step search that dynamically finds relevant information, adapts to new findings, and analyzes results to formulate answers. Each subagent needs an objective, an output format, guidance on the tools and sources to use, and clear task boundaries. Anthropic embedded resource-allocation guidelines in Research's prompts: simple fact-finding uses 1 agent with 3-10 tool calls; direct comparisons might need 2-4 subagents with 10-15 calls each; complex research might use more than 10 subagents with clearly divided responsibilities.

The post's analysis says multi-agent systems work mainly because they help spend enough tokens to solve the problem. In Anthropic's BrowseComp analysis, token usage, number of tool calls, and model choice together explained 95% of the performance variance. The evaluation tests browsing agents' ability to locate hard-to-find information. Token usage by itself explains 80% of that variance, with the number of tool calls and the model choice as the two other explanatory factors.

Traditional evaluations often assume that the AI follows the same steps each time: given input X, the system should follow path Y to produce output Z. Even with identical starting points, agents might take completely different valid paths to reach their goal. What is needed instead is flexible evaluation methods that judge whether agents achieved the right outcomes while also following a reasonable process.

The evaluation used an LLM judge that scored each output against rubric criteria: factual accuracy (do claims match sources?), citation accuracy (do the cited sources match the claims?), completeness (are the requested aspects covered?), source quality (did it use primary sources over lower-quality secondary sources?), and tool efficiency (did it use the right tools a reasonable number of times?). Agents are stateful and errors compound. Systems were built that can resume from where the agent was when the errors occurred.

Example

In the example on AI agent companies in 2025, the subagents act as intelligent filters by iteratively using search tools to gather information and then returning a list of companies to the lead agent so it can compile a final answer. Anthropic reports that, in its example of identifying board members of Information Technology S&P 500 companies, the multi-agent system decomposed the task for subagents and found correct answers, while the single-agent system failed with slow, sequential searches. The post reports that a multi-agent system with Claude Opus 4 as the lead agent and Claude Sonnet 4 subagents outperformed single-agent Claude Opus 4 by 90.2% on its internal research eval.

The lead agent was first allowed to give simple, short instructions like 'research the semiconductor shortage,' but these instructions often were vague enough that subagents misinterpreted the task or performed the exact same searches as other agents. In one case, one subagent explored the 2021 automotive chip crisis while 2 others duplicated work investigating current 2025 supply chains, without an effective division of labor. Early agents made errors like spawning 50 subagents for simple queries, scouring the web endlessly for nonexistent sources, and distracting each other with excessive updates.

In the post's 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. Some domains that require all agents to share the same context or involve many dependencies between agents are not a good fit for multi-agent systems today.

For instance, most coding tasks involve fewer truly parallelizable tasks than research, and LLM agents are not yet great at coordinating and delegating to other agents in real time.

Sources

This page is written from the official sources below. Open them to check the original text.

Verified ·

This page is written by AI from the official sources above and checked automatically. This site has not tested it. Found a mistake? Tell us.