# DR Tulu 2: Scaling Simulated Environments for Deep Research Agents

> Source: <https://github.com/allenai/dr-tulu2>
> Published: 2026-12-02 08:09:41+00:00

**Key takeaway:** DR Tulu 2 is a 4B-parameter research agent trained on locally served BM25-indexed corpora (General Web, Finance, Science) so RL rollouts avoid per-query API costs, with the final checkpoint taken at Science step 100 after chaining General Web step 400 into Finance step 200.

This is the official repository for **DR Tulu 2**, a 4B-parameter deep research agent trained entirely in simulated search environments. For each training task, we construct both a research question and a searchable collection of documents. The agent can then issue queries, open documents, and refine its search over many steps. Serving the collection locally lets us scale these reinforcement learning rollouts without paying for each query or waiting on external API rate limits.

- **Evaluation client.** A Verifiers environment connects the model served by vLLM to search and terminal tools. The client generates answers, records tool calls, and grades BrowseComp-Plus runs.[Client guide](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-client/README.md)
- **RL training.** The training directory contains the Prime-RL image build, the three release recipes, and multi-node launchers for Slurm and Beaker.[Training guide](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-training/README.md)
- **Search datastores.** Build local BM25 indexes from the[General Web](https://huggingface.co/datasets/allenai/dr-tulu2-web) ,[Finance](https://huggingface.co/datasets/allenai/dr-tulu2-finance) , and[Science](https://huggingface.co/datasets/allenai/dr-tulu2-science) corpora on Hugging Face.[Index builder](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-client/build_hf_indexes.sh)

From the repository root, start the search service with Docker and the bundled demo corpus:

```
./drtulu2-client/quickstart_docker.sh
```

Once the service is ready, send a query from another shell. The matching document includes a title, URL, and passage about astronomy.

```
curl -fsS http://127.0.0.1:1214/search \
  -H 'Content-Type: application/json' \
  -d '{"mode":"query","query":"astronomy","num_results":1}'
```

With the demo service running, use the [client Python environment](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-client/README.md#local-python-install) from the repository root to call the harness directly:

``` python
from drtulu2 import load_environment

base_url = "http://127.0.0.1:1214"  # Use your service address for a remote deployment.
env = load_environment(
    "drtulu2-client/tests/demo-questions.jsonl",
    search_server_url=f"{base_url}/search",
    terminal_server_url=f"{base_url}/terminal",
)
result = await env.webterminal("browse https://example.org/stars | rg -i galaxies")
print(result)
```

The harness fetches the demo page and returns the line containing “galaxies”.

For BrowseComp-Plus, serve the checkpoint with vLLM, start the tools with the benchmark corpus and its BM25 index, then run `eval.sh generate` and `eval.sh grade`. The evaluation guide includes a 32-question example for Docker and Apptainer. GPT-4.1 grading uses `OPENAI_API_KEY`. For live web runs, the search worker also needs `SERPER_API_KEY` for queries and `JINA_API_KEY` for page fetches. [Evaluation guide](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-client/README.md) · [Benchmark configs](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-client/drtulu2/configs/README.md)

The release follows a three-stage checkpoint sequence. General Web step 400 initializes Finance, Finance step 200 initializes Science, and Science step 100 is the final evaluation checkpoint.

| Stage | Starting policy | Selected checkpoint | Training dataset | 
|---|---|---|---|
| [General Web](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-training/configs/general-web.toml) | Qwen3.5-4B | Step 400 | [General Web](https://huggingface.co/datasets/allenai/dr-tulu2-web) | 
| [Finance](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-training/configs/finance.toml) | General Web step 400 | Step 200 | [Finance](https://huggingface.co/datasets/allenai/dr-tulu2-finance) | 
| [Science](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-training/configs/science.toml) | Finance step 200 | Step 100 | [Science](https://huggingface.co/datasets/allenai/dr-tulu2-science) | 

For image builds, tool service setup, and cluster submission commands, see the [training guide](https://github.com/allenai/dr-tulu2/blob/main/drtulu2-training/README.md).

```
@article{tulu2_deep_research_agents,
  title  = {{DR Tulu 2}: Scaling Simulated Environments for Deep Research Agents},
  author = {Zijian Chen and Gonçalo Faria and Jingming Zhuo and Rulin Shao and Shashank Gupta and Dongfu Jiang and Luke Zettlemoyer and Pang Wei Koh and Noah A. Smith and Faeze Brahman and Pradeep Dasigi and Akari Asai},
  year   = {2026},
  url    = {https://allenai.org/papers/dr-tulu2},
}
```


