mlsanityData to 24 Nov 2026

Priming Base Models for Agentic Post-Training: An Open Midtraining Recipe

arXiv 2610.22019 ↗Submitted 15 Oct 2026cs.CL cs.AI cs.LGcited by 1

On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks also fits: Agent skill learning and evolution

Abstract (arXiv)

Frontier models, general-purpose and domain-specific alike, now include a midtraining stage between pretraining and post-training, but little has been published about how this stage is built. We present an open midtraining recipe that primes base models for agentic post-training, and we show its effectiveness on two Nemotron models of different sizes. Pretraining typically runs at short context and sees almost no agent interactions, while SFT data is mostly synthetic, and very long SFT stages can hurt the model's later RL trainability. Our midtraining stage sits between the two. It trains at 256K context for hundreds of billions of tokens on a diverse mixture of natural software-engineering data like packed repositories, pull requests, commit histories, and build logs together with a small share of agentic traces. On Nemotron 3.5 Lightning, 500B midtraining tokens improve SWE-bench Verified from 60.7 to 64.5, SWE-bench Multilingual from 55.8 to 62.8, and SWE-bench Pro from 32.0 to 35.5 after identical full SFT. On the larger Nemotron 3.5 Super, 280B midtraining tokens improve DeepSWE, a harder benchmark of long-horizon tasks, from 11.7 to 15.7 and SWE-bench Verified from 72.9 to 74.3 after identical full SFT. Midtraining also improves robustness across agent harnesses on both models. We report the ablations behind the recipe and an evaluation protocol built on short fixed SFT runs, since base-model proxy metrics did not correlate reliably with post-training results.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 54 of its 61 references that are in the map. Submitted 15 Oct 2026.

Builds on

54 of 61 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026Nemotron 3 Super: Open, Efficient Mixture-of-Experts Hybrid Mamba-Transformer Model for Agentic Reasoning14 Apr
  2. 2025APTBench: Benchmarking Agentic Potential of Base LLMs During Pre-Training28 Oct
  3. 2025Scaling Agents via Continual Pre-training16 Sep

Other references · 51

  1. 2021Training Verifiers to Solve Math Word Problemscited by 11,055
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  3. 2025Qwen3 Technical Reportcited by 9,994
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  5. 2020Measuring Massive Multitask Language Understandingcited by 8,473
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,852
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
  9. 2021Program Synthesis with Large Language Modelscited by 3,972
  10. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  11. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 3,052
  12. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,284
38 more
  1. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
  2. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 2,076
  3. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
  4. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 2,029
  5. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  6. 2024Qwen2.5-Coder Technical Reportcited by 1,301
  7. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,241
  8. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,155
  9. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 1,106
  10. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 742
  11. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
  12. 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 725
  13. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 544
  14. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 384
  15. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
  16. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 363
  17. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 198
  18. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 193
  19. 2024How to Train Long-Context Language Models (Effectively)cited by 168
  20. 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Taskscited by 103
  21. 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 93
  22. 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 89
  23. 2026Qwen3-Coder-Next Technical Reportcited by 83
  24. 2025NVIDIA Nemotron 3: Efficient and Open Intelligencecited by 78
  25. 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 75
  26. 2025The OpenHands Software Agent SDK: A Composable and Extensible Foundation for Production Agentscited by 55
  27. 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 52
  28. 2025Kimi-Dev: Agentless Training as Skill Prior for SWE-Agentscited by 47
  29. 2024Fewer Truncations Improve Language Modelingcited by 41
  30. 2025Quagmires in SFT-RL Post-Training: When High SFT Scores Mislead and What to Use Insteadcited by 38
  31. 2026Composer 2 Technical Reportcited by 28
  32. 2023Structured Packing in LLM Training Improves Long Context Utilizationcited by 22
  33. 2026daVinci-Dev: Agent-native Mid-training for Software Engineeringcited by 21
  34. 2025Midtraining Bridges Pretraining and Posttraining Distributionscited by 20
  35. 2026Good SFT Optimizes for SFT, Better SFT Prepares for Reinforcement Learningcited by 15
  36. 2026From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agentscited by 9
  37. 2026When RL Fails after SFT: Rejuvenating Model Plasticity for Robust SFT-to-RL Handoffcited by 5
  38. 2025On Pretraining for Project-Level Code Completioncited by 2

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026SPT: Skills as Pre-Training Data for Agentic Language Models
  2. 2026Evaluating Agentic Capabilities Before Post-Training: An End-to-End Approach
  3. 2026MidTool: Mid-training Data Synthesis for Agentic Tool Use
  4. 2026OpenThoughts-Agent: Data Recipes for Agentic Models
  5. 2026AutoTrainess: Teaching Language Models to Improve Language Models Autonomously
  6. 2026Agent^2 RL-Bench: Can LLM Agents Engineer Agentic RL Post-Training?
  7. 2026Benchmarks Are Surprisingly Compaction-Friendly
  8. 2026Learn Now, Use Next, Trust Later: Prequential Test-Time Learning for LLM Agents