Introduction
The software engineering (SE) landscape is undergoing a paradigm shift. We are moving beyond Large Language Models (LLMs) as simple "copilots" for code completion toward autonomous "agents" capable of executing complex, multi-step tasks. This survey synthesizes 124 recent papers to categorize how these agents are transforming the entire software lifecycle—from initial requirements gathering to long-term maintenance.
The Shift from Copilots to Agents
While standalone LLMs like GPT-4 excel at generating isolated code snippets, real-world software engineering involves navigating massive codebases, interpreting ambiguous requirements, and debugging across multiple files. The core challenge lies in bridging the gap between "LLM-as-a-tool" and "LLM-as-an-agent."
To achieve true autonomy, researchers are wrapping LLMs in architectures that provide them with a "brain" for planning and memory, "senses" for perceiving code and user interfaces, and "limbs" to interact with external tools like compilers and debuggers.
Methodology and Perspectives
The authors conducted a systematic literature review of 124 papers published through late 2024. Their analysis follows two primary dimensions:
- The SE Perspective: Mapping agents to specific tasks such as Requirements Engineering, Code Generation, Testing, and Debugging.
- The Agent Perspective: Analyzing architectural components including planning strategies (e.g., Chain-of-Thought), memory management (short-term vs. long-term distilled trajectories), and collaborative mechanisms.
Key Insights: The "Software Company" Metaphor
A significant trend in the research is the use of multi-agent frameworks like MetaGPT and ChatDev. These systems simulate a virtual development team by assigning specific roles (e.g., CEO, Architect, Programmer). This collaborative approach reduces hallucinations through peer-review processes, where one agent's output is verified or critiqued by another.
Furthermore, there is a shift from static prompting to dynamic agentic strategies. Agents now adjust their plans based on environmental feedback—for instance, modifying code after a test failure rather than simply following a fixed set of instructions.
Research Distribution and State of the Art
The survey highlights a concentration of research in specific areas of the SE lifecycle. Coding and testing are currently the most saturated fields, while requirements engineering and IT operations remain relatively unexplored "blue ocean" territories.
On the SWE-bench Lite benchmark—the current "gold standard" for agentic autonomy—top-performing agents resolve approximately 30-34% of real-world GitHub issues. This represents a significant leap over standalone models but underscores the remaining gap toward human-level performance.
Limitations and Future Directions
Despite the rapid progress, several hurdles remain:
- Cost of Autonomy: High-performing agents often require hundreds of LLM calls per task, yet only 46% of papers discuss the associated monetary costs.
- Benchmark Contamination: There is growing concern that training data may already contain solutions to public benchmarks.
- Human-Agent Collaboration: Future research must move beyond "full automation" to "human-in-the-loop" systems that can ask clarifying questions and accept mid-task guidance.
- Multimodality: Most agents are currently text-based; integrating visual perception of UIs and architecture diagrams is a critical next step.
Summary updated