RepoZero: Can LLMs Generate a Code Repository from Scratch?
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Large Language Models (LLMs) have recently shown remarkable progress in code generation, yet their ability to construct complete software repositories from scratch remains poorly understood. A fundamental bottleneck is the lack of verifiable and scalable evaluation: existing benchmarks either focus on patch-based editing or rely on human or LLM-based judgments, which introduce bias and limit reproducibility. In this work, we present RepoZero, the first benchmark that enables fully automated, execution-based verification of repository-level generation from scratch. Our key idea is to reformulate generation as repository reproduction: given only API specifications, an agent must re-implement an entire repository such that its behavior matches the original implementation. This design allows for strict black-box validation via output equivalence, while naturally supporting large-scale construction by reusing existing open-source repositories. To further mitigate data leakage and shortcut solutions, we introduce cross-language constraints and a sandboxed evaluation protocol. Building on this benchmark, we propose an Agentic Code-Test Evolution (ACE) framework that performs iterative test generation and error-driven refinement, enabling effective test-time scaling for repository-level synthesis. Extensive experiments across multiple state-of-the-art LLMs and agent frameworks reveal that even the strongest LLM agents achieve only limited pass rates (30% - 55%), exposing a substantial gap between current capabilities and real-world software development requirements. Our results establish RepoZero as a challenging, scalable, and reliable testbed for end-to-end code generation, and highlight self-verification via test generation as a critical direction for advancing LLM-based coding agents.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. First posted on arXiv 8 May 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 12.
12 papers.
- 2026The Verification Horizon: No Silver Bullet for Coding Agent Rewardscited by 6
- 2026SearchSwarm: Towards Delegation Intelligence in Agentic LLMs for Long-Horizon Deep Researchcited by 3
- 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesiscited by 1
- 2026CodeMidas: Scaling Agentic Coding RL Environments from Code Itselfcited by 1
- 2026Stdlib or Third-Party? Empirical Performance and Correctness of LLM-Assisted Zero-Dependency Python Librariescited by 0
- 2026ORAgentBench: Can LLM Agents Solve Challenging Operations Research Tasks End to End?cited by 0
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOpscited by 0
- 2026ττ-Bench: An Environment for End-To-End, Realistic Agent Constructioncited by 0
- 2026Can Agents Design Libraries for Agents?cited by 0
- 2026Zero2Repo: Can Coding Agents Build Repositories from Scratch?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
- 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
- 2026Zero2Repo: Can Coding Agents Build Repositories from Scratch?29 Sep 2026
- 2026Can Agents Design Libraries for Agents?29 Sep 2026
- 2026CodeMidas: Scaling Agentic Coding RL Environments from Code Itself18 Sep 2026
- 2026ττ-Bench: An Environment for End-To-End, Realistic Agent Construction4 Sep 2026
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOps30 Aug 2026
- 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis29 Jul 2026
- 2026The Verification Horizon: No Silver Bullet for Coding Agent Rewards24 Jun 2026
- 2026ORAgentBench: Can LLM Agents Solve Challenging Operations Research Tasks End to End?18 Jun 2026
- 2026SearchSwarm: Towards Delegation Intelligence in Agentic LLMs for Long-Horizon Deep Research8 Jun 2026
- 2026Stdlib or Third-Party? Empirical Performance and Correctness of LLM-Assisted Zero-Dependency Python Libraries20 May 2026
Similar, not cited
Close in wording, no citation either way
- 2025RepoAudit: An Autonomous LLM-Agent for Repository-Level Code Auditing
- 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
- 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
- 2026ReCUBE: Evaluating Repository-Level Context Utilization in Code Generation
- 2025Large Language Model Critics for Execution-Free Evaluation of Code Changes
- 2026Repo0: Design-Driven Zero-to-All Code Generation
- 2024Class-Level Code Generation from Natural Language Using Iterative, Tool-Enhanced Reasoning over Repository
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents