AgentVerse Agent工作流 是 AI Skill Hub 本期精选Agent工作流之一。已获得 5.0k 颗 GitHub Star,综合评分 8.5 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
AgentVerse Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
AgentVerse Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g agentverse # 方式二:npx 直接运行(无需安装) npx agentverse --help # 方式三:项目依赖安装 npm install agentverse # 方式四:从源码运行 git clone https://github.com/OpenBMB/AgentVerse cd AgentVerse npm install npm start
# 命令行使用
agentverse --help
# 基本用法
agentverse [options] <input>
# Node.js 代码中使用
const agentverse = require('agentverse');
const result = await agentverse.run(options);
console.log(result);
# agentverse 配置说明 # 查看配置选项 agentverse --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AGENTVERSE_CONFIG="/path/to/config.yml"
<p align="center"> <a href="https://github.com/OpenBMB/AgentVerse/blob/main/LICENSE"> <img alt="License: Apache2" src="https://img.shields.io/badge/License-Apache_2.0-green.svg"> </a> <a href="https://www.python.org/downloads/release/python-3916/"> <img alt="Python Version" src="https://img.shields.io/badge/python-3.9+-blue.svg"> </a> <a href="https://github.com/OpenBMB/AgentVerse/actions/"> <img alt="Build" src="https://img.shields.io/github/actions/workflow/status/OpenBMB/AgentVerse/test.yml"> </a> <a href="https://github.com/psf/black"> <img alt="Code Style: Black" src="https://img.shields.io/badge/code%20style-black-black">
<a href="https://huggingface.co/AgentVerse"> <img alt="HuggingFace" src="https://img.shields.io/badge/hugging_face-play-yellow"> </a> <a href="https://discord.gg/gDAXfjMw"> <img alt="Discord" src="https://img.shields.io/badge/AgentVerse-Discord-purple?style=flat"> </a> </p>
<p align="center"> <img src="./imgs/title.png" width="512"> </p>
<p align="center"> 【<a href="https://arxiv.org/abs/2308.10848">Paper</a>】 </p>
<p align="center"> 【English | <a href="README_zh.md">Chinese</a>】 </p>
AgentVerse is designed to facilitate the deployment of multiple LLM-based agents in various applications. AgentVerse primarily provides two frameworks: task-solving and simulation.
- Task-solving: This framework assembles multiple agents as an automatic multi-agent system (AgentVerse-Tasksolving, Multi-agent as system) to collaboratively accomplish the corresponding tasks. Applications: software development system, consulting system, etc.
<p align="center"> <img width="616" alt="Screen Shot 2023-09-01 at 12 08 57 PM" src="https://github.com/OpenBMB/AgentVerse/assets/11704492/6db1c907-b7fc-42f9-946c-89853a28f386"> </p>
release-0.1 branch. Applications: game, social behavior research of LLM-based agents, etc.<p align="center"> <img width="616" alt="Screen Shot 2023-10-16 at 10 53 49 PM" src="https://github.com/OpenBMB/AgentVerse/assets/11704492/4102d1e2-3fe7-4656-aa2c-a218ce1f2c95"> </p>
---
AgentVerse. You are able to try out the two simulation applications, NLP Classroom and Prisoner's Dilemma,with your code of the openai API key and the openai organization. Have fun!minecraft branch. Our tool-using example will soon be updated to the main branch. Stay tuned!- [2023/8/22] We're excited to share our paper AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors in Agents that illustrate the task-solving framework in detail of AgentVerse.
- agentverse
- agents
- simulation_agent
- environments
- simulation_env
- agentverse
- agents
- simulation_env
- environments
- tasksolving_env
If you want to use local models such as LLaMA, you need to additionally install some other dependencies:
pip install -r requirements_local.txt
Manually Install (Recommended!)
Make sure you have Python >= 3.9
git clone https://github.com/OpenBMB/AgentVerse.git --depth 1
cd AgentVerse
pip install -e .
If you want to use AgentVerse with local models such as LLaMA, you need to additionally install some other dependencies:
pip install -r requirements_local.txt
Install with pip
Or you can install through pip
pip install -U agentverse
You can create a multi-agent environments provided by us. Using the classroom scenario as an example. In this scenario, there are nine agents, one playing the role of a professor and the other eight as students.
agentverse-simulation --task simulation/nlp_classroom_9players
We also provide a local website demo for this environment. You can launch it with
agentverse-simulation-gui --task simulation/nlp_classroom_9players After successfully launching the local server, you can visit http://127.0.0.1:7860/ to view the classroom environment.
If you want to run the simulation cases with tools (e.g., simulation/nlp_classroom_3players_withtool), you need to install BMTools as follows:
git clone git+https://github.com/OpenBMB/BMTools.git
cd BMTools
pip install -r requirements.txt
python setup.py develop This is optional. If you do not install BMTools, the simulation cases without tools can still run normally.
To run the experiments with the task-solving environment proposed in our paper, you can use the following command:
To run AgentVerse on a benchmark dataset, you can try ```shell
Refer to simulation showcases
Refer to tasksolving showcases
You need to export your OpenAI API key as follows: ```bash
agentverse-benchmark --task tasksolving/humaneval/gpt-3.5 --dataset_path data/humaneval/test.jsonl --overwrite
To run AgentVerse on a specific problem, you can tryshell
agentverse-tasksolving --task tasksolving/brainstorming
To run the tool using cases presented in our paper, i.e., multi-agent using tools such as web browser, Jupyter notebook, bing search, etc., you can first build ToolsServer provided by [XAgent](https://github.com/OpenBMB/XAgent). You can follow their [instruction](https://github.com/OpenBMB/XAgent#%EF%B8%8F-build-and-setup-toolserver) to build and run the ToolServer.
After building and launching the ToolServer, you can use the following command to run the task-solving cases with tools:shell agentverse-tasksolving --task tasksolving/tool_using/24point ``` We have provided more tasks in agentverse/tasks/tasksolving/tool_using/ that show how multi-agent can use tools to solve problems.
Also, you can take a look at agentverse/tasks/tasksolving for more experiments we have done in our paper.
In your config file, set the llm_type to local and model to the MODEL_NAME. For example
llm:
llm_type: local
model: llama-2-7b-chat-hf
...
You can refer to agentverse/tasks/tasksolving/commongen/llama-2-7b-chat-hf/config.yaml for a more detailed example.
export OPENAI_API_KEY="your_api_key_here"
If you want use Azure OpenAI services, please export your Azure OpenAI key and OpenAI API base as follows:bash export AZURE_OPENAI_API_KEY="your_api_key_here" export AZURE_OPENAI_API_BASE="your_api_base_here" ```
AgentVerse 是一个开源的 AI 项目,旨在提供一个多智能体环境和工具,用于研究和开发人工智能和机器学习算法。它基于 Python 3.9+,使用 Apache 2.0 许可证。
AgentVerse 的功能包括提供多智能体环境、支持本地模型如 LLaMA、提供 CLI 和 GUI 接口、支持任务解决环境和工具等。它还被用于 NVIDIA 的博客和 ICLR 2024 的论文中。
AgentVerse 需要以下环境依赖:Python >= 3.9、agentverse、agents、simulation_agent、environments、simulation_env 和 tasksolving_env 等模块。如果需要使用本地模型,则需要安装额外的依赖项。
安装 AgentVerse 可以通过以下方式进行:手动安装(推荐)、使用 pip 安装、使用 Docker 安装等。具体步骤包括克隆代码、安装依赖项、配置环境变量等。
使用 AgentVerse 可以通过 CLI 和 GUI 接口进行。CLI 接口可以用于创建多智能体环境、运行任务解决环境和工具等。GUI 接口可以用于查看环境和工具的图形界面。
AgentVerse 的配置包括环境变量、MCP 配置、环境配置和关键参数等。需要导出 OpenAI API key 和 Azure OpenAI key 等。
AgentVerse 的 API 接口包括导出 OpenAI API key、导出 Azure OpenAI key 和 OpenAI API base 等。这些接口可以用于配置环境变量和 API 访问。
AgentVerse是成熟的多智能体工作流框架,5k+星标体现其受欢迎度。架构清晰、功能完整,适合生产环境部署。持续维护更新,社区活跃度高。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,AgentVerse Agent工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | AgentVerse |
| 原始描述 | 开源AI工作流:🤖 AgentVerse 🪐 is designed to facilitate the deployment of multiple LLM-based 。⭐5.0k · JavaScript |
| Topics | 多智能体工作流编排LLM应用开源JavaScript |
| GitHub | https://github.com/OpenBMB/AgentVerse |
| License | Apache-2.0 |
| 语言 | JavaScript |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端