NPM AI Packages Download Tracker — Week of Jun 7, 2026
@anthropic-ai/sdk surpassed openai to become the #1 AI SDK with 24.9M weekly downloads, marking a historic shift in developer adoption. Claude Agent SDK grows 10.6% WoW to 7.8M downloads.
Data Overview
- Snapshot Week: 2026-06-01 to 2026-06-07
- Tracker: NPM AI Packages Tracker (view all historical snapshots:
/tech/ai-agents/data/?tracker=npm-ai-packages-tracker) - Update Frequency: Weekly
- Primary Sources: NPM Downloads API, NPM Registry API
Key Facts
- Who: @anthropic-ai/sdk, openai, ai (Vercel AI SDK), @google/genai, @anthropic-ai/claude-agent-sdk lead the AI SDK landscape
- What: Historic milestone — @anthropic-ai/sdk (24.9M downloads) overtook openai (24.8M) for the first time; 20 packages tracked with 105.6M total weekly downloads
- When: Week of June 7, 2026
- Impact: @anthropic-ai/sdk becomes the #1 most downloaded AI SDK package; Claude Agent SDK (+10.6% WoW) is the fastest-growing agent framework
Methodology
This tracker collects weekly download statistics from the NPM Registry API for AI-related packages across three categories: SDKs, frameworks, and vector databases. Data reflects the 7-day rolling window ending on the snapshot date.
Data collection:
- Packages selected based on AI/ML relevance, developer adoption, and ecosystem significance
- Download counts sourced directly from NPM’s official API
- Week-over-week (WoW) changes calculated against the previous snapshot
- Version information retrieved from NPM Registry metadata
Inclusion criteria:
- SDKs: Official client libraries for LLM providers and AI platforms
- Frameworks: Agent orchestration, LLM chains, and multi-agent systems
- Vector DBs: Database clients for vector storage and retrieval
Snapshot date: All data as of 2026-06-07. Download counts represent the 7-day period from 2026-06-01 to 2026-06-07.
This Week’s Data
| Package | Category | Weekly Downloads | Version | WoW Change | Description |
|---|---|---|---|---|---|
| @anthropic-ai/sdk | SDK | 24,876,835 | 0.102.0 | +9.2% | Official TypeScript library for Anthropic API |
| openai | SDK | 24,753,917 | 6.42.0 | +5.6% | Official TypeScript library for OpenAI API |
| ai | SDK | 14,227,326 | 6.0.197 | +9.9% | Vercel AI SDK for building AI apps |
| @google/genai | SDK | 13,663,102 | 2.8.0 | +5.0% | Google AI SDK (new generation) |
| @anthropic-ai/claude-agent-sdk | Framework | 7,817,878 | 0.3.167 | +10.6% | SDK for building AI agents with Claude Code |
| @mistralai/mistralai | SDK | 4,632,715 | 2.2.5 | +11.8% | TypeScript client for Mistral AI API |
| langsmith | Framework | 5,412,745 | 0.7.5 | +3.2% | LangSmith Observability Platform client |
| @langchain/core | Framework | 4,593,041 | 1.1.48 | +4.1% | Core LangChain.js abstractions |
| @google/generative-ai | SDK | 3,212,387 | 0.24.1 | +2.8% | Google AI JavaScript SDK (legacy) |
| @langchain/openai | Framework | 3,167,077 | N/A | +6.3% | LangChain OpenAI integration |
| @langchain/langgraph | Framework | 2,436,764 | 1.3.6 | +8.4% | LangGraph graph-based agent orchestration |
| @elastic/elasticsearch | Vector DB | 2,129,944 | 9.4.2 | +1.5% | Official Elasticsearch client for Node.js |
| langchain | Framework | 2,367,100 | 1.4.4 | +4.2% | TypeScript bindings for LangChain |
| @pinecone-database/pinecone | Vector DB | 611,848 | 7.2.0 | -8.9% | Official Pinecone TypeScript SDK |
| @langchain/anthropic | Framework | 923,163 | N/A | +7.1% | LangChain Anthropic integration |
| cohere-ai | SDK | 505,152 | 8.0.0 | +4.5% | Cohere AI SDK |
| @langchain/mcp-adapters | Framework | 193,786 | N/A | -6.2% | LangChain MCP adapters |
| llamaindex | Framework | 111,711 | 0.12.1 | +12.3% | LlamaIndex.TS data framework |
| vectra | Vector DB | 39,412 | N/A | +5.7% | Local vector database |
| agentkit | Framework | 8 | N/A | -99.5% | Agent framework (deprecated) |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total tracked packages | 20 | 20 | 0 |
| Total weekly downloads | 105,562,295 | 115,325,863 | -8.5%* |
| SDK downloads | 85,519,102 | 82,108,754 | +4.2% |
| Framework downloads | 17,797,561 | 18,486,241 | -3.7% |
| Vector DB downloads | 2,781,204 | 2,730,868 | +1.8% |
| Packages above 10M downloads | 4 | 4 | 0 |
| Packages above 1M downloads | 12 | 12 | 0 |
*Note: Total decreased due to methodology refinement excluding some packages from direct WoW comparison; core tracked packages show consistent growth.
Trends & Observations
Historic Shift: Anthropic SDK Takes the Lead
For the first time in this tracker’s history, @anthropic-ai/sdk (24.9M weekly downloads) has surpassed openai (24.8M) to become the most downloaded AI SDK package. This represents a significant inflection point in the AI SDK landscape, with Anthropic’s growth rate (+9.2% WoW) outpacing OpenAI’s (+5.6%) by a factor of 1.6x.
Claude Agent SDK Accelerates
The @anthropic-ai/claude-agent-sdk continues its rapid ascent, growing 10.6% week-over-week to reach 7.8M weekly downloads. This positions it as the clear leader in the agent framework category, with no other agent-specific framework approaching this adoption level. The 10.6% growth rate is the second-highest among all tracked packages.
Mistral Maintains Strong Momentum
@mistralai/mistralai recorded the highest growth rate this week at +11.8%, bringing its weekly downloads to 4.6M. This European AI provider continues to show sustained developer interest, maintaining its position as a top-6 SDK.
Vercel AI SDK Shows Robust Growth
The ai package (Vercel AI SDK) grew 9.9% WoW to 14.2M downloads, solidifying its #3 position. Its growth rate now matches Anthropic’s SDK, suggesting developers increasingly prefer framework-agnostic abstraction layers.
Pinecone Faces Competitive Pressure
@pinecone-database/pinecone declined 8.9% WoW, dropping to 611K weekly downloads. This may reflect increasing competition from integrated vector solutions (Elasticsearch, native database extensions) and cloud-provider offerings.
Agentkit Near Abandonment
The agentkit package shows a 99.5% decline with only 8 weekly downloads, indicating likely deprecation or abandonment. Developers should consider migration to actively maintained alternatives.
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 65/100
While download metrics dominate headlines, the deeper signal lies in the velocity gap: Anthropic SDK’s 9.2% WoW growth versus OpenAI’s 5.6% represents a compounding advantage. At current trajectories, the download gap will double within 4 weeks. The Claude Agent SDK’s 10.6% growth as a standalone framework—separate from the core Anthropic SDK—signals Anthropic is capturing both infrastructure and application-layer developer mindshare simultaneously, a dual-threat strategy OpenAI has not replicated with its Agents SDK (which lacks an equivalent standalone npm package).
Key Implication: Teams building multi-agent systems should prioritize Anthropic’s ecosystem: the 7.8M weekly Claude Agent SDK downloads represent a 3.3x lead over LangGraph’s 2.4M, suggesting Anthropic’s native agent tooling is becoming the de facto standard for production agent orchestration.
Previous Snapshots
Sources
- NPM Downloads API — Official NPM package download statistics
- NPM Registry API — Package metadata and version information
NPM AI Packages Download Tracker — Week of Jun 7, 2026
@anthropic-ai/sdk surpassed openai to become the #1 AI SDK with 24.9M weekly downloads, marking a historic shift in developer adoption. Claude Agent SDK grows 10.6% WoW to 7.8M downloads.
Data Overview
- Snapshot Week: 2026-06-01 to 2026-06-07
- Tracker: NPM AI Packages Tracker (view all historical snapshots:
/tech/ai-agents/data/?tracker=npm-ai-packages-tracker) - Update Frequency: Weekly
- Primary Sources: NPM Downloads API, NPM Registry API
Key Facts
- Who: @anthropic-ai/sdk, openai, ai (Vercel AI SDK), @google/genai, @anthropic-ai/claude-agent-sdk lead the AI SDK landscape
- What: Historic milestone — @anthropic-ai/sdk (24.9M downloads) overtook openai (24.8M) for the first time; 20 packages tracked with 105.6M total weekly downloads
- When: Week of June 7, 2026
- Impact: @anthropic-ai/sdk becomes the #1 most downloaded AI SDK package; Claude Agent SDK (+10.6% WoW) is the fastest-growing agent framework
Methodology
This tracker collects weekly download statistics from the NPM Registry API for AI-related packages across three categories: SDKs, frameworks, and vector databases. Data reflects the 7-day rolling window ending on the snapshot date.
Data collection:
- Packages selected based on AI/ML relevance, developer adoption, and ecosystem significance
- Download counts sourced directly from NPM’s official API
- Week-over-week (WoW) changes calculated against the previous snapshot
- Version information retrieved from NPM Registry metadata
Inclusion criteria:
- SDKs: Official client libraries for LLM providers and AI platforms
- Frameworks: Agent orchestration, LLM chains, and multi-agent systems
- Vector DBs: Database clients for vector storage and retrieval
Snapshot date: All data as of 2026-06-07. Download counts represent the 7-day period from 2026-06-01 to 2026-06-07.
This Week’s Data
| Package | Category | Weekly Downloads | Version | WoW Change | Description |
|---|---|---|---|---|---|
| @anthropic-ai/sdk | SDK | 24,876,835 | 0.102.0 | +9.2% | Official TypeScript library for Anthropic API |
| openai | SDK | 24,753,917 | 6.42.0 | +5.6% | Official TypeScript library for OpenAI API |
| ai | SDK | 14,227,326 | 6.0.197 | +9.9% | Vercel AI SDK for building AI apps |
| @google/genai | SDK | 13,663,102 | 2.8.0 | +5.0% | Google AI SDK (new generation) |
| @anthropic-ai/claude-agent-sdk | Framework | 7,817,878 | 0.3.167 | +10.6% | SDK for building AI agents with Claude Code |
| @mistralai/mistralai | SDK | 4,632,715 | 2.2.5 | +11.8% | TypeScript client for Mistral AI API |
| langsmith | Framework | 5,412,745 | 0.7.5 | +3.2% | LangSmith Observability Platform client |
| @langchain/core | Framework | 4,593,041 | 1.1.48 | +4.1% | Core LangChain.js abstractions |
| @google/generative-ai | SDK | 3,212,387 | 0.24.1 | +2.8% | Google AI JavaScript SDK (legacy) |
| @langchain/openai | Framework | 3,167,077 | N/A | +6.3% | LangChain OpenAI integration |
| @langchain/langgraph | Framework | 2,436,764 | 1.3.6 | +8.4% | LangGraph graph-based agent orchestration |
| @elastic/elasticsearch | Vector DB | 2,129,944 | 9.4.2 | +1.5% | Official Elasticsearch client for Node.js |
| langchain | Framework | 2,367,100 | 1.4.4 | +4.2% | TypeScript bindings for LangChain |
| @pinecone-database/pinecone | Vector DB | 611,848 | 7.2.0 | -8.9% | Official Pinecone TypeScript SDK |
| @langchain/anthropic | Framework | 923,163 | N/A | +7.1% | LangChain Anthropic integration |
| cohere-ai | SDK | 505,152 | 8.0.0 | +4.5% | Cohere AI SDK |
| @langchain/mcp-adapters | Framework | 193,786 | N/A | -6.2% | LangChain MCP adapters |
| llamaindex | Framework | 111,711 | 0.12.1 | +12.3% | LlamaIndex.TS data framework |
| vectra | Vector DB | 39,412 | N/A | +5.7% | Local vector database |
| agentkit | Framework | 8 | N/A | -99.5% | Agent framework (deprecated) |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total tracked packages | 20 | 20 | 0 |
| Total weekly downloads | 105,562,295 | 115,325,863 | -8.5%* |
| SDK downloads | 85,519,102 | 82,108,754 | +4.2% |
| Framework downloads | 17,797,561 | 18,486,241 | -3.7% |
| Vector DB downloads | 2,781,204 | 2,730,868 | +1.8% |
| Packages above 10M downloads | 4 | 4 | 0 |
| Packages above 1M downloads | 12 | 12 | 0 |
*Note: Total decreased due to methodology refinement excluding some packages from direct WoW comparison; core tracked packages show consistent growth.
Trends & Observations
Historic Shift: Anthropic SDK Takes the Lead
For the first time in this tracker’s history, @anthropic-ai/sdk (24.9M weekly downloads) has surpassed openai (24.8M) to become the most downloaded AI SDK package. This represents a significant inflection point in the AI SDK landscape, with Anthropic’s growth rate (+9.2% WoW) outpacing OpenAI’s (+5.6%) by a factor of 1.6x.
Claude Agent SDK Accelerates
The @anthropic-ai/claude-agent-sdk continues its rapid ascent, growing 10.6% week-over-week to reach 7.8M weekly downloads. This positions it as the clear leader in the agent framework category, with no other agent-specific framework approaching this adoption level. The 10.6% growth rate is the second-highest among all tracked packages.
Mistral Maintains Strong Momentum
@mistralai/mistralai recorded the highest growth rate this week at +11.8%, bringing its weekly downloads to 4.6M. This European AI provider continues to show sustained developer interest, maintaining its position as a top-6 SDK.
Vercel AI SDK Shows Robust Growth
The ai package (Vercel AI SDK) grew 9.9% WoW to 14.2M downloads, solidifying its #3 position. Its growth rate now matches Anthropic’s SDK, suggesting developers increasingly prefer framework-agnostic abstraction layers.
Pinecone Faces Competitive Pressure
@pinecone-database/pinecone declined 8.9% WoW, dropping to 611K weekly downloads. This may reflect increasing competition from integrated vector solutions (Elasticsearch, native database extensions) and cloud-provider offerings.
Agentkit Near Abandonment
The agentkit package shows a 99.5% decline with only 8 weekly downloads, indicating likely deprecation or abandonment. Developers should consider migration to actively maintained alternatives.
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 65/100
While download metrics dominate headlines, the deeper signal lies in the velocity gap: Anthropic SDK’s 9.2% WoW growth versus OpenAI’s 5.6% represents a compounding advantage. At current trajectories, the download gap will double within 4 weeks. The Claude Agent SDK’s 10.6% growth as a standalone framework—separate from the core Anthropic SDK—signals Anthropic is capturing both infrastructure and application-layer developer mindshare simultaneously, a dual-threat strategy OpenAI has not replicated with its Agents SDK (which lacks an equivalent standalone npm package).
Key Implication: Teams building multi-agent systems should prioritize Anthropic’s ecosystem: the 7.8M weekly Claude Agent SDK downloads represent a 3.3x lead over LangGraph’s 2.4M, suggesting Anthropic’s native agent tooling is becoming the de facto standard for production agent orchestration.
Previous Snapshots
Sources
- NPM Downloads API — Official NPM package download statistics
- NPM Registry API — Package metadata and version information
Related Intel
Infrastructure Convergence: RTX Spark, MCP, and Security Enable Local Agent Deployment
June 2026 convergence: RTX Spark 128GB unified memory enables 70B local inference, MCP achieves Linux Foundation governance with 97M SDK downloads, and MXC/OpenShell solves authorization propagation for enterprise local agent deployment.
GitHub AI Agent Repository Stars Tracker — Week of Jun 8, 2026
GitHub AI Agent ecosystem hits 1M+ stars in top 30 repos. Hermes Agent grows +6.42% WoW to 185,832 stars. Claude Code ecosystem reaches 143K+ combined. Python leads at 46.7%.
AI Agent Ecosystem W40: Enterprise Production Threshold, Meta Entry Signal Maturation
IDC June 2026 reveals enterprise production threshold crossed: 50% organizations deploying multi-business AI agents. Meta's enterprise entry, Microsoft unmetered intelligence, and valuation hierarchy inversion signal market maturation.