Ai2's DR Tulu 2 Trains a Research Agent for Just $17
Ai2's new 4B deep research agent is trained entirely in simulated search environments, cutting training search costs from thousands of dollars to under twenty.
Takeaways
- Ai2 released DR Tulu 2, a 4B open deep research agent trained purely in simulated search environments.
- Averages 49.3 across 10 benchmarks, within 0.9 points of a 397B Qwen3.5 variant.
- Beats the strongest open baseline (Tongyi DeepResearch) by 9.7 points on average.
- Training search costs dropped from $4,548 to $17.52 using local BM25 instead of live APIs.
- DR-Anything framework auto-generates questions, verifiers, and environments from any document collection.
- Full Apache 2.0 release: weights, three corpora, Prime-RL training code, and Verifiers eval client.
Ai2 has released DR Tulu 2, an open 4-billion-parameter agent trained to search, read, and synthesize evidence. Its reinforcement-learning runs used fixed document collections and local BM25 indexes, avoiding live-web calls during training. Ai2 reports that DR-Tulu2-4B averaged 49.3 across ten general-web, financial, and scientific benchmarks.
The model finished 9.7 points ahead of Tongyi DeepResearch with a page summarizer, the strongest open baseline Ai2 tested. It also came within 0.9 points of Qwen3.5-397B-A17B, which has 397 billion total parameters and activates 17 billion per token. Full results and methodology appear in Ai2's technical report.
Ai2 reduced reported training-time search fees from $4,548 with live services to $17.52 with simulated search, a 99.6% decrease. That figure covers search access. Compute, storage, model serving, data preparation, and evaluation remain separate costs.
Ten million queries reshape the budget
A reinforcement-learning trajectory teaches a research agent by letting it issue queries, inspect results, follow sources, and receive a score for its final answer. One attempt can require more than 100 searches, and Ai2 says a training run can generate roughly 10 million queries. Third-party search fees therefore grow with every rollout.
| Training search source | Reported fees |
|---|---|
| Live-web services | $4,548 |
| Local simulated search | $17.52 |
| Reduction | $4,530.48, or 99.6% |
Fixed local indexes also remove API rate limits and service instability from the training loop. Every policy update sees the same document collection, which makes runs easier to reproduce and compare. Ai2 reports that the simulated-search recipe matched live-web training across its evaluated benchmarks.
A document corpus becomes a simulator
DR-Anything converts a document collection into a reinforcement-learning environment. Deep research agents generate difficult questions from the collection, identify supporting evidence, and create verifiers that can score candidate answers. The resulting package supplies queries, documents, expected evidence, and reward signals without contacting a public search engine.
Ai2 started with Qwen3.5-4B and trained it through a three-stage curriculum:
- General Web: broad information retrieval and multi-source research.
- Finance: questions grounded in financial documents and domain terminology.
- Science: technical questions requiring evidence from scientific material.
Each stage continued from a checkpoint produced by the preceding domain. The release describes pure reinforcement learning, with no supervised fine-tuning or teacher distillation.
A 4B model competes through tool use
Ai2's aggregate results place DR-Tulu2-4B close to much larger systems under its evaluation configuration. The comparisons depend on the same benchmark mix, tool access, context limits, and grading setup.
| Measurement | Reported result |
|---|---|
| Average across ten benchmarks | 49.3 |
| Lead over the strongest tested open baseline | 9.7 points |
| Gap to Qwen3.5-397B-A17B | 0.9 points |
| Best reported open result | 9 of 10 benchmarks |
| DR-Tulu2-4B without search | 7.9 |
| Starting Qwen3.5-4B model | 6.9 |
The no-search ablation leaves DR-Tulu2-4B only one point above its starting model. Its much higher score with search enabled supports Ai2's conclusion that reinforcement learning improved query planning, evidence gathering, and tool use.
The benchmark suite covers several research patterns:
- Finding facts buried across web pages.
- Reconciling conflicting sources.
- Answering expert-level scientific questions.
- Classifying products under tariff codes.
- Producing answers that can be checked against cited evidence.
Weights, indexes, and recipes are included
Ai2 released the stack under Apache 2.0, including the components needed to inspect the model and reproduce its training approach:
- Model weights: DR-Tulu2-4B checkpoints hosted on Hugging Face.
- Training corpora: General Web, Finance, and Science datasets with BM25 index builders.
- Training code: a Prime-RL pipeline with configurations for all three stages and launchers for Slurm and Beaker.
- Evaluation environment: a Verifiers-based client supporting search, terminal tools, BrowseComp-Plus grading, a 128,000-token context window, and up to 150 tool calls per attempt.
- DR-Anything: the pipeline for generating environments from other document collections.
Local services first, web APIs when needed
The raw BF16 weights occupy roughly 8 to 9 GB before runtime overhead. Actual memory requirements rise with the inference engine, concurrency, and key-value cache, especially when using the full 128,000-token context window.
The repository's Docker quickstart launches local search and terminal services with a demonstration corpus:
./drtulu2-client/quickstart_docker.sh
curl -fsS http://127.0.0.1:1214/search \
-H 'Content-Type: application/json' \
-d '{"mode":"query","query":"astronomy","num_results":1}'
An asynchronous Python client can load the environment and test its tool connection:
import asyncio
from drtulu2 import load_environment
async def main():
env = load_environment(
"drtulu2-client/tests/demo-questions.jsonl",
search_server_url="http://127.0.0.1:1214/search",
terminal_server_url="http://127.0.0.1:1214/terminal",
)
result = await env.webterminal(
"browse https://example.org/stars | rg -i galaxies"
)
print(result)
asyncio.run(main())
This example checks the environment's terminal tool. Model serving and full agent evaluation use the repository's separate inference configuration.
| External service | Environment variable | Purpose |
|---|---|---|
| Serper | SERPER_API_KEY |
Live-web queries |
| Jina | JINA_API_KEY |
Page retrieval |
| OpenAI | OPENAI_API_KEY |
GPT-4.1 grading for BrowseComp-Plus |
Local reinforcement learning can run without those services. Live-web evaluation and model-based grading introduce their own usage fees, which are excluded from the reported $17.52 training-search cost.
BM25 trains the query policy
The retriever used during reinforcement learning shapes the policy the model acquires. A highly forgiving retriever can return the desired document after a weak query, reducing the reward for reformulation, citation chasing, and source triangulation.
BM25 ranks documents mainly through term overlap and term rarity. It lacks the semantic matching of an embedding retriever, so the agent must learn precise queries, alternate terminology, and multi-step search strategies. Ai2 reports that this constraint produced stronger research behavior than more capable retrieval systems in its training experiments.
DR-Tulu2-4B then transferred those behaviors from local indexes to a live search stack during evaluation. Ai2 describes similar local-training approaches for LiteResearcher-4B and OpenResearcher; Tongyi-DR, QUEST, and ABSeeker-4B used live-web APIs during training.
The reported transfer remains specific to Ai2's models, corpora, tools, and benchmark configuration. Independent evaluations can test how the policy handles other search providers, changing web content, longer tasks, and domain collections with different document quality.
The savings depend on the workload
Local simulation gives teams control over one of the largest variable costs in search-agent reinforcement learning. Search vendors can be reserved for evaluation or production tasks that require current public information.
Vertical systems have an especially direct path to adoption. A compliance agent could train over regulatory filings, a literature-review agent over licensed papers, and an internal assistant over company documents. DR-Anything supplies the question generation and verification pipeline for those collections.
Corpus quality, document permissions, provenance, and verifier accuracy still determine whether the resulting agent is reliable. Teams also need to budget for inference and for any live retrieval required after deployment. Within those constraints, DR Tulu 2 offers a reproducible route to training research behavior without paying for millions of public search requests.