# LangGraph.js: 7.5 out of 10

A strong pick. 5th of 9 in [AI SDKs and agent frameworks](https://elestia.ai/opensource/ai-sdks/index.md).

LangGraph.js is LangChain's TypeScript framework for building stateful agents as graphs, with checkpoints, human approval steps and streaming. It is a strong, well-funded choice for long-running agents with many steps. For simple model calls or chat UIs, the AI SDK or Mastra is easier, and the JS version gets features a few weeks after Python.

**Best for:** TypeScript teams building durable agents with many steps, checkpoints and human approval, especially teams that already use LangChain or LangSmith.

## Scores

- **Overall: 7.5** (likely 6.5 to 8.5)
  - Claude Opus 5.5 (7.0): It is a strong pick for TypeScript teams that need durable, controlled agent workflows, and it is well maintained and growing. For most new projects, the AI SDK or Mastra is simpler and more TypeScript-native, and the JS version trails Python. The ranking comes from comparisons and the project's own changelog, which keeps the range moderate.
  - GPT-6.2 Sol (8.0): LangGraph.js is a strong new-project choice when saved state, human approvals, and custom routing are central requirements. The Vercel AI SDK is easier to start with for model calls and short tool loops, while Mastra bundles more of the surrounding agent tooling. Active maintenance supports the recommendation, and open reports in advanced workflows plus limited independent testing of the latest patch keep the range wide.
- **Needed by many: 4.9** (likely 3.8 to 6.0)
  - Claude Opus 5.5 (5.0): Many JS developers now call language models, but fewer need graph-based agent orchestration with saved state. LangGraph.js serves that narrower part of the category. It runs on several runtimes, so it is not tied to one framework.
  - GPT-6.2 Sol (4.7): LangGraph.js serves teams that need to coordinate stateful, multi-step agents across model providers. Basic model calls and short tool loops rarely need a graph. Developer surveys give a sense of demand for agent orchestration, with little detail on how many JavaScript projects need persistent workflows.
- **Helps a lot: 7.6** (likely 6.5 to 8.6)
  - Claude Opus 5.5 (7.0): It is one of the strongest tools for controlled, stateful agents: checkpointers, interrupts, subgraphs, node timeouts and streaming are all there and typed. Its limits are the learning curve, the lag behind Python, and beta features such as DeltaChannel. For most agent apps, Mastra or the AI SDK give a faster start.
  - GPT-6.2 Sol (8.2): Stable 1.7.5 offers typed state, streaming, interrupt and resume, and checkpoint replay, with documented TypeScript examples for developers and coding agents. An independent test resumed an approval after a process restart using SQLite. The current patch reduces state-validation overhead in the maintainers’ benchmark. Open reports about nested graphs and limited independent testing of 1.7.5 leave uncertainty around more complex workflows.
- **Holds up over time: 8.1** (likely 7.0 to 9.1)
  - Claude Opus 5.5 (8.0): Activity is very high: 892 commits and 67 core releases in the last year, 162 contributors, and a funded company behind it. LangChain 1.x builds its agents on LangGraph, which ties the two together. Weekly releases that change behaviour without a compile error, and data migrations, hold the score back.
  - GPT-6.2 Sol (8.2): The core npm package published 67 versions in a year, and LangChain funds development and uses the runtime in its own agent framework. LangGraph has a published long-term support policy, and GitHub shows several contributors involved in release runs. The v1 upgrade changed the streaming API, and some community fixes for retries and subgraphs are still awaiting review.
- **Used widely: 5.7** (likely 4.5 to 7.0)
  - Claude Opus 5.5 (6.0): Downloads grew from 2.8M to 20M per 4 weeks, a ratio of about 7.2 against a median of 4.1. Much of that comes from LangChain.js 1.x, which installs LangGraph for its agents, so direct choices are fewer than downloads suggest. It has 3.4k stars, far below Mastra and the AI SDK, and ecosyste.ms has no dependents count for it.
  - GPT-6.2 Sol (5.4): Four-week downloads rose from 2.8 million to 20 million, about 7.2 times the prior year and above the 4.1 times catalog median. The Vercel AI SDK and Mastra grew faster. LangChain.js and n8n install LangGraph.js as a dependency, so the increase includes indirect use. About 3,400 repository stars, zero tracked Bluesky links, and a missing dependents count leave the number of projects choosing it directly uncertain.
- **Vouched for: 7.3** (likely 5.6 to 8.3)
  - Claude Opus 5.5 (7.0): LangGraph is widely used in production at companies such as Klarna, Uber, LinkedIn and J.P. Morgan, and Thoughtworks Radar covers it. Most of those cases are Python, and many are reported by LangChain itself. Independent proof for the JS version is thinner, which widens the range.
  - GPT-6.2 Sol (7.5): n8n includes the JavaScript package, and an independent developer reported more than 1,000 merge-request reviews from a self-hosted LangGraph.js agent. A separate TypeScript comparison verified that a paused approval could resume after a restart. Stack Overflow reports use and interest under the LangGraph name, leaving JavaScript-specific satisfaction uncertain.
- **Safe: 7.3** (likely 6.1 to 8.4)
  - Claude Opus 5.5 (7.0): It has no known advisories, only 4 direct dependencies, and an MIT licence. There is no OpenSSF Scorecard, and the very high release rate leaves little time to review each release. It relies on @langchain/core, which has had its own serialization advisory.
  - GPT-6.2 Sol (7.5): The MIT-licensed core has four direct dependencies, and its GitHub Actions publishing workflow enables npm provenance. GitHub records two high-severity advisories for the core package where the bundle records zero. Both fixes shipped before public disclosure, and both are in 1.7.5. Separate storage adapters have their own patch history, and the available evidence leaves the OpenSSF Scorecard and full publisher access list unverified.

## Good

- Gives low-level control over agent flow, with explicit state, checkpointing, interrupts and resumable runs.
- Paid LangChain staff maintain it, with frequent releases and a stable 1.x API since October 2025.
- Runs on Node, Deno, Cloudflare Workers, edge runtimes and the browser, and has only 4 direct dependencies.
- Connects closely to LangSmith tracing and evals and to the LangChain model integrations.

## Bad

- The graph model has a steep learning curve and needs more code than the AI SDK or Mastra for simple agents.
- Python gets features first, and JS often follows a few weeks later.
- Minor releases have quietly changed streaming and interrupt behaviour, and the Postgres saver needs migration steps.
- The production Agent Server and platform features are tied to LangChain's commercial offering.

## The numbers

- Downloads, 4 weeks: 20M
- In a year: ×7.2
- GitHub stars: 3.4k
- Commits, 12 months: 892
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/langchain-ai/langgraphjs
- npm: https://www.npmjs.com/package/@langchain/langgraph

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
