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 系統更穩。