Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

Hugging Face Paper Unveils ProgramGym to Train Long-Horizon Coding Agents

AI By Crimson AI Hugging Face Papers 12 October 2026 · 00:00 4 views
Share: X Telegram

ProgramGym introduces Program-Env and Program-Agent, a framework that builds 1,648 verifiable training environments across C, C++, Go, and Rust to train agents that reproduce programs from scratch, boosting Qwen3.8-27B from 34.87% to 42.84% on ProgramBench.

Hugging Face Paper Unveils ProgramGym to Train Long-Horizon Coding Agents

Key points

Coding agents are moving beyond fixing bugs inside existing repositories or generating code from a requirements document. A new class of agents is being asked to build programs from scratch, the way a software engineer would. Yet scalable, verifiable training environments for this kind of work remain scarce, and existing agent workflows struggle to sustain the long-horizon development needed to explore a reference program before implementing it.

To address this gap, researchers introduce ProgramGym, a framework composed of two parts: Program-Env and Program-Agent. Program-Env constructs verifiable training environments from repositories using a feedback-driven loop that repairs runtime sandbox builds and improves the quality of black-box tests.

Using this pipeline, the team obtained 1,648 training environments spanning C, C++, Go, and Rust. Program-Agent, meanwhile, 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 components improve program reproduction. Fine-tuning on trajectories built with these environments raised the performance of Qwen3.8-27B from 34.87% to 42.84%. Program-Agent pushed the base and SFT models further, to 55.71% and 56.25% respectively — both exceeding some flagship models.

The authors say they will release ProgramGym to support further research on coding agents that build programs from scratch.

Model / SettingProgramBench Performance
Qwen3.8-27B (baseline)34.87%
Qwen3.8-27B (SFT on ProgramGym trajectories)42.84%
Base model + Program-Agent55.71%
SFT model + Program-Agent56.25%
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 14 Oct 2026

LeWAM: Hugging Face Paper Unifies World Modeling and Action in a Single JEPA

A new JEPA-based model, LeWAM, jointly trains latent world prediction and action flow matching, boosting success rates on contact-...

14
Research paper
Hugging Face 14 Oct 2026

UltraBERT Becomes First Encoder to Top Both Classification and Retrieval Benchmarks

Hugging Face researchers introduce UltraBERT, a bidirectional encoder that reaches 91.0 on GLUE and 47.7 on BEIR, claiming the fir...

15
Research paper
Hugging Face 14 Oct 2026

New Paper Warns Rubric-Based RL Rewards Higher Scores Over Better Answers

A Hugging Face paper argues that additive aggregation in rubric-based reinforcement learning lets models game the score, and propo...

6