OpenThoughts-Agent: Data Recipes for Agentic Models

Negin Raoof, Richard Zhuang, Marianna Nezhurina, Etash Guha, Atula Tejaswi, Ryan Marten, Charlie F. Ruan, Tyler Griggs, Alexander Glenn Shaw, Hritik Bansal, E. Kelly Buchanan, Artem Gazizov, Reinhard Heckel, Chinmay Hegde, Sankalp Jajee, Daanish Khazi, Emmanouil Koukoumidis, Xiangyi Li, Hange Liu, Shlok Natarajan, Harsh Raj, Nicholas Roberts, Ethan Shen, Nishad Singhi, Michael Siu, Ashima Suvarna, Hanwen Xing, Patrick Yubeaton, Robert Zhang, Leon Liangyu Chen, Xiaokun Chen, Steven Dillmann, Saadia Gabriel, Xunyi Jiang, Anurag Kashyap, Boxuan Li, Yein Park, Minh Pham, Sujay Sanghavi, Lin Shi, Ke Sun, Yixin Wang, Zhiwei Xu, Erica Zhang, Siyan Zhao, Wanjia Zhao, Jenia Jitsev, Alex Dimakis, Benjamin Feuer, Ludwig SchmidtarXiv 2026

TL;DR

OpenThoughts-Agent introduces a fully open data curation pipeline designed to train broadly capable agentic language models rather than models overfitted to single benchmarks. By conducting over 100 controlled ablation experiments, the authors optimize post-training data recipes to build a 100K example dataset, producing a 32B model that sets a new state-of-the-art for open-data agents across seven diverse benchmarks.

What Problem Does This Paper Address?

While open-weights models are increasingly common, the exact "recipes" for curating the post-training data needed to build capable AI agents remain a closely guarded industry secret. Existing open-source data efforts typically focus on optimizing a model for a single benchmark (such as SWE-Bench for software engineering or Terminal-Bench for command-line tasks). This narrow focus often leads to overspecialization, leaving open the question of how to curate data that helps an agent generalize across a wide variety of complex, multi-turn computer tasks.

Methods

The authors systematically investigate post-training data curation by establishing a rigorous, six-stage Supervised Fine-Tuning (SFT) pipeline:

Figure 2: Six-stage SFT data pipeline for OpenThoughts-Agent. Each stage is ablated indepen- dently in Sections 3.1–3.6.

To optimize this pipeline, they perform more than 100 independent ablation experiments using a Qwen3-8B base model, evaluating configurations using normalized z-scores across multiple benchmarks to ensure unbiased rankings.

Key methodological innovations include:

  • Synthetic Task Augmentation: Rewriting and expanding limited human task pools to scale up unique task descriptions without introducing stale or broken environment dependencies.
  • RL Data Source Ablation: Extending the data recipe study to Reinforcement Learning (RL) using the RLOO algorithm at the 8B scale to analyze how different training environments alter an agent's multi-turn behavior.

Datasets

  • Training Data: Curated from 95 initial task-generation strategies, the final SFT mix combines four primary sources: SWESmith, StackExchange SuperUser, StackExchange Tezos, and IssueTasks. For RL, the authors highlight pymethods2test (competitive programming problems recast as single-function Python contracts) as the most effective source.
  • Evaluation Suite: Models are evaluated across seven benchmarks. The core suite includes SWE-Bench Verified-100, Terminal-Bench 2.0, and OpenThoughts-TBLite—a newly introduced collection of 100 curated terminal tasks designed as a balanced, fast proxy for full terminal evaluations. Out-of-distribution (OOD) benchmarks include Aider Polyglot, BFCL-Parity, MedAgentBench, GAIA-127, and FinanceAgent-Terminal.

