Scaling Deep Research Agents through Architecture Optimization and Context Management

tavily_/_nebius · Tech · 2026 · source Agentic: yes · promotional bias: med · summary-only (no fetched source) · extracted with prompt 0.5.6 (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: deep research agent scaling

Tavily needed to scale long-running deep research agents while controlling context growth, quality drift, latency, and token cost.

Constraints:

Architecture

Tavily replaced a ReAct-style single-agent loop with a supervisor/sub-agent architecture and reflection tools. The supervisor decomposes research tasks, dispatches focused sub-agents with isolated context windows, runs parallel searches and extraction, and synthesizes final reports. Reflection distills raw page content at step boundaries so only essential knowledge carries forward.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Research task interface"] --> B["Supervisor agent"]
  B --> C["Research sub-agents"]
  C --> D["Search and extraction tools"]
  C --> E["Reflection tool"]
  E --> F["Report synthesizer"]
  B --> F
  F --> G["Deep Research Bench evaluator"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Research task interface Receives research tasks, model choice, schema, and desired output format. Supervisor agent
Supervisor agent Conductor that decomposes tasks and activates sub-agents. Research task interface, Research sub-agents, Report synthesizer
Research sub-agents Focused workers with isolated context windows for specific research tasks. Supervisor agent, Search and extraction tools, Reflection tool
Search and extraction tools Connect agents to internet search, extraction, and large-volume data handling. Research sub-agents
Reflection tool Distills raw research information into compact summaries passed between steps. Research sub-agents, Report synthesizer
Report synthesizer Combines distilled findings into structured research reports with citations. Supervisor agent, Reflection tool, Deep Research Bench evaluator
Deep Research Bench evaluator Benchmarks report quality and retrieval/understanding quality. Report synthesizer

Data flow

A user or invoking agent submits a research task with model, schema, and output preferences. The supervisor decomposes it into sub-tasks, activates focused research sub-agents, each sub-agent searches and extracts internet information, reflection tools distill findings into compact state, and a report synthesizer returns a long structured report with citations.

3 supporting quotes
“accepts research tasks from users or invoking agents, allows specification of the model, schema, and desired output format, then breaks down the task into sub-tasks”summary, stated
“The supervisor has the capability to activate other sub-agents for each specific task”summary, stated
“at each step the agent distills the essential knowledge from that step and passes only this distilled summary to the next step.”summary, stated

Why this architecture

The supervisor/sub-agent pattern limits context contamination and enables parallelism; reflection tools prevent raw content from accumulating unboundedly; benchmark evaluation checks both final-report quality and source-grounded retrieval understanding.

3 supporting quotes
“Each sub-agent maintains its own context window and can be highly focused on its specific assigned mission.”summary, stated
“rather than accumulating unbounded context, agents actively manage their memory by distilling information at boundaries between operational phases.”summary, stated
“This dual evaluation approach is particularly sophisticated because it separately assesses both user-facing quality (the final report) and internal operational quality”summary, stated

Models used: user-selected models · LLM evaluators for Deep Research Bench

Scale

Alternatives considered (roads not taken)

ReAct single-agent architecture

Rejected because: It accumulated more context with every step and reached overflow problems.

“In the ReAct pattern, an agent has the ability to understand its environment and decide when to take actions. However, this architecture created problems as the agent accumulated more and more context”summary, stated

Carry all prior raw knowledge forward

Rejected because: It creates a polynomial dependency on the number of steps and increases token consumption.

“Knowledge from step one passes to step two, which then passes combined knowledge to step three, and so on. This creates a polynomial dependency on the number of steps”summary, stated

Single end-to-end report score

Rejected because: The team also needed to verify retrieval quality and whether cited pages truly supported report claims.

“The second evaluation component examines what happens behind the scenes—the actual retrieval and comprehension mechanisms.”summary, stated

Patterns

multi-agent-orchestration (agent-architecture)

A supervisor decomposes research work and activates focused sub-agents for specific tasks.

“• A supervisor agent acts as the conductor of the entire orchestration”summary, stated

context-engineering (context-management)

Tavily deliberately separates sub-agent contexts and controls what information moves between steps.

“Each sub-agent maintains its own context window and can be highly focused on its specific assigned mission.”summary, stated

context-compaction (context-management)

Reflection distills raw page information into shorter summaries before passing state to the next step.

“the agent distills the essential knowledge from that step and passes only this distilled summary to the next step.”summary, stated

eval-driven-development (evaluation)

The team validates architecture changes against Deep Research Bench, including report and retrieval-quality checks.

“The team selected the Deep Research Bench benchmark, a well-known industry benchmark designed specifically for evaluating research agents.”summary, stated

Tradeoffs

Agent architecture

Chose supervisor/sub-agent pattern over ReAct single-agent loop.

Rationale: Sub-agents isolate context, enable parallel execution, and reduce context conflicts.

“This context isolation prevents conflicts that could arise when different research threads share the same context space, an issue that plagued the previous ReAct architecture.”summary, stated

Context transfer

Chose distilled reflection summaries over carrying all raw page content forward.

Rationale: Reflection reduces token growth and cost, though it can risk losing some information.

“From step one to step two, only the distilled insight transfers, not all the raw data. From step two to step three, again only the essential distillation moves forward.”summary, stated

Benchmark strategy

Chose Deep Research Bench over unmeasured subjective evaluation alone.

Rationale: The benchmark gives external validation across research topics and checks both final reports and retrieval understanding.

“The implementation achieved a score of 52.44 on the Deep Research Bench benchmark while consuming significantly fewer tokens than the LangChain Open Deep Research baseline.”summary, stated

Gotchas (what bit them)

Single-agent ReAct accumulated too much context.

Root cause: Each step carried forward prior research context, eventually creating overflow and quality/cost problems.

Resolution: Switch to supervisor/sub-agent architecture with isolated contexts.

“this architecture created problems as the agent accumulated more and more context with each step, eventually reaching an undesirable overflow situation.”summary, stated

Long research workflows create quality drift and hallucination risk.

Root cause: Large contexts across many steps increase the chance that errors or hallucinations enter later synthesis.

Resolution: Use context separation and reflection to keep research threads focused and distilled.

“As agents maintained increasingly large contexts across multiple steps, the risk of introducing errors or hallucinating information increased.”summary, stated

Stateful learning introduces governance concerns.

Root cause: Learning customer-specific domains and preferences across runs raises privacy and cross-contamination questions.

Resolution: The case identifies stateful learning as future work, not a solved production detail.

“Stateful Agent Concerns: The vision for stateful agents that learn from customer interactions introduces significant challenges around data privacy, model governance”summary, stated

Evaluation

Tavily used Deep Research Bench, including end-to-end report scoring and retrieval/source-support verification over statement-URL pairs.

Metrics: Deep Research Bench score · comprehensiveness · insight and depth · instruction following · retrieval quality · statement-URL support · token consumption

“Each task in the dataset is assigned specific evaluation criteria including comprehensiveness, insight and depth, and instruction-following ability.”summary, stated
“Another model then takes each statement-URL pair along with the original URL content and determines whether the page truly supports what the agent claimed”summary, stated

Outcomes

The extraction is summary-only because the YouTube source was not fetched; all evidence is therefore from the ZenML summary rather than the transcript.

“achieving a 52.44 score on the Deep Research Bench benchmark while significantly reducing token consumption compared to baseline implementations.”summary, stated
“Tavily held the first-place position globally on the Deep Research Bench benchmark, surpassing prominent competitors including Gemini Deep Research, OpenAI Deep Research, and Claude Research.”summary, stated