Qian Wang, Tianyu Wang, Qinbin Li, Jingsheng Liang, Bingsheng He
{"title":"MegaAgent: A Practical Framework for Autonomous Cooperation in Large-Scale LLM Agent Systems","authors":"Qian Wang, Tianyu Wang, Qinbin Li, Jingsheng Liang, Bingsheng He","doi":"arxiv-2408.09955","DOIUrl":null,"url":null,"abstract":"With the emergence of large language models (LLMs), LLM-powered multi-agent\nsystems (LLM-MA systems) have been proposed to tackle real-world tasks.\nHowever, their agents mostly follow predefined Standard Operating Procedures\n(SOPs) that remain unchanged across the whole interaction, lacking autonomy and\nscalability. Additionally, current solutions often overlook the necessity for\neffective agent cooperation. To address the above limitations, we propose\nMegaAgent, a practical framework designed for autonomous cooperation in\nlarge-scale LLM Agent systems. MegaAgent leverages the autonomy of agents to\ndynamically generate agents based on task requirements, incorporating features\nsuch as automatically dividing tasks, systematic planning and monitoring of\nagent activities, and managing concurrent operations. In addition, MegaAgent is\ndesigned with a hierarchical structure and employs system-level parallelism to\nenhance performance and boost communication. We demonstrate the effectiveness\nof MegaAgent through Gobang game development, showing that it outperforms\npopular LLM-MA systems; and national policy simulation, demonstrating its high\nautonomy and potential to rapidly scale up to 590 agents while ensuring\neffective cooperation among them. Our results indicate that MegaAgent is the\nfirst autonomous large-scale LLM-MA system with no pre-defined SOPs, high\neffectiveness and scalability, paving the way for further research in this\nfield. Our code is at https://anonymous.4open.science/r/MegaAgent-81F3.","PeriodicalId":501315,"journal":{"name":"arXiv - CS - Multiagent Systems","volume":"43 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Multiagent Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.09955","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
With the emergence of large language models (LLMs), LLM-powered multi-agent
systems (LLM-MA systems) have been proposed to tackle real-world tasks.
However, their agents mostly follow predefined Standard Operating Procedures
(SOPs) that remain unchanged across the whole interaction, lacking autonomy and
scalability. Additionally, current solutions often overlook the necessity for
effective agent cooperation. To address the above limitations, we propose
MegaAgent, a practical framework designed for autonomous cooperation in
large-scale LLM Agent systems. MegaAgent leverages the autonomy of agents to
dynamically generate agents based on task requirements, incorporating features
such as automatically dividing tasks, systematic planning and monitoring of
agent activities, and managing concurrent operations. In addition, MegaAgent is
designed with a hierarchical structure and employs system-level parallelism to
enhance performance and boost communication. We demonstrate the effectiveness
of MegaAgent through Gobang game development, showing that it outperforms
popular LLM-MA systems; and national policy simulation, demonstrating its high
autonomy and potential to rapidly scale up to 590 agents while ensuring
effective cooperation among them. Our results indicate that MegaAgent is the
first autonomous large-scale LLM-MA system with no pre-defined SOPs, high
effectiveness and scalability, paving the way for further research in this
field. Our code is at https://anonymous.4open.science/r/MegaAgent-81F3.