AutoGen
简介
微软开源的多 Agent 对话框架,让多个 Agent 通过对话协作完成复杂任务,支持人机混合参与,学术与工业界应用广泛。
English
Microsoft's open-source framework where multiple agents converse to solve complex tasks, with human-in-the-loop support.
适用场景
- 想让多个 Agent 扮演不同角色讨论出方案(评审 + 编码 + 测试)
- 做多 Agent 协作原型,需要现成的对话编排与终止条件
- 研究型任务:边查资料边写代码验证结论
快速上手
- pip install -U autogen-agentchat autogen-ext[openai]
- 定义各自 system_message 不同的 AssistantAgent,配一个 UserProxyAgent
- 用 GroupChat + GroupChatManager 设定发言顺序与终止规则
- 开启代码执行(Docker 或本地)跑一个真实小任务,读日志再调提示词
标签
相关资源
LangChain 精选
最流行的 LLM 应用开发框架,提供链式调用、Agent 编排、工具调用与 RAG 全套能力,Python 与 JS 双语言生态,适合快速搭建各类 AI Agent 应用。The most popular framework for building LLM applications: chains, agent orchestration, tool calling and RAG out of the box, in both Python and JavaScript.
LangGraph 精选
基于图(状态机)的 Agent 编排框架,擅长多 Agent 协作、循环与人工介入流程,是 LangChain 官方推荐的复杂 Agent 生产方案。Graph-based agent orchestration from the LangChain team. Ideal for multi-agent collaboration, loops and human-in-the-loop workflows in production.
CrewAI
以「角色扮演」为核心的多 Agent 框架:为每个 Agent 设定角色、目标与工具,像组建团队一样编排 AI 协作,上手简单、社区活跃。Role-playing multi-agent framework: assign roles, goals and tools to each agent and orchestrate them like a team.