LangGraph

Low-level framework from the LangChain team for stateful, long-running agents — graphs of nodes and edges with durable execution and human-in-the-loop.

LangGraph is the LangChain team's low-level orchestration framework for stateful agents, for Python and JavaScript (MIT). You model an agent as a graph of state, nodes and edges, with conditional routing, cycles and multi-agent or hierarchical setups. Durable execution lets runs resume after failures; short-term and long-term memory persist across steps and sessions; human-in-the-loop lets you inspect and edit state at any point. Tracing and debugging run through LangSmith, with Studio as a visual IDE. Hosted deployment — formerly LangGraph Platform — is now called LangSmith Deployment, with cloud, hybrid and self-hosted options. Used in production by companies such as Klarna, Replit, Uber, LinkedIn and Elastic.

When to use

  • Stateful, multi-step agent workflows
  • Complex control flow with branching and loops
  • Human-in-the-loop approval steps
  • Long-running agents that must survive failures (durable execution)

When not to use

  • Simple single-call LLM tasks
  • No need to persist state between steps
  • Team unfamiliar with graph-based programming

At a glance

Pricing
Free
Deployment
Self-hosted
Difficulty
Intermediate
License
MIT
Languages
python, js
Use cases
agent orchestration, multi agent systems, rag pipeline, workflow automation
Last verified
2026-10-20 (official documentation)

Works well with

Alternatives in this category

See all 10 tools in Agent Frameworks — Building AI Agents →

⚖️ Compare Agent Frameworks

Sources

v7.0