MegaAgent: A Large-Scale Autonomous LLM-based Multi-Agent System Without Predefined SOPs
About
LLM-based multi-agent systems (MAS) have shown promise in tackling complex tasks. However, existing solutions often suffer from limited agent coordination and heavy reliance on predefined Standard Operating Procedures (SOPs), which demand extensive human input. To address these limitations, we propose MegaAgent, a large-scale autonomous LLM-based multi-agent system. MegaAgent generates agents based on task complexity and enables dynamic task decomposition, parallel execution, efficient communication, and comprehensive system monitoring of agents. In evaluations, MegaAgent demonstrates exceptional performance, successfully developing a Gobang game within 800 seconds and scaling up to 590 agents in a national policy simulation to generate multi-domain policies. It significantly outperforms existing systems, such as MetaGPT, in both task completion efficiency and scalability. By eliminating the need for predefined SOPs, MegaAgent demonstrates exceptional scalability and autonomy, setting a foundation for advancing true autonomy in MAS. Our code is available at https://github.com/Xtra-Computing/MegaAgent .
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Mathematical Reasoning | GSM8K | Accuracy93 | 983 | |
| Code Generation | HumanEval | Pass@197.15 | 850 | |
| Mathematical Reasoning | MATH | Accuracy69 | 535 | |
| Code Generation | MBPP | Accuracy (%)92.2 | 146 | |
| National Policy Generation | National Policy Generation (test) | Count Agree29 | 20 | |
| Planning | TravelPlanner #180 (val) | DR100 | 16 | |
| Long horizon planning | TravelPlanner | Delivery Rate94.4 | 13 | |
| Code Generation | MBPP Pro | Pass@183.11 | 9 | |
| General Assistant Reasoning | GAIA | GAIA Level 1 Score32.9 | 9 | |
| Software Development | Gobang Game (dev) | Total Game Time (s)800 | 5 |