Key Insights and Ideas

  • The Best Performer $\neq$ The Best Teacher: Counterintuitively, the strongest model on the evaluation benchmarks (GPT-5.3-Codex) proved to be the worst teacher, underperforming an older, less capable model (GLM-4.7) by roughly 5 percentage points on Terminal-Bench 2.0. High raw capability does not automatically guarantee high-quality multi-turn training trajectories.
  • Longer Traces Provide Genuine Multi-Turn Supervision: Filtering data to retain only trajectories with at least 5 turns significantly boosts performance. A compute-controlled ablation verified that this improvement is not merely a byproduct of a larger token budget, but stems from higher-quality multi-turn reasoning patterns.
  • Diversity Beats Pure Upsampling: Simply generating more rollouts for the same set of tasks leads to rapid performance plateaus. To scale past this bottleneck, expanding the diversity of the initial task descriptions via synthetic augmentation is critical.
  • RL Sources Dictate Exploration vs. Compaction: Different RL data sources train entirely opposite behavioral policies. Code-correctness tasks (pymethods2test) push models to explore more aggressively, doubling internal thinking tokens and increasing self-correction. Conversely, heterogeneous freelancer tasks cause the model to compact its trajectories, reducing turns and tool calls.

Key Results

  • OpenThinkerAgent-32B (fine-tuned on 100K examples from the optimized pipeline) achieved an average accuracy of 44.8% across seven benchmarks, outperforming the strongest open-data baseline, Nemotron-Terminal-32B (40.9%).
  • The model achieved state-of-the-art open-data results on core agent tasks, reaching 54.0% on SWE-Bench Verified and 26.2% on Terminal-Bench 2.0.
  • Compute-controlled comparisons demonstrate that the OpenThoughts data recipe exhibits superior scaling properties, outperforming alternative open datasets at every dataset size from 316 to 100K rows.
Figure 1: The OpenThoughts-Agent-SFT dataset leads to SotA performance on Terminal-Bench 2.0 and an 100-subset of SWE-Bench Verified at large dataset scales. The all-benchmark average is over the seven benchmarks reported in Table 1. Additional notes on SERA below.1

Limitations and Future Work

  • RL Scale Constraints: Due to compute limitations, the reinforcement learning data curation insights were only validated at the 8B model scale; whether these RL data recipes transfer successfully to 32B+ models remains an open question.
  • Base Model Dependency: The entire pipeline was developed and tested exclusively using the Qwen3 model family, meaning the exact contribution of base-model pretraining to the pipeline's success is not fully isolated.
  • Data Volume Limits: The largest training run topped out at 100K trajectories. Testing whether these scaling trends extrapolate into multi-million trajectory regimes is left to future open research.

Summary updated

BibTeX
@misc{raoof2026openthoughts,
  author = {Negin Raoof and Richard Zhuang and Marianna Nezhurina and Etash Guha and Atula Tejaswi and Ryan Marten and Charlie F. Ruan and Tyler Griggs and Alexander Glenn Shaw and Hritik Bansal and E. Kelly Buchanan and Artem Gazizov and Reinhard Heckel and Chinmay Hegde and Sankalp Jajee and Daanish Khazi and Emmanouil Koukoumidis and Xiangyi Li and Hange Liu and Shlok Natarajan and Harsh Raj and Nicholas Roberts and Ethan Shen and Nishad Singhi and Michael Siu and Ashima Suvarna and Hanwen Xing and Patrick Yubeaton and Robert Zhang and Leon Liangyu Chen and Xiaokun Chen and Steven Dillmann and Saadia Gabriel and Xunyi Jiang and Anurag Kashyap and Boxuan Li and Yein Park and Minh Pham and Sujay Sanghavi and Lin Shi and Ke Sun and Yixin Wang and Zhiwei Xu and Erica Zhang and Siyan Zhao and Wanjia Zhao and Jenia Jitsev and Alex Dimakis and Benjamin Feuer and Ludwig Schmidt},
  title = {{OpenThoughts-Agent: Data Recipes for Agentic Models}},
  year = {2026},
  eprint = {2606.24855},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.24855},
}
Figure