MirrorCode: AI can rebuild entire programs from behavior alone
Not on the map. Why?
Abstract (arXiv)
AI models are rapidly improving at autonomous coding, as shown by benchmark progress and one-off demonstrations such as AI implementing a C compiler. However, existing coding benchmarks tend to focus on shorter tasks, and one-off demonstrations are hard to compare systematically because they often have some human guidance, and are not standardized or repeated across models. To address these challenges, we introduce MirrorCode, a long-horizon coding benchmark based on reimplementing entire software projects. In MirrorCode, AI agents must replicate the functionalities of an existing program, without access to its source code. AI solutions must match the original program's output exactly on end-to-end tests, including held-out tests. MirrorCode's 25 target programs span different areas of computing: Unix utilities, data serialization and query tools, bioinformatics, interpreters, static analysis, cryptography, and compression. Existing AI models can already reimplement complex software, with the strongest model scoring 56% across the benchmark. For example, AI can reimplement gotree, a 16,000-line bioinformatics toolkit - a task that we believe would take weeks for a human engineer. However, studying the frontier of performance requires a larger inference budget than typical benchmarks, for example, 2,600 over 19 days for a single attempt on a large task. We show that AI agents can already complete long-horizon software engineering tasks, especially when requirements are precisely specified. More broadly, our work suggests AI will have transformative effects on software engineering, as autonomous agents continue to improve.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 17 of its 32 references that are in the map. First posted on arXiv 29 Jun 2026.
Builds on
17 of 32 references.
References · 17
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 279
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2024A Careful Examination of Large Language Model Performance on Grade School Arithmeticcited by 191
- 2024RE-Bench: Evaluating frontier AI R&D capabilities of language model agents against human expertscited by 175
- 2025SWE-Lancer: Can Frontier LLMs Earn 1 Million from Real-World Freelance Software Engineering?cited by 105
- 2024Functional Benchmarks for Robust Evaluation of Reasoning Performance, and the Reasoning Gapcited by 79
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 59
- 2025ALE-Bench: A Benchmark for Long-Horizon Objective-Driven Algorithm Engineeringcited by 39
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
5 more
- 2026SWE-Marathon: Can Agents Autonomously Complete Ultra-Long-Horizon Software Work?cited by 23
- 2026Think Fast: Estimating No-CoT Task-Completion Time Horizons of Frontier AI Modelscited by 12
- 2026Vibe Code Bench: Evaluating AI Models on End-to-End Web Application Developmentcited by 9
- 2026Open-World Evaluations for Measuring Frontier AI Capabilitiescited by 4
- 2025A Multi-Language Object-Oriented Programming Benchmark for Large Language Modelscited by 1
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Taskscited by 0
- 2026RECLAIM: Can Agents Reproduce the Claims of Machine Learning Papers?cited by 0
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratchcited by 0
- 2026SWE-Journey: Towards More Realistic Evaluation of Coding Assistants through Long-Horizon, Multi-Turn Interactioncited by 0
- 2026ProgramGym: Scaling Training Environments for Long-Horizon Program Reproduction Agentscited by 0
- 2026ReproBAIT: Can coding agents build their own biological AI tools?cited by 0
- 2026ReproBAIT: Can coding agents build their own biological AI tools?14 Oct 2026
- 2026ProgramGym: Scaling Training Environments for Long-Horizon Program Reproduction Agents9 Oct 2026
- 2026SWE-Journey: Towards More Realistic Evaluation of Coding Assistants through Long-Horizon, Multi-Turn Interaction8 Oct 2026
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch29 Sep 2026
- 2026RECLAIM: Can Agents Reproduce the Claims of Machine Learning Papers?23 Sep 2026
- 2026ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks16 Sep 2026