AI
Researchers Map Design Patterns Behind LLM-Based Multi-Agent Systems for Coding Tasks
A systematic review of 106 papers reveals how software engineers are structuring multi-agent AI systems, with code generation and role-based cooperation emerging as dominant approaches.
Researchers have conducted the first systematic examination of how Large Language Model (LLM)-based multi-agent systems are designed for software engineering tasks, surfacing key design patterns and quality priorities that shape these increasingly complex AI systems.
The Study#
A team analyzed 106 academic papers focused on LLM-based multi-agent systems tackling software engineering problems. Their findings identify which quality attributes designers prioritize, which architectural patterns they repeatedly employ, and what reasoning drives these design choices. The work fills a gap in the literature by offering the first dedicated framework for understanding how these systems are being built.
What Designers Prioritize#
The research reveals that Functional Suitability—whether a system performs its intended function correctly—dominates design considerations for LLM-based multi-agent systems. Beyond that, engineers care deeply about code generation quality, which surfaces as the primary motivation shaping system design. Among the ten categories of software engineering tasks these systems address, code generation is by far the most common application.
Key Design Patterns Emerge#
Engineers building these systems draw from a toolkit of 16 distinct design patterns, with Role-Based Cooperation standing out as the most frequently used approach. This pattern assigns specialized roles to different agents within the system, allowing them to collaborate on complex tasks more effectively. The prevalence of this pattern underscores how multi-agent architectures distribute problem-solving across agents with complementary capabilities.
Practical Implications#
The findings offer guidance for practitioners designing new LLM-based multi-agent systems. By understanding which quality attributes matter most, which patterns are battle-tested, and what design rationale proves most successful, software engineers can make more informed architectural decisions when building their own systems for code generation, testing, debugging, and other SE tasks.

