cd /news/ai-research/programbench-can-language-models-reb… · home › topics › ai-research › article
[ARTICLE · art-161187] src=github.com ↗ pub= topic=ai-research verified=true sentiment=· neutral

ProgramBench: Can Language Models Rebuild Programs from Scratch?

Meta's Facebook Research released ProgramBench, a benchmark in which AI agents must architect and implement a complete codebase that reproduces a program's behavior given only its compiled binary and documentation. The benchmark is published as arXiv paper 2605.03546 by John Yang, Kilian Lieret, Jeffrey Ma, Parth Thakkar, Dmitrii Pedchenko, Sten Sootla, Emily McMilin, Pengcheng Yin, Rui Hou, Gabriel Synnaeve, Diyi Yang and Ofir Press, and ships as an installable Python package (uvx programbench, uv pip install programbench, or pip install programbench) with a mini-swe-agent baseline runnable via mini-extra programbench.

read1 min views3 publishedOct 30, 2026
ProgramBench: Can Language Models Rebuild Programs from Scratch?
Image: Michielbdejong (auto-discovered)

Can Language Models Rebuild Programs From Scratch?

Given only a compiled binary and its documentation, AI agents must architect and implement a complete codebase that reproduces the original program's behavior.

We recommend uv for managing Python environments.

uvx programbench --help

uv pip install programbench

pip install programbench

For development:

git clone https://github.com/facebookresearch/programbench.git
cd programbench
uv sync  # installs editable + dev dependencies

Note

For more details, please refer to the Usage Guide.

To run our baseline:

uvx --from mini-swe-agent mini-extra programbench --help
pip install mini-swe-agent && mini-extra programbench --help

See the mini-swe-agent baseline docs for details.

If our work was useful for you, please cite it:

@misc{yang2026programbenchlanguagemodelsrebuild,
    title={ProgramBench: Can Language Models Rebuild Programs From Scratch?},
    author={John Yang and Kilian Lieret and Jeffrey Ma and Parth Thakkar and Dmitrii Pedchenko and Sten Sootla and Emily McMilin and Pengcheng Yin and Rui Hou and Gabriel Synnaeve and Diyi Yang and Ofir Press},
    year={2026},
    eprint={2605.03546},
    archivePrefix={arXiv},
    primaryClass={cs.SE},
    url={https://arxiv.org/abs/2605.03546},
}

ProgramBench is licensed under the terms of the license found in LICENSE.

── more in #ai-research 4 stories · sorted by recency
── more on @programbench 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/programbench-can-lan…] indexed:0 read:1min 2026-10-30 · —