OlympHill
AutoGen logo

AutoGen用于构建协作解决任务的多智能体LLM应用的开源Python框架。

4.5 (4)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

AutoGen 是由 Microsoft Research 开发的开源编程框架,用于创建代理式 AI 系统。它让开发者定义多个 LLM 驱动的 Agent,能够对话、推理、调用工具、执行代码并相互协调,以完成复杂的工作流。 该框架支持灵活的对话模式、可自定义的代理角色,并可与人类输入、外部 API 以及代码执行环境集成。它常用于原型化研究助手、自动化编码工作流、数据分析流水线以及其他以任务为导向的代理系统。 AutoGen 以 Python 库的形式发布,拥有活跃的社区开发、文档和示例,使其成为实验和部署多智能体应用的实用基础。

主要功能

  • 多智能体对话编排
  • 可定制的智能体角色和个性
  • 代码执行和工具调用
  • 支持人机协作
  • 与主要LLM提供商兼容
  • 可扩展的Python API

价格

模型
Freemium
评分
4.5 / 5 (4)

使用场景

对话式 AI

构建多代理对话系统,使其协同解决任务,应用于客户服务、技术支持等场景。

LLM 工作流

创建利用大语言模型自动化任务的工作流,如数据处理、文本分析和内容生成。

多代理系统

开发使多个代理能够交互与协作的系统,潜在应用包括游戏、仿真和教育等领域。

优化推理

使用 AutoGen 的增强型 LLM 推理 API,优化性能并降低大规模语言模型部署的成本。

优点 & 缺点

优点

  • 免费开源
  • 灵活的多智能体对话模式
  • 支持工具使用和代码执行
  • 由微软研究院支持,社区活跃

缺点

  • 需要Python和LLM API知识
  • 文档可能滞后于快速更新
  • 运行多智能体循环可能会产生高Token成本
  • 没有为非开发者提供的内置图形界面

评测

4.5

4 个评分的平均值。

5
2
4
2
3
0
2
0
1
0

登录以留下评测。

GE

Gunnar Eriksson

Apr 5, 2026

Skeptical, then convinced

I went in skeptical — most tools in this space overpromise. It actually delivers on code execution and tool calling, and free and open source caught me off guard. Requires Python and LLM API knowledge is why this isn't a perfect score, still, I'd recommend giving it a real trial.

OH

Omar Haddad

Feb 25, 2026

Solid for our team

We rolled this out across the team last quarter and flexible multi-agent conversation patterns. Compatible with major LLM providers fits neatly into how we already work, and multi-agent conversation orchestration removed a step we used to do by hand. but it has held up under daily use.

Jamal Carter

Jamal Carter

Jan 29, 2026

Compared a few options

Evaluated this against two competitors. Where it wins: human-in-the-loop support and backed by Microsoft Research with active community. On balance the feature set — especially compatible with major LLM providers — justifies the 5 stars for our use case.

LP

Linda Petersen

Aug 24, 2025

Skeptical, then convinced

I went in skeptical — most tools in this space overpromise. It actually delivers on compatible with major LLM providers, and flexible multi-agent conversation patterns caught me off guard. No built-in GUI for non-developers is why this isn't a perfect score, still, I'd recommend giving it a real trial.

问答

None of the devcontainers are building due to "Hash sum mismatch", what should I do?

This is an intermittent issue that appears to be caused by some combination of mirror and proxy issues. If it arises, try to replace the apt-get update step with the following: RUN echo "Acquire::http::Pipeline-Depth 0;" > /etc/apt/apt.conf.d/99custom && \ echo "Acquire::http::No-Cache true;" >> /etc/apt/apt.conf.d/99custom && \ echo "Acquire::BrokenProxy true;" >> /etc/apt/apt.conf.d/99customRUN apt-get clean && \ rm -r /var/lib/apt/lists/* && \ apt-get update -o Acquire::CompressionTypes::Order::=gz && \ apt-get -y update && \ apt-get install sudo git npm # and whatever packages need to be installed in this specific version of the devcontainer This is a combination of StackOverflow suggestions here and here.

Asked by Vasyl Kovalenko · May 21, 2026

What should I do if I get the error "TypeError: Assistants.create() got an unexpected keyword argument 'file_ids'"?

This error typically occurs when using Autogen version earlier than 0.2.27 in combination with OpenAI library version 1.21 or later. The issue arises because the older version of Autogen does not support the file_ids parameter used by newer versions of the OpenAI API. To resolve this issue, you need to upgrade your Autogen library to version 0.2.27 or higher that ensures compatibility between Autogen and the OpenAI library. pip install --upgrade autogen

Asked by Nikolai Petrenko · May 13, 2026

Agents are throwing due to docker not running, how can I resolve this?

If running AutoGen locally the default for agents who execute code is for them to try and perform code execution within a docker container. If docker is not running, this will cause the agent to throw an error. To resolve this you have some options.

Asked by Tunde Balogun · May 6, 2026

When using autogen docker, is it always necessary to reinstall modules?

The "use_docker" arg in an agent's code_execution_config will be set to the name of the image containing the change after execution, when the conversation finishes. You can save that image name. For a new conversation, you can set "use_docker" to the saved name of the image to start execution there.

Asked by Ismael Rios · May 1, 2026

How to get each agent message?

Please refer to https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent#chat_messages

Asked by Lucas Petit · Apr 15, 2026

提问

u5DE5\u4F5C\u5E38\u5F0F 的替代品