Skip to content

< CollectionsArticle

A multi-agent research system.

How we built our multi-agent research system

Anthropic · 2025

Read the article (opens in a new tab)

A lead agent plans, runs subagents that search in parallel, and condenses what they find.

5 sections · 8 problems · 1 project

0 of 9 done

Start Next: 01 Fan Out to Workers and Merge

Fig. 1. Each subagent fills its own bubble of context, so nothing leaks between them. Only small summaries float up to the supervisor, and every bubble is billed.

Section 01

A lead and its subagents

0 of 2

The article: A lead agent breaks the question down and runs subagents in parallel, each with a context of its own.

  1. 01Fan Out to Workers and Mergeimplement · medium
  2. 02Fan Out to Subagents Within a Budgetimplement · medium

Section 02

Scale effort to the query

0 of 1

The article: Many agents spend many times the tokens of a chat, so a simple question gets one agent and a few calls.

  1. 03Stop the Loop Inside a Dollar Budgetimplement · medium

Section 03

Pass on what matters

0 of 2

The article: Subagents return condensed findings, and work is kept outside the window so a long task survives its limit.

  1. 04Hand Off Only What the Next Agent Needsimplement · easy
  2. 05Share a Scratchpad Between Agents Without Losing Writesimplement · medium

Section 04

Errors compound

0 of 3

The article: One failing step can derail a long run, so the system resumes from where it failed instead of starting over.

  1. 06Fix the Supervisor That Dies With One Subagentdebug · medium
  2. 07Retry With Backoff Behind a Circuit Breakerimplement · hard
  3. 08Pick the Answer When One Subagent Is Wrongimplement · medium

Section 05

Build it

0 of 1

Beyond the article: A research agent that writes a cited report.

  1. 09research-agentproject
All collections