# AutoAgents: A Framework for Automatic Agent Generation
Generate different roles for GPTs to form a collaborative entity for complex tasks.
AutoAgents is an experimental open-source application for an Automatic Agents Generation Experiment based on LLM. This program, driven by LLM, autonomously generates multi-agents to achieve whatever goal you set.## :boom: Updates - **2023.09.31**: 📝 We're excited to share our paper [AutoAgents: A Framework for Automatic Agent Generation](https://arxiv.org/abs/2309.17288) related to this repository.
- **2023.08.30**: 🚀 Adding a custom agent collection, AgentBank, allows you to add custom agents. ## 🚀 Features - **Planner**: Determines the expert roles to be added and the specific execution plan according to the problem. - **Tools**: The set of tools that can be used, currently only compatible with the search tools. - **Observers**: Responsible for reflecting on whether the planner and the results in the execution process are reasonable, currently including reflection checks on Agents, Plan, and Action. - **Agents**: Expert role agents generated by the planner, including name, expertise, tools used, and LLM enhancement. - **Plan**: The execution plan is composed of the generated expert roles, each step of the execution plan has at least one expert role agent. - **Actions**: The specific actions of the expert roles in the execution plan, such as calling tools or outputting results. ## Demo Online demo: - [Demo / HuggingFace Spaces](https://huggingface.co/spaces/LinkSoul/AutoAgents) Video demo: - **Rumor Verification** - **Gluttonous Snake** ## Installation and Usage ### Installation ```bash git clone https://github.com/LinkSoul-AI/AutoAgents cd AutoAgents python setup.py install ``` ### Configuration - Configure your `OPENAI_API_KEY` in any of `config/key.yaml / config/config.yaml / env` - Priority order: `config/key.yaml > config/config.yaml > env` ```bash # Copy the configuration file and make the necessary modifications. cp config/config.yaml config/key.yaml ``` | Variable Name | config/key.yaml | env | | ------------------------------------------ | ----------------------------------------- | ----------------------------------------------- | | OPENAI_API_KEY # Replace with your own key | OPENAI_API_KEY: "sk-..." | export OPENAI_API_KEY="sk-..." | | OPENAI_API_BASE # Optional | OPENAI_API_BASE: "https://