← Open Source

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

Python
Momentum
+0stars in 24 hours0.0%
87
Stars
9
Forks
1
Contributors
Created 2026-11-23 · Updated 2026-12-06 · #28234 today
Top developers
goncalorafaria
README

DR Tulu 2: Scaling Simulated Environments for Deep Research Agents

   

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.

Overview

  • 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
  • RL training. We use Prime-RL to train DR Tulu 2 and literegistry to orchestrate all tool servers during training. The training directory contains the Prime-RL image build and multi-node launchers for Slurm and Beaker. Training guide
  • Search datastores. Build local BM25 indexes from the General Web, Finance, and Science corpora on Hugging Face. Index builder

Quick start

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 from the repository root to call the harness directly:

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”.

Running evaluations

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 · Benchmark configs

Training

Training proceeds from General Web to Science to Finance.

Stage Training config Starting policy Selected checkpoint Training dataset
General Web general-web.toml Qwen3.5-4B Step 400 General Web
Science science.toml General Web step 400 Step 200 Science
Finance finance.toml Science step 200 Step 100 Finance

For image builds, tool service setup, and cluster submission commands, see the training guide.

Citation

@misc{drtulu2,
  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},
  eprint={2612.02821},
  archivePrefix={arXiv},
  primaryClass={cs.CL},
  url={https://arxiv.org/abs/2612.02821},
}
Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store