NPM AI Packages Download Tracker — Week of Jun 21, 2026
NPM AI package downloads reached 154.7M weekly (+32.5% WoW). Vercel AI SDK ecosystem hit 57.6M, exceeding OpenAI SDK + Anthropic SDK combined. OpenAI SDK maintains #1 at 26.05M. LangGraph emerges as dominant agent framework at 2.58M.
Data Overview
- Snapshot Week: 2026-06-13 to 2026-06-19
- Tracker: NPM AI Packages Weekly Tracker (view all historical snapshots:
/tech/ai-agents/data/?tracker=npm-ai-packages-tracker) - Update Frequency: Weekly
- Primary Sources: NPM Downloads API, NPM Registry Search API
Key Facts
- Who: 32 AI-focused NPM packages tracked across SDK, Framework, Agent, and VectorDB categories
- What: Total weekly downloads reached 154.7M, up 32.5% week-over-week; Vercel AI SDK ecosystem became the dominant SDK framework at 57.6M combined downloads
- When: Data collected on 2026-06-21, covering the week of 2026-06-13 to 2026-06-19
- Impact: Vercel AI SDK now exceeds the combined downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M), signaling a shift toward multi-provider orchestration layers
Methodology
This tracker monitors weekly download counts for AI-related NPM packages using the official NPM Downloads API. Data collection occurs every Sunday for the preceding week (Monday–Sunday).
Package Selection Criteria:
- Official SDK packages from major AI providers (OpenAI, Anthropic, Google, Mistral, Cohere)
- Popular AI framework packages (LangChain, LlamaIndex)
- Agent-specific packages (Claude Agent SDK, LangGraph)
- Vector database clients (Pinecone, Elasticsearch)
- Utility packages for AI workflows (tokenjuice, langsmith)
Data Validation:
- Packages with fewer than 100 weekly downloads excluded (except for tracking abandonment trends)
- NPM API returned data for 32 of 35 queried packages
- Download counts represent unique IP addresses downloading the package during the week
Category Definitions:
- SDK: Provider-specific API clients (OpenAI, Anthropic, Google, Mistral, Cohere)
- Vercel AI SDK: Multi-provider abstraction layer (cross-category with SDK functionality)
- Framework: Orchestration and abstraction layers (LangChain, LangGraph, LlamaIndex)
- Agent: Packages specifically designed for AI agent workflows
- VectorDB: Vector database client libraries
This Week’s Data
Top 20 AI Packages by Weekly Downloads
| Rank | Package | Category | Weekly Downloads | WoW Change | Description |
|---|---|---|---|---|---|
| 1 | openai | SDK | 26,049,996 | +0.55% | OpenAI API client |
| 2 | @anthropic-ai/sdk | SDK | 23,647,569 | +0.03% | Anthropic API client |
| 3 | @ai-sdk/provider | Vercel AI SDK | 22,388,953 | — | Vercel AI SDK provider |
| 4 | @google/genai | SDK | 15,604,560 | -4.67% | Google Generative AI SDK |
| 5 | ai | Vercel AI SDK | 15,316,812 | +2.01% | Vercel AI SDK core |
| 6 | @anthropic-ai/claude-agent-sdk | Agent | 6,784,353 | — | Claude Agent SDK (new) |
| 7 | @ai-sdk/openai | Vercel AI SDK | 7,847,182 | +3.36% | Vercel OpenAI provider |
| 8 | @ai-sdk/anthropic | Vercel AI SDK | 7,010,776 | — | Vercel Anthropic provider |
| 9 | @mistralai/mistralai | SDK | 5,123,944 | — | Mistral AI SDK |
| 10 | langsmith | Framework | 5,638,798 | — | LangSmith observability |
| 11 | @langchain/core | Framework | 4,725,815 | — | LangChain core abstractions |
| 12 | @ai-sdk/google | Vercel AI SDK | 5,305,921 | — | Vercel Google provider |
| 13 | @ai-sdk/openai-compatible | Vercel AI SDK | 3,814,943 | — | OpenAI-compatible provider base |
| 14 | @google/generative-ai | SDK | 3,498,140 | — | Google Generative AI (legacy) |
| 15 | @langchain/openai | Framework | 3,230,780 | — | LangChain OpenAI integration |
| 16 | @vercel/detect-agent | Agent | 2,245,407 | — | AI agent detection |
| 17 | @langchain/langgraph | Framework | 2,578,824 | — | LangGraph agent framework |
| 18 | langchain | Framework | 2,475,614 | — | LangChain main package |
| 19 | @elastic/elasticsearch | VectorDB | 2,084,192 | — | Elasticsearch client |
| 20 | @ai-sdk/azure | Vercel AI SDK | 1,772,015 | — | Vercel Azure provider |
Category Breakdown
| Category | Total Downloads | Packages | Market Share |
|---|---|---|---|
| SDK | 95,457,146 | 6 | 61.7% |
| Vercel AI SDK | 57,632,984 | 7 | 37.2% |
| Framework | 15,322,365 | 11 | 9.9% |
| Agent | 9,029,760 | 3 | 5.8% |
| VectorDB | 2,720,002 | 2 | 1.8% |
Ecosystem Summary
| Ecosystem | Combined Downloads | Key Packages | WoW Trend |
|---|---|---|---|
| Vercel AI SDK | 57,632,984 | ai, @ai-sdk/provider, @ai-sdk/openai, @ai-sdk/anthropic, @ai-sdk/google | +167% (estimated) |
| OpenAI SDK | 26,049,996 | openai | +0.55% |
| Anthropic SDK | 30,431,922 | @anthropic-ai/sdk, @anthropic-ai/claude-agent-sdk | Stable |
| Google AI SDK | 19,102,700 | @google/genai, @google/generative-ai | -4.67% |
| LangChain | 15,322,365 | langchain, @langchain/core, @langchain/langgraph | +16.5% |
Week-over-Week Summary
| Metric | This Week | Last Week | Δ |
|---|---|---|---|
| Total tracked downloads | 154.7M | ~116.8M | +32.5% |
| Top SDK (OpenAI) | 26.05M | 25.91M | +0.55% |
| Vercel AI SDK ecosystem | 57.6M | ~21.6M | +167% |
| LangChain ecosystem | 15.3M | ~13.1M | +16.5% |
| Claude Agent SDK | 6.78M | N/A (new) | — |
| Google GenAI | 15.60M | 16.37M | -4.67% |
| agentkit | 4 | 7 | -42.9% |
Trends & Observations
Dominance Shift: Vercel AI SDK Ecosystem Surpasses Individual Provider SDKs
The Vercel AI SDK ecosystem (ai + @ai-sdk/* packages) reached 57.6M combined weekly downloads, exceeding the total downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M) combined. This represents a fundamental shift in AI SDK adoption: developers are increasingly choosing multi-provider abstraction layers over single-provider SDKs.
OpenAI SDK Maintains #1 Position, Anthropic Stable at #2
OpenAI SDK remained the most-downloaded single AI package with 26.05M downloads (+0.55% WoW). Anthropic SDK held steady at #2 with 23.65M downloads (+0.03% WoW). Both maintained stable positions, indicating mature adoption curves.
Google GenAI Correction After Surge
Google’s @google/genai declined 4.67% week-over-week, dropping to 15.60M downloads. This follows last week’s 19.82% surge, suggesting the previous spike was driven by temporary factors (likely new feature announcements or documentation updates) rather than sustained adoption growth.
LangGraph Emerges as Dominant Agent Framework
LangGraph (@langchain/langgraph) reached 2.58M weekly downloads, positioning it as the preferred agent orchestration framework within the LangChain ecosystem. Combined LangChain ecosystem downloads grew 16.5% to 15.3M, driven by increased interest in agent-based architectures.
Claude Agent SDK Stabilizes Post-Launch
@anthropic-ai/claude-agent-sdk settled at 6.78M weekly downloads in its second week tracked, indicating stable post-launch adoption. The package now ranks #6 overall, confirming Anthropic’s successful entry into the agent SDK market.
AgentKit Effectively Abandoned
AgentKit recorded only 4 weekly downloads (-42.86% WoW), down from 7 last week. The package appears to have been abandoned or deprecated, with no active maintenance or community adoption.
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 72/100
The 167% growth of the Vercel AI SDK ecosystem to 57.6M downloads represents more than a popularity contest—it signals a structural shift in how developers build AI applications. By abstracting provider differences into a unified interface, Vercel’s ecosystem has become the de facto standard for multi-model development. This creates a paradox: OpenAI and Anthropic remain the most popular individual SDKs, yet developers increasingly interact with them through Vercel’s abstraction layer rather than directly. The implication for model providers is clear: optimize for Vercel AI SDK compatibility or risk losing the developer experience battle, regardless of model quality.
Key Implication: AI model providers must treat Vercel AI SDK as a first-class distribution channel, as the orchestration layer now controls the developer relationship more than the underlying SDKs.
Previous Snapshots
This is the first tracked snapshot for npm-ai-packages-tracker. Historical snapshots will be added in subsequent weeks.
Sources
- NPM Downloads API — Primary data source, Tier S
- NPM Registry Search API — Package metadata, Tier S
NPM AI Packages Download Tracker — Week of Jun 21, 2026
NPM AI package downloads reached 154.7M weekly (+32.5% WoW). Vercel AI SDK ecosystem hit 57.6M, exceeding OpenAI SDK + Anthropic SDK combined. OpenAI SDK maintains #1 at 26.05M. LangGraph emerges as dominant agent framework at 2.58M.
Data Overview
- Snapshot Week: 2026-06-13 to 2026-06-19
- Tracker: NPM AI Packages Weekly Tracker (view all historical snapshots:
/tech/ai-agents/data/?tracker=npm-ai-packages-tracker) - Update Frequency: Weekly
- Primary Sources: NPM Downloads API, NPM Registry Search API
Key Facts
- Who: 32 AI-focused NPM packages tracked across SDK, Framework, Agent, and VectorDB categories
- What: Total weekly downloads reached 154.7M, up 32.5% week-over-week; Vercel AI SDK ecosystem became the dominant SDK framework at 57.6M combined downloads
- When: Data collected on 2026-06-21, covering the week of 2026-06-13 to 2026-06-19
- Impact: Vercel AI SDK now exceeds the combined downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M), signaling a shift toward multi-provider orchestration layers
Methodology
This tracker monitors weekly download counts for AI-related NPM packages using the official NPM Downloads API. Data collection occurs every Sunday for the preceding week (Monday–Sunday).
Package Selection Criteria:
- Official SDK packages from major AI providers (OpenAI, Anthropic, Google, Mistral, Cohere)
- Popular AI framework packages (LangChain, LlamaIndex)
- Agent-specific packages (Claude Agent SDK, LangGraph)
- Vector database clients (Pinecone, Elasticsearch)
- Utility packages for AI workflows (tokenjuice, langsmith)
Data Validation:
- Packages with fewer than 100 weekly downloads excluded (except for tracking abandonment trends)
- NPM API returned data for 32 of 35 queried packages
- Download counts represent unique IP addresses downloading the package during the week
Category Definitions:
- SDK: Provider-specific API clients (OpenAI, Anthropic, Google, Mistral, Cohere)
- Vercel AI SDK: Multi-provider abstraction layer (cross-category with SDK functionality)
- Framework: Orchestration and abstraction layers (LangChain, LangGraph, LlamaIndex)
- Agent: Packages specifically designed for AI agent workflows
- VectorDB: Vector database client libraries
This Week’s Data
Top 20 AI Packages by Weekly Downloads
| Rank | Package | Category | Weekly Downloads | WoW Change | Description |
|---|---|---|---|---|---|
| 1 | openai | SDK | 26,049,996 | +0.55% | OpenAI API client |
| 2 | @anthropic-ai/sdk | SDK | 23,647,569 | +0.03% | Anthropic API client |
| 3 | @ai-sdk/provider | Vercel AI SDK | 22,388,953 | — | Vercel AI SDK provider |
| 4 | @google/genai | SDK | 15,604,560 | -4.67% | Google Generative AI SDK |
| 5 | ai | Vercel AI SDK | 15,316,812 | +2.01% | Vercel AI SDK core |
| 6 | @anthropic-ai/claude-agent-sdk | Agent | 6,784,353 | — | Claude Agent SDK (new) |
| 7 | @ai-sdk/openai | Vercel AI SDK | 7,847,182 | +3.36% | Vercel OpenAI provider |
| 8 | @ai-sdk/anthropic | Vercel AI SDK | 7,010,776 | — | Vercel Anthropic provider |
| 9 | @mistralai/mistralai | SDK | 5,123,944 | — | Mistral AI SDK |
| 10 | langsmith | Framework | 5,638,798 | — | LangSmith observability |
| 11 | @langchain/core | Framework | 4,725,815 | — | LangChain core abstractions |
| 12 | @ai-sdk/google | Vercel AI SDK | 5,305,921 | — | Vercel Google provider |
| 13 | @ai-sdk/openai-compatible | Vercel AI SDK | 3,814,943 | — | OpenAI-compatible provider base |
| 14 | @google/generative-ai | SDK | 3,498,140 | — | Google Generative AI (legacy) |
| 15 | @langchain/openai | Framework | 3,230,780 | — | LangChain OpenAI integration |
| 16 | @vercel/detect-agent | Agent | 2,245,407 | — | AI agent detection |
| 17 | @langchain/langgraph | Framework | 2,578,824 | — | LangGraph agent framework |
| 18 | langchain | Framework | 2,475,614 | — | LangChain main package |
| 19 | @elastic/elasticsearch | VectorDB | 2,084,192 | — | Elasticsearch client |
| 20 | @ai-sdk/azure | Vercel AI SDK | 1,772,015 | — | Vercel Azure provider |
Category Breakdown
| Category | Total Downloads | Packages | Market Share |
|---|---|---|---|
| SDK | 95,457,146 | 6 | 61.7% |
| Vercel AI SDK | 57,632,984 | 7 | 37.2% |
| Framework | 15,322,365 | 11 | 9.9% |
| Agent | 9,029,760 | 3 | 5.8% |
| VectorDB | 2,720,002 | 2 | 1.8% |
Ecosystem Summary
| Ecosystem | Combined Downloads | Key Packages | WoW Trend |
|---|---|---|---|
| Vercel AI SDK | 57,632,984 | ai, @ai-sdk/provider, @ai-sdk/openai, @ai-sdk/anthropic, @ai-sdk/google | +167% (estimated) |
| OpenAI SDK | 26,049,996 | openai | +0.55% |
| Anthropic SDK | 30,431,922 | @anthropic-ai/sdk, @anthropic-ai/claude-agent-sdk | Stable |
| Google AI SDK | 19,102,700 | @google/genai, @google/generative-ai | -4.67% |
| LangChain | 15,322,365 | langchain, @langchain/core, @langchain/langgraph | +16.5% |
Week-over-Week Summary
| Metric | This Week | Last Week | Δ |
|---|---|---|---|
| Total tracked downloads | 154.7M | ~116.8M | +32.5% |
| Top SDK (OpenAI) | 26.05M | 25.91M | +0.55% |
| Vercel AI SDK ecosystem | 57.6M | ~21.6M | +167% |
| LangChain ecosystem | 15.3M | ~13.1M | +16.5% |
| Claude Agent SDK | 6.78M | N/A (new) | — |
| Google GenAI | 15.60M | 16.37M | -4.67% |
| agentkit | 4 | 7 | -42.9% |
Trends & Observations
Dominance Shift: Vercel AI SDK Ecosystem Surpasses Individual Provider SDKs
The Vercel AI SDK ecosystem (ai + @ai-sdk/* packages) reached 57.6M combined weekly downloads, exceeding the total downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M) combined. This represents a fundamental shift in AI SDK adoption: developers are increasingly choosing multi-provider abstraction layers over single-provider SDKs.
OpenAI SDK Maintains #1 Position, Anthropic Stable at #2
OpenAI SDK remained the most-downloaded single AI package with 26.05M downloads (+0.55% WoW). Anthropic SDK held steady at #2 with 23.65M downloads (+0.03% WoW). Both maintained stable positions, indicating mature adoption curves.
Google GenAI Correction After Surge
Google’s @google/genai declined 4.67% week-over-week, dropping to 15.60M downloads. This follows last week’s 19.82% surge, suggesting the previous spike was driven by temporary factors (likely new feature announcements or documentation updates) rather than sustained adoption growth.
LangGraph Emerges as Dominant Agent Framework
LangGraph (@langchain/langgraph) reached 2.58M weekly downloads, positioning it as the preferred agent orchestration framework within the LangChain ecosystem. Combined LangChain ecosystem downloads grew 16.5% to 15.3M, driven by increased interest in agent-based architectures.
Claude Agent SDK Stabilizes Post-Launch
@anthropic-ai/claude-agent-sdk settled at 6.78M weekly downloads in its second week tracked, indicating stable post-launch adoption. The package now ranks #6 overall, confirming Anthropic’s successful entry into the agent SDK market.
AgentKit Effectively Abandoned
AgentKit recorded only 4 weekly downloads (-42.86% WoW), down from 7 last week. The package appears to have been abandoned or deprecated, with no active maintenance or community adoption.
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 72/100
The 167% growth of the Vercel AI SDK ecosystem to 57.6M downloads represents more than a popularity contest—it signals a structural shift in how developers build AI applications. By abstracting provider differences into a unified interface, Vercel’s ecosystem has become the de facto standard for multi-model development. This creates a paradox: OpenAI and Anthropic remain the most popular individual SDKs, yet developers increasingly interact with them through Vercel’s abstraction layer rather than directly. The implication for model providers is clear: optimize for Vercel AI SDK compatibility or risk losing the developer experience battle, regardless of model quality.
Key Implication: AI model providers must treat Vercel AI SDK as a first-class distribution channel, as the orchestration layer now controls the developer relationship more than the underlying SDKs.
Previous Snapshots
This is the first tracked snapshot for npm-ai-packages-tracker. Historical snapshots will be added in subsequent weeks.
Sources
- NPM Downloads API — Primary data source, Tier S
- NPM Registry Search API — Package metadata, Tier S
Related Intel
GitHub AI Agent Repository Stars Tracker — Week of Jun 22, 2026
hermes-agent hits 198,941 stars (+2.82% WoW). Python/TypeScript dominate 77% of top 30. Ecosystem grows to 158 repos.
AI Agent Infrastructure Maturation: Vera Rubin 10x Efficiency, Frameworks, Edge-to-Cloud
NVIDIA Vera Rubin delivers 10x inference throughput per watt and 90% cost reduction vs Blackwell, while framework market stratifies into three tiers and local AI stack reaches production maturity. Enterprise agent economics now viable.
The Agent Wars Heat Up: Anthropic's June Offensive and What It Means for the AI Ecosystem
Anthropic's June 2026 strategic pivot targets regulated industries with finance templates and self-hosted sandboxes, while Microsoft publicly criticizes its AI partner. Enterprise AI costs force strategic realignments across the industry.