跳到内容

Agent Framework

langchain-ai/langgraph

langchain-ai/langgraph· Python

图结构编排框架,构建可中断续跑的 LLM agent

GitHub 数据

Stars
30,807
Forks
5,260
Watchers
154
Open issues
508

meta

License
MIT
主要语言
Python
最后 commit
2026-04-29
数据抓取时间
2026-04-29

LangGraph 把 agent 流程建模成节点与边的图,内置状态持久化、checkpoint、时光回溯调试和 human-in-the-loop 中断机制。由 LangChain 团队打造,面向需要显式控制分支、重试和长时间状态的生产级多 agent 系统。`pip install langgraph` 即可使用,可搭配 LangSmith 做追踪、LangGraph Platform 做托管部署,是 2026 年企业端的主流选择。

编辑试用心得

需要持久状态、显式控制流和人工审核节点时选 LangGraph,生产成熟度和可调试性都胜过 CrewAI、AutoGen。代价是写法啰嗦:定义 node、edge、TypedDict state 比单轮 ReAct loop 重得多,还得吃下整套 LangChain 抽象。一次性对话或简单 tool calling 别用,直接拿 OpenAI Agents SDK 或原生 function calling 就够了。

最后更新: 2026-04-29

We use cookies

Anonymous analytics help us improve the site. You can opt out anytime. Learn more

langchain-ai/langgraph · BuilderWorld