AutoAgents: A Framework for Automatic Agent Generation

Guangyao Chen, Siwei Dong, Yu Shu, Ge Zhang, Jaward Sesay +3 more
9/29/2023
cs.AI

Official code: Link-AGI/AutoAgents (1,490 stars, MIT, last commit 2025-09-09).

Abstract

Large language models (LLMs) have enabled remarkable advances in automated task-solving with multi-agent systems. However, most existing LLM-based multi-agent approaches rely on predefined agents to handle simple tasks, limiting the adaptability of multi-agent collaboration to different scenarios. Therefore, we introduce AutoAgents, an innovative framework that adaptively generates and coordinates multiple specialized agents to build an AI team according to different tasks. Specifically, AutoAgents couples the relationship between tasks and roles by dynamically generating multiple required agents based on task content and planning solutions for the current task based on the generated expert agents. Multiple specialized agents collaborate with each other to efficiently accomplish tasks. Concurrently, an observer role is incorporated into the framework to reflect on the designated plans and agents' responses and improve upon them. Our experiments on various benchmarks demonstrate that AutoAgents generates more coherent and accurate solutions than the existing multi-agent methods. This underscores the significance of assigning different roles to different tasks and of team cooperation, offering new perspectives for tackling complex tasks. The repository of this project is available at https://github.com/Link-AGI/AutoAgents.

View on arXivView PDF

Code Implementations(1)

MIT

[IJCAI 2024] Generate different roles for GPTs to form a collaborative entity for complex tasks.

1,490180CSS, HTMLAug 21, 20231 years agoMIT

Similar Papers

Cite this paper

@article{chen2023autoagents,
  title  = {AutoAgents: A Framework for Automatic Agent Generation},
  author = {Guangyao Chen and Siwei Dong and Yu Shu and Ge Zhang and Jaward Sesay and Börje F. Karlsson and Jie Fu and Yemin Shi},
  year   = {2023},
  eprint = {2309.17288},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.17288v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.17288.svg)](https://codeofpaper.com/paper/2309.17288)

Discussion