Skip to main content
QUICK REVIEW

[Paper Review] Large Language Model-Based Agents for Software Engineering: A Survey

Junwei Liu, Kaixin Wang|arXiv (Cornell University)|Sep 4, 2024
Multi-Agent Systems and NegotiationComputer Science13 citations
TL;DR

A comprehensive survey of 106 papers on LLM-based agents applied to software engineering, analyzing SE tasks and agent architectures, with discussion of challenges and future directions.

ABSTRACT

The recent advance in Large Language Models (LLMs) has shaped a new paradigm of AI agents, i.e., LLM-based agents. Compared to standalone LLMs, LLM-based agents substantially extend the versatility and expertise of LLMs by enhancing LLMs with the capabilities of perceiving and utilizing external resources and tools. To date, LLM-based agents have been applied and shown remarkable effectiveness in Software Engineering (SE). The synergy between multiple agents and human interaction brings further promise in tackling complex real-world SE problems. In this work, we present a comprehensive and systematic survey on LLM-based agents for SE. We collect 124 papers and categorize them from two perspectives, i.e., the SE and agent perspectives. In addition, we discuss open challenges and future directions in this critical domain. The repository of this survey is at https://github.com/FudanSELab/Agent4SE-Paper-List.

Motivation & Objective

  • Provide a systematic overview of how LLM-based agents are applied across software engineering tasks and life cycle stages.
  • Analyze agent components (planning, memory, perception, action) and how they enable SE tasks.
  • Investigate multi-agent systems and human–agent collaboration in SE contexts.
  • Highlight open challenges and directions for future research in LLM-based agents for SE.

Proposed method

  • Collect 106 papers using keyword searching and snowballing with defined inclusion/exclusion criteria.
  • Analyze papers from SE and agent perspectives, covering tasks from requirements engineering to end-to-end development and maintenance.
  • Synthesize agent architectures, including planning, memory, perception, and action, and discuss multi-agent collaboration and human interaction.
  • Provide a structured overview of existing work and extract research opportunities and future directions.

Experimental results

Research questions

  • RQ1How are LLM-based agents designed and applied to different software engineering tasks across the software lifecycle?
  • RQ2What are the common architectural components and collaboration mechanisms of LLM-based agents in the SE domain?
  • RQ3What are the current challenges and open research directions for LLM-based agents in software engineering?

Key findings

  • A total of 106 papers were collected, with most sources from arXiv and emerging rapidly in this field.
  • LLM-based agents are often used for code generation and code quality assurance, with some works addressing end-to-end development or maintenance.
  • Multi-agent systems and human–agent collaboration are common themes to tackle complex SE problems.
  • Agent components—planning, memory, perception, and action—are analyzed and related to SE task performance.
  • There is a recognized gap between standalone LLMs and autonomous agents; agents enable better interaction with external tools and environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.