NPM AI Packages Download Tracker — Week of May 3, 2026
Mistral AI SDK surged 58.9% to 3.7M weekly downloads while Anthropic SDK grew 22.2% to 17.8M, narrowing the gap with OpenAI SDK (20.9M). Weekly tracker of AI/LLM package adoption on NPM.
Data Overview
- Snapshot Week: 2026-04-25 to 2026-05-01
- Tracker: NPM AI Packages Download Tracker (view all 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: 18 AI/LLM packages tracked across SDKs, frameworks, and vector databases
- What: 81.4M total weekly downloads tracked; Mistral AI SDK recorded the largest growth (+58.9%)
- When: Week of May 3, 2026 (data collection period: April 25 - May 1, 2026)
- Impact: 3 high-significance changes identified, including emergence of Mastra framework
Methodology
Data collected via NPM Downloads API and NPM Registry Search API. Weekly download counts represent the total number of installations from npm registry over the 7-day period ending May 1, 2026. Packages are categorized as SDK (official client libraries), Framework (development frameworks), or VectorDB (vector database clients). Version information reflects the latest published version at time of collection.
Inclusion Criteria: Packages are selected based on relevance to AI/LLM development, minimum download threshold (30K weekly), and active maintenance status. New packages meeting criteria are added upon discovery.
This Week’s Data
| Package | Weekly Downloads | Version | Category | Description |
|---|---|---|---|---|
| openai | 20,962,461 | 6.35.0 | SDK | The official TypeScript library for the OpenAI API |
| @anthropic-ai/sdk | 17,842,570 | 0.92.0 | SDK | The official TypeScript library for the Anthropic API |
| ai | 12,078,995 | 6.0.174 | Framework | Vercel AI SDK - Build AI-powered applications with React, Svelte, Vue, and Solid |
| @ai-sdk/openai | 5,942,689 | 3.0.58 | Framework | OpenAI provider for Vercel AI SDK |
| @ai-sdk/anthropic | 5,320,650 | 3.0.74 | Framework | Anthropic provider for Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | 4,927,863 | 0.2.126 | Framework | Anthropic’s official agent SDK for Claude |
| @langchain/core | 3,845,724 | 1.1.44 | Framework | Core LangChain.js abstractions and schemas |
| @mistralai/mistralai | 3,711,802 | 2.2.1 | SDK | TypeScript client library for the Mistral AI API |
| @langchain/openai | 2,877,766 | 1.4.5 | Framework | OpenAI integrations for LangChain.js |
| @google/generative-ai | 2,854,999 | 0.24.1 | SDK | Google Generative AI SDK for JavaScript |
| langchain | 2,052,330 | 1.3.5 | Framework | LangChain framework for building LLM applications |
| @elastic/elasticsearch | 2,015,937 | latest | VectorDB | Elasticsearch client for Node.js |
| @mastra/core | 795,407 | 1.31.0 | Framework | Mastra - Framework for building AI-powered applications and agents |
| @pinecone-database/pinecone | 593,275 | 7.2.0 | VectorDB | Pinecone vector database client |
| cohere-ai | 414,782 | 8.0.0 | SDK | Cohere TypeScript SDK |
| llamaindex | 111,143 | 0.12.1 | Framework | LlamaIndex TypeScript - Data framework for LLM applications |
| vectra | 35,401 | 0.14.0 | VectorDB | Lightweight local vector database for Node.js |
| @langchain/anthropic | 731,397 | latest | Framework | Anthropic integrations for LangChain.js |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total tracked downloads | 81,450,157 | 79,475,891 | +1,974,266 (+2.5%) |
| Packages tracked | 18 | 10 | +8 (new entries) |
| SDK category total | 44,807,014 | 38,289,535 | +6,517,479 (+17.0%) |
| Framework category total | 33,955,415 | 30,995,121 | +2,960,294 (+9.5%) |
| VectorDB category total | 2,644,713 | N/A | new category |
| Highest growth | @mistralai/mistralai | +58.9% | +1,375,137 downloads |
Trends & Observations
-
Mistral AI SDK explosive growth: @mistralai/mistralai weekly downloads surged 58.9% (from 2.3M to 3.7M), marking the largest single-week growth among major AI SDKs. This signals rapid adoption of European LLM alternatives, particularly in developer communities seeking OpenAI alternatives.
-
Anthropic SDK closing gap with OpenAI: The download gap between OpenAI SDK (20.9M) and Anthropic SDK (17.8M) narrowed from 3.9M to 3.1M weekly installs. Anthropic’s 22.2% growth rate significantly outpaced OpenAI’s 13.1%, suggesting accelerating Claude adoption.
-
Vercel AI SDK ecosystem stability: The @ai-sdk/* packages maintained steady 5-7% growth, indicating mature adoption patterns. Combined Vercel AI ecosystem now totals 23.3M weekly downloads across all providers.
-
Mastra framework emergence: @mastra/core appeared in tracking with 795K weekly downloads, establishing itself as a notable new contender in the agent framework space alongside LangChain and Vercel AI SDK.
Category Breakdown
| Category | Total Downloads | Avg Growth | Key Players |
|---|---|---|---|
| SDK | 44,807,014 | +18.5% | openai, @anthropic-ai/sdk, @mistralai/mistralai, @google/generative-ai, cohere-ai |
| Framework | 33,955,415 | +4.8% | ai, @ai-sdk/*, langchain, @mastra/core, llamaindex |
| VectorDB | 2,644,713 | N/A | @elastic/elasticsearch, @pinecone-database/pinecone, vectra |
Notable Changes This Week
| Event | Description | Significance |
|---|---|---|
| Mistral AI SDK explosive growth | @mistralai/mistralai weekly downloads surged 58.9% (from 2.3M to 3.7M), marking the largest single-week growth among major AI SDKs | High |
| Anthropic SDK closing gap with OpenAI | Anthropic SDK grew 22.2% while OpenAI grew 13.1%, narrowing the download gap from 3.9M to 3.1M weekly installs | Medium |
| Mastra framework emergence | @mastra/core appeared in tracking with 795K weekly downloads, establishing itself as a notable new agent framework | Medium |
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 65/100
While download counts are publicly available, the strategic signal lies in the growth differentials. Mistral’s 58.9% surge — the largest among major SDKs — indicates developers are actively diversifying away from OpenAI dependency. Combined with Anthropic’s 22.2% growth, non-OpenAI SDKs captured 73% of this week’s net new installs (2.1M of 2.9M total growth). This represents a measurable shift in developer sentiment toward multi-model architectures, a trend not visible in individual package metrics but clear when analyzing the ecosystem holistically.
Key Implication: Infrastructure teams should prioritize multi-provider SDK abstractions now rather than later — the developer community is already voting with their package managers, and single-provider architectures will face increasing technical debt as multi-model patterns become the default.
Sources
- NPM Downloads API — npm, Inc., Real-time
- NPM Registry Search API — npm, Inc., Real-time
NPM AI Packages Download Tracker — Week of May 3, 2026
Mistral AI SDK surged 58.9% to 3.7M weekly downloads while Anthropic SDK grew 22.2% to 17.8M, narrowing the gap with OpenAI SDK (20.9M). Weekly tracker of AI/LLM package adoption on NPM.
Data Overview
- Snapshot Week: 2026-04-25 to 2026-05-01
- Tracker: NPM AI Packages Download Tracker (view all 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: 18 AI/LLM packages tracked across SDKs, frameworks, and vector databases
- What: 81.4M total weekly downloads tracked; Mistral AI SDK recorded the largest growth (+58.9%)
- When: Week of May 3, 2026 (data collection period: April 25 - May 1, 2026)
- Impact: 3 high-significance changes identified, including emergence of Mastra framework
Methodology
Data collected via NPM Downloads API and NPM Registry Search API. Weekly download counts represent the total number of installations from npm registry over the 7-day period ending May 1, 2026. Packages are categorized as SDK (official client libraries), Framework (development frameworks), or VectorDB (vector database clients). Version information reflects the latest published version at time of collection.
Inclusion Criteria: Packages are selected based on relevance to AI/LLM development, minimum download threshold (30K weekly), and active maintenance status. New packages meeting criteria are added upon discovery.
This Week’s Data
| Package | Weekly Downloads | Version | Category | Description |
|---|---|---|---|---|
| openai | 20,962,461 | 6.35.0 | SDK | The official TypeScript library for the OpenAI API |
| @anthropic-ai/sdk | 17,842,570 | 0.92.0 | SDK | The official TypeScript library for the Anthropic API |
| ai | 12,078,995 | 6.0.174 | Framework | Vercel AI SDK - Build AI-powered applications with React, Svelte, Vue, and Solid |
| @ai-sdk/openai | 5,942,689 | 3.0.58 | Framework | OpenAI provider for Vercel AI SDK |
| @ai-sdk/anthropic | 5,320,650 | 3.0.74 | Framework | Anthropic provider for Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | 4,927,863 | 0.2.126 | Framework | Anthropic’s official agent SDK for Claude |
| @langchain/core | 3,845,724 | 1.1.44 | Framework | Core LangChain.js abstractions and schemas |
| @mistralai/mistralai | 3,711,802 | 2.2.1 | SDK | TypeScript client library for the Mistral AI API |
| @langchain/openai | 2,877,766 | 1.4.5 | Framework | OpenAI integrations for LangChain.js |
| @google/generative-ai | 2,854,999 | 0.24.1 | SDK | Google Generative AI SDK for JavaScript |
| langchain | 2,052,330 | 1.3.5 | Framework | LangChain framework for building LLM applications |
| @elastic/elasticsearch | 2,015,937 | latest | VectorDB | Elasticsearch client for Node.js |
| @mastra/core | 795,407 | 1.31.0 | Framework | Mastra - Framework for building AI-powered applications and agents |
| @pinecone-database/pinecone | 593,275 | 7.2.0 | VectorDB | Pinecone vector database client |
| cohere-ai | 414,782 | 8.0.0 | SDK | Cohere TypeScript SDK |
| llamaindex | 111,143 | 0.12.1 | Framework | LlamaIndex TypeScript - Data framework for LLM applications |
| vectra | 35,401 | 0.14.0 | VectorDB | Lightweight local vector database for Node.js |
| @langchain/anthropic | 731,397 | latest | Framework | Anthropic integrations for LangChain.js |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total tracked downloads | 81,450,157 | 79,475,891 | +1,974,266 (+2.5%) |
| Packages tracked | 18 | 10 | +8 (new entries) |
| SDK category total | 44,807,014 | 38,289,535 | +6,517,479 (+17.0%) |
| Framework category total | 33,955,415 | 30,995,121 | +2,960,294 (+9.5%) |
| VectorDB category total | 2,644,713 | N/A | new category |
| Highest growth | @mistralai/mistralai | +58.9% | +1,375,137 downloads |
Trends & Observations
-
Mistral AI SDK explosive growth: @mistralai/mistralai weekly downloads surged 58.9% (from 2.3M to 3.7M), marking the largest single-week growth among major AI SDKs. This signals rapid adoption of European LLM alternatives, particularly in developer communities seeking OpenAI alternatives.
-
Anthropic SDK closing gap with OpenAI: The download gap between OpenAI SDK (20.9M) and Anthropic SDK (17.8M) narrowed from 3.9M to 3.1M weekly installs. Anthropic’s 22.2% growth rate significantly outpaced OpenAI’s 13.1%, suggesting accelerating Claude adoption.
-
Vercel AI SDK ecosystem stability: The @ai-sdk/* packages maintained steady 5-7% growth, indicating mature adoption patterns. Combined Vercel AI ecosystem now totals 23.3M weekly downloads across all providers.
-
Mastra framework emergence: @mastra/core appeared in tracking with 795K weekly downloads, establishing itself as a notable new contender in the agent framework space alongside LangChain and Vercel AI SDK.
Category Breakdown
| Category | Total Downloads | Avg Growth | Key Players |
|---|---|---|---|
| SDK | 44,807,014 | +18.5% | openai, @anthropic-ai/sdk, @mistralai/mistralai, @google/generative-ai, cohere-ai |
| Framework | 33,955,415 | +4.8% | ai, @ai-sdk/*, langchain, @mastra/core, llamaindex |
| VectorDB | 2,644,713 | N/A | @elastic/elasticsearch, @pinecone-database/pinecone, vectra |
Notable Changes This Week
| Event | Description | Significance |
|---|---|---|
| Mistral AI SDK explosive growth | @mistralai/mistralai weekly downloads surged 58.9% (from 2.3M to 3.7M), marking the largest single-week growth among major AI SDKs | High |
| Anthropic SDK closing gap with OpenAI | Anthropic SDK grew 22.2% while OpenAI grew 13.1%, narrowing the download gap from 3.9M to 3.1M weekly installs | Medium |
| Mastra framework emergence | @mastra/core appeared in tracking with 795K weekly downloads, establishing itself as a notable new agent framework | Medium |
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 65/100
While download counts are publicly available, the strategic signal lies in the growth differentials. Mistral’s 58.9% surge — the largest among major SDKs — indicates developers are actively diversifying away from OpenAI dependency. Combined with Anthropic’s 22.2% growth, non-OpenAI SDKs captured 73% of this week’s net new installs (2.1M of 2.9M total growth). This represents a measurable shift in developer sentiment toward multi-model architectures, a trend not visible in individual package metrics but clear when analyzing the ecosystem holistically.
Key Implication: Infrastructure teams should prioritize multi-provider SDK abstractions now rather than later — the developer community is already voting with their package managers, and single-provider architectures will face increasing technical debt as multi-model patterns become the default.
Sources
- NPM Downloads API — npm, Inc., Real-time
- NPM Registry Search API — npm, Inc., Real-time
Related Intel
NPM AI Packages Weekly Download Tracker — Week of May 10, 2026
Anthropic SDK gains 2.86M weekly downloads, narrowing gap with OpenAI to 15%. Vercel AI SDK ecosystem surpasses 23M downloads. LlamaIndex TS drops 35% WoW.
AI Agent Weekly Intelligence: The Enterprise Governance War Begins
Microsoft Agent 365 and NVIDIA-ServiceNow Project Arc represent competing governance architectures: endpoint-centric identity management versus runtime-based sandboxed execution. The 58-point adoption-to-governance gap defines the 2026 enterprise challenge.
ArXiv cs.AI Weekly — Week of May 1, 2026
98 papers this week with 30 agent-related submissions. Multi-Agent Reasoning achieves Pareto-optimal test-time scaling; Agent Capsules reduces token usage by 51%; RAG-Gym provides systematic optimization framework.