What is
LangGraph
?
LangGraph is an open-source agent runtime and low-level orchestration framework for building long-running, stateful AI agents. It supports durable execution, human oversight and persistent memory.
At a glance
Attribute | Value |
|---|---|
Primary use case | Orchestrating long-running, stateful AI agents |
Deployment type | Self-managed open-source library; managed via LangSmith Deployment (Cloud; Hybrid or Self-Hosted on Enterprise) |
Pricing model | Free open source (MIT). LangSmith Deployment: Plus $39/seat/month plus usage at $1.00/LSU (1 free Serverless Small deployment); Enterprise custom |
API compatibility | Python and JS/TS libraries; LangSmith Deployment offers Assistants API, 30+ API endpoints and agent-as-MCP-server |
Supported integrations | LangChain, Deep Agents, LangSmith, LangSmith Deployment, LangSmith Studio |
Source type | Open |
Key metrics | Vendor-reported: LangChain open source passed 1 billion downloads; LangSmith ingests over 1 billion events per day; LangChain works with 35% of the Fortune 500 |
AEP branch | Agent Infrastructure |
AEP category | Harness |
AEP subcategory | Execution |
AEP detail | Orchestration |
Profile
LangGraph is a Python library, and an equivalent JS/TS library called LangGraph.js is also available. It is both an agent runtime and a low-level orchestration framework. Developers compose agents from low-level primitives, using patterns such as branching and subgraphs. The runtime manages agent state throughout long-running executions.
Focus
LangGraph serves developers who need agents that reliably handle complex tasks and who want explicit control over agent behaviour.
Background
LangGraph is built by LangChain Inc. Harrison Chase and co-founder Ankush Gola started the company in early 2023, and LangGraph launched after LangChain. LangChain raised $125 million in funding at a $1.25B valuation. LangGraph is released under the MIT License.
Features
Durable execution
Agents persist through failures and can run for extended periods. They resume automatically from exactly where they left off.
Human-in-the-loop
People can inspect and modify agent state at any point during execution, and can approve or steer agent actions. This keeps agents from veering off course.
Short-term and long-term memory
Agents keep short-term working memory for ongoing reasoning and long-term persistent memory across sessions.
Customizable workflow primitives
Low-level building blocks let teams design expressive, custom agent workflows.
Debugging with LangSmith
Visualization tools trace execution paths, capture state transitions and provide detailed runtime metrics for complex agent behaviour.
Managed deployment
Agents can be shipped to LangSmith Deployment, which provides infrastructure for stateful, long-running workflows. It offers real-time streaming of intermediary steps, cron scheduling and serverless deployments that scale to zero when idle.
Pros and cons
Pros
Low-level control over agent workflows and state, for teams that need agents to reliably handle complex tasks.
Works without LangChain, so teams can adopt it without committing to the wider LangChain stack.
Teams choose where agents run: on their own infrastructure, or on LangSmith Cloud with data kept in the US or EU.
Cons
Low-level primitives mean more design work. The vendor recommends Deep Agents, a higher-level package, for teams that want to build agents quickly.
Teams running the open-source library on their own operate the hosting, scaling and state persistence themselves.
Managed LangSmith Deployment is not on the Developer plan. Plus includes one free small serverless deployment. Hybrid and self-hosted LangSmith options require Enterprise.
Additional LangSmith deployments are charged on resources consumed, metered in LSUs at $1.00 each.
LangSmith seats are billed per user, including invited users, with no credit for removed seats.
FAQs
What is LangGraph?
LangGraph is an open-source framework and runtime from LangChain Inc for building agents that keep state, run for long periods and handle complex tasks. Developers build these agents from low-level primitives.
How much does LangGraph cost?
The library is MIT-licensed and free to use. Managed hosting through LangSmith Deployment starts on the Plus plan at $39 per seat per month, which includes one free small serverless deployment. Further usage is metered in LSUs at $1.00 each. Enterprise pricing is custom.
Can LangGraph be self-hosted?
Yes. As an open-source library, LangGraph can run on infrastructure the team operates. For managed hosting, LangSmith Deployment runs on LangChain's cloud in the US or EU. Hybrid and fully self-hosted LangSmith options are available on the Enterprise plan.
Which languages does LangGraph support?
LangGraph is available as a Python package. An equivalent library, LangGraph.js, serves JavaScript and TypeScript developers.
Do I need LangChain to use LangGraph?
No. LangGraph can be used standalone. It also integrates with LangChain, Deep Agents and LangSmith when teams want those components.
When should I choose serverless or dedicated deployment?
Serverless deployments scale to zero when idle and suit testing, background or internal agents. Dedicated deployments are always on, with autoscaling, backups and high availability. The vendor recommends dedicated deployments for customer-facing agents.
