All skills
Skillintermediate
Use Case: Multi-Agent Research System
<div align="center">
Claude Code Knowledge Pack7/10/2026
Overview
<div align="center">
<div align="center">
š Home āŗ š Guides āŗ šÆ Use Cases āŗ Multi-Agent Research
ā Use Cases āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Production Code Review ā
</div>Use Case: Multi-Agent Research System
Source: Anthropic Engineering Blog - June 2025
Problem
Synthesizing comprehensive research from multiple sources requires:
- Parallel information gathering
- Domain specialization
- Quality synthesis
Solution Architecture
%%{init: {'theme': 'base', 'themeVariables': {'lineColor': '#64748b'}}}%%
flowchart TB
classDef main fill:#8b5cf6,stroke:#7c3aed,stroke-width:2px,color:#ffffff
classDef subagent fill:#ec4899,stroke:#db2777,stroke-width:2px,color:#ffffff
classDef tool fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#ffffff
classDef state fill:#10b981,stroke:#059669,stroke-width:2px,color:#ffffff
USER["šāāļøš„ Research Query"] --> LEAD["š Main Agent"]:::main
LEAD -->|"šŖŗ Task"| PLAN["Plan research strategy"]
PLAN --> SPAWN["Spawn specialized researchers"]
subgraph PARALLEL["š Parallel Execution"]
R1["š¦ Academic Researcher"]:::subagent
R2["š¦ Industry Researcher"]:::subagent
R3["š¦ News Researcher"]:::subagent
end
SPAWN --> R1 & R2 & R3
R1 --> T1["š Perplexity"]:::tool
R2 --> T2["š Firecrawl"]:::tool
R3 --> T3["š WebSearch"]:::tool
T1 & T2 & T3 --> COLLECT["š Main Agent collects"]:::main
COLLECT --> SYNTH["š¦ Synthesis Agent"]:::subagent
SYNTH --> REPORT["ā
Final Report"]:::state
Patterns Used
| Pattern | Role |
|---|---|
| š¦ Orchestrator-Workers | š Main Agent spawns specialized researchers |
| š Parallel Tool Calling | Multiple researchers work simultaneously |
| 𧬠Master-Clone | Each researcher has isolated context |
Implementation
š Main Agent Prompt
main_agent_prompt = """
You coordinate research by:
1. Breaking query into research domains
2. Spawning domain-specific researchers
3. Collecting and synthesizing results
"""
š¦ Researcher Subagent
researcher_prompt = """
You research {domain} using available tools.
Return structured findings with citations.
"""
Subagent Definition
# .claude/agents/academic-researcher.md
---
name: academic-researcher
description: Researches academic papers and scholarly sources
tools: Read, WebFetch, WebSearch
model: sonnet
---
You are an academic research specialist. Your task is to:
1. Search for relevant academic papers
2. Extract key findings and citations
3. Return structured research notes
Focus on peer-reviewed sources and cite properly.
Why This Works
| Aspect | Benefit |
|---|---|
| Specialization | Each subagent focuses on one domain |
| Parallelism | Independent searches run concurrently |
| Isolation | Subagents don't pollute each other's context |
| Synthesis | š Main Agent has full picture for final output |
Flow Summary
šāāļøš„ Research Query
ā
ā¼
š Main Agent (Plan strategy)
ā
āāāāŗ š¦ Academic Researcher āāāŗ š Perplexity
āāāāŗ š¦ Industry Researcher āāāŗ š Firecrawl
āāāāŗ š¦ News Researcher āāāŗ š WebSearch
ā
ā¼
š Main Agent (Collect results)
ā
ā¼
š¦ Synthesis Agent
ā
ā¼
ā
Final Report
<div align="center">
ā Use Cases āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā Production Code Review ā
</div>