LangGraph
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
LangGraph is a low-level orchestration framework for building stateful agents. The…
Local / self-hosted · Framework / SDK
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- Write-conflict and recovery semantics of checkpoints across machines / multi-process concurrency
- Performance and write-volume cost of superstep-level persistence
- The concrete storage backend of long-term memory (the official docs give only the store abstraction, no named backend)
- The re-entry boundary after interrupts modify state
- Free quota and commercial terms of the LangSmith companion (quotes not recorded per our price-recording policy), and whether LangGraph is fully usable without it
- Capability parity between the Python and JS/TS versions
LangGraph is a low-level orchestration framework for building stateful agents.
The official description is deliberately modest — note that word, low-level:
Low-level orchestration framework for building stateful agents.
It does not claim to be a batteries-included high-level wrapper. It lays the groundwork for long-running, stateful work.
When to use it, when not to
Fits: agent flows that run long and must resume precisely from an interruption; a human stepping into the middle of a flow to change state; managing working memory and cross-session memory separately; an explicit graph structure (branches, loops, subgraphs); teams on Python. Not a fit: needing built-in sandboxing or file-level permission boundaries (official docs do not provide such a mechanism — checked the README and the interrupts page); wanting a filesystem and sub-agents out of the box (go with Deep Agents, the higher-level package built on LangGraph); not wanting an extra dependency on the LangChain ecosystem — model access usually goes through it.
China availability domestic / direct access / CAC filing · snapshot 2026-10-23
- Origin
- foreign-made foreign entity (no matching filing entity in the CAC registry).
- Direct access
- direct OK docs.langchain.com measured 200 direct; PyPI install route measured reachable.
- CAC filing
- not in filing list:not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
LangGraph does not touch models at all — a design stance of a low-level framework.
The five capabilities in the official self-description are durable execution / HITL / memory / LangSmith debugging / production deployment. All five are model-agnostic; nowhere is a provider listed. The official overview files "models" under LangChain:
Official wording: "starting with models and tools"
The official overview also states:
Official wording: "LangGraph does not abstract prompts or architecture."
Models usually connect via the LangChain integration layer (
init_chat_modelor any SDK). But the official docs explicitly say itOfficial wording: "can be used without LangChain"
This line is at the end of the official homepage — not a hard binding.
The official docs provide no provider list — models are simply outside its remit. Neither the overview nor the official homepage lists one.
⚠ Our judgment: it is not model-bound, and the official homepage has no provider list.
- Where it runs
The OSS form is a pure library — no runtime service.
Installation is just
pip install -U langgraph. No CLI to start a service, no container orchestration, no Web UI (the Web UI lives on the Deep Agents / LangSmith side).Production deployment points to LangSmith Deployment in the official docs. The official overview links "Production-ready deployment" to LangSmith Deployment. That page defines it as:
Official wording: "a workflow orchestration runtime purpose-built for agent workloads"
It comes with
langgraph deploy. Environments come in four tiers: Cloud / Hybrid / self-hosted K8s / Standalone Agent Server. Cloud requires the Plus tier or above.In other words, hosted execution sits at the commercial-platform layer; OSS itself only covers "you run the process yourself".
- Local files
⚠ The file system is outside LangGraph's remit.
The only place the official homepage mentions file systems is recommending Deep Agents as the higher-level package:
Official wording: "leverage file systems for complex tasks"
In other words, file capability is filed under the higher-level wrapper, not the low-level graph engine.
What LangGraph itself provides is a state container — checkpoints store graph state. Whether the agent reads/writes disks, and with which tools, is not its business.
Our judgment (inference): if you want a file system, wire your own tools. Or go up to the Deep Agents layer.
- Tasks after shutdown
This is its strongest dimension, with explicit official wording.
The first feature, Durable execution, reads verbatim:
Build agents that persist through failures and can run for extended periods, automatically resuming from exactly where they left off.
The companion is the standalone subpackage
langgraph-checkpoint. Checklibs/checkpoint— the first paragraph of that subpackage's page:Checkpointers provide a persistence layer for LangGraph: they save graph state at every superstep, enabling human-in-the-loop, memory between interactions, durable execution, and more.
The persistence granularity is the superstep (one graph step) —
not "at session end", not "after each turn"
The official docs give three persistence backends (persistence page):
InMemorySaver— stored in RAM; the wording says it "does not persist between restarts"
SqliteSaver— local file, for developmentPostgresSaver— production; the wording is "In production, use a checkpointer backed by a database"
There are also
langgraph-checkpoint-*implementations for MongoDB / Redis / Oracle.Cross-process recovery relies on the database + the same
thread_id. The official durable-execution page says you can Official wording: "resume workflows from the last successful checkpoint"langgraph>=1.2also adds SIGTERM graceful shutdown (drain, then persist a resumable checkpoint).Unknown: conflict semantics of multiple processes writing the same thread concurrently — the official docs do not state it. ⚠ Neither the persistence nor the checkpointers pages cover this.
- Tools & extensions
The LangGraph core contains no tool system, but the official ecosystem has a unified MCP access package.
None of the five official capabilities is a tool system. Tools connect via the LangChain ecosystem, or your own functions — LangGraph handles the graph and state; tools come from LangChain or your functions.
MCP: the official docs provide
langchain-mcp-adapters(the langchain-ai org). The official homepage says of itOfficial wording: "makes MCP tools compatible with LangChain and LangGraph"
and Official wording: "Convert MCP tools into LangChain tools that can be used with LangGraph agents"
Multiple MCP servers can be connected. This is the LangChain ecosystem's unified MCP access layer.
Note it is a standalone package (
pip install langchain-mcp-adapters), not part of the langgraph core.- Context & memory
LangGraph splits "state" and "memory" into two mechanisms, both with official wording.
The third feature, Comprehensive memory, reads verbatim:
Create truly stateful agents with both short-term working memory for ongoing reasoning and long-term persistent memory across sessions.
Short-term memory: the official add-memory page gives three trimming techniques — Trim messages / Delete messages / Summarize messages. These three are how short context is managed: trim, delete, summarize. The page positions them as:
Official wording: "techniques to manually remove or forget stale information"
Long-term memory: a store holding JSON documents. The official docs say it supports semantic search and content filtering:
Official wording: "supports both semantic search and filtering by content"
It can recall across threads.
Unknown: "large tool outputs spilled to disk" — the official docs do not say LangGraph provides it. ⚠ Neither the memory nor add-memory pages do — that is the higher-level Deep Agents' context-management capability.
- Permissions & limits
What the official docs give is human-in-the-loop. It is at the "inspect and modify state" level, not just confirmation.
The second feature, Human-in-the-loop, reads verbatim:
Seamlessly incorporate human oversight by inspecting and modifying agent state at any point during execution.
The docs are at
langgraph/interrupts.Compared with other listed objects, this point differs substantively. The three intervention levels escalate; listed inline because this parser does not support lists inside nested blocks:
- OpenAI Agents SDK guardrails validate content (are inputs/outputs compliant)
- Google ADK Tool Confirmation intercepts execution (should this tool run)
- LangGraph interrupts modify state (inspect and modify graph state at any execution point)
⚠ But say clearly: what it explicitly does not give is a sandbox or permission boundary. The official docs mention no file-system permission model, network access control, or tool-level allowlist. Contrast with OpenHands on our site, which has an explicit Docker sandbox + API-key mechanism. Also contrast with the Codex SDK (three SandboxMode enum values in source). On this dimension, no official mechanism can currently be found for LangGraph.
- Best for
Four scenarios it fits.
- Agent flows that run long and must resume precisely from the interruption point
- Human intervention mid-flow that modifies state
- Managing "working memory" and "cross-session long-term memory" separately
- You need an explicit graph structure (branches, loops, subgraphs); your team uses Python
Three scenarios it does not fit.
- You need a built-in sandbox or file-level permission boundary — the official docs provide no such mechanism (README and interrupts page checked)
- You want batteries-included file system and subagents — go to Deep Agents, the higher-level package on LangGraph
- You don't want an extra dependency on the LangChain ecosystem — model access usually goes through it
Licence and terms of use
MIT
Top misconception
- Treating Deep Agents and LangGraph as two competitors — Deep Agents is a higher-level package built on LangGraph (the README says so)
- Using releases/latest to judge the version — latest on a monorepo is unreliable: on this entry latest returned
cli==0.4.32.dev0(a sub-package dev build); the main package version has to be picked out of the release list (1.2.12 at the time of this check) - Reading checkpoint persistence as "context management" — a checkpoint stores graph state; context compression and memory are a separate layer the README calls memory
- Assuming it ships a filesystem or a tool system — it handles neither; wire up your own, or go through Deep Agents
- Assuming interrupts are a permission guardrail — they "check and modify state"; they do not draw file or network boundaries
- Assuming that installing LangGraph is enough — the official front page points you at LangSmith for debugging and deployment, and that is a commercial product
Evidence sources
Checked 2026-10-23,Content updated 2026-10-01。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| repo | langchain-ai/langgraph · repository (43,731★, MIT, rolling verification 2026-10-23) | https://github.com/langchain-ai/langgraph |
| docs | Main README (positioning, Durable execution / HITL / memory capabilities, Deep Agents relationship, Pregel lineage) | https://github.com/langchain-ai/langgraph/blob/main/README.md |
| docs | libs/checkpoint/README.md (the "save graph state at every superstep" wording) | https://github.com/langchain-ai/langgraph/blob/main/libs/checkpoint/README.md |
| docs | Official docs · Durable execution | https://docs.langchain.com/oss/python/langgraph/durable-execution |
| docs | Official docs · Interrupts (HITL) | https://docs.langchain.com/oss/python/langgraph/interrupts |
| docs | Official docs · Memory (short-term working memory vs cross-session long-term memory) | https://docs.langchain.com/oss/python/langgraph/memory |
| docs | Official docs homepage | https://docs.langchain.com/oss/python/langgraph/overview |
| docs | Deep Agents docs (the "higher-level package built on LangGraph" the README points to) | https://docs.langchain.com/oss/python/deepagents/overview |
| repo | langchain-ai/langgraphjs · standalone JS/TS repository | https://github.com/langchain-ai/langgraphjs |
| changelog | Releases (main package 1.2.12 @ 2026-09-21; latest is the subpackage cli==0.4.32.dev0) | https://github.com/langchain-ai/langgraph/releases |
| docs | Official docs · Persistence (checkpointer vs store, persistence backends, failure recovery, verified 2026-10-08) | https://docs.langchain.com/oss/python/langgraph/persistence |
| docs | Official docs · Checkpointers (per-superstep snapshots, durability modes, backend library list) | https://docs.langchain.com/oss/python/langgraph/checkpointers |
| docs | Official docs · Add memory (short-term Trim/Delete/Summarize, long-term store semantic search) | https://docs.langchain.com/oss/python/langgraph/add-memory |
| docs | LangSmith Deployment (official production hosted runtime, langgraph deploy) | https://docs.langchain.com/langsmith/deployment |
| repo | langchain-ai/langchain-mcp-adapters · official MCP adapter layer | https://github.com/langchain-ai/langchain-mcp-adapters |
Test notes
This site has not completed measured runs. The test protocol is at protocols/framework/_protocol.md.
Suggested runs (tailored to orchestration framework + persistence dimensions):
| # | What to test | Why it is worth testing |
|---|---|---|
| 1 | Kill the process mid long-flow; does recovery truly resume from the interruption point | "exactly where they left off" is an explicit official promise — must verify |
| 2 | Write overhead of superstep-granularity persistence on long tasks | the official docs say every superstep is saved; with many steps the I/O cost is unknown |
| 3 | Conflict behavior of the Postgres checkpointer under multi-process concurrency | our biggest worry, unverified |
| 4 | Graph re-entry behavior after interrupts modify state mid-run | the official docs say you can modify agent state; the boundary is unverified |
| 5 | Actual cost of short-term memory trimming (Trim / Delete / Summarize) in long sessions | the official docs give the techniques; the cost is unverified |
| 6 | Code-volume difference: minimal LangGraph example vs Deep Agents for the same need | quantifies just how "low-level" the self-assessment really is |
Its answer on "state" is the most serious
Our core claim is "state ≠ context". LangGraph is the only listed object that spells this distinction out on its official homepage.
Durable execution: persistence granularity is the superstep
The first feature is called Durable execution:
Build agents that persist through failures and can run for extended periods, automatically resuming from exactly where they left off.
"exactly where they left off" is the key. Not restarting from scratch — continuing from the interrupted step.
The persistence mechanism lives in the standalone subpackage langgraph-checkpoint. Check libs/checkpoint — the first paragraph of that subpackage's page:
Checkpointers provide a persistence layer for LangGraph: they save graph state at every superstep, enabling human-in-the-loop, memory between interactions, durable execution, and more.
⚠ This is the clearest official definition of "state persistence" we have seen. The granularity is the superstep (one graph step) — not "at session end", not "after each turn". How we record this granularity: persistence granularity is the superstep (one graph step). It is not "at session end". Nor is it "after each turn".
⚠ But honestly: conflict semantics of cross-machine / multi-process concurrent writes to the same thread are not stated by the official docs. The persistence document only gives database backends and durability modes (verified 2026-10-08).
State and memory: it splits them into two mechanisms
The third feature is called Comprehensive memory:
Create truly stateful agents with both short-term working memory for ongoing reasoning and long-term persistent memory across sessions.
The distinction between two time scales is precisely an isomorphic expression of our claim:
- checkpoint → stores flow state (state plane)
- memory → a separate layer, split into working memory and cross-session long-term memory (memory plane)
⚠ The point we most want to stress: do not read checkpoint persistence as "context management". Checkpoints store graph state. How long context gets trimmed is the memory layer's business. The two are strictly recorded apart on this page — which is how the v3 rule "state ≠ context" lands.
⚠ Three items we have not verified:
- exactly how short-term memory trims context (is it compression/summarization?)
- the storage backend and retrieval method of long-term memory
- whether "large tool outputs spilled to disk", which we care about, falls within its capability
A different level of HITL: it can modify state, not just intercept
The second feature Human-in-the-loop reads verbatim:
"Seamlessly incorporate human oversight by inspecting and modifying agent state at any point during execution."
Putting the three human-intervention mechanisms we have listed side by side, the levels escalate:
| Object | Mechanism | Intervention point |
|---|---|---|
| OpenAI Agents SDK | guardrails | validates content (are inputs/outputs compliant) |
| Google ADK | Tool Confirmation | intercepts execution (should this tool run) |
| LangGraph | interrupts | modifies state (inspect and modify graph state at any execution point) |
⚠ But be clear about what it explicitly does not give. The official docs mention no file-system permission model, network access control, or tool-level allowlist.
Compare OpenHands on our site (an explicit Docker sandbox + API-key mechanism) and the Codex SDK (three SandboxMode enum values in source) — on the permission-boundary dimension, no official mechanism can currently be found for LangGraph.
Selection must-read: it and Deep Agents are layers, not two options
This is a relationship we must untangle for readers, or they will double-count.
The official homepage's first screen carries a TIP pointing to Deep Agents:
If you're looking to quickly build agents, check out Deep Agents — a higher-level package built on LangGraph for agents that can plan, use subagents, and leverage file systems for complex tasks.
In other words: Deep Agents is a higher-level package built on LangGraph.
| LangGraph (this entry) | Deep Agents (also listed by us) | |
|---|---|---|
| Positioning | low-level orchestration framework | batteries-included harness |
| Abstraction | explicit graphs, supersteps | agent + preset tools |
| File system | not its business (README files it to the upper layer) | core selling point |
| Subagents | express them yourself with the graph | preset |
| Memory | checkpoint + memory, two mechanisms | persistent memory + summarize |
| Fits | long flows, precise recovery, human state modification | wanting speed, wanting full features |
One-line rule: want to draw the flow yourself, want precise recovery → LangGraph. Want less wiring, want ready-made capability → Deep Agents (it runs on LangGraph).
Tools and file system: explicitly not its business
- File system: the only related sentence on the official homepage recommends Deep Agents as the upper-layer package ("leverage file systems for complex tasks") — file capability belongs to the upper layer, not the graph engine. What LangGraph gives is a state container (checkpoints store graph state).
- Tool system: none of the five capabilities is a tool system. Tools connect via the LangChain ecosystem.
⚠ We do not associate LangGraph with the 9 servers on our MCP site. There is no evidence LangGraph ships an MCP client.
Lineage and ecosystem: whom it drew on
The Acknowledgements at the end of the official homepage are informative:
LangGraph is inspired by Pregel and Apache Beam. The public interface draws inspiration from NetworkX. LangGraph is built by LangChain Inc, the creators of LangChain, but can be used without LangChain.
"can be used without LangChain". This line is our key evidence that it is not hard-bound. Model access usually goes through LangChain, but you can skip it.
(Pregel is Google's graph-computing paper — the source of the large-scale graph computation approach behind Beam.)
Version numbers: a pitfall we hit — beware
⚠ Our test: releases/latest is unreliable for this monorepo.
gh api repos/langchain-ai/langgraph/releases/latest returns cli==0.4.32.dev0 (a subpackage dev build), not the main package version.
The correct approach is to list recent releases and pick the main package yourself. Result of this verification (2026-10-01):
| tag | release date | note |
|---|---|---|
cli==0.4.32.dev0 | 2026-09-23 | subpackage dev build, not the main package |
cli==0.4.32 | 2026-09-23 | subpackage |
1.2.12 | 2026-09-21 | ← main package, used by this entry |
sdk==0.4.5 | 2026-09-21 | subpackage |
In this monorepo, subpackage tags are named <subpackage>==<version>; the unprefixed one is the main package.
Verification notes
Basis for confidence: partial (downgraded from verified on 2026-10-03):
Why downgraded: the "unknown items" list still contains evidence gaps whose subject is our site (e.g. "conflict semantics of multi-process concurrent writes to the same thread", "interrupts re-entry boundary", "commercial terms of the LangSmith companion") — no longer the "official docs don't provide it" kind. Per the v3 rule "say unknown when unknown", marking verified would be inflated — downgraded to partial. 2026-10-08 re-verification: short-term memory trimming (Trim / Delete / Summarize), long-term memory (store semantic search + content filtering), langchain-mcp-adapters, and "usable without LangChain" — these four have moved out of the gap list.
- ✅ Verified: repository existence and star count (43,731 · rolling verification 2026-10-23), license (MIT, via license API),
last push (2026-10-22, still active), full official homepage (positioning, three core capabilities, the Deep Agents layer relationship, Pregel/Beam/NetworkX lineage, can be used without LangChain), the "save graph state at every superstep" wording inlibs/checkpoint/README.md, the 9-subpackage list underlibs/(checkpoint,checkpoint-sqlite,checkpoint-postgres,prebuilt,cli,sdk-py,sdk-js,checkpoint-conformance, etc.), 6 releases entries (including the tested record that latest is unreliable)
- ⚠ Not verified and the official docs do not provide it (not our gap): tool system, file system,
model provider list — we record these honestly as "outside its remit" rather than "couldn't find it"
- ⚠ Not verified and our gap (the direct basis for partial):
the performance cost of superstep persistence, the interrupts re-entry boundary, conflict semantics of multi-process concurrent writes to the same thread (not stated officially), the concrete storage backend of long-term memory, commercial terms of the LangSmith companion, capability parity between the Python and JS/TS versions
Related entries
- Deep AgentsSame company, a layer relationship, not competitors: the README states plainly that Deep Agents is a higher-level package built on LangGraph (with planning, subagents, file systems). Ready-made vs foundation — this is the comparison table our readers most need to see.
- Google ADK(Agent Development Kit)A contrast within the orchestration family: both are graph-execution orchestration frameworks; ADK gives Workflow Runtime + state management, LangGraph gives checkpoints persisted every superstep.
- CrewAIAlso an orchestration framework, different center of abstraction (roles/tasks vs graph nodes).
- OpenAI Agents SDKOpposite form: that one is single-agent primitives + built-in guardrails; this entry is a low-level graph engine + state persistence, and provides no tool system.
- Filesystem MCP ServerOther layer · MCP tools
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| AG2 | Local / self-hosted | Open licence | 8 questions checked Active | The community continuation of AutoGen after the original repo stalled. T |
| AgentScope | Local / self-hosted | Open licence | 8 questions checked Active | AgentScope is the flagship domestic multi-agent framework (Apache-2.0, A |
| Agno (formerly Phidata) | Local / self-hosted | Open licence | 8 questions checked Active | Agno (formerly Phidata) ships framework + control plane as one: define a |
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.