[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3

Case Study: Research Agents

🎯 Real-World Case Studies⏱ 12 min⭐ 100 BASE XP⌨ HANDS-ON LAB

Building a Deep Research Agent

Research assistants handle multi-step tasks requiring information from multiple sources.

The Research Pipeline

  1. Query Decomposition: Break question into 3-5 sub-questions.
  2. Parallel Search: Search multiple sources simultaneously.
  3. Source Evaluation: Score sources for relevance and reliability.
  4. Synthesis: Combine findings with citations.
  5. Verification: Cross-reference all claims against sources.

Agent Architecture

const researchPipeline = {
  decomposer: { model: "sonnet", task: "Break into sub-questions" },
  searcher:   { model: "haiku", tools: ["web_search", "arxiv"], parallel: true },
  synthesizer:{ model: "sonnet", task: "Write analysis with citations" },
  verifier:   { model: "haiku", task: "Verify claims against sources" }
};

Key Design Patterns

PatternImplementationBenefit
Query DecompositionBreak complex Q into simple QsBetter search results
Parallel SearchAll sub-queries searched at once3-5x faster
Source ScoringRate by authority + recencyFilters noise
Citation VerificationCross-reference claimsEliminates hallucinated citations
🎯 Pro Tip: Citation verification is NON-NEGOTIABLE. Without it, the agent WILL hallucinate citations. Use a cheap model to cross-reference every claim.

Cost Profile (typical research task)

StepModelCost
DecompositionSonnet$0.02
Search (5 sub-q � - 5 sources)Haiku$0.01
SynthesisSonnet$0.06
VerificationHaiku$0.004
Total~$0.10
⌨ HANDS-ON LABSynthesize Multi-Source Academic Research Brief
⭐ +150 XP

Simulate a research agent querying arXiv, extracting methodology sections, and generating an executive synthesis with citations.

1Execute research agent paper extraction.
lab-sandbox — simulated environment
INFINITY LAB SANDBOX v2.6 — simulated shell
Type the command for the current objective. Helpers: "hint", "solution", "clear".
$
OBJECTIVE 1 / 1 — type "hint" if stuck
SYNAPSE VERIFICATION
QUERY 1 // 2
Why is citation verification essential for research agents?
Academic standards
Agents WILL hallucinate citations without explicit cross-referencing
To increase tokens
Optional