A Survey on Code Generation with LLM-based Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Code generation agents powered by large language models (LLMs) are revolutionizing the software development paradigm. Distinct from previous code generation techniques, code generation agents are characterized by three core features. 1) Autonomy: the ability to independently manage the entire workflow, from task decomposition to coding and debugging. 2) Expanded task scope: capabilities that extend beyond generating code snippets to encompass the full software development lifecycle (SDLC). 3) Enhancement of engineering practicality: a shift in research emphasis from algorithmic innovation toward practical engineering challenges, such as system reliability, process management, and tool integration. This domain has recently witnessed rapid development and an explosion in research, demonstrating significant application potential. This paper presents a systematic survey of the field of LLM-based code generation agents. We trace the technology's developmental trajectory from its inception and systematically categorize its core techniques, including both single-agent and multi-agent architectures. Furthermore, this survey details the applications of LLM-based agents across the full SDLC, summarizes mainstream evaluation benchmarks and metrics, and catalogs representative tools. Finally, by analyzing the primary challenges, we identify and propose several foundational, long-term research directions for the future work of the field.
Key facts. Cited by 104 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 2 of its 169 references that are in the map. First posted on arXiv 31 Jul 2025.
Builds on
2 of 169 references.
References · 2
Built on by
Citing papers per year: 2025: 29; 2026: 75.
104 papers.
Sort:
By area:
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Surveycited by 195
- 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agentscited by 72
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 42
- 2026Code as Agent Harnesscited by 40
- 2025CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignmentcited by 22
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 22
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 20
- 2025SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraintscited by 17
- 2026Vision2Web: A Hierarchical Benchmark for Visual Website Development with Agent Verificationcited by 16
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025Magentic Marketplace: An Open-Source Environment for Studying Agentic Marketscited by 15
- 2025DeepCode: Open Agentic Codingcited by 14
38 more
- 2025Saber: An Efficient Sampling with Adaptive Acceleration and Backtracking Enhanced Remasking for Diffusion Language Modelcited by 13
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 11
- 2026Controlled Self-Evolution for Algorithmic Code Optimizationcited by 11
- 2026KernelSkill: A Multi-Agent Framework for GPU Kernel Optimizationcited by 9
- 2025Explainable and Fine-Grained Safeguarding of LLM Multi-Agent Systems via Bi-Level Graph Anomaly Detectioncited by 8
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Designcited by 7
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interfacecited by 6
- 2025Automatically Generating Web Applications from Requirements Via Multi-Agent Test-Driven Developmentcited by 5
- 2025Multi-Agent Code-Orchestrated Generation for Reliable Infrastructure-as-Codecited by 5
- 2025CATArena: Evaluating Evolutionary Capabilities of Code Agents via Iterative Tournamentscited by 5
- 2026Large Language Model Agent for User-friendly Chemical Process Simulationscited by 5
- 2026Codified Context: Infrastructure for AI Agents in a Complex Codebasecited by 5
- 2026Real Faults in Model Context Protocol (MCP) Software: a Comprehensive Taxonomycited by 5
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builderscited by 5
- 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specificationscited by 4
- 2025AI Code in the Wild: Measuring Security Risks and Ecosystem Shifts of AI-Generated Code in Modern Softwarecited by 4
- 2025SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localizationcited by 4
- 2026EComStage: Stage-wise and Orientation-specific Benchmarking for Large Language Models in E-commercecited by 4
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problemcited by 4
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardwarecited by 4
- 2026Your Code Agent Can Grow Alongside You with Structured Memorycited by 4
- 2026FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environmentscited by 4
- 2026RoadmapBench: Evaluating Long-Horizon Agentic Software Development Across Version Upgradescited by 4
- 2025Reasoning or Rambling? Exploring the Effect of Thinking on Agent Persuasioncited by 3
- 2026Beyond Binary: Turning Partial Success into Dense Verifiable Rewards for Reinforcement Learning in Code Generationcited by 3
- 2026What Do LLM Agents Know About Their World? Task2Quiz: A Paradigm for Studying Environment Understandingcited by 3
- 2026Beyond Quantity: Trajectory Diversity Scaling for Code Agentscited by 3
- 2026Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Timecited by 3
- 2026SaaSBench: Exploring the Boundaries of Coding Agents in Long-Horizon Enterprise SaaS Engineeringcited by 3
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMscited by 2
- 2025Evaluating Software Process Models for Multi-Agent Class-Level Code Generationcited by 2
- 2025KernelBand: Steering LLM-based Kernel Optimization via Hardware-Aware Multi-Armed Banditscited by 2
- 2025CoTDeceptor:Adversarial Code Obfuscation Against CoT-Enhanced LLM Code Agentscited by 2
- 2026MagicAgent: Towards Generalized Agent Planningcited by 2
- 2026VIBEPASS: Can Vibe Coders Really Pass the Vibe Check?cited by 2
- 2026Does Pass Rate Tell the Whole Story? Evaluating Design Constraint Compliance in LLM-based Issue Resolutioncited by 2
- 2026El Agente Forjador: Task-Driven Agent Generation for Quantum Simulationcited by 2
50 most cited of 104 All 104 (JSON)
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026Marathoner: Ultra-Long-Horizon Autonomous Intelligence28 Sep 2026
- 2026A Lean and Spec-Driven AI-Assisted Software Development Lifecycle for Applied AI Education: The AI-SDLC Approach21 Sep 2026
- 2026The Work Behind Delegation: A Framework for Supervising AI Coding Agents21 Sep 2026
- 2026MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference7 Sep 2026
- 2026Dynamic Adaptation of the LLM Context for Generating Routines with Coupled Semantics3 Sep 2026
- 2026Performance Foundations of Parallel & Distributed Reasoning Language Models27 Aug 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug 2026
- 2026Engineering Signals of Human-AI Collaboration in the Agentic Coding Era: A Longitudinal Analysis of 33,228 Pull Requests from vLLM and SGLang with Implications for Biomedical AI Agents and Bioinformatics Pipeline Developmen14 Aug 2026
- 2026Token Signatures of Code: Comparing Coding Behaviors Across Large Language Models12 Aug 2026
- 2026P3: Joint Program-and-Proof Planning for Verified Code Generation10 Aug 2026
38 more
- 2026MT-Web2Code: Benchmarking Coding Agents on Multi-Turn Regional Reconstruction and Localized Modification4 Aug 2026
- 2026Building a Process-Modeling Tool using Agentic AI: An Experience Report on PM4Py-UCM30 Jul 2026
- 2026Cross-Model Cross-Language AI Coding Agent Performance: Accuracy and Speed of Parallel CLRS Algorithms26 Jul 2026
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders23 Jul 2026
- 2026Beyond Semantic Equivalence: Logical Graphs for LLM Uncertainty Quantification18 Jul 2026
- 2026From Overload to Insights: How AI Agents Can Support Scientists in Analyzing Complex Data18 Jul 2026
- 2026How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Study12 Jul 2026
- 2026A Closed-Loop Multi-Agent Framework for Robust Multi-Robot Manipulation8 Jul 2026
- 2026Obey, Diverge, Collapse: Blind Obedience to Incorrect Instructions Drives Code LLMs to Irrecoverable Code Semantic Collapse5 Jul 2026
- 2026An Evaluation of Role-Based Multi-Agent Code Generation on Repository-Scale Problems5 Jul 2026
- 2026Cheap Code, Costly Judgment: A Case Study on Governable Agentic Software Engineering1 Jul 2026
- 2026Personalization as Inverse Planning: Learning Latent Design Intents for Agentic Slide Generation via Structural Denoising1 Jul 2026
- 2026Can LLM Coding Agents Reason About Time Series?15 Jun 2026
- 2026SAIGuard: Communication-State Simulation for Proactive Defense of LLM Multi-Agent Systems10 Jun 2026
- 2026Self-Evolving Deep Research via Joint Generation and Evaluation3 Jun 2026
- 2026EgoBench: An Interactive Egocentric Multimodal Benchmark for Tool-Using Agents27 May 2026
- 2026Agent JIT Compilation for Latency-Optimizing Web Agent Planning and Scheduling20 May 2026
- 2026Agentic Agile-V: From Vibe Coding to Verified Engineering in Software and Hardware Development19 May 2026
- 2026PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoning19 May 2026
- 2026Code as Agent Harness18 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
- 2026PerfCodeBench: Benchmarking LLMs for System-Level High-Performance Code Optimization13 May 2026
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolution13 May 2026
- 2026Masked Diffusion Language Models are Strong and Steerable Text-Based World Models for Agentic RL7 May 2026
- 2026AI-Generated Smells: An Analysis of Code and Architecture in LLM and Agent-Driven Development4 May 2026
- 2026Rethinking Agentic Reinforcement Learning In Large Language Models30 Apr 2026
- 2026TDD Governance for Multi-Agent Code Generation via Prompt Engineering29 Apr 2026
- 2026FAMA: Failure-Aware Meta-Agentic Framework for Open-Source LLMs in Interactive Tool Use Environments28 Apr 2026
- 2026Can Current Agents Close the Discovery-to-Application Gap? A Case Study in Minecraft27 Apr 2026
- 2026QuantClaw: Precision Where It Matters for OpenClaw24 Apr 2026
- 2026El Agente Forjador: Task-Driven Agent Generation for Quantum Simulation16 Apr 2026
- 2026Agentic Insight Generation in VSM Simulations14 Apr 2026
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interface8 Apr 2026
- 2026Does Pass Rate Tell the Whole Story? Evaluating Design Constraint Compliance in LLM-based Issue Resolution7 Apr 2026
- 2026Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Time1 Apr 2026
- 2026Vision2Web: A Hierarchical Benchmark for Visual Website Development with Agent Verification27 Mar 2026
- 2026AI In Cybersecurity Education -- Scalable Agentic CTF Design Principles and Educational Outcomes23 Mar 2026
50 newest of 104 All 104 (JSON)
- 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Surveycited by 195
- 2026Agentic Memory: Learning Unified Long-Term and Short-Term Memory Management for Large Language Model Agentscited by 72
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimizationcited by 42
- 2026Code as Agent Harnesscited by 40
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applicationscited by 22
- 2025SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraintscited by 17
- 2026Vision2Web: A Hierarchical Benchmark for Visual Website Development with Agent Verificationcited by 16
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025Magentic Marketplace: An Open-Source Environment for Studying Agentic Marketscited by 15
- 2025DeepCode: Open Agentic Codingcited by 14
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 11
12 most cited of 59 All 59 (JSON)
- 2026A Lean and Spec-Driven AI-Assisted Software Development Lifecycle for Applied AI Education: The AI-SDLC Approach21 Sep 2026
- 2026The Work Behind Delegation: A Framework for Supervising AI Coding Agents21 Sep 2026
- 2026Terminal Agents: A Survey of AI Agents in Command-Line Environments20 Aug 2026
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug 2026
- 2026Engineering Signals of Human-AI Collaboration in the Agentic Coding Era: A Longitudinal Analysis of 33,228 Pull Requests from vLLM and SGLang with Implications for Biomedical AI Agents and Bioinformatics Pipeline Developmen14 Aug 2026
- 2026Building a Process-Modeling Tool using Agentic AI: An Experience Report on PM4Py-UCM30 Jul 2026
- 2026Cross-Model Cross-Language AI Coding Agent Performance: Accuracy and Speed of Parallel CLRS Algorithms26 Jul 2026
- 2026ICAE-Bench: Evaluating Coding Agents as Interactive Project Builders23 Jul 2026
- 2026How Do Practitioners Build SE Agents? Insights from a Mixed-Methods Study12 Jul 2026
- 2026An Evaluation of Role-Based Multi-Agent Code Generation on Repository-Scale Problems5 Jul 2026
- 2026Cheap Code, Costly Judgment: A Case Study on Governable Agentic Software Engineering1 Jul 2026
- 2026Personalization as Inverse Planning: Learning Latent Design Intents for Agentic Slide Generation via Structural Denoising1 Jul 2026
12 newest of 59 All 59 (JSON)
- 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specificationscited by 4
- 2025Reasoning or Rambling? Exploring the Effect of Thinking on Agent Persuasioncited by 3
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMscited by 2
- 2026PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoningcited by 1
- 2026EgoBench: An Interactive Egocentric Multimodal Benchmark for Tool-Using Agentscited by 1
- 2026Can LLM Coding Agents Reason About Time Series?cited by 1
- 2026A Closed-Loop Multi-Agent Framework for Robust Multi-Robot Manipulationcited by 1
- 2026SemBench: A Universal Semantic Framework for LLM Evaluationcited by 0
- 2026Rethinking Agentic Reinforcement Learning In Large Language Modelscited by 0
- 2026Performance Foundations of Parallel & Distributed Reasoning Language Modelscited by 0
- 2026Performance Foundations of Parallel & Distributed Reasoning Language Models27 Aug 2026
- 2026A Closed-Loop Multi-Agent Framework for Robust Multi-Robot Manipulation8 Jul 2026
- 2026Can LLM Coding Agents Reason About Time Series?15 Jun 2026
- 2026EgoBench: An Interactive Egocentric Multimodal Benchmark for Tool-Using Agents27 May 2026
- 2026PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoning19 May 2026
- 2026Rethinking Agentic Reinforcement Learning In Large Language Models30 Apr 2026
- 2026SemBench: A Universal Semantic Framework for LLM Evaluation12 Mar 2026
- 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specifications6 Nov 2025
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMs1 Nov 2025
- 2025Reasoning or Rambling? Exploring the Effect of Thinking on Agent Persuasion25 Sep 2025
- 2025CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignmentcited by 22
- 2026Controlled Self-Evolution for Algorithmic Code Optimizationcited by 11
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Designcited by 7
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interfacecited by 6
- 2026Large Language Model Agent for User-friendly Chemical Process Simulationscited by 5
- 2025AI Code in the Wild: Measuring Security Risks and Ecosystem Shifts of AI-Generated Code in Modern Softwarecited by 4
- 2025SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localizationcited by 4
- 2026EComStage: Stage-wise and Orientation-specific Benchmarking for Large Language Models in E-commercecited by 4
- 2026PerfCodeBench: Benchmarking LLMs for System-Level High-Performance Code Optimizationcited by 2
- 2025AutoStreamPipe: LLM Assisted Automatic Generation of Data Stream Processing Pipelinescited by 1
- 2025Making LLMs Reliable When It Matters Most: A Five-Layer Architecture for High-Stakes Decisionscited by 1
- 2025Can Vibe Coding Beat Graduate CS Students? An LLM vs. Human Coding Tournament on Market-driven Strategic Planningcited by 1
12 most cited of 23 All 23 (JSON)
- 2026Self-Spec Verifiable Code Generation30 Sep 2026
- 2026Marathoner: Ultra-Long-Horizon Autonomous Intelligence28 Sep 2026
- 2026Dynamic Adaptation of the LLM Context for Generating Routines with Coupled Semantics3 Sep 2026
- 2026Token Signatures of Code: Comparing Coding Behaviors Across Large Language Models12 Aug 2026
- 2026P3: Joint Program-and-Proof Planning for Verified Code Generation10 Aug 2026
- 2026Beyond Semantic Equivalence: Logical Graphs for LLM Uncertainty Quantification18 Jul 2026
- 2026From Overload to Insights: How AI Agents Can Support Scientists in Analyzing Complex Data18 Jul 2026
- 2026Obey, Diverge, Collapse: Blind Obedience to Incorrect Instructions Drives Code LLMs to Irrecoverable Code Semantic Collapse5 Jul 2026
- 2026PerfCodeBench: Benchmarking LLMs for System-Level High-Performance Code Optimization13 May 2026
- 2026QuantClaw: Precision Where It Matters for OpenClaw24 Apr 2026
- 2026Cross-Tokenizer LLM Distillation through a Byte-Level Interface8 Apr 2026
- 2026ChipBench: A Next-Step Benchmark for Evaluating LLM Performance in AI-Aided Chip Design29 Jan 2026
12 newest of 23 All 23 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmap
- 2026Developing LLM-based Multi-Agent Systems in Software Engineering: A Mixed-Method Experience Report
- 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generation
- 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generation
- 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future
- 2024Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunities