NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Recent advances in coding agents suggest rapid progress toward autonomous software development, yet existing benchmarks fail to rigorously evaluate the long-horizon capabilities required to build complete software systems. Most prior evaluations focus on localized code generation, scaffolded completion, or short-term repair tasks, leaving open the question of whether agents can sustain coherent reasoning, planning, and execution over the extended horizons demanded by real-world repository construction. To address this gap, we present NL2Repo Bench, a benchmark explicitly designed to evaluate the long-horizon repository generation ability of coding agents. Given only a single natural-language requirements document and an empty workspace, agents must autonomously design the architecture, manage dependencies, implement multi-module logic, and produce a fully installable Python library. Our experiments across state-of-the-art open- and closed-source models reveal that long-horizon repository generation remains largely unsolved: even the strongest agents achieve below 40% average test pass rates and rarely complete an entire repository correctly. Detailed analysis uncovers fundamental long-horizon failure modes, including premature termination, loss of global coherence, fragile cross-file dependencies, and inadequate planning over hundreds of interaction steps. NL2Repo Bench establishes a rigorous, verifiable testbed for measuring sustained agentic competence and highlights long-horizon reasoning as a central bottleneck for the next generation of autonomous coding agents.
Key facts. Cited by 56 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. Builds on 25 of its 31 references that are in the map. First posted on arXiv 14 Dec 2025.
Builds on
25 of 31 references.
Closest ancestors · 4
Same direction, newest first
- 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models7 Nov
- 2025ReLook: Vision-Grounded RL with a Multimodal LLM Critic for Agentic Web Coding13 Oct
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 21
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
- 2025GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Taskscited by 142
9 more
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 127
- 2025SWE-Lancer: Can Frontier LLMs Earn 1 Million from Real-World Freelance Software Engineering?cited by 99
- 2024Commit0: Library Generation from Scratchcited by 50
- 2025Seed-Coder: Let the Code Model Curate Data for Itselfcited by 46
- 2025ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluationcited by 35
- 2024DDK: Distilling Domain Knowledge for Efficient Large Language Modelscited by 25
- 2025AutoCodeBench: Large Language Models are Automatic Code Benchmark Generatorscited by 24
- 2024M2rc-Eval: Massively Multilingual Repository-level Code Completion Evaluationcited by 21
- 2025CodeCriticBench: A Holistic Code Critique Benchmark for Large Language Modelscited by 14
Built on by
Citing papers per year: 2026: 56.
56 papers.
Sort:
By area:
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
- 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agentscited by 25
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 24
- 2026Immersion in the GitHub Universe: Scaling Coding Agents to Masterycited by 20
- 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?cited by 20
- 2026ProjDevBench: Benchmarking AI Coding Agents on End-to-End Project Developmentcited by 9
- 2026LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Taskscited by 9
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
- 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolutioncited by 6
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgradescited by 6
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactionscited by 6
- 2026The Verification Horizon: No Silver Bullet for Coding Agent Rewardscited by 6
38 more
- 2026Do Agent Benchmarks Measure Capability? Protocol Validity in the Age of Agentic AIcited by 6
- 2026Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarioscited by 5
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agentscited by 5
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
- 2026SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Taskscited by 4
- 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cyclecited by 4
- 2026RoadmapBench: Evaluating Long-Horizon Agentic Software Development Across Version Upgradescited by 4
- 2026Workflow-GYM: Towards Long-Horizon Evaluation of Computer-use Agentic tasks in Real-World Professional Fieldscited by 4
- 2026Constraint Decay: The Fragility of LLM Agents in Backend Code Generationcited by 3
- 2026SaaSBench: Exploring the Boundaries of Coding Agents in Long-Horizon Enterprise SaaS Engineeringcited by 3
- 2026ATM: CID-Brokered Pre-Write Admission for Multi-Agent Code Co-Synthesiscited by 3
- 2026"What Did It Actually Do?": Understanding Risk Awareness and Traceability for Computer-Use Agentscited by 2
- 2026RealClawBench: Live OpenClaw Benchmarks from Real Developer-Agent Sessionscited by 2
- 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generationcited by 2
- 2026ChainSWE: Benchmarking Coding Agents on Multi-Bug Software Maintenancecited by 2
- 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluationcited by 2
- 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 2
- 2026Qwen3.8-Omni: Towards Native Omni-Modal Agentscited by 2
- 2026DV-World: Benchmarking Data Visualization Agents in Real-World Scenarioscited by 1
- 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesiscited by 1
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproductioncited by 1
- 2026Specification-Driven Generation and Evaluation of Discrete-Event World Models via the DEVS Formalismcited by 0
- 2026Alipay-PIBench: A Realistic Payment Integration Benchmark for Coding Agentscited by 0
- 2026Benchmarking the Residual: What Long-Horizon Evaluations Add Beyond Matched Short-Task Performancecited by 0
- 2026SWE-NFI: Studying and Benchmarking Coding Agents for Non-Functional Improvementscited by 0
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolutioncited by 0
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 0
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOpscited by 0
- 2026What Does an Agentic Software Engineering Benchmark Measure? Profiling Task Demands and Agent Behaviour Beyond What Category Labels Revealcited by 0
- 2026Shortcutting the Fix: Identifying and Categorizing Agentic Exploits in Software Engineering Benchmarkscited by 0
- 2026xDailyBench: Benchmarking LLMs on Professional Consultation for Real-Life Problemscited by 0
- 2026Rethinking Multi-Agent Collaboration: When More Is Lesscited by 0
- 2026Agent-Editing World Model: Rethinking World Modeling for LLM Agentscited by 0
- 2026Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfercited by 0
- 2026SWE-MILE: Asynchronous Potential-Induced Milestone Credit Assignment for Long-Horizon Software Engineering Agentscited by 0
- 2026AsynCodeBench: Benchmarking Collaboration of Asynchronous Multi-Agent Systems in Software Engineeringcited by 0
- 2026QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agentscited by 0
- 2026Marathoner: Ultra-Long-Horizon Autonomous Intelligencecited by 0
50 most cited of 56 All 56 (JSON)
- 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
- 2026LoLBench: Evaluating Coding Agents with Long-Horizon Proposals on Large Software Systems29 Sep 2026
- 2026Can Agents Design Libraries for Agents?29 Sep 2026
- 2026Long-Horizon Scaling: How Model Capabilities Shape the Returns to Computation28 Sep 2026
- 2026Marathoner: Ultra-Long-Horizon Autonomous Intelligence28 Sep 2026
- 2026QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agents27 Sep 2026
- 2026AsynCodeBench: Benchmarking Collaboration of Asynchronous Multi-Agent Systems in Software Engineering26 Sep 2026
- 2026SWE-MILE: Asynchronous Potential-Induced Milestone Credit Assignment for Long-Horizon Software Engineering Agents26 Sep 2026
- 2026Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer25 Sep 2026
- 2026Agent-Editing World Model: Rethinking World Modeling for LLM Agents23 Sep 2026
38 more
- 2026Qwen3.8-Omni: Towards Native Omni-Modal Agents22 Sep 2026
- 2026Rethinking Multi-Agent Collaboration: When More Is Less17 Sep 2026
- 2026xDailyBench: Benchmarking LLMs on Professional Consultation for Real-Life Problems7 Sep 2026
- 2026Shortcutting the Fix: Identifying and Categorizing Agentic Exploits in Software Engineering Benchmarks6 Sep 2026
- 2026What Does an Agentic Software Engineering Benchmark Measure? Profiling Task Demands and Agent Behaviour Beyond What Category Labels Reveal1 Sep 2026
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOps30 Aug 2026
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproduction25 Aug 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
- 2026Persistent Recursive Worlds Enable Autonomous Software Evolution11 Aug 2026
- 2026LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks3 Aug 2026
- 2026LoopsBench: From Harness Engineering to Loop Engineering in Coding Agent Evaluation31 Jul 2026
- 2026SWE-NFI: Studying and Benchmarking Coding Agents for Non-Functional Improvements29 Jul 2026
- 2026Benchmarking the Residual: What Long-Horizon Evaluations Add Beyond Matched Short-Task Performance29 Jul 2026
- 2026MindForge: Teaching Small Language Models Whole-Life-Cycle Software Engineering via Source-Free Program Synthesis29 Jul 2026
- 2026Do Agent Benchmarks Measure Capability? Protocol Validity in the Age of Agentic AI24 Jul 2026
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders23 Jul 2026
- 2026Alipay-PIBench: A Realistic Payment Integration Benchmark for Coding Agents16 Jul 2026
- 2026ChainSWE: Benchmarking Coding Agents on Multi-Bug Software Maintenance1 Jul 2026
- 2026ATM: CID-Brokered Pre-Write Admission for Multi-Agent Code Co-Synthesis29 Jun 2026
- 2026The Verification Horizon: No Silver Bullet for Coding Agent Rewards24 Jun 2026
- 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation20 Jun 2026
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agents14 Jun 2026
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Application10 Jun 2026
- 2026Workflow-GYM: Towards Long-Horizon Evaluation of Computer-use Agentic tasks in Real-World Professional Fields9 Jun 2026
- 2026RealClawBench: Live OpenClaw Benchmarks from Real Developer-Agent Sessions2 Jun 2026
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions22 May 2026
- 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents20 May 2026
- 2026SaaSBench: Exploring the Boundaries of Coding Agents in Long-Horizon Enterprise SaaS Engineering17 May 2026
- 2026RoadmapBench: Evaluating Long-Horizon Agentic Software Development Across Version Upgrades15 May 2026
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades14 May 2026
- 2026SWE-Cycle: Benchmarking Code Agents across the Complete Issue Resolution Cycle13 May 2026
- 2026Constraint Decay: The Fragility of LLM Agents in Backend Code Generation7 May 2026
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?5 May 2026
- 2026DV-World: Benchmarking Data Visualization Agents in Real-World Scenarios28 Apr 2026
- 2026Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarios8 Apr 2026
- 2026"What Did It Actually Do?": Understanding Risk Awareness and Traceability for Computer-Use Agents30 Mar 2026
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar 2026
50 newest of 56 All 56 (JSON)
- 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agentscited by 25
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 24
- 2026Immersion in the GitHub Universe: Scaling Coding Agents to Masterycited by 20
- 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?cited by 20
- 2026ProjDevBench: Benchmarking AI Coding Agents on End-to-End Project Developmentcited by 9
- 2026LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Taskscited by 9
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgradescited by 6
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactionscited by 6
- 2026The Verification Horizon: No Silver Bullet for Coding Agent Rewardscited by 6
- 2026Do Agent Benchmarks Measure Capability? Protocol Validity in the Age of Agentic AIcited by 6
- 2026Open-SWE-Traces: Advancing Dual-Mode Multilingual Distillation for Software Engineering Agentscited by 5
12 most cited of 41 All 41 (JSON)
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch29 Sep 2026
- 2026Zero2Repo: Can Coding Agents Build Repositories from Scratch?29 Sep 2026
- 2026LoLBench: Evaluating Coding Agents with Long-Horizon Proposals on Large Software Systems29 Sep 2026
- 2026QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agents27 Sep 2026
- 2026SWE-MILE: Asynchronous Potential-Induced Milestone Credit Assignment for Long-Horizon Software Engineering Agents26 Sep 2026
- 2026Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer25 Sep 2026
- 2026Qwen3.8-Omni: Towards Native Omni-Modal Agents22 Sep 2026
- 2026Shortcutting the Fix: Identifying and Categorizing Agentic Exploits in Software Engineering Benchmarks6 Sep 2026
- 2026What Does an Agentic Software Engineering Benchmark Measure? Profiling Task Demands and Agent Behaviour Beyond What Category Labels Reveal1 Sep 2026
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproduction25 Aug 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026Repo0: Design-Driven Zero-to-All Code Generation20 Aug 2026
12 newest of 41 All 41 (JSON)
- 2026Rethinking Multi-Agent Collaboration: When More Is Lesscited by 0
- 2026Rethinking Multi-Agent Collaboration: When More Is Less17 Sep 2026
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
- 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolutioncited by 6
- 2026Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarioscited by 5
- 2026RealClawBench: Live OpenClaw Benchmarks from Real Developer-Agent Sessionscited by 2
- 2026Benchmarking the Residual: What Long-Horizon Evaluations Add Beyond Matched Short-Task Performancecited by 0
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOpscited by 0
- 2026xDailyBench: Benchmarking LLMs on Professional Consultation for Real-Life Problemscited by 0
- 2026AsynCodeBench: Benchmarking Collaboration of Asynchronous Multi-Agent Systems in Software Engineeringcited by 0
- 2026Marathoner: Ultra-Long-Horizon Autonomous Intelligencecited by 0
- 2026Long-Horizon Scaling: How Model Capabilities Shape the Returns to Computationcited by 0
- 2026Can Agents Design Libraries for Agents?cited 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
- 2026Can Agents Design Libraries for Agents?29 Sep 2026
- 2026Long-Horizon Scaling: How Model Capabilities Shape the Returns to Computation28 Sep 2026
- 2026Marathoner: Ultra-Long-Horizon Autonomous Intelligence28 Sep 2026
- 2026AsynCodeBench: Benchmarking Collaboration of Asynchronous Multi-Agent Systems in Software Engineering26 Sep 2026
- 2026xDailyBench: Benchmarking LLMs on Professional Consultation for Real-Life Problems7 Sep 2026
- 2026Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOps30 Aug 2026
- 2026Benchmarking the Residual: What Long-Horizon Evaluations Add Beyond Matched Short-Task Performance29 Jul 2026
- 2026RealClawBench: Live OpenClaw Benchmarks from Real Developer-Agent Sessions2 Jun 2026
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?5 May 2026
- 2026Evaluating LLM-Based 0-to-1 Software Generation in End-to-End CLI Tool Scenarios8 Apr 2026
- 2026SWE-Milestone: Evaluating AI Agents on Continuous Software Evolution13 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges
- 2026ABC-Bench: Benchmarking Agentic Backend Coding in Real-World Development
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
- 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
- 2026Learning to Commit: Generating Organic Pull Requests via Online Repository Memory
- 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveraging
- 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents