mlsanityData to 14 Oct 2026

ProgramGym: Scaling Training Environments for Long-Horizon Program Reproduction Agents

arXiv 2610.13395 ↗First posted 9 Oct 2026cs.SE cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Coding agents are increasingly used to build programs from scratch as software engineers do rather than to resolve issues within a repository or to generate a repository from a given requirements document. However, scalable verifiable training environments that force agents to discover what is required and to decide how the system should be designed remain scarce. Moreover, existing agent workflows also cannot sustain long-horizon development in which the agent explores the reference program before implementation. To address these challenges, we introduce ProgramGym, a framework consisting of Program-Env and Program-Agent for scalable training environments of long-horizon program reproduction agents. Specifically, Program-Env constructs verifiable training environments from repositories through a feedback-driven loop that repairs runtime sandbox builds and the quality of black-box tests. Using this novel pipeline, we obtain 1,648 training environments spanning C, C++, Go, and Rust. Program-Agent combines a role-isolated workflow of analysis, implementation, and review with revision management for compilation checks and failure recovery. Experiments on ProgramBench show that both Program-Env and Program-Agent improve performance on program reproduction. Fine-tuning on trajectories with these constructed environments raises the performance of Qwen3.8-27B from 34.87% to 42.84%. Program-Agent further raises the base and SFT models to 55.71% and 56.25%, both exceeding some flagship models. We will release the ProgramGym to support further research on coding agents that build programs from scratch.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 30 of its 35 references that are in the map. First posted on arXiv 9 Oct 2026.

Builds on

30 of 35 references.

Closest ancestors · 17

Same direction, newest first

  1. 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring10 Aug
  2. 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis29 Jul
  3. 2026GameEngineBench: Evaluating Coding Agents on Real C++ Runtime Environments3 Jul
  4. 2026SWE-Together: Evaluating Coding Agents in Interactive User Sessions29 Jun
  5. 2026GameCraft-Bench: Can Agents Build Playable Games End-to-End in a Real Game Engine?16 Jun
  6. 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agents14 Jun
  7. 2026Qwen3-Coder-Next Technical Report28 Feb
  8. 2026GLM-5: from Vibe Coding to Agentic Engineering17 Feb
  9. 2026LongCLI-Bench: A Preliminary Benchmark and Study for Long-horizon Agentic Programming in Command-Line Interfaces15 Feb
  10. 2026Immersion in the GitHub Universe: Scaling Coding Agents to Mastery10 Feb
  11. 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training3 Feb
  12. 2026daVinci-Dev: Agent-native Mid-training for Software Engineering26 Jan
5 more
  1. 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents14 Dec
  2. 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr
  3. 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents11 Apr
  4. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
  5. 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec

Other references · 13

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  2. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
  3. 2025OpenAI GPT-5 System Cardcited by 989
  4. 2024SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuningcited by 355
  5. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
  6. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 203
  7. 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 72
  8. 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 59
  9. 2024Commit0: Library Generation from Scratchcited by 52
  10. 2026SWE-Universe: Scale Real-World Verifiable Environments to Millionscited by 19
  11. 2026Self-GC: Self-Governing Context for Long-Horizon LLM Agentscited by 11
  12. 2026DeNovoSWE: Scaling Long-Horizon Environments for Generating Entire Repositories from Scratchcited by 8
1 more
  1. 2026MirrorCode: AI can rebuild entire programs from behavior alonecited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
  2. 2025Training Versatile Coding Agents in Synthetic Environments
  3. 2026Understanding by Reconstruction: Reversing the Software Development Process for LLM Pretraining
  4. 2026Code That Works, Environments That Don't: Measuring Environment Reproducibility in AI-Generated Software
  5. 2026SWE-Duel: Towards a Self-Scaling Arena for Coding Agents
  6. 2025LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineering
  7. 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios
  8. 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing