Every app that calls a model starts with one line in a package file: openai, @anthropic-ai/sdk, ai, langchain-core. Which line it is says something about who developers build on, and the registries publish how often each package is fetched. The usual reading of those counts is a scoreboard: Anthropic is winning, OpenAI is winning, LangChain is dead, LangChain is everywhere. Most of those readings come from a single chart on a stats site, for one registry, without asking what else pulls the package in.
We pulled daily download counts from npm and PyPI for about 50 AI packages in each registry, from January 2023 to the end of October 2026, and compared the same window, 1–29 October, in every year. Then we removed what we could of the noise: downloads that are really dependencies of other packages, CI runs, mirrors, and a change PyPI made to its own counting on 24 August 2026 that cut a third of all its download counts overnight. Downloads are not users, installs or apps. They are still the best public trace of what code is being built, as long as you read them with their plumbing.
Key findings
- 1Anthropic's SDK passed OpenAI's on npm.
@anthropic-ai/sdkwas downloaded 176.5M times in 1–29 October 2026, against 159.7M foropenai, and has led on a rolling seven-day basis every day since 24 September. A year earlier it got 0.35 downloads for every OpenAI one. - 2Who "leads" depends on who pulls whom. Strip out the downloads pulled in by other packages that require each SDK (the Claude Agent SDK and LangChain's Anthropic package on one side, the OpenAI Agents SDK and LangChain's OpenAI package on the other) and OpenAI still leads on npm: at least 137.3M against 124.2M.
- 3Python is still OpenAI's. On PyPI,
openaihad 336.7M downloads in 1–29 October 2026 andanthropic181.4M, 0.54 to one. That ratio rose every month of 2026 on a like-for-like basis, from 0.30 in January. 59% of Anthropic's PyPI downloads come from CI, against 41% of OpenAI's. - 4JavaScript's default framework is the Vercel AI SDK.
aihad 115.4M npm downloads in October, 4.9× LangChain.js. Inside it, the OpenAI and Anthropic adapters are level, at 20.6% and 19.9% of provider-adapter downloads. In July 2024 OpenAI's adapter was 65.3%. - 5LangChain is growing and losing share at once. Its share of framework downloads fell from 59% to 12% on npm and from 87% to 49% on PyPI between June 2024 and October 2026 (the PyPI start is on its old counting basis; like-for-like in 2026 it fell from 62% to 49%).
langchain-corestill grew to 150.1M downloads a month, at least 2.2× a year earlier. - 6The vendors' own agent SDKs are the new framework layer. The Claude Agent SDK went from under a million npm downloads in October 2025 to 46.4M (×53), plus 33.3M on PyPI. The OpenAI Agents SDK had 7.5M on npm and 15.3M on PyPI.
- 7JavaScript is catching up with Python. npm's share of provider-SDK downloads rose from 16% to 39% in a year (from about 24% if last year's PyPI figure is corrected for its old counting). Anthropic's SDK is now downloaded about as often from npm as from PyPI.
- 8Download counts are fragile. When PyPI stopped counting metadata requests on 24 August 2026, all of PyPI's daily downloads fell 33%. Before that, 89.5% of LiteLLM's July "downloads" were metadata reads, not installs.
176.5M vs 159.7M
npm downloads of Anthropic's vs OpenAI's SDK, 1–29 Oct 2026. Minus dependency pulls, OpenAI still leads (≥137.3M vs ≥124.2M)
Source: host0 analysis of npm data
336.7M vs 181.4M
PyPI downloads of OpenAI's vs Anthropic's SDK, 1–29 Oct 2026
Source: host0 analysis of PyPI data
4.9×
Vercel AI SDK (ai, 115.4M) vs LangChain.js npm downloads, Oct 2026
Source: host0 analysis of npm data
59% → 12%
LangChain's share of npm framework downloads, Jun 2024 to Oct 2026 (PyPI, like-for-like 2026: 62% → 49%)
Source: host0 analysis of npm and PyPI data
Anthropic passed OpenAI on npm#
For most of the last three years the two SDKs were not close on npm. In January 2024 openai was downloaded 6.2M times and @anthropic-ai/sdk 1.3M. Both grew, but Anthropic's growth turned steep in spring 2026: from 24.1M in February to 85.4M in May. Its first seven-day lead came on 31 May 2026. From 24 September it has led every day.
OpenAI vs Anthropic SDK downloads on npm
Monthly npm downloads of openai and @anthropic-ai/sdk, January 2024 to September 2026
| Series | x | y |
|---|---|---|
| openai | Jan 2024 | 6.2M |
| openai | Feb 2024 | 6.4M |
| openai | Mar 2024 | 7M |
| openai | Apr 2024 | 7.3M |
| openai | May 2024 | 7.9M |
| openai | Jun 2024 | 8.1M |
| openai | Jul 2024 | 8.9M |
| openai | Aug 2024 | 9.6M |
| openai | Sep 2024 | 9.5M |
| openai | Oct 2024 | 10.2M |
| openai | Nov 2024 | 9.8M |
| openai | Dec 2024 | 9.4M |
| openai | Jan 2025 | 11.2M |
| openai | Feb 2025 | 12.8M |
| openai | Mar 2025 | 14.9M |
| openai | Apr 2025 | 16.3M |
| openai | May 2025 | 17.8M |
| openai | Jun 2025 | 20.4M |
| openai | Jul 2025 | 23.3M |
| openai | Aug 2025 | 26.5M |
| openai | Sep 2025 | 28.6M |
| openai | Oct 2025 | 32.8M |
| openai | Nov 2025 | 31.7M |
| openai | Dec 2025 | 34M |
| openai | Jan 2026 | 42.2M |
| openai | Feb 2026 | 50.1M |
| openai | Mar 2026 | 71.4M |
| openai | Apr 2026 | 78.8M |
| openai | May 2026 | 95.2M |
| openai | Jun 2026 | 112M |
| openai | Jul 2026 | 129.8M |
| openai | Aug 2026 | 148.1M |
| openai | Sep 2026 | 162.8M |
| @anthropic-ai/sdk | Jan 2024 | 1.3M |
| @anthropic-ai/sdk | Feb 2024 | 1.3M |
| @anthropic-ai/sdk | Mar 2024 | 1.7M |
| @anthropic-ai/sdk | Apr 2024 | 2.3M |
| @anthropic-ai/sdk | May 2024 | 2.5M |
| @anthropic-ai/sdk | Jun 2024 | 2.3M |
| @anthropic-ai/sdk | Jul 2024 | 2.2M |
| @anthropic-ai/sdk | Aug 2024 | 2.3M |
| @anthropic-ai/sdk | Sep 2024 | 2.4M |
| @anthropic-ai/sdk | Oct 2024 | 2.6M |
| @anthropic-ai/sdk | Nov 2024 | 2.5M |
| @anthropic-ai/sdk | Dec 2024 | 2.6M |
| @anthropic-ai/sdk | Jan 2025 | 3.2M |
| @anthropic-ai/sdk | Feb 2025 | 3.9M |
| @anthropic-ai/sdk | Mar 2025 | 4.7M |
| @anthropic-ai/sdk | Apr 2025 | 5.2M |
| @anthropic-ai/sdk | May 2025 | 5.9M |
| @anthropic-ai/sdk | Jun 2025 | 7.5M |
| @anthropic-ai/sdk | Jul 2025 | 8.4M |
| @anthropic-ai/sdk | Aug 2025 | 9.4M |
| @anthropic-ai/sdk | Sep 2025 | 9.8M |
| @anthropic-ai/sdk | Oct 2025 | 11.6M |
| @anthropic-ai/sdk | Nov 2025 | 11.9M |
| @anthropic-ai/sdk | Dec 2025 | 13.3M |
| @anthropic-ai/sdk | Jan 2026 | 17.2M |
| @anthropic-ai/sdk | Feb 2026 | 24.1M |
| @anthropic-ai/sdk | Mar 2026 | 40.7M |
| @anthropic-ai/sdk | Apr 2026 | 63.8M |
| @anthropic-ai/sdk | May 2026 | 85.4M |
| @anthropic-ai/sdk | Jun 2026 | 101.1M |
| @anthropic-ai/sdk | Jul 2026 | 117.1M |
| @anthropic-ai/sdk | Aug 2026 | 142.8M |
| @anthropic-ai/sdk | Sep 2026 | 165.4M |
Source: host0 analysis of the npm downloads API
Anthropic's SDK went from 0.26 downloads per OpenAI download in October 2024 to 0.35 in October 2025, 0.81 in April 2026 and 1.10 in October 2026. Google's two JavaScript SDKs together are at 0.65 of OpenAI's.
Code that depends on each SDK is a different picture. GitHub counts about 425,639 public repositories that depend on npm openai and 81,294 that depend on @anthropic-ai/sdk, 5.2× as many; GitHub itself calls these counts approximate. Downloads track how often code is built and run, and Anthropic's SDK is now built and run more often, but OpenAI's is in more public repositories.
Who pulls whom#
A package is downloaded every time anything installs it, including another package that lists it as a dependency. On npm, the Claude Agent SDK declares @anthropic-ai/sdk as a peer dependency, which npm installs automatically: every Claude Agent SDK install is also an Anthropic SDK download. LangChain's @langchain/anthropic and @langchain/openai do the same for each vendor, and @openai/agents requires openai.
We subtracted the October downloads of those packages from each SDK. If two of them sit in the same install, the SDK is fetched once, so this over-corrects, and what's left is a floor.
npm downloads with and without dependency pulls
Downloads, 1–29 October 2026; 'minus dependents' subtracts the packages named in the caption
| Label | Value |
|---|---|
| @anthropic-ai/sdk, all downloads | 176.5M |
| openai, all downloads | 159.7M |
| openai, minus dependents | ≥137.3M |
| @anthropic-ai/sdk, minus dependents | ≥124.2M |
Source: host0 analysis of npm downloads and registry dependency metadata
What's left for Anthropic is still large: at least 124M downloads a month that neither the Agent SDK nor LangChain explains, and nobody publishes the rest of the attribution. Two things we checked don't inflate it: the Claude Code CLI bundles its dependencies, and the Vercel AI SDK's Anthropic adapter calls the API over HTTP without the SDK. A plausible source is CI: Anthropic's official GitHub Action for Claude Code installs the Agent SDK, and so the Anthropic SDK, but we can't measure how much.
The most downloaded package in the whole set isn't an SDK for any model. The Model Context Protocol's TypeScript SDK, @modelcontextprotocol/sdk, had 245.8M npm downloads in October, more than any provider SDK, and the Python mcp package had 275.0M, more than anthropic. Most of that is dependency traffic too: the Claude Agent SDK, Mistral's JavaScript SDK, the OpenAI Agents SDK for Python, CrewAI and Strands all pull it in. We covered the protocol itself in the state of MCP.
Across both registries, October's totals were 496M downloads for OpenAI's SDKs, 358M for Anthropic's and 265M for Google's (old and new SDKs added together). Downloads also aren't spend: Menlo Ventures, an investor in Anthropic, estimated from a survey of 495 US enterprise buyers that Anthropic took 40% of enterprise LLM spend in 2025 and OpenAI 27%.
Python is still OpenAI's#
On PyPI the gap is wide. In 1–29 October 2026 openai was downloaded 336.7M times, anthropic 181.4M and google-genai 151.8M. Anthropic gets 0.54 downloads for every OpenAI one.
PyPI's numbers need care before 24 August 2026, when PyPI changed what it counts (more below). From January 2026 we can remove the old metadata requests row by row, which gives a like-for-like series for this year. On it, Anthropic gained on OpenAI every month.
Anthropic SDK downloads per OpenAI SDK download on PyPI
anthropic ÷ openai, artifact downloads only (metadata requests removed), 2026; January from the 8th, October 1–30
| Series | x | y |
|---|---|---|
| All downloads | Jan 2026 | 0.3 |
| All downloads | Feb 2026 | 0.33 |
| All downloads | Mar 2026 | 0.37 |
| All downloads | Apr 2026 | 0.42 |
| All downloads | May 2026 | 0.44 |
| All downloads | Jun 2026 | 0.44 |
| All downloads | Jul 2026 | 0.48 |
| All downloads | Aug 2026 | 0.49 |
| All downloads | Sep 2026 | 0.5 |
| All downloads | Oct 2026 | 0.54 |
| Excluding CI | Jan 2026 | 0.27 |
| Excluding CI | Feb 2026 | 0.28 |
| Excluding CI | Mar 2026 | 0.32 |
| Excluding CI | Apr 2026 | 0.35 |
| Excluding CI | May 2026 | 0.36 |
| Excluding CI | Jun 2026 | 0.35 |
| Excluding CI | Jul 2026 | 0.38 |
| Excluding CI | Aug 2026 | 0.35 |
| Excluding CI | Sep 2026 | 0.34 |
| Excluding CI | Oct 2026 | 0.37 |
Source: host0 analysis of the PyPI download logs (ClickHouse public copy)
The CI share is the biggest difference between the two. PyPI's logs record whether the installer reported a CI environment, and 59.2% of Anthropic's October downloads did, against 40.5% of OpenAI's. In February the two were 42.3% and 32.7%. Several agent SDKs (Pydantic AI, the Claude Agent SDK, OpenAI's Agents SDK, LangGraph) are among the most CI-heavy packages we measured; LangChain's core package is one of the least.
Developer machines tell the same story. In September 2026, PyPI downloads from macOS and Windows, which are laptops and desktops rather than servers, were 10.29M for openai and 3.84M for anthropic: 0.37 to one, the same as the non-CI ratio. GitHub's dependents count for Python is wider still: about 525,860 public repositories depend on openai and 66,058 on anthropic, 8.0×.
The framework layer moved to the Vercel AI SDK#
In JavaScript, the package most AI apps import isn't a vendor's. Vercel's AI SDK, published as ai, passed LangChain.js (@langchain/core) on a rolling seven-day basis on 3 May 2025 and has led since. In October 2026 it had 115.4M downloads, 4.9× LangChain.js, ×7.3 a year earlier and ×66 two years earlier.
Vercel AI SDK vs LangChain.js on npm
Monthly npm downloads of ai and @langchain/core, January 2024 to September 2026
| Series | x | y |
|---|---|---|
| ai (Vercel AI SDK) | Jan 2024 | 423.5K |
| ai (Vercel AI SDK) | Feb 2024 | 508.2K |
| ai (Vercel AI SDK) | Mar 2024 | 673.6K |
| ai (Vercel AI SDK) | Apr 2024 | 823.9K |
| ai (Vercel AI SDK) | May 2024 | 1.2M |
| ai (Vercel AI SDK) | Jun 2024 | 1.3M |
| ai (Vercel AI SDK) | Jul 2024 | 1M |
| ai (Vercel AI SDK) | Aug 2024 | 1.5M |
| ai (Vercel AI SDK) | Sep 2024 | 1.7M |
| ai (Vercel AI SDK) | Oct 2024 | 1.9M |
| ai (Vercel AI SDK) | Nov 2024 | 2.1M |
| ai (Vercel AI SDK) | Dec 2024 | 2.9M |
| ai (Vercel AI SDK) | Jan 2025 | 3.9M |
| ai (Vercel AI SDK) | Feb 2025 | 4.8M |
| ai (Vercel AI SDK) | Mar 2025 | 4.6M |
| ai (Vercel AI SDK) | Apr 2025 | 4.5M |
| ai (Vercel AI SDK) | May 2025 | 5.8M |
| ai (Vercel AI SDK) | Jun 2025 | 7.2M |
| ai (Vercel AI SDK) | Jul 2025 | 8.6M |
| ai (Vercel AI SDK) | Aug 2025 | 9.9M |
| ai (Vercel AI SDK) | Sep 2025 | 12.2M |
| ai (Vercel AI SDK) | Oct 2025 | 17.2M |
| ai (Vercel AI SDK) | Nov 2025 | 20M |
| ai (Vercel AI SDK) | Dec 2025 | 20.5M |
| ai (Vercel AI SDK) | Jan 2026 | 26.1M |
| ai (Vercel AI SDK) | Feb 2026 | 31.9M |
| ai (Vercel AI SDK) | Mar 2026 | 44.4M |
| ai (Vercel AI SDK) | Apr 2026 | 49.2M |
| ai (Vercel AI SDK) | May 2026 | 56M |
| ai (Vercel AI SDK) | Jun 2026 | 66.2M |
| ai (Vercel AI SDK) | Jul 2026 | 78.7M |
| ai (Vercel AI SDK) | Aug 2026 | 92.1M |
| ai (Vercel AI SDK) | Sep 2026 | 106.5M |
| @langchain/core | Jan 2024 | 583.1K |
| @langchain/core | Feb 2024 | 689.6K |
| @langchain/core | Mar 2024 | 923.5K |
| @langchain/core | Apr 2024 | 1.2M |
| @langchain/core | May 2024 | 1.6M |
| @langchain/core | Jun 2024 | 2M |
| @langchain/core | Jul 2024 | 1.9M |
| @langchain/core | Aug 2024 | 2.1M |
| @langchain/core | Sep 2024 | 2.2M |
| @langchain/core | Oct 2024 | 2.6M |
| @langchain/core | Nov 2024 | 2.7M |
| @langchain/core | Dec 2024 | 2.4M |
| @langchain/core | Jan 2025 | 2.9M |
| @langchain/core | Feb 2025 | 3.3M |
| @langchain/core | Mar 2025 | 3.8M |
| @langchain/core | Apr 2025 | 4.4M |
| @langchain/core | May 2025 | 5M |
| @langchain/core | Jun 2025 | 5.8M |
| @langchain/core | Jul 2025 | 6.4M |
| @langchain/core | Aug 2025 | 6.7M |
| @langchain/core | Sep 2025 | 7.1M |
| @langchain/core | Oct 2025 | 8M |
| @langchain/core | Nov 2025 | 8.1M |
| @langchain/core | Dec 2025 | 8.7M |
| @langchain/core | Jan 2026 | 10.4M |
| @langchain/core | Feb 2026 | 11.3M |
| @langchain/core | Mar 2026 | 15.6M |
| @langchain/core | Apr 2026 | 16M |
| @langchain/core | May 2026 | 18.6M |
| @langchain/core | Jun 2026 | 20.6M |
| @langchain/core | Jul 2026 | 22.3M |
| @langchain/core | Aug 2026 | 23M |
| @langchain/core | Sep 2026 | 23.2M |
Source: host0 analysis of the npm downloads API
Vercel's own claims line up with the registry. It said the AI SDK had "over 16 million weekly downloads" when version 7 shipped in June 2026; ai alone had 66.2M that month, about 15.5M a week.
The AI SDK talks to models through small adapter packages, one per provider, and those are a cleaner read of which model a JavaScript developer picks than the vendor SDKs, because far fewer packages pull them in. In October 2026 OpenAI's and Anthropic's adapters were level.
Vercel AI SDK provider adapters, by downloads
Share of downloads of the Vercel AI SDK's provider adapter packages (285.0M in all), 1–29 October 2026
| Label | Value |
|---|---|
| OpenAI | 20.6% |
| Anthropic | 19.9% |
| 12.4% | |
| OpenAI-compatible | 11.8% |
| Google Vertex | 5.4% |
| Amazon Bedrock | 5.2% |
| OpenRouter | 4.1% |
| xAI | 3.8% |
| Azure | 3.7% |
| DeepSeek | 3.6% |
| Mistral | 2.7% |
| Groq | 2.6% |
Source: host0 analysis of npm downloads and registry dependency metadata
The long tail is the point of an abstraction layer. "OpenAI-compatible", the adapter for any endpoint that speaks OpenAI's API (local models, gateways, smaller labs), is the fourth-largest at 11.8%.
LangChain is growing and shrinking at once#
"Is LangChain dead?" gets two true answers. In absolute terms it has never been bigger: langchain-core, the package every LangChain integration depends on, had 150.1M PyPI downloads in October 2026, at least 2.2× a year earlier (PyPI's year-on-year growth is understated, see below), and @langchain/core had 23.4M on npm, ×3.2. LangGraph, LangChain's agent framework, had 53.1M on PyPI. As a share of the framework layer, it has fallen steadily.
In Python LangChain is still the biggest framework by almost three times the next one, and that one is LangChain's own LangGraph.
Python AI frameworks and agent SDKs
PyPI downloads, 1–29 October 2026
| Label | Value |
|---|---|
| langchain-core | 150.1M |
| langgraph | 53.1M |
| strands-agents | 36.9M (AWS) |
| claude-agent-sdk | 32.8M |
| pydantic-ai-slim | 30.2M |
| openai-agents | 15.3M |
| google-adk | 9.6M |
| instructor | 9.0M |
| llama-index-core | 6.1M |
| dspy | 5.5M |
| crewai | 2.7M |
Source: host0 analysis of PyPI downloads
The developer surveys agree that LangChain is still the most used and that it has company. In Stack Overflow's 2026 survey, 30.2% of the 4,400 respondents who answered the question had used LangChain for agent orchestration in the past year, ahead of the OpenAI Agents SDK at 23.8%. A year earlier LangChain was at 32.9%, but the 2025 list offered different tools, so only a few names compare across years. We wrote about what's left of Stack Overflow itself in a separate post.
AI agent frameworks developers used in the past year
Share of 4,400 Stack Overflow 2026 respondents who answered the question, selected tools
| Label | Value |
|---|---|
| LangChain | 30.2% |
| OpenAI Agents SDK | 23.8% |
| LangGraph | 18.8% |
| Google ADK | 14.0% |
| Vercel AI SDK | 9.0% |
| Pydantic AI | 8.9% |
| CrewAI | 5.5% |
| AutoGen | 4.5% |
| Mastra | 3.0% |
The vendors' own agent SDKs#
Some of the fastest-growing packages in both registries are the agent SDKs the model makers ship themselves. The Claude Agent SDK, renamed from the Claude Code SDK in September 2025, had 46.4M npm downloads in October 2026, ×53 a year earlier, and 33.3M on PyPI across both names, at least ×34 a year earlier. OpenAI's Agents SDK, launched in March 2025 and pitched as an improvement on OpenAI's experimental Swarm, had 7.5M downloads on npm (×15.5) and 15.3M on PyPI.
JavaScript AI frameworks and agent SDKs
npm downloads, 1–29 October 2026
| Label | Value |
|---|---|
| ai (Vercel AI SDK) | 115.4M |
| @anthropic-ai/claude-agent-sdk | 46.4M |
| @langchain/core | 23.4M |
| @langchain/langgraph | 14.0M |
| @mastra/core | 8.2M |
| @openai/agents | 7.5M |
| genkit | 0.76M (Google) |
| llamaindex | 0.52M (deprecated) |
Source: host0 analysis of the npm downloads API
These SDKs change what lock-in means. A provider SDK is a thin client for one HTTP API; switching from one to another is an afternoon. An agent SDK brings its own loop, tool format and session model, and each one requires its vendor's client: every Claude Agent SDK install fetches the Anthropic SDK, every OpenAI Agents SDK install fetches OpenAI's. The provider-agnostic layer and the vendor-specific one are both growing, and they're growing in different places.
Python and JavaScript are converging#
Python has always been the bigger registry for AI code, and still is: PyPI's provider-SDK downloads were 738.1M in October against npm's 474.4M. But npm's share of those downloads rose from 16% in October 2025 to 39% in October 2026. The 2025 figure is held down by the PyPI metadata counting we explain below; corrected for it, the start was nearer 24%, so the rise is from about a quarter to two-fifths.
npm downloads per PyPI download, by SDK
npm downloads ÷ PyPI downloads, 1–29 October 2026
| Label | Value |
|---|---|
| Mistral SDK | 1.82 |
| Claude Agent SDK | 1.40 |
| Anthropic SDK | 0.97 |
| MCP SDK | 0.89 |
| Google Gen AI SDK | 0.65 (old + new) |
| OpenAI Agents SDK | 0.49 |
| OpenAI SDK | 0.47 |
| LangGraph | 0.26 |
| LangChain core | 0.16 |
| Transformers | 0.15 (contrast) |
Source: host0 analysis of npm and PyPI downloads
That's the shape behind the headline race. Anthropic leads where JavaScript is growing fastest, and OpenAI leads where most of the existing Python code already is.
Churn: six majors and a 0.x that lasted three and a half years#
Picking an SDK also means picking its release schedule. Vercel's ai shipped its first version as 2.0 in June 2023 (the name's earlier versions belonged to a different 2014 package) and reached 7.0 in June 2026: six majors in 36 months, one about every seven months, with the provider adapters moving in lockstep. It published 935 versions in the last year. Anthropic's Python SDK did the opposite: it stayed on 0.x from February 2023 to 1.0.0 on 20 August 2026, then shipped 2.0.0 two months later.
Major versions of the main AI SDKs
First stable release of each major on npm or PyPI
14 Jun 2023
14 Jun 2023
ai 2.0
The Vercel AI SDK's first release under the ai name.6 Nov 2023
6 Nov 2023
openai 1.0 for Python
OpenAI's rewritten Python SDK.29 Feb 2024
29 Feb 2024
ai 3.0
18 Nov 2024
18 Nov 2024
ai 4.0
25 Nov 2024
25 Nov 2024
MCP SDKs 1.0
Python and TypeScript, the day the protocol was open-sourced.11 Mar 2025
11 Mar 2025
OpenAI Agents SDK
First release of openai-agents on PyPI.31 Jul 2025
31 Jul 2025
ai 5.0
29 Sep 2025
29 Sep 2025
Claude Agent SDK
The Claude Code SDK is renamed; new package names on npm and PyPI.30 Sep 2025
30 Sep 2025
openai 2.0 (Python) and 6.0 (npm)
Same day in both registries.30 Nov 2025
30 Nov 2025
Google's old Gemini SDKs reach end of support
google-generativeai and @google/generative-ai, replaced by google-genai and @google/genai.22 Dec 2025
22 Dec 2025
ai 6.0
25 Jun 2026
25 Jun 2026
ai 7.0
12 Aug 2026
12 Aug 2026
openai 3.0 for Python
20 Aug 2026
20 Aug 2026
anthropic 1.0 for Python
After three and a half years on 0.x.21 Oct 2026
21 Oct 2026
anthropic 2.0 and @anthropic-ai/sdk 1.0
Both ship with a new API version, 2026-10-21.
Source: host0 analysis of npm and PyPI registry metadata
Deprecations linger. Google's old JavaScript Gemini SDK reached end of support on 30 November 2025, and its repository has since been archived, yet GitHub still counts about 148,781 public repositories that depend on it, 3.5× as many as on its replacement. Eleven months later, @google/generative-ai was still downloaded 14.6M times in October.
Why download counts lie#
The biggest single event in this dataset isn't a product launch. On 24 August 2026 PyPI changed its logging so that, in its words, "a request has to end in .whl, .tar.gz, or .zip to produce a download record". Before that, requests for a package's metadata file counted as downloads. Modern Python installers fetch metadata for many old versions while they resolve dependencies, so the inflation was uneven: worst for packages with long, tangled dependency trees.
What PyPI's counting change did to each package
Change in mean daily downloads, Tue–Fri 18–21 August vs Tue–Fri 1–4 September 2026
| Label | Value |
|---|---|
| crewai | −94.5% |
| litellm | −88.5% |
| pydantic-ai-slim | −82.8% |
| instructor | −82.8% |
| openai-agents | −74.8% |
| google-genai | −54.1% |
| openai | −39.4% |
| anthropic | −35.1% |
| boto3 | −29.3% (contrast) |
| langchain-core | −16.5% |
| strands-agents | −6.8% |
Sources: host0 analysis of the PyPI download logs; PyPI blog
That has two consequences for anything you read about Python AI packages. Spring and summer 2026 "booms" were mostly metadata: raw LiteLLM went from 97.6M in March to 682.8M in July, while its real artifact downloads went from 29.7M to 99.2M. And any year-on-year PyPI growth compares a clean 2026 with an inflated 2025, so it understates growth: write "at least".
Vendor claims made before the change are on the old basis too. LangChain said in October 2025 that langchain and langgraph had "a combined 90M monthly downloads", which matches PyPI's counts at the time. The MCP maintainers' "close to half-a-billion downloads a month" in July 2026 matches too, but with metadata removed that month is about 350M.
The rest of the plumbing is quieter but always there. CI reruns, Docker rebuilds and agent sandboxes all download packages; a package can be pulled in by something the developer never chose; every new release gets fetched by mirrors and security scanners. PyPI's own post says download counts "should not be used as a proxy for criticality or popularity". They're a measure of how much code is being built, and that's what we've used them for.
What this means if you build with AI#
- Put a provider-agnostic layer between your app and the model when you can. In JavaScript that is now the Vercel AI SDK by a wide margin, and its provider-adapter downloads split almost evenly between OpenAI and Anthropic. Switching models becomes a different adapter and a model id, which matters when the leading model changes every few months. Reach for a vendor SDK directly when you need a feature the layer doesn't expose yet.
- Treat an agent SDK as the real lock-in. The Claude Agent SDK and the OpenAI Agents SDK are among the fastest-growing packages here, and each requires its vendor's client. They save a lot of work. Choose one knowing that its loop, tool format and sessions don't move to the other vendor.
- Budget for churn.
aihad six majors in 36 months and 935 releases in the last year. Anthropic's Python SDK was 0.x for three and a half years, then went to 1.0 and 2.0 within two months. Pin exact versions, keep a lockfile, read the migration guide before a major, and let your agent do the upgrade in its own branch. - Check you're on the current package. Google's old Gemini SDKs ended support a year ago and are still downloaded millions of times a month. LlamaIndex's TypeScript package is deprecated; AutoGen is in maintenance. If an agent wrote your code from older examples, check the package names in the manifest.
- Don't choose by download counts alone. A lead on one registry can be dependency structure, CI or a counting change. Look at both registries, at what pulls what, and at whether the project fits your language and stack. For Python, LangChain is still the most-downloaded framework and a safe default; in JavaScript, it no longer is.
- If you publish a package, count your users another way. Downloads won't tell you who uses it. A survey, an opt-in ping or the GitHub dependents page tell you more, and they don't change when the registry changes its logs.
Whatever SDK your agent picks, the result is usually a page or a small app that someone else needs to open. host0 hosts what your agent makes at a link you can share, with a shared database when the app needs one.
Methodology#
- npm. Daily downloads per package from the npm downloads range API (
api.npmjs.org/downloads/range), January 2023 to 29 October 2026, for 50 packages, summed by month. npm counts every successful tarball fetch, including CI and mirrors. A sample of 12 package-months matched npm's point API exactly. - PyPI. Daily downloads per project from ClickHouse's public copy of the PyPI download logs (the same data as Google BigQuery's
pypi.file_downloads), for 52 projects, with mirror installers removed. 32 of 32 sampled project-months matched pypistats.org within ±1.4%. - The comparison window is 1–29 October in every year, for both registries, because npm's data ended on 29 October. Monthly charts stop at September 2026 unless they're ratios.
- PyPI's counting change. PyPI stopped counting metadata requests on 24 August 2026. The row-level logs record file names from 8 January 2026, so for 2026 we removed metadata requests by measuring their share per project and day ("like-for-like"). Earlier PyPI numbers can't be corrected; year-on-year PyPI growth is stated as "at least".
- CI is the installer-reported CI flag in PyPI's logs. It's a floor on automated traffic. npm has no equivalent.
- Dependency adjustment subtracts the October downloads of packages whose current release requires the SDK (named in each chart). It over-corrects when two of them share an install, so the result is a floor.
- Definitions. Provider SDKs are the vendors' API clients; Google is its old and new SDK added together. Frameworks are agent and app frameworks, measured by their core package (LangChain by
langchain-core/@langchain/core). LiteLLM is a gateway and isn't counted as a framework. - Context. Release dates come from the npm and PyPI registry metadata. GitHub dependents counts are GitHub's "Used by" numbers, which it calls approximate. Survey and vendor figures are cited with their source and re-read on 31 October 2026.
Downloads aren't users, installs or apps. The scripts, raw pulls and the full data pack are in our repository under docs/research/2026-10-31-ai-sdk-downloads.md.
Open questions#
- What else pulls the Anthropic SDK on npm? At least 124M October downloads aren't explained by the Agent SDK or LangChain. Neither npm nor GitHub publishes downloads by dependent.
- How much of the remaining PyPI volume is automated? Agent sandboxes and container builds that don't set a CI variable look like people in the logs.
- What did October 2025 really look like on PyPI? The file-level data starts in January 2026, so last year's metadata share can only be estimated.
- Will there be another break? PyPI says it wants to record partial-file requests separately (the work isn't scheduled yet), which could make a second discontinuity.
