Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

LangChain.js

Build applications with LLMs using composable abstractions for chains, agents and memory.

Agent, MCP and tool librariesNPM

GitHubWebsiteIts AgentGid profile

1. License

License from npm.

github.com/langchain-ai/langchainjs

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What LangChain.js does

Build applications with LLMs using composable abstractions for chains, agents and memory.

LangChain.js popularity

75 / 100
Gid Score, #209 overall
8.7M
downloads a week, npm
18.4K
GitHub stars
37
agent projects use it
LangChain.js: downloads per weeknpm, @langchain/core 8,717,048
LangChain.js: GitHub starslangchain-ai/langchainjs 18,361

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How LangChain.js is used

  • LangChain.js is a dependency in 37 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.8% of the 4,867 JavaScript/TypeScript ones), #7 of 192 in agent, mcp and tool libraries.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 780; those are left out of every share on this page.
  • The most used alternative in our scan is OpenAI Agents SDK (JavaScript) (8 projects).
  • Projects that use it most often also use Zod (75.7%), dotenv (51.4%), Next.js (54.1%).

By coding agent

23 projects, 0.9%
20 projects, 0.6%
14 projects, 0.5%

Often used with

In 75.7% of its projects
In 51.4% of its projects
In 54.1% of its projects
In 37.8% of its projects
In 37.8% of its projects
In 48.6% of its projects
In 51.4% of its projects
In 51.4% of its projects

More about LangChain.js

More in Agent, MCP and tool libraries

Alternatives

LangChain.js This page

MITGid 758.7M/wk

OpenAI Agents SDK (JavaScript)

Lightweight framework for building multi-agent AI workflows.

MITGid 592.4M/wk

Compare LangChain.js with another tool

Get started

Install it.

npm install @langchain/core

No step-by-step start for LangChain.js yet: we have not written its hand-checked card.