Scripts2026年4月6日·1 分钟阅读

LangGraph — Stateful AI Agent Graphs by LangChain

Framework for building stateful, multi-actor AI agent applications as directed graphs. Supports cycles, branching, persistence, and human-in-the-loop patterns. By LangChain. 8,000+ stars.

介绍

LangGraph is a stateful AI agent graph framework developed by the LangChain team, with 8,000+ GitHub stars. Supports loops, conditional branches, persistent state, and human-in-the-loop workflows. Ideal for building complex agent systems with non-linear workflows.


Quick Use

pip install langgraph
from langgraph.graph import StateGraph, END

graph = StateGraph(State)
graph.add_node("research", research_fn)
graph.add_node("write", write_fn)
graph.add_edge("research", "write")
graph.add_edge("write", END)
app = graph.compile()

Intro

LangGraph is a stateful AI agent graph framework developed by the LangChain team, with 8,000+ GitHub stars. Supports loops, conditional branches, persistent state, and human-in-the-loop workflows. Ideal for building complex agent systems with non-linear workflows.


Source & Thanks

Created by LangChain. Licensed under MIT.

langgraph — ⭐ 8,000+

🙏

来源与感谢

Created by LangChain. Licensed under MIT.

langgraph — ⭐ 8,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产