Repository-Level Code Generation

Overview

Repository-level code generation studies how AI systems can implement features, fix issues, or build projects while respecting the code, interfaces, and conventions already present. Common approaches retrieve relevant files with semantic search or dependency graphs, organize requirements into specifications or contracts, and coordinate specialized agents; testing and static analysis provide feedback for refinement. Benchmarks evaluate both repository repair and projects built from scratch, often using hidden tests and real execution environments. A central challenge is that passing tests does not guarantee sound architecture or maintainability, while agents must also find useful, current context without spending excessive time or tokens exploring a codebase.

Latest papers

CardsList

43 papers7 papers in the last four weeks, up 40% on the four weeks before. 0.0% of all new papers.

  1. Skill Dreaming: Evolving Repository Skills through Pull Request Streams

    Oct 26, 2026Xinyuan Song, Hasibul Haque, Jay Somasundaram +3Automated Software EngineeringLLM Agent Skill Learning

  2. When LLM-Generated Refactorings Ripple: An Empirical Study of Repository Adoption Readiness

    Oct 17, 2026Muhammad Waseem, Aakash Ahmad, Pekka AbrahamssonAutomated Code RefactoringLLM Reliability

  3. OPRD: On-Policy Reminder Distillation for Long-Horizon Coding Agents

    Oct 15, 2026Yuechen Luo, Zhiyi Lai, Miao Ziqi +9AI Coding AgentsLLM Agent Training

  4. Chronos Enables Code Agents to Reason over Software Evolution

    Oct 8, 2026Xin Yin, Yiang Zhang, Zhiyuan Peng +3LLM Agent MemoryRepository-Level Code Generation

  5. Large-scale Repository Engineering via Agent-Native Reusable Code Primitives

    Oct 6, 2026Haibo Jin, Peng Kuang, Xucheng Yu +3Repository-Level Code GenerationSoftware Engineering

  6. Zero2Repo: Can Coding Agents Build Repositories from Scratch?

    Sep 29, 2026Pei Yang, Tianyu Shi, Yuhang Yao +23Coding AgentsAI Agent Benchmarks

  7. Do Coding Agents Reuse Existing Code or Reinvent the Wheel?

    Sep 28, 2026Dongsheng Ma, Sizhe Wang, Xinyi Huang +5Coding AgentsCode Generation

  8. From Reading Code to Reading Spec: A Verified Layer for LLM-Driven Codebase Maintenance

    Sep 6, 2026Xinhao Zhang, Jingjie Lu, Kunpeng Liu +1Automated Software EngineeringRepository-Level Code Generation

  9. Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generation

    Sep 1, 2026Kefeng Duan, Dewu Zheng, Yanlin Wang +8Retrieval-Augmented GenerationAdaptive RAG

  10. WiseSpec: Requirements-Driven Agents for Code Generation

    Sep 1, 2026Zhao TianRequirements EngineeringSoftware Engineering Agents

  11. Identifying Latent Declarative Representations of Code for Assisting Repository Migration

    Aug 22, 2026Shraddha Surana, Ashwin Srinivasan, Michael BainCode TranslationRepository-Level Code Generation

  12. Repo0: Design-Driven Zero-to-All Code Generation

    Aug 20, 2026Silin Chen, Haoyi Teng, Xiaodong Gu +5Code GenerationAgentic Code Generation

  13. TDD-Agent: Test-Driven Reasoning for Code Generation

    Aug 17, 2026Hongyue Yu, Kefan Li, Jiakun Li +4Code GenerationExecution-Guided Code Generation

  14. The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks

    Aug 17, 2026Bardia Mohammadi, Lars Klein, Aman Chadha +2Repository-Level Code GenerationLLM Agent Memory

  15. Vero: Can AI Agents Build Formally Verified Software Repositories?

    Aug 13, 2026Zhe Ye, Hantao Lou, Yuechun Sun +8Code GenerationFormal Verification

  16. Persistent Recursive Worlds Enable Autonomous Software Evolution

    Aug 11, 2026Beichen Huang, Zhenyu Liang, Bowen Zheng +1Automated Software EngineeringRepository-Level Code Generation

  17. Can Coding Agents Solve Repository-Level Issues with Rendered Code? An Exploratory Study of Visual Representations

    Aug 10, 2026Weijie Liang, Yuanfeng Song, Xing Chen +3Automated Program RepairAI Coding Agents

  18. Effective and Efficient Context Retrieval via Partial Dependency Graph for Repository-Level Code Generation

    Aug 3, 2026Zhongxin Liu, Zhonghao Jiang, Zhifan Ye +3Retrieval-Augmented GenerationGraph-Based Retrieval

  19. The Patchwork Problem in LLM-Generated Code

    Jul 9, 2026Viraaji Mothukuri, Reza M. PariziStatic Code AnalysisLLM Reliability

  20. ProjAgent: Procedural Similarity Retrieval for Repository-Level Code Generation

    Jul 9, 2026QiHong Chen, Aaron Imani, Iftekhar AhmedCode GenerationAgentic RAG

  21. CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation

    Jun 20, 2026Yifei Wang, Ruiyin Li, Peng Liang +4Repository-Level Code GenerationMulti-Agent Coding

  22. JAMER: Project-Level Code Framework Dataset and Benchmark on Professional Game Engines

    Jun 18, 2026Jianwen Sun, Chuanhao Li, Zizhen Li +5Benchmark DesignCode Generation

  23. When Retrieval Hurts Code Completion: A Diagnostic Study of Stale Repository Context

    May 14, 2026Haojun Weng, Qianqian Yang, Hao Fu +2Retrieval-Augmented GenerationRetrieval Robustness

  24. LLM-Assisted Repository-Level Generation with Structured Spec-Driven Engineering

    May 4, 2026Shuzhao Feng, Boqi Chen, Brett H Meyer +1Code GenerationRepository-Level Code Generation