NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MetaAgent: Automatically Building Multi-Agent System based on Finite State Machine

Yaolun Zhang, Xiaogeng Liu, Chaowei XiaoOpenReview 2025 · Submission to ICLR 2025 · Rejected

Abstract

Large Language Models (LLMs) can solve various practical tasks via a multi-agent system. However, existing human-designed multi-agent systems can only adapt to a limited number of pre-defined scenarios. Current auto-designed methods also have several drawbacks, including no tool support, reliance on in-bag training, and inflexible communication structure. Therefore, we propose \textbf{MetaAgent}, a novel framework to automatically generate a multi-agent system based on a finite state machine. Given a task description, MetaAgent will design a multi-agent system and polish it through self-generated test queries. When the multi-agent system is deployed, the finite state machine, which supports the traceback and is more suitable for tool-using, will control the process to handle every case in the task domain. To evaluate our framework, we conduct experiments on both practical tasks and basic NLP tasks, the results indicate that the generated multi-agent system surpasses other auto-designed methods and can achieve a comparable performance with the human-designed multi-agent system which is polished for those specific tasks.
BibTeX
@misc{zhang2025metaagent,
  author = {Yaolun Zhang and Xiaogeng Liu and Chaowei Xiao},
  title = {{MetaAgent: Automatically Building Multi-Agent System based on Finite State Machine}},
  year = {2025},
  url = {https://openreview.net/forum?id=a7gfCUhwdV},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}
Figure