- Changes since langchain==1.5.1
- release(langchain): 1.5.2 feat(langchain): tag synthetic HITL tool messages with source metadata
LangChain
A framework for building LLM applications and agents from composable parts: model integrations, tools, retrievers and prebuilt agent abstractions. Available for Python and JavaScript.
Agent frameworks and SDKs LLM application framework
Use it in: API / SDK Works with: MCP Local models Multi-agent
1. Price
LangChain is open source and free to use; you pay only for the models and infrastructure it runs on. As reported on the official pricing page, checked Nov 5, 2026.
langchain.com4. Development
7 stable releases in the last 30 days, 19 in 90.
github.com/langchain-ai/langchain/releases/tag/langchain%3D%3D1.5.2Checked Nov 5, 2026. Tap a verdict to see its source.How we checkedReport an error
What LangChain does
LangChain is a LLM application framework from LangChain, first released in October 2022. You use it through a Python library and a JavaScript library. Its documentation covers MCP servers, subagents or parallel agents and local models. It can run models from Anthropic, OpenAI, Google, xAI, Mistral and DeepSeek and others. It is used from Python and TypeScript. It is free and open source (MIT); you pay only for the models it calls.
What people use it for
An assistant that calls your functions
Give a model a few of your own functions, such as a weather lookup, and let it decide when to call them.
Switch model companies without a rewrite
Try OpenAI, then Anthropic or Google, by changing one model name, while everything else in your agent stays the same.
Ask a person before risky actions
Pause the agent before it writes a file or runs a database query, and let a person approve, edit or reject it.
Answer questions from your own documents
Build a help bot that looks up your private or recent documents and answers from them.
See every step your agent took
Turn on tracing to view each prompt, tool call and answer of your agent in LangSmith when something goes wrong.
Usage data: latest readings Nov 17 to Nov 19, 2026, last checked Nov 19, 06:26 UTC. Date of each number
LangChain popularity and usage data
LangChain was downloaded 41.1M times from npm and PyPI in the week ending Nov 17, 2026, up 5.7% on the week before and down 2.7% over the last 30 days compared with the 30 before. The GitHub repository has 150K stars, 2,057 of them added in the last 30 days. The latest stable release is 1.5.2, published Nov 18, 2026; there were 7 stable releases in the past 30 days. It was mentioned in 66 Hacker News posts and comments over the last 30 days.
Download the raw daily series: langchain.csv
Gid Score breakdown
Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.
How fresh these numbers are
| Number | Latest reading | Last checked |
|---|---|---|
| Package downloads | Nov 17, 2026 | Nov 19, 06:24 UTC |
| GitHub stars | Nov 19, 2026 | Nov 19, 06:26 UTC |
| Wikipedia views | Nov 18, 2026 | Nov 19, 06:26 UTC |
| Hacker News mentions | Nov 18, 2026 | Nov 19, 06:26 UTC |
We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.
Pricing
LangChain is open source and free to use; you pay only for the models and infrastructure it runs on.
Checked Nov 5, 2026. Prices change often; confirm before you buy.
Quick answers
- Free to start?Yes
- Open source?Yes (MIT)
- Where you use itPython library, JavaScript library
- Supports MCP?Yes
- Model providersanthropic, openai, google, xai, mistral, deepseek, amazon, azure, openrouter, any OpenAI-compatible, local
- Subagents / multi-agent?Yes
- Feature comparisonAll agents
- Closest alternativeLangGraph · all alternatives
What changed: recent LangChain releases
19 stable releases in the last 90 days · Monthly summary · Full changelog
- Changes since langchain==1.5.0
- release(langchain): 1.5.1 fix(core): keep warning suppression context-local fix(langchain): avoid warning-filter races in provider inference fix(langchain): avoid warning-filter races in…
Earlier releases
- langchain 1.5.0 drops support for Python 3.10, which has reached end-of-life. The minimum supported version is now Python 3.11, and the minimum langchain-core version is now 1.8.0.
- Changes since langchain==1.4.10
- release(langchain): 1.5.0 fix(langchain): mark ModelRouterMiddleware as beta feat(langchain): Remove EOL'd Python 3.10 from langchain_v1 feat(langchain): add model router and auto mode middleware…
- Changes since langchain==1.4.9
- release(langchain): 1.4.10 fix(langchain): keep middleware-internal model calls off the messages stream chore(deps): patch newer-python security lock resolutions fix(langchain): omit trace inputs…
- Changes since langchain==1.4.8
- release(langchain): 1.4.9 chore(deps): require langchain-core>=1.7.5 for refusal handling feat(core): standardize model refusal content blocks
- > [!WARNING] > Python 3.10 support will be dropped in langchain-core 1.8.0 and langchain 1.5.0. The current minor versions are the last to support Python 3.10. Please upgrade to Python 3.11 or later.
- Changes since langchain==1.4.7
- chore(langchain): bump langchain-core release(langchain): 1.4.8 chore(deps): bump pyasn1 from 0.6.4 to 0.6.5 in /libs/langchain_v1 chore(deps): bump joserfc from 1.7.4 to 1.7.6 in…
LangChain alternatives
Best LangChain alternatives compared · All agent frameworks and SDKs
| # | Agent | Gid Score | Downloads 7d | 7d | 30d | Stars | Latest release | Price | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 |
LangGraphLangChain |
75 | 20.1M | up 5.5% | up 29.2% | 45.1K+48/day | 1.2.23yesterday | Free (OSS) | |||
| 3 |
AI SDKVercel |
68 | 47.2M | up 3.9% | up 38.4% | 28.1K+30/day | 7.0.1772d ago | Free (OSS) | |||
| 4 |
Claude Agent SDKAnthropic |
64 | 29.3M | up 5.9% | up 37.6% | 8,588+9/day | 0.2.185yesterday | Free (OSS) | |||
| 5 |
MastraMastra |
63 | 3.7M | up 14.9% | up 49.9% | 29.6K+23/day | 1.84.02d ago | Free (OSS) | |||
| 6 |
OpenAI Agents SDKOpenAI |
62 | 7.2M | up 4.8% | up 38.9% | 30.8K+21/day | 0.25.02d ago | Free (OSS) | |||
| 7 |
Deep AgentsLangChain |
59 | 3.1M | up 4.9% | up 51.3% | 31.4K+29/day | 0.2.112d ago | Free (OSS) | |||
Head to head: LangChain vs LangGraph · LangChain vs AI SDK · LangChain vs Claude Agent SDK · LangChain vs Mastra · LangChain vs OpenAI Agents SDK · LangChain vs Strands Agents
Tell LangChain
“Use LangChain's create_agent (langchain 1.5) with my OpenAI key from .env to build an agent that answers questions and can call my get_order_status function; ask me before any tool that changes data.”
Install LangChain (Python 3.10 or newer per the docs; the 1.5.0 package on PyPI asks for 3.11+).
pip install -U langchainInstall the package for your model provider, for example OpenAI or Anthropic.
pip install -U langchain-openai pip install -U langchain-anthropicCreate an agent with create_agent, a model name and your tools (see the first use above).
Mistakes to avoid
Model integrations live in separate provider packages.
The paused state must be saved somewhere to resume.
A respond message counts as a successful tool result.
Assume the model may use any permission it has, including deleting data.
Get started with 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.
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 41.1M times from npm and PyPI in the week ending Nov 17, 2026, up 5.7% on the week before and down 2.7% over the last 30 days compared with the 30 before. The GitHub repository has 150K stars, 2,057 of them added in the last 30 days. The latest stable release is 1.5.2, published Nov 18, 2026; there were 7 stable releases in the past 30 days.
What is the latest version of LangChain?
The latest stable release we track is 1.5.2, published on Nov 18, 2026.
What are the alternatives to LangChain?
The closest alternatives in the same category by Gid Score are LangGraph, AI SDK, Claude Agent SDK, Mastra.
More about LangChain
What's new
What's new in LangChain: November 2026 so far
November brought Python 3.11 as the new minimum requirement and introduced standardized model refusal handling across LangChain. The release focused on middleware improvements and stability refinements.
- Python 3.10 support dropped; minimum version is now Python 3.11.
- Standardized model refusal content blocks for consistent handling across providers.
- New model router and auto mode middleware for intelligent model selection.
- Fixed middleware to prevent internal model calls from appearing in message streams.
6 releases this month · summarised from the official release notes · all months
Articles
AgentGid articles about LangChain
Best AI Agent Frameworks in 2026: LangGraph, CrewAI, OpenAI Agents SDK and More
The AI agent frameworks developers actually use, ranked on live downloads and GitHub data, with a plain guide to which one fits Python, TypeScript, multi-agent or Microsoft-stack work.
Best AI Agents in 2026: Live Rankings by Category
The leading AI agents for coding, design, research, data, marketing, sales, support, HR, finance, legal, DevOps and security, 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.
Add-ons
Add-ons for LangChain: save tokens, add memory and tools
LiteLLM
One gateway for 100+ models with spend tracking, budgets, rate limits and fallbacks.
Langfuse
Traces every model and tool call with its cost and latency, and runs evaluations.
Firecrawl
Turns websites into clean Markdown or structured data the agent can read.
E2B
Runs agent-written code in isolated cloud sandboxes instead of on your machine.
Composio
Connects the agent to 1,000+ apps and APIs with managed sign-in.
Mem0
Adds long-term memory, so the agent remembers users and past work across sessions.
Listed because each tool documents support for LangChain or for agent frameworks in general. Savings and results depend on your workload.
Used with it
Tools used with LangChain
What 2,952 public GitHub projects that depend on LangChain use with it, from their dependency files.
- python-dotenv58.0%
- Pydantic45.3%
- OpenAI Python Library41.6%
- Requests38.4%
- FastAPI37.0%
- Uvicorn36.5%
- NumPy35.5%
- pandas33.8%
- LangGraph32.3%
- PyYAML28.6%
Used far more often here than in AI-built projects overall: what sets LangChain projects apart.
- jsonpatch18.0% · 140.6×
- jsonpointer18.2% · 103.6×
- LangSmith23.2% · 72.7×
- distro18.2% · 32.6×
- orjson19.0% · 32.2×
- attrs19.1% · 28.4×
- tiktoken (Python)25.5% · 27.0×
- LangGraph32.3% · 25.9×
Ratings
Ratings from people who use LangChain
No ratings yet. Used LangChain? Rate it and say what it is good and bad at.
News
LangChain news
-
LangChain 1.5.2 released
Changes since langchain==1.5.1; release(langchain): 1.5.2 feat(langchain): tag synthetic HITL tool messages with source metadata (+1 more release that day)
-
Build composable, interoperable multi-agent systems with A2A on AWS
AWS demonstrates a multi-agent system using the Agent-to-Agent (A2A) protocol, with a LangChain orchestrator on ECS communicating with a Strands agent on Bedrock AgentCore via OAuth-authenticated calls.
-
LangChain 1.5.0 released
langchain 1.5.0 drops support for Python 3.10, which has reached end-of-life. The minimum supported version is now Python 3.11, and the minimum langchain-core version is now 1.8.0.; Changes since langchain==1.4.10; release(langchain): 1.5.0 fix(langchain)…
Price history
LangChain prices over time
Sources
For the makers of LangChain badges, corrections
Add a live badge to your README or site:
[](https://agentgid.com/agents/langchain/)
[](https://agentgid.com/agents/langchain/)
[](https://agentgid.com/agents/langchain/)
Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.
Where these numbers come from
npm: langchain. PyPI: langchain. GitHub: langchain-ai/langchain. Wikipedia: LangChain. See data sources for how each one is collected.