mlsanityData to 7 Oct 2026

From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Future

arXiv 2408.02479 ↗First posted 5 Aug 2024cs.SE cs.AI cs.CLcited by 85

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

With the rise of large language models (LLMs), researchers are increasingly exploring their applications in var ious vertical domains, such as software engineering. LLMs have achieved remarkable success in areas including code generation and vulnerability detection. However, they also exhibit numerous limitations and shortcomings. LLM-based agents, a novel tech nology with the potential for Artificial General Intelligence (AGI), combine LLMs as the core for decision-making and action-taking, addressing some of the inherent limitations of LLMs such as lack of autonomy and self-improvement. Despite numerous studies and surveys exploring the possibility of using LLMs in software engineering, it lacks a clear distinction between LLMs and LLM based agents. It is still in its early stage for a unified standard and benchmarking to qualify an LLM solution as an LLM-based agent in its domain. In this survey, we broadly investigate the current practice and solutions for LLMs and LLM-based agents for software engineering. In particular we summarise six key topics: requirement engineering, code generation, autonomous decision-making, software design, test generation, and software maintenance. We review and differentiate the work of LLMs and LLM-based agents from these six topics, examining their differences and similarities in tasks, benchmarks, and evaluation metrics. Finally, we discuss the models and benchmarks used, providing a comprehensive analysis of their applications and effectiveness in software engineering. We anticipate this work will shed some lights on pushing the boundaries of LLM-based agents in software engineering for future research.

Key facts. Cited by 85 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 151 of its 197 references that are in the map. First posted on arXiv 5 Aug 2024.

Builds on

151 of 197 references.

Closest ancestors · 15

Same direction, newest first

  1. 2024Agent-Driven Automatic Software Improvement24 Jun
  2. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving18 May
  3. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  4. 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging26 Apr
  5. 2024Elicitron: An LLM Agent-Based Simulation Framework for Design Requirements Elicitation4 Apr
  6. 2024Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization2 Apr
  7. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution26 Mar
  8. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
  9. 2024LLM-based agents for automating the enhancement of user story quality: An early report14 Mar
  10. 2024Exploring LLM-based Agents for Root Cause Analysis7 Mar
  11. 2024Executable Code Actions Elicit Better LLM Agents1 Feb
  12. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges14 Jan
3 more
  1. 2023Autonomous Agents in Software Development: A Vision Paper30 Nov
  2. 2023Towards Autonomous Testing Agents via Conversational Large Language Models8 Jun
  3. 2023Self-collaboration Code Generation via ChatGPT15 Apr

Other references · 136

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  7. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  8. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  9. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  11. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  12. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
38 more
  1. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  2. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  3. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  4. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  5. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  6. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  7. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  8. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  9. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  10. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  11. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  12. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
  13. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  14. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  15. 2023Teaching Large Language Models to Self-Debugcited by 963
  16. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  17. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  18. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  19. 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 738
  20. 2022Large Language Models Can Self-Improvecited by 656
  21. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  22. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 580
  23. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  24. 2023Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyondcited by 409
  25. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  26. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  27. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  28. 2024Long-context LLMs Struggle with Long In-context Learningcited by 285
  29. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  30. 2023The Impact of AI on Developer Productivity: Evidence from GitHub Copilotcited by 264
  31. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
  32. 2020Experience Grounds Languagecited by 241
  33. 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
  34. 2024More Agents Is All You Needcited by 174
  35. 2024Rethinking the Bounds of LLM Reasoning: Are Multi-Agent Discussions the Key?cited by 153
  36. 2024Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferencescited by 142
  37. 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 133
  38. 2023Large Language Models in Law: A Surveycited by 128

50 most cited of 136 All 136 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 11; 2025: 50; 2026: 24.

85 papers.

Sort:

By area:

  1. 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 223
  2. 2025From LLM Reasoning to Autonomous AI Agents: A Comprehensive Reviewcited by 146
  3. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 127
  4. 2025A Survey of Context Engineering for Large Language Modelscited by 120
  5. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
  6. 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 75
  7. 2025MARFT: Multi-Agent Reinforcement Fine-Tuningcited by 51
  8. 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 39
  9. 2025LLM-Powered GUI Agents in Phone Automation: Surveying Progress and Prospectscited by 31
  10. 2025AutoData: A Multi-Agent System for Open Web Data Collectioncited by 25
  11. 2025LLM-based Agentic Reasoning Frameworks: A Survey from Methods to Scenarioscited by 25
  12. 2025LLM-Powered AI Agent Systems and Their Applications in Industrycited by 22
38 more
  1. 2025UltraHorizon: Benchmarking Agent Capabilities in Ultra Long-Horizon Scenarioscited by 22
  2. 2024How to Correctly do Semantic Backpropagation on Language-based Agentic Systemscited by 18
  3. 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platformscited by 18
  4. 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEscited by 17
  5. 2025CodeFlowBench: A Multi-turn, Iterative Benchmark for Complex Code Generationcited by 16
  6. 2024Defining and Detecting the Defects of the Large Language Model-based Autonomous Agentscited by 14
  7. 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidancecited by 12
  8. 2025SHIELDA: Structured Handling of Exceptions in LLM-Driven Agentic Workflowscited by 12
  9. 2024Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfacescited by 11
  10. 2025Evaluating System 1 vs. 2 Reasoning Approaches for Zero-Shot Time Series Forecasting: A Benchmark and Insightscited by 11
  11. 2025Software Development Life Cycle Perspective: A Survey of Benchmarks for Code Large Language Models and Agentscited by 11
  12. 2025Autonomous Agents for Scientific Discovery: Orchestrating Scientists, Language, Code, and Physicscited by 11
  13. 2025CentaurEval: Benchmarking Human-in-the-Loop Value in Agentic Codingcited by 11
  14. 2025Code2MCP: Transforming Code Repositories into MCP Servicescited by 10
  15. 2025Traceability and Accountability in Role-Specialized Multi-Agent LLM Pipelinescited by 10
  16. 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latencycited by 8
  17. 2026The Why Behind the Action: Unveiling Internal Drivers via Agentic Attributioncited by 8
  18. 2025Fundamentals of Building Autonomous LLM Agentscited by 7
  19. 2025Graph-O1 : Monte Carlo Tree Search with Reinforcement Learning for Text-Attributed Graph Reasoningcited by 7
  20. 2024Leveraging Graph-RAG and Prompt Engineering to Enhance LLM-Based Automated Requirement Traceability and Compliance Checkscited by 6
  21. 2025AutoEDA: Enabling EDA Flow Automation through Microservice-Based LLM Agentscited by 6
  22. 2025Uncovering Systematic Failures of LLMs in Verifying Code Against Natural Language Specificationscited by 5
  23. 2025Programming with Pixels: Can Computer-Use Agents do Software Engineering?cited by 4
  24. 2025PAGENT: Learning to Patch Software Engineering Agentscited by 4
  25. 2025Chimera: Harnessing Multi-Agent LLMs for Automatic Insider Threat Simulationcited by 4
  26. 2025Cognitive Agents Powered by Large Language Models for Agile Software Project Managementcited by 4
  27. 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilitiescited by 4
  28. 2025The Future of Generative AI in Software Engineering: A Vision from Industry and Academia in the European GENIUS Projectcited by 4
  29. 2025Automated Penetration Testing with LLM Agents and Classical Planningcited by 4
  30. 2026Yunjue Agent Tech Report: A Fully Reproducible, Zero-Start In-Situ Self-Evolving Agent System for Open-Ended Taskscited by 4
  31. 2026Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Modelcited by 4
  32. 2024SuperCoder2.0: Technical Report on Exploring the feasibility of LLMs as Autonomous Programmercited by 3
  33. 2024AutoFLUKA: A Large Language Model Based Framework for Automating Monte Carlo Simulations in FLUKAcited by 3
  34. 2024Dynamic Multi-Agent Orchestration and Retrieval for Multi-Source Question-Answer Systems using Large Language Modelscited by 3
  35. 2026Automated structural testing of LLM-based agents: methods, framework, and case studiescited by 3
  36. 2026Toward Architecture-Aware Evaluation Metrics for LLM Agentscited by 3
  37. 2025Effective LLM Code Refinement via Property-Oriented and Structurally Minimal Feedbackcited by 2
  38. 2025Static Sandboxes Are Inadequate: Modeling Societal Complexity Requires Open-Ended Co-Evolution in LLM-Based Multi-Agent Simulationscited by 2

50 most cited of 85 All 85 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2024Large Language Model-Based Agents for Software Engineering: A Survey
  2. 2026Developing LLM-based Multi-Agent Systems in Software Engineering: A Mixed-Method Experience Report
  3. 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunities
  4. 2024Agents in Software Engineering: Survey, Landscape, and Vision
  5. 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Ahead
  6. 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationale
  7. 2024The Potential of LLMs in Automating Software Testing: From Generation to Reporting
  8. 2025A Survey on Code Generation with LLM-based Agents