Skip to content

Menu

LangGraph logo

LangGraph

Published

AI Agents

At a glance

What it is
LangGraph is a low-level orchestration framework and runtime for long-running, stateful agents, made by the LangChain team.
Price from
Open source, usage-based pricing Details
Best for
Developers who need precise control over an agent's state and flow; Long-running agents that must survive failures and resume
Last checked
November 2026
Watch out for
It is low-level, so simple agents take more code than with higher-level frameworks.

LangGraph is a low-level orchestration framework and runtime for long-running, stateful agents, made by the LangChain team. Instead of a fixed agent design, you describe a workflow as a graph: a shared state, nodes that do work, and edges that decide what happens next. Nodes can be ordinary deterministic code or steps driven by a language model, so you can mix predictable logic with agent behaviour in one workflow. It is open source under the MIT licence, with about 44,500 stars on GitHub.

Its main selling points are the things that matter once an agent leaves a demo. Durable execution checkpoints state so a run can resume after a failure or a pause. Human-in-the-loop support lets execution stop so a person can inspect or edit the state before it continues. Memory covers both short-term state within a thread and longer-term memory across sessions. Streaming sends tokens, state updates and other events as the graph runs, which is useful for responsive interfaces.

LangGraph sits beneath LangChain's own agents: create_agent and Deep Agents are both built on it. The LangChain docs recommend those higher-level options for a standard agent loop and LangGraph when you need explicit control over state and control flow. LangGraph does not require LangChain, although examples often use it for model and tool integrations. For production, LangSmith provides tracing and evaluation, and LangSmith Deployment hosts and scales LangGraph agents, with a visual Studio for prototyping. You can also run LangGraph yourself on any infrastructure.

Key features

Graph-based workflows
Shared state, nodes and edges mixing deterministic code with model-driven steps.
Durable execution
Checkpoint state and resume after failures or pauses.
Human-in-the-loop
Pause, inspect or edit state, then continue.
Memory
Short-term thread state and long-term memory across sessions.
Streaming
Stream tokens, state updates and events during a run.
LangSmith Deployment and Studio
Hosted deployment and visual prototyping, or self-host anywhere.

Pricing

As of November 2026, LangGraph is free and open source under the MIT licence. Hosting through LangSmith Deployment is metered in LangSmith units worth $1 each: runtime compute costs $0.0675 per vCPU-hour, runtime memory $0.009 per GiB-hour, database compute $0.177 per vCPU-hour and database memory $0.025 per GiB-hour. LangSmith's Plus plan, at $39 per seat a month, includes one free small serverless deployment; the free Developer plan includes none.

Best for

  • Developers who need precise control over an agent's state and flow
  • Long-running agents that must survive failures and resume
  • Workflows that require human approval at certain steps
  • Teams combining deterministic business logic with LLM steps

Limitations

  • It is low-level, so simple agents take more code than with higher-level frameworks.
  • Thinking in graphs and state takes some getting used to.
  • The best debugging and deployment experience relies on paid LangSmith.
  • Its documentation is shared with LangChain, which can make it hard to know where to start.

Verdict

LangGraph is one of the strongest choices for building production agents that need durability, memory and human checkpoints. If a standard agent loop is enough, start with LangChain's create_agent, which is built on LangGraph anyway. Move down to LangGraph when you need control that higher-level tools do not give you.

Sources

Written from the vendor's own site and documentation, checked November 2026. We have no paid relationship that affects what this page says.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…