- Changes since langchain==1.4.2
- release(langchain): 1.4.3 (#40888) fix(langchain): sanitize cache settings for fallback models (#40886) feat(langchain): support Bedrock Mantle chat models in initchatmodel (#40837)…
LangChain by LangChain
Overview
A framework for building LLM applications and agents from composable parts: model integrations, tools, retrievers and prebuilt agent abstractions. Available for Python and JavaScript.
LangChain was downloaded 44.3M times from npm and PyPI in the week ending Oct 4, 2026, up 1.9% on the week before and down 22.0% over the last 30 days compared with the 30 before. The GitHub repository has 147K stars, 1,991 of them added in the last 30 days. The latest stable release is 1.4.3, published Sep 28, 2026; there were 3 stable releases in the past 30 days. It was mentioned in 73 Hacker News posts and comments over the last 30 days.
LangChain usage and attention over time
Download the raw daily series: langchain.csv
Install LangChain
| npm | npm install langchain |
|---|---|
| PyPI | pip install langchain |
These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.
Key facts
| Maker | LangChain |
|---|---|
| Type | LLM application framework |
| License | MIT |
| Interfaces | Python library, JavaScript library |
| Main language | Python |
| Open issues and PRs | 627 |
Pricing
LangChain is open source and free to use; you pay only for the models and infrastructure it runs on.
, checked Oct 5, 2026. Prices change often; confirm before you buy.
Pulse Score breakdown
Each component is scored 0 to 100 from public signals; a dash means no data for it. Methodology.
What changed: recent LangChain releases
14 stable releases in the last 90 days · Full changelog
- Changes since langchain==1.4.1
- release(langchain): 1.4.2 (#40621) fix(langchain): preserve model-generated tool calls in HITL tool call edits and add notice to ToolMessage
- Changes since langchain==1.4.0
- release(langchain): 1.4.1 (#40498) fix(langchain): preserve open MCP object arguments (#40414) fix(langchain): correct InterruptOnConfig documentation
- Changes since langchain==1.3.18
- docs(langchain): runnable langchain.mcp examples (#39976) feat(langchain): langchain.mcp namespace, MCPAdapter (#39939) perf(anthropic,langchain): omit middleware trace inputs (#40098)…
- Initial release
- release(langchain): 1.4.0a4 test(langchain): cover mixed-era ClientGroup and group elicitation Update libs/langchainv1/langchain/mcp/adapter.py fix(langchain): drive MCP elicitation via member…
- MCPAdapter adapts any target fastmcp.Client accepts — a URL, a local script, an in-process server, an MCPConfig naming several servers, or a pre-built client — as well as a FastMCP ClientGroup for…
- MCPAdapter.listtools(, cachemode="use") discovers and adapts tools, with optional client-side response caching (SEP-2549): use serves a cached list within the server's TTL hint, refresh…
- aslangchaintool(tool, client, , elicitation=None) converts a single MCP tool for callers managing their own client.
- Tool metadata is grouped under an mcp namespace on each tool: the tool's annotations (snakecase) and meta under metadata["mcp"]["tool"], and the serving server's identity under…
- elicitation="interrupt" surfaces a server's mid-call questions as LangGraph interrupts, so a human answers and the run resumes.
LangChain alternatives
| # | Agent | Pulse | Downloads 7d | 7d | 30d | VS Code installs | Stars | Latest release | Price | Last 90 days | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 10 |
LangGraphLangChain |
69 | 16.1M | up 11.4% | down 21.8% | — | 42.7K+48/day | 1.2.13yesterday | Free (OSS) | ||
| 11 |
AI SDKVercel |
67 | 34.5M | up 13.5% | up 20.9% | — | 27.1K+18/day | 6.0.301yesterday | Free (OSS) | ||
| 13 | 63 | 8.7M | up 0.6% | up 2.0% | — | 8,679+23/day | 1.58.0yesterday | Free (OSS) | |||
| 17 |
Claude Agent SDKAnthropic |
59 | 21.5M | up 14.6% | up 0.6% | — | 8,219+5/day | 0.2.1636d ago | Free (OSS) | ||
| 21 |
MastraMastra |
58 | 2.2M | up 11.1% | up 19.1% | — | 28.6K+27/day | 1.74.0yesterday | Free (OSS) | ||
| 23 |
Deep AgentsLangChain |
57 | 2M | up 13.5% | up 5.0% | — | 30K+19/day | 0.7.22yesterday | Free (OSS) | ||
| No agents match that filter. | |||||||||||
Head to head: LangChain vs LangGraph · LangChain vs AI SDK · LangChain vs Strands Agents · LangChain vs Claude Agent SDK
Guides that cover LangChain
Best AI Agents in 2026: Live Rankings by Category
The leading AI agents for coding, automation, research, browsing, app building, customer support, voice and sales, ranked by public usage data that refreshes daily, with prices and free options.
How to Build an AI Agent: No-Code Builders, Frameworks and SDKs
A practical guide to building your first AI agent: choosing between no-code builders, open-source frameworks and model vendors' SDKs, the core agent loop, tools, guardrails and testing, with live usage data for each option.
AI Agent Statistics 2026: Live Usage, Growth and Activity Data
Current statistics on AI agents from public data: package downloads, editor installs, GitHub stars, pull requests opened by coding agents, release pace and benchmark results. Updated daily.
LangChain FAQ
How much does LangChain cost?
LangChain is open source and free to use; you pay only for the models and infrastructure it runs on.
Is LangChain open source?
Yes. LangChain is open source, released under the MIT license.
How popular is LangChain?
LangChain was downloaded 44.3M times from npm and PyPI in the week ending Oct 4, 2026, up 1.9% on the week before and down 22.0% over the last 30 days compared with the 30 before. The GitHub repository has 147K stars, 1,991 of them added in the last 30 days. The latest stable release is 1.4.3, published Sep 28, 2026; there were 3 stable releases in the past 30 days.
What is the latest version of LangChain?
The latest stable release we track is 1.4.3, published on Sep 28, 2026.
What are the alternatives to LangChain?
The closest alternatives in the same category by Pulse Score are LangGraph, AI SDK, Strands Agents, Claude Agent SDK.
Where these numbers come from
npm: langchain. PyPI: langchain. GitHub: langchain-ai/langchain. Wikipedia: LangChain. See data sources for how each one is collected.
