LangGraph 主要3 种核心模式

  1. react_agent: 单 Agent + 工具;

  2. supervisor_agent: 多 Agent 协作

3.planning_agent: 任务拆解;

LangGraph 主要有这 3 种核心模式,其他都是变体:

|----------------|-----------------|---------------------------------|
| 模式 | 来源 | 说明 |
| planning_agent | StateGraph 自定义 | 任务拆解,逐步执行 |
| swarm | langgraph-swarm | 去中心化,Agent 之间直接交接,没有 Supervisor |

其中 swarm 是 langgraph-supervisor 的姊妹包,也值得考虑:

supervisor: 用户 → Supervisor → Agent A → Supervisor → Agent B → Supervisor → 回复

swarm: 用户 → Agent A → Agent B → Agent C → 回复(谁合适谁接)

相关推荐
KeyAction66667 小时前
第二届中国国际人工智能+行动大会看点:智能体专场、算力账本与产品发布
人工智能·ai
BD_Marathon8 小时前
LangChain的简介
langchain
ikun_文9 小时前
LangChain-常用场景
langchain·agent
znnnk9 小时前
【AI技术】Vibe Coding 实践指南:从项目规划到高效开发
人工智能·ai·ai编程·ai ide·vibe coding
全栈练习生9 小时前
文档智能与实践
python·ai
七牛云行业应用10 小时前
Codex接MCP完整教程:从官方文档服务器到HTTP、STDIO与OAuth配置(2026年10月)
人工智能·ai·agent·ai编程
西索斯coding10 小时前
Grok 4.7 调用一直 401 怎么办?不是 Key 过期,是 Authorization 头格式问题——排查全流程 + 修复示例
服务器·开发语言·ai·php
音符犹如代码11 小时前
DeepSeek-V4.1-Flash-1017 上手实测:3D 直出,效果到底如何
人工智能·3d·ai·ai编程
刘 大 望12 小时前
Agent 的规划与执行范式:Plan-Execute-Replan 与 ReAct
java·python·ai·chatgpt·langchain·ai编程
昭昭日月明13 小时前
使用 Ragas 量化 RAG
python·langchain·ai编程