EvoAgent: Towards Automatic Multi-Agent Generation via Evolutionary Algorithms
Siyu Yuan, Kaitao Song, Jiangjie Chen, Xu Tan, Dongsheng Li, Deqing Yang
TL;DR
EvoAgent reframes agent generation as an evolutionary process to automatically extend specialized LLM-based agents into multi-agent systems without human-designed scaffolds. It introduces a four-stage pipeline—initialization, crossover and mutation, selection, and results update—operating on agent settings and prompts to produce diverse, high-performing agents. Across NLP, multimodal benchmarks, interactive scientific solving, and real-world planning, EvoAgent demonstrates significant performance gains over strong baselines and existing auto-generation frameworks, while also offering insightful ablations on population size and iteration effects. The approach is framework-agnostic, scalable, and highlights practical considerations such as token costs and safety, suggesting EvoAgent as a versatile tool for constructing collaborative AI systems.
Abstract
The rise of powerful large language models (LLMs) has spurred a new trend in building LLM-based autonomous agents for solving complex tasks, especially multi-agent systems. Despite the remarkable progress, we notice that existing works are heavily dependent on human-designed frameworks, which greatly limits the functional scope and scalability of agent systems. How to automatically extend the specialized agent to multi-agent systems to improve task-solving capability still remains a significant challenge. In this paper, we introduce EvoAgent, a generic method to automatically extend specialized agents to multi-agent systems via the evolutionary algorithm, thereby improving the effectiveness of LLM-based agents in solving tasks. Specifically, we consider the existing agent frameworks as the initial individual and then apply a series of evolutionary operators (e.g., mutation, crossover, selection, etc.) to generate multiple agents with diverse settings. Experimental results across various tasks show that EvoAgent can significantly enhance the task-solving capability of LLM-based agents, and can be generalized to any LLM-based agent framework to extend them into multi-agent systems. Resources are available at https://evo-agent.github.io/.
