LangGraph
Provide low-level orchestration infrastructure for long-running, stateful agents with durable execution, persistent memory, and built-in human-in-the-loop interrupts.
Description
LangGraph is the MIT-licensed orchestration framework from LangChain Inc. that models an agent as a graph of nodes operating over a shared, checkpointed state object. Production users (Klarna, Replit, Elastic) build durable agents that resume from failures, pause for human approval via interrupt(), and share short-term thread-scoped memory plus long-term cross-session memory in a Store. LangGraph draws structural inspiration from Pregel and Apache Beam; it can be used standalone or paired with LangChain, LangSmith for observability, and LangGraph Platform for hosted runs. Multi-agent topologies (supervisor, swarm, hierarchical) ship as separate prebuilt libraries.
Solution
Graph of nodes with explicit state edges; the runtime checkpoints state after every super-step so any node can be paused, resumed, or restarted, and Command-typed return values can re-route control between nodes or subgraphs.
Primary use cases
- long-running stateful agents resilient to failures
- multi-agent supervisor / swarm / hierarchical topologies
- agents with mid-run human-approval steps
- agents needing both working memory and cross-session persistent memory
Open the full interactive page →
Diagram, neighbourhood map, code examples, related patterns and full provenance.