LangGraph
ActiveDescription
Stateful multi-agent orchestration framework by LangChain using graph state.
Key Features
- Graph structure — Nodes and edges for agent flow
- Persistent state — Long-running tasks can pause and resume
- Human-in-the-loop — Built-in approval breakpoints
- Parallel branches — Concurrent subgraph execution
- LangChain integration — Reuse Chain/Retriever/Tool
Use Cases
💡 Build customer service agents with approval gates.
💡 Long-running tasks that can pause and resume.
💡 Multi-branch decision flows via graph topology.
Categories
Quick Start
# Install
pip install langgraph langchain-openai
from langgraph.graph import StateGraph
builder = StateGraph(dict)
builder.add_node('plan', plan_step)