Understanding Issues, Causes and Solutions in Open-Source LLM-based Multi-Agent Systems
Authors: Asad Ur Rehman, Syed Mohammad Kashif, Ruiyin Li, Peng Liang, Zengyang Li, Arif Ali Khan
Organizations: School of Computer Science, Wuhan University, China · School of Computer Science & Hubei Provincial Key Laboratory of Artificial Intelligence and Smart Learning, Central China Normal University, China · M3S Empirical Software Engineering Research Unit, University of Oulu, Finland
With the advancement of LLM-based multi-agent systems (MAS), an increasing number of opensource projects are adopting multi-agent architectures as the foundation of their core functionality. Although research and practice on MAS have attracted considerable attention, limited studies have explored the challenges faced by practitioners of open-source LLM-based MAS, the causes of these challenges, and potential solutions. To address this gap,we conducted an empirical study to understand the issues that practitioners encounter when developing and using open-source LLM-based MAS, the possible causes of these issues, and potential solutions. We collected 22,848 closed issues from 21 open-source LLM-basedMASand applied a mixed automated and manual filtering approach to reduce the dataset to 944 issues related to LLM-based MAS.We then analyzed these issues to understand the frequent issues encountered by practitioners, their underlying causes, and potential solutions. Our study results show that (1) Orchestration & Execution Issue is the most common issue faced by practitioners, (2) Workflow Problem, Tool Integration Problem, and Memory Problem are identified as the most frequent causes of the issues, and (3) Optimize Workflow is the predominant solution to the issues. Based on the study results, we derive empirically grounded implications for practitioners and researchers aimed at improving orchestration, tool integration, and memory mechanisms in LLM-based MAS.
Figures & tables
Figure 1: A GitHub issue demonstrating an Orchestration & Execution Issue in an LLM-based MAS.
Figure 2: Overview of the research methodology
Inclusion Criteria
I1
The project must have at least 3,000 stars.
I2
The project must have at least 10 contributors.
I3
The project must have at least 100 closed issues.
I4
The project must have been updated at least once within the past year.
I5
The repository must be a real open-source software project that explicitly integrates multi-agent LLM architectures as core architectural components to execute its primary functionality.
Exclusion Criteria
Table 1: Inclusion and exclusion criteria for selecting LLM-based multi-agent open-source projects from GitHub repositories
Project Name
#Stars
#Issues
#Forks
#Contributors
Activepieces
19.1k
2216
3.1k
336
Adk-python
14.2k
1354
2.7k
180
Agency-swarm
3.9k
141
998
21
Agno
34.8k
1475
4.8k
343
Ag2
3.7k
646
511
158
Agentscope
13.5k
305
1.2k
23
Table 2: Information of selected open-source LLM-based multi-agent projects
Domain
#Definition
#Projects
LLM-based Development Framework
Open-source projects that provide frameworks for developing software systems by leveraging LLMs.
Robotics, Artificial Intelligence and Real-Time Systems, School of Computation, Information and Technology, Technical University of Munich, Munich, Germany