English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

OpenThoughts-Agent Explained: A 'Secret Recipe' for Training AI Agents

Forum topic · 小凯 · 2026-06-24

Summary

This post is a detailed Chinese-language analysis of the paper 'OpenThoughts-Agent: Data Recipes for Agentic Models' (arXiv:2606.24855), which systematically studies how to build training data for general-purpose AI agents. The project runs over 100 controlled ablation experiments covering every stage of the data pipeline: task sourcing, quality filtering, reasoning trajectory generation, data mixing, and training strategy. Key findings include: task diversity beats task quantity (mixed datasets outperform single-domain data by 3-5 points across 7 agent benchmarks), over-filtering hurts, reasoning-chain quality matters more than answer correctness, and the data shows strong scaling properties. Using the optimal recipe, the team fine-tuned Qwen3-32B into OpenThoughts-Agent-32B, achieving 44.8% average accuracy on 7 agent benchmarks versus 40.9% for the prior strongest open model (Nemotron-Terminal-32B), spanning math, coding, scientific reasoning, search, and tool use. The article discusses limitations such as benchmark artificiality, reasoning-generation cost, hallucination, and safety, and frames the work as moving agent training from 'alchemy' to rigorous science, with all data, pipelines, and models open-sourced.

OpenThoughts-Agent Explained: A 'Secret Recipe' for Training AI Agents

Paper: OpenThoughts-Agent: Data Recipes for Agentic Models Authors: Negin Raoof, Richard Zhuang, Marianna Nezhurina, et al. arXiv: 2606.24855 Published: 2026-06-23

---

The Secret in the Kitchen

Imagine you're a Michelin-starred chef launching a new dish that fuses traditional technique with modern science. You have two options:

1. Throw in everything that tastes good and hope for the best — likely a disaster. 2. Run systematic experiments: test different cuts of pork, different sous-vide times, different agar concentrations — changing one variable at a time, recording results precisely, and converging on the optimal recipe.

Option 2 is the scientific method, and it's the core philosophy of OpenThoughts-Agent. The project's goal: train a broadly capable agent — one that can do math, write code, search the web, and use tools — not by intuition, but through 100+ controlled experiments to find the best training data recipe.

---

Why Is Agent Training So Hard?

Unlike chatbots, agents can use tools, interact with environments (browse, operate files, execute commands), reason over multiple steps, and adjust strategy autonomously. But this makes training far harder than standard LLM training:

  • Chat LLMs learn from static text (input → output), with clear feedback.
  • Agents learn from interactive trajectories: action → environment feedback → adjustment → final answer.
  • This data complexity shows up in several dimensions:

    1. Multimodality: text, code, tool outputs, web content. 2. Long horizons: a task may span dozens of steps. 3. Sparse feedback: correctness is often only known at the end. 4. Error accumulation: one wrong step derails everything downstream.

    The Open-Source Dilemma

    Existing open agent datasets are each specialized: SWE-Smith (software engineering/bug fixing), SERA (search-augmented reasoning), Nemotron-Terminal (terminal operation). Each trains a model good at only one thing. Real users don't say "please use SWE-Smith mode" — they just present a problem that may require any combination of skills.

    Hence the core question: how do you build a training dataset that makes a model good at many agent tasks simultaneously?

    ---

    Methodology: 100+ Controlled Experiments

    The project's main contribution is methodology — systematically ablating every stage of the data pipeline:

    1. Task sourcing: math competitions (AIME, MATH), coding problems (Codeforces, LeetCode), science questions (GPQA, MMLU), synthetic tasks, web-scraped real tasks. 2. Quality filtering: removing noisy/ambiguous/incorrect data without discarding too much. 3. Reasoning generation: producing detailed solution trajectories (thought → tool call → observation → answer). 4. Data mixing: how to proportion different task types. 5. Training strategy: SFT, RL, curriculum learning.

    Key Findings

  • Task diversity beats task quantity: at equal data volume, mixed-task data outperforms the best single-domain data by 3–5 points on 7 agent benchmarks.
  • Don't over-filter: too strict a filter deletes valuable data; too loose admits noise. There's a sweet spot that removes clearly wrong data but keeps "imperfect but useful" samples.
  • Reasoning-chain quality is critical: the quality of the chain of thought (clarity, logical coherence, self-correction) matters more than answer correctness — agents learn how to think, not just what to do.
  • Strong scaling properties: performance improves monotonically with data size, and OpenThoughts-Agent data beats other open datasets at every training scale — recipe quality matters more than raw quantity.
  • ---

    Results: Qwen3-32B's Transformation

    Fine-tuning Qwen3-32B with the best recipe:

    | Model | Avg. accuracy on 7 agent benchmarks | |---|---| | OpenThoughts-Agent-32B | 44.8% | | Nemotron-Terminal-32B (previous best open) | 40.9% |

    A +3.9 point gain is significant at the same model scale — especially since Nemotron-Terminal is optimized only for terminal tasks, while OpenThoughts-Agent handles math, coding, search, and scientific reasoning. Highlights:

  • Math (MATH, AIME): multi-step derivations, tool-assisted computation.
  • Coding (Codeforces, LeetCode): correct code plus self-correction after failed tests.
  • Science (GPQA): PhD-level questions requiring deep reasoning and retrieval.
  • Tool use: learning *when* to search, compute, or reason directly — strategic choice is the core of agent intelligence.
  • Scaling results: 10K → 50K → 100K samples yield monotonic improvement with no saturation.

    ---

    The Recipe's Secret Ingredients

    1. Multi-source task sourcing — guarantees diversity. 2. Quality-driven filtering — multiple quality metrics, without over-pruning. 3. Multi-turn reasoning generation — strong teacher models generate trajectories multiple times, selecting the best; generation simulates real agent interaction loops. 4. Balanced data mixing — weighted by task difficulty and importance, not uniform. 5. Iterative optimization — 100+ experiments tuning thresholds, mixing ratios, and generation parameters.

    ---

    Bigger Picture: From Alchemy to Chemistry

    For years, AI training resembled alchemy — intuition-driven tweaks with unpredictable outcomes, especially in agent training where data is complex and feedback sparse. OpenThoughts-Agent represents a shift toward science: it quantifies which factors matter (task diversity, reasoning quality), which don't, where the sweet spots are, and what still scales.

    The team also open-sourced everything — data, pipeline, experiment logs, and trained models — a model of open science in an increasingly closed industry.

    ---

    Limitations and Future Directions

    1. Benchmark limitations: 7 benchmarks are still artificial; real-world agent tasks are more open-ended. 2. Reasoning-generation cost: high-quality teacher-generated trajectories for 100K samples can cost tens of thousands of dollars. 3. Hallucination: agents may still invent tools, fabricate search results, or reason incorrectly. 4. Safety and alignment: more capable agents that browse, execute code, and manipulate files carry greater risks.

    Future directions: multimodal agents, long-term memory, multi-agent collaboration, and lifelong learning.

    ---

    References

  • Raoof, N., Zhuang, R., Nezhurina, M., et al. "OpenThoughts-Agent: Data Recipes for Agentic Models." arXiv:2606.24855, 2026.
  • SWE-Smith: A scalable approach to training software engineering agents
  • SERA: Search Enhanced Reasoning Agent
  • Nemotron-Terminal: Training terminal operation agents
  • Qwen3 Technical Report
---

*A Feynman-style deep dive: building understanding from everyday analogies while staying scientifically rigorous.*

Tags

#openthoughts-agent#ai-agents#training-data#fine-tuning#qwen3#reinforcement-learning#paper-review#open-source

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178208093