--- myst: html_meta: "description lang=zh-CN": | AutoGen Studio 用户指南 - 用于构建和调试多agent系统的低代码工具 --- # AutoGen Studio [![PyPI 版本](https://badge.fury.io/py/autogenstudio.svg)](https://badge.fury.io/py/autogenstudio) [![下载量](https://static.pepy.tech/badge/autogenstudio/week)](https://pepy.tech/project/autogenstudio) AutoGen Studio 是一个低代码界面,旨在帮助您快速原型化 AI agents,通过工具增强它们的功能,将它们组合成团队并与之交互以完成任务。它基于 [AutoGen AgentChat](https://microsoft.github.io/autogen) 构建——这是一个用于构建多agent应用程序的高级API。 > 观看 AutoGen Studio v0.4 视频教程 (02/25) - [https://youtu.be/oum6EI7wohM](https://youtu.be/oum6EI7wohM) [![AutoGen Studio v0.4 友好入门指南](https://img.youtube.com/vi/oum6EI7wohM/maxresdefault.jpg)](https://www.youtube.com/watch?v=oum6EI7wohM) AutoGen Studio 的代码位于 GitHub:[microsoft/autogen](https://github.com/microsoft/autogen/tree/main/python/packages/autogen-studio) ```{caution} AutoGen Studio 旨在帮助您快速原型化多agent工作流,并展示一个使用 AutoGen 构建的终端用户界面示例。它并非一个生产就绪的应用程序。鼓励开发者使用 AutoGen 框架构建自己的应用程序,实现部署应用所需的认证、安全和其他功能。 ``` ## 功能概览 - AutoGen Studio 能做什么? AutoGen Studio 提供四个主要界面来帮助您构建和管理多 agent 系统: 1. **团队构建器** - 通过声明式规范(JSON)或拖拽操作的视觉化界面创建 agent 团队 - 支持配置所有核心组件:团队、agents、工具、模型和终止条件 - 完全兼容 AgentChat 的组件定义 2. **交互式演练场** - 用于测试和运行 agent 团队的交互式环境 - 主要功能包括: - agent 之间的实时消息流 - 通过控制转移图实现消息流的可视化呈现 - 使用 UserProxyAgent 与团队进行交互式会话 - 完整的运行控制能力,可暂停或停止执行 3. **组件库** - 发现和导入社区创建组件的中心枢纽 - 轻松集成第三方组件 4. **部署功能** - 导出团队配置为 Python 代码并运行 - 基于团队配置设置和测试端点 - 在 Docker 容器中运行团队 ### 发展路线 查看项目路线图和议题请访问[此处](https://github.com/microsoft/autogen/issues/4006)。 ## 贡献指南 我们欢迎为AutoGen Studio项目贡献力量。建议按以下通用步骤参与贡献: - 查阅AutoGen整体项目的[贡献指南](https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md) - 请阅读AutoGen Studio[路线图](https://github.com/microsoft/autogen/issues/4006)了解当前项目优先级。特别欢迎协助解决标有`help-wanted`标签的Studio问题 - 所有与Studio相关的问题、疑问和PR请使用[`proj-studio`](https://github.com/microsoft/autogen/issues?q=is%3Aissue%20state%3Aopen%20label%3Aproj-studio)标签 - 请在路线图议题或新建议题中发起讨论,说明您的贡献方案 - 提交包含您贡献内容的拉取请求! - 如需修改AutoGen Studio代码,该项目配有独立开发容器。具体使用方法请参阅`.devcontainer/README.md`中的说明 ## 安全须知 AutoGen Studio是研究原型系统,**不适用于**生产环境。我们鼓励采用基础安全实践,例如为agents使用Docker代码执行环境。 但其他安全考量——如越狱防护的严格测试、确保LLM仅能根据终端用户权限访问特定数据密钥等安全功能——尚未在AutoGen Studio中实现。 如需构建生产级应用,请使用AutoGen框架并自行实现必要的安全功能。 ## 致谢与引用 AutoGen Studio 基于 [AutoGen](https://microsoft.github.io/autogen) 项目开发。它改编自2023年10月构建的研究原型(原始贡献者:Victor Dibia、Gagan Bansal、Adam Fourney、Piali Choudhury、Saleema Amershi、Ahmed Awadallah、Chi Wang)。 如果您在研究中使用 AutoGen Studio,请引用以下论文: ``` @inproceedings{autogenstudio, title={AUTOGEN STUDIO: A No-Code Developer Tool for Building and Debugging Multi-Agent Systems}, author={Dibia, Victor and Chen, Jingya and Bansal, Gagan and Syed, Suff and Fourney, Adam and Zhu, Erkang and Wang, Chi and Amershi, Saleema}, booktitle={Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing: System Demonstrations}, pages={72--79}, year={2024} } ``` ## 后续步骤 要开始使用,请按照[安装指南](installation.md)安装 AutoGen Studio。 ```{toctree} :maxdepth: 1 :hidden: installation usage experimental faq ```