Agent Framework
microsoft/autogen
microsoft/autogen· Python
微软出品的多 agent 对话协作框架
GitHub 数据
- Stars
- 57,578
- Forks
- 8,681
- Watchers
- 517
- Open issues
- 792
meta
- License
- CC-BY-4.0
- 主要语言
- Python
- 最后 commit
- 2026-04-15
- 数据抓取时间
- 2026-04-29
微软研究院的 Python agent 框架,核心理念是让多个 LLM agent 互相对话解决任务。v0.4 重写后分为三层:底层 async 消息核心、AgentChat 高阶 API(RoundRobin、Selector、Swarm 等模式),以及 AutoGen Studio 可视化界面。`pip install autogen-agentchat autogen-ext` 即可上手,常见场景包括代码生成、研究流程、人类介入的协作 agent。
编辑试用心得
当任务真的适合多 agent 对话(比如 coder + reviewer + executor 循环)再选 AutoGen。v0.4 的 async 架构比 v0.2 干净很多,但 API 大改导致网上一堆教程过时,多 agent 对话的 debug 也依然头疼。单 agent 加工具调用,LangGraph 或直接用 OpenAI SDK 配状态机更省事;要追踪与持久化的生产级 workflow,LangGraph 或基于 Temporal 的方案更稳。