LangGraph JS

A low-level orchestration framework for building stateful agents with durable execution and human-in-the-loop.

Stars
★ 3.4k
FARS reviewed
Nov 08, 2026 +32 new
License
MIT
Primary language
TypeScript

At a glance

How it runs
Library / SDKFramework
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.jsnpmShell / CLINetwork access
Typical use
Customer service bots that need to handle long conversations and recover from interruptions.
Not a fit if
  • Beginners wanting a ready-made agent without graph concepts
  • Teams avoiding LangChain ecosystem lock-in and migration costs
Website
docs.langchain.com ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release @langchain/[email protected] (2026-12-01)+1.7 ★/day over 7 days

What does this agent do, and when should you use it?

LangGraph JS is a low-level orchestration framework by LangChain for building controllable, stateful agents. It models agent workflows as graphs, enabling durable execution that resumes after failures, human-in-the-loop via interrupts, and both short-term and long-term memory. The library is available as the npm package @langchain/langgraph and works alongside @langchain/core, though it can be used standalone. It is used by companies like Replit, Uber, LinkedIn, and GitLab. LangGraph offers debugging through LangSmith, production-ready deployment, and integrates with other LangChain products such as Deep Agents, LangChain, and LangSmith. The API reference covers core classes, methods, and prebuilt components.

LangGraph JS lets developers define an agent's stateful flow as a graph, with nodes representing steps and edges representing transitions. It provides durable execution: agents persist through failures and automatically resume from where they left off, supporting long-running tasks. Interrupts allow human oversight by inspecting or modifying state mid-execution. It supports short-term working memory and long-term persistent memory across sessions. With LangSmith, you get deep visibility into execution paths, state transitions, and runtime metrics. For deployment, it offers scalable infrastructure for stateful, long-running workflows. Install via npm: @langchain/langgraph and @langchain/core.

  1. Customer service bots that need to handle long conversations and recover from interruptions.
  2. Automated workflows requiring human approval, such as order processing or content moderation.
  3. Personalized assistants that remember user preferences across sessions.
  4. Complex multi-step agents using planning and subagents, like Deep Agents.
  5. Production LLM applications that need observability and debugging, paired with LangSmith.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npm install @langchain/langgraph @langchain/core

How do you install or deploy this agent?

Install the npm packages @langchain/langgraph and @langchain/core:

npm install @langchain/langgraph @langchain/core

How do you use this agent?

Refer to the official documentation: https://docs.langchain.com/oss/javascript/langgraph/overview. The docs cover graph building, checkpointing, and interrupts. Use LangSmith for debugging and deployment guidance.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Durable execution: automatically resumes after failures, ideal for long-running tasks.
  • Native human-in-the-loop support via interrupts, allowing state inspection and modification.
  • Comprehensive memory: both short-term and long-term persistence.
  • Proven in production by companies like Uber, LinkedIn, and GitLab.
  • Integrates with LangChain and LangSmith for debugging and deployment.
Limitations
  • Documentation is primarily in English, with limited Chinese resources.
  • Requires familiarity with graph concepts and the LangChain ecosystem.
  • Debugging and deployment may depend on LangSmith, which could incur costs.
  • Tight integration with LangChain may lead to migration costs if you're not already using it.

How does this agent compare with similar options?

This is the JavaScript/TypeScript equivalent of the Python LangGraph library, with comparable functionality.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
LangGraph JS This agent 58 · Major gaps Library / SDKFree + model costs ★ 3.4k today TypeScript —
Smithers Codebase Maintainer 53 · Major gaps Hosted serviceFreemium ★ 454 2d ago TypeScript —
LangGraph 50 · Major gaps Library / SDKFree + model costs ★ 46k today Python —
Deuz SDK 76 · Good Library / SDKFree + model costs ★ 504 8d ago TypeScript OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
58/ 100 5-point scale 2.9 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 32 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 9/14
Adaptability 10/18
Convention 12/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The code shows checkpoints being written to PostgreSQL, Redis, SQLite, and MongoDB backends, with configurable Redis TTL, making the data paths reasonably visible (2). Examples require explicit setup, but the evidence shows no general confirmation for consequential operations or rollback mechanism. Checkpoints may contain sensitive state, and the packet does not describe encryption, retention, or access controls, limiting least privilege, confirmation, sensitive-data handling, external-effects, and rollback scores. Dependency overrides and guarded Dependabot update rules are present, but the packet does not show a security audit of the cited dependencies. README and LICENSE attribute the project to LangChain; publisher verification remains unknown.

Reliability9 / 14 · 3.2/5

The sample covers multiple checkpoint backends, migrations, and ordering logic. CI configures builds, static checks, and tests across Node versions, supporting ordinary reliability and dependency availability (2). Some database errors are distinguished and errors propagate, but the sample does not establish a consistent recovery or failure-message policy, so failure messages receive 2 rather than full marks. No tests were executed for this static review.

Adaptability10 / 18 · 2.8/5

The README presents LangGraph as a low-level framework for stateful graph orchestration and describes durable execution, human oversight, and memory. AGENTS.md also defines it as a runtime and points higher-level agent development to Deep Agents. The README does not clearly specify trigger conditions or unsuitable cases, so trigger precision receives 1. Node version requirements and multiple storage backends support environment fit.

Convention12 / 18 · 3.3/5

The README has a clear install command, resource links, and examples; package and class names are consistent, and the LICENSE states MIT terms, earning 3 for licensing. package.json supplies build, test, and release scripts, and CI describes checks. The packet contains no changelog or comprehensive limitations list, so those criteria are not full marks. AGENTS.md states contribution direction and maintenance boundaries, and the README attributes the project to LangChain Inc., providing some maintenance responsibility evidence while publisher identity remains unverified.

Effectiveness9 / 13 · 3.5/5

The framework provides graph orchestration, checkpoint persistence, streaming, and interrupt/resume. The README and backend examples show reusable value, but this is a developer library rather than a ready-to-use agent and requires implementation and infrastructure. The evidence supports useful capabilities, but does not quantify performance, cost, or comparative benefit, so all three criteria receive 2.

Verifiability5 / 8 · 3.1/5

Some README capability claims are corroborated by the supplied storage implementations, examples, and CI configuration. Test files show that unit and integration tests exist, but do not establish that they were run or passed. Evidence and inference are mostly distinguishable, though the packet is limited and does not fully verify security or production-readiness claims; each criterion receives 2.

Risks and how to mitigate them
  • Checkpoints may contain user conversations or other sensitive state; the supplied files do not describe encryption, retention periods, or access-control policy.
  • RedisSaver has no configured TTL by default; deployments that need automatic cleanup should configure and verify their storage policy.
  • The CI file describes configured test workflows, but this static review did not run tests and cannot establish results for this revision.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 2d4f48ddaeea New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/langgraphjs.svg)](https://followagents.com/en/agents/langgraphjs)
<a href="https://followagents.com/en/agents/langgraphjs"><img src="https://followagents.com/badge/langgraphjs.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. @langchain/[email protected] Pre-release
    Release notes excerpt
    Patch Changes - [d37ed97](https://github.com/langchain-ai/langgraphjs/commit/d37ed97e95136f4e042bdd4f7bad002368b59b83) Thanks [@eliornl](https://github.com/eliornl)! - useStream's subagent views show a Python deep agent subagent's tool results while the run streams, instead of leaving its tool calls running. - Updated dependencies [[d37ed97](https://github.com/langchain-ai/langgraphjs/commit/d37ed97e95136f4e042bdd4f7bad002368b59b83)]: - @langchain/[email protected]
    View on GitHub ↗

FAQ

Is LangGraph JS model-agnostic?
Yes, it can be used standalone or with LangChain, which supports multiple model providers.
Does it support persistent storage?
It supports durable execution and checkpointing, allowing state to be saved and resumed after failures.
How does human-in-the-loop work?
It uses interrupts to pause execution and allow humans to inspect or modify the agent's state.
What are the deployment requirements?
You need Node.js and npm. For production, consider using LangSmith or self-hosted infrastructure.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts