Abstract
As Large Language Models (LLMs) transition from simple code generators to active participants in the software development lifecycle, a new paradigm is emerging: Software Engineering 2.0. This paper explores the shift toward LLM-based Multi-Agent (LMA) systems, which utilize collaborative networks of specialized agents to manage the inherent complexity of software projects. Through a systematic literature review of 71 studies and empirical case studies using the ChatDev framework, we categorize the current state of the art, identify a "complexity ceiling" in current autonomous systems, and propose a strategic research agenda for achieving scalable, autonomous software development.
Introduction
While individual LLMs like GPT-4 have demonstrated remarkable proficiency in generating localized code snippets, they frequently struggle with the holistic demands of real-world software engineering (SE). Software development is a multi-faceted discipline involving requirements elicitation, architectural design, cross-functional communication, and rigorous quality assurance—tasks that extend far beyond simple syntax generation. Single-agent systems often suffer from limited planning horizons, "hallucinations," and an inability to maintain multi-domain expertise simultaneously.
To address these gaps, researchers are increasingly turning to LLM-Based Multi-Agent (LMA) systems. These systems mimic human organizational structures—such as Agile or Waterfall teams—to distribute cognitive load across specialized roles. By fostering collaborative debate and iterative feedback loops, LMA systems aim to transform LLMs from passive coding assistants into autonomous, end-to-end development teams.
Methodology and Taxonomy
This study utilizes a three-pronged approach to map the LMA landscape:
- Systematic Literature Review (SLR): An analysis of 71 primary studies published since the release of ChatGPT (November 2022) to categorize LMA applications across the Software Development Lifecycle (SDLC).
- Taxonomy Development: The authors define a formal LMA architecture consisting of two primary layers:
- The Orchestration Platform: Manages coordination models, communication protocols, and the overall workflow.
- LLM-based Agents: Specialized entities that can be predefined (static roles) or dynamically generated based on project requirements.
- Experimental Case Studies: Using the ChatDev framework, the authors conducted experiments to develop two classic games—Snake and Tetris—measuring efficiency, cost, and the logical limits of current autonomous frameworks.
Key Insights: The Power of Specialization
A central finding of the literature review is that role specialization is critical to success. By assigning specific personas—such as "Chief Technology Officer," "Programmer," or "Reviewer"—LMA systems reduce the cognitive burden on the underlying LLM. This structure allows for "cross-examination," where one agent reviews the logic of another, significantly improving output quality compared to single-prompt approaches.
Furthermore, the research highlights a shift toward End-to-End frameworks like MetaGPT and ChatDev. Unlike earlier tools that focused on a single phase (e.g., automated testing), these frameworks attempt to automate the entire SDLC, from initial requirements to final executable code.
Empirical Results and the "Complexity Ceiling"
The case studies using ChatDev provided a clear look at the current capabilities and limitations of LMA systems:
- Snake Game: The system successfully generated a playable version in just two attempts. On average, the process took 76 seconds and cost approximately $0.019 using GPT-3.5-turbo.
- Tetris Game: This project revealed a "complexity ceiling." Despite ten attempts, the agents failed to implement the core logic of clearing completed rows. While the system could generate the visual interface and basic movement, the deep logical abstraction required for Tetris's core mechanics remained elusive. The average cost per attempt was $0.020, with a generation time of 70 seconds.
These results suggest that while LMA systems are highly efficient for boilerplate and standard logic, they still struggle with complex algorithmic reasoning and multi-step logical dependencies.
The Road Ahead: Software Engineering 2.0
To move past current bottlenecks, the authors propose a transition from human-centered natural language prompts to Agent-Oriented Programming (AOP). AOP would involve a specialized communication language designed for LLM-to-LLM interaction, reducing the ambiguity and "noise" that often leads to hallucinations in multi-agent environments.
A Two-Phase Research Agenda
The paper outlines a strategic roadmap for the evolution of LMA systems:
- Phase 1: Enhancing Individual Agent Skills. Focuses on improving role-playing capabilities, better AOP prompting, and refining the internal reasoning of individual agents.
- Phase 2: Optimizing Synergy. Focuses on scaling systems for massive, multi-repository projects, enabling dynamic team adaptation (where agents are onboarded as needed), and establishing secure data-sharing protocols to allow collaboration across organizational silos without compromising privacy.
Conclusion
LMA systems represent a significant leap toward the automation of software engineering. However, achieving "Software Engineering 2.0" requires more than just better models; it requires a fundamental shift in how we orchestrate agent collaboration, define communication protocols, and integrate human oversight. The path forward lies in moving beyond simple code generation toward sophisticated, autonomous ecosystems capable of navigating the full complexity of the modern software landscape.
Summary updated