NPM AI Packages Tracker: Anthropic SDK Surge and Mistral Explosive Growth (Week of May 31, 2026)
Weekly snapshot tracking 26 AI SDKs, frameworks, and vector DB packages on NPM with 115.2M total downloads. Anthropic SDK grew 20.3% WoW while OpenAI declined 5.6%. Mistral surged 77.9%. Claude Agent SDK crossed 7M weekly downloads milestone.
Data Overview
- Snapshot Week: 2026-05-25 to 2026-05-31
- Tracker: NPM AI Packages Tracker (view all historical snapshots:
/tech/ai-agents/data/?tracker=npm-ai-packages-tracker) - Update Frequency: Weekly
- Primary Sources: NPM Registry Search API, NPM Downloads API
Key Facts
- Who: 26 AI SDKs, frameworks, and vector database packages tracked across three categories
- What: 115.2M total weekly downloads; Anthropic SDK gained 3.84M downloads (+20.3% WoW), Mistral SDK surged 77.9%, OpenAI SDK declined 5.6%
- When: Week ending May 31, 2026
- Impact: 3 notable growth packages, 5 significant decline packages, 1 new entry (@google/genai at 13M downloads)
Methodology
Data collected via NPM Registry Search API and NPM Downloads API on May 31, 2026. Packages selected based on relevance to AI agent development, LLM integration, and vector database usage. Weekly download counts represent the 7-day period preceding the collection date. Week-over-week (WoW) changes calculated against previous snapshot data. New entries this week lack WoW comparison. Categories defined as:
- SDK: Direct API client libraries for LLM providers
- Framework: Agent orchestration, tool integration, and development frameworks
- Vector DB: Vector database clients and local vector storage solutions
This Weekβs Data
| Package | Category | Weekly Downloads | WoW Change | Description |
|---|---|---|---|---|
| openai | SDK | 23,430,731 | -5.6% | OpenAI API SDK |
| @anthropic-ai/sdk | SDK | 22,786,195 | +20.3% | Anthropic API SDK |
| @google/genai | SDK | 13,010,009 | New | Google Generative AI SDK |
| ai | SDK | 12,944,419 | -6.0% | Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | Framework | 7,066,332 | +21.8% | Claude Agent SDK for building AI agents |
| @ai-sdk/openai | SDK | 6,359,846 | -7.3% | OpenAI provider for Vercel AI SDK |
| @ai-sdk/anthropic | SDK | 5,959,224 | -5.6% | Anthropic provider for Vercel AI SDK |
| @mistralai/mistralai | SDK | 4,177,511 | +77.9% | Mistral AI SDK |
| @ai-sdk/google | SDK | 4,333,950 | -7.4% | Google provider for Vercel AI SDK |
| @langchain/core | Framework | 4,226,967 | -7.7% | Core LangChain.js abstractions |
| langsmith | Framework | 4,963,293 | -8.0% | LangSmith Observability Platform client |
| @google/generative-ai | SDK | 3,016,491 | -4.7% | Google Generative AI SDK (legacy) |
| @langchain/openai | Framework | 2,956,425 | -5.3% | OpenAI integrations for LangChain.js |
| @langchain/langgraph | Framework | 2,261,340 | +8.4% | LangGraph agent orchestration |
| langchain | Framework | 2,211,158 | -5.6% | LangChain.js TypeScript bindings |
| @vercel/detect-agent | Framework | 2,033,248 | -4.1% | Detect AI agent environments |
| @elastic/elasticsearch | Vector DB | 2,021,297 | -5.5% | Elasticsearch client |
| @langchain/anthropic | Framework | 866,410 | -2.9% | Anthropic integrations for LangChain.js |
| @langchain/community | Framework | 848,885 | -3.2% | Community integrations for LangChain.js |
| @pinecone-database/pinecone | Vector DB | 570,750 | -12.4% | Pinecone vector database client |
| cohere-ai | SDK | 465,426 | -3.8% | Cohere AI SDK |
| @langchain/mcp-adapters | Framework | 182,627 | -9.8% | MCP adapters for LangChain.js |
| llamaindex | Framework | 102,764 | -5.6% | LlamaIndex TypeScript |
| metorial | Framework | 80,415 | -2.5% | MCP server connection SDK |
| vectra | Vector DB | 42,367 | +5.7% | Local vector database |
| agentkit | Framework | 3 | -57.1% | Agent framework |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total packages tracked | 26 | 25 | +1 |
| Total weekly downloads | 115,325,863 | ~107,500,000 | +7.8M |
| SDK total | 86,474,066 | ~77,000,000 | +9.5M |
| Framework total | 26,217,383 | ~27,000,000 | -0.8M |
| Vector DB total | 2,634,414 | ~2,700,000 | -65K |
| SDK share | 75.1% | ~72% | +3.1pp |
| Framework share | 22.8% | ~25% | -2.2pp |
| Vector DB share | 2.3% | ~2.5% | -0.2pp |
Category Breakdown
SDK (75.1% of total downloads)
Direct API client libraries for LLM providers dominate NPM downloads. This week saw significant shifts in provider market share:
- OpenAI SDK leads with 23.4M downloads but declined 5.6% WoW, losing 1.39M weekly downloads
- Anthropic SDK surged to 22.8M downloads (+20.3% WoW, +3.84M), narrowing the gap with OpenAI to just 645K downloads
- @google/genai debuted as a new entry at 13.0M downloads, representing Googleβs unified SDK strategy
- Mistral SDK exploded 77.9% WoW (2.35M to 4.18M), the largest percentage gain this week
- Vercel AI SDK ecosystem shows mixed signals: core
aipackage at 12.9M (-6.0%), provider packages declining
Framework (22.8% of total downloads)
Agent orchestration and development frameworks show consolidation around a few leaders:
- Claude Agent SDK crossed 7M weekly downloads (+21.8%), becoming the #1 AI agent framework on NPM
- LangGraph maintained growth at 2.26M (+8.4%) as preferred TypeScript agent orchestration framework
- LangChain core declining (-7.7%) as developers migrate to lighter abstractions
- LangSmith also declined (-8.0%), suggesting potential ecosystem fatigue
Vector DB (2.3% of total downloads)
Vector database clients remain a small but contested segment:
- Elasticsearch leads at 2.0M (-5.5%)
- Pinecone dropped below 600K for first time (-12.4%)
- Vectra (local vector DB) gained 5.7% as developers explore embedded alternatives
Trends & Observations
-
Anthropic ecosystem momentum: Both @anthropic-ai/sdk (+20.3%) and @anthropic-ai/claude-agent-sdk (+21.8%) show strong growth, driven by Claude 4 release and Agent SDK adoption. The combined Anthropic ecosystem (SDK + Agent SDK + Vercel provider) now exceeds 35M weekly downloads.
-
OpenAI SDK cannibalization: OpenAI SDKβs first weekly decline (-5.6%) coincides with Vercel AI SDKβs abstraction layer growth. Developers increasingly use
@ai-sdk/openai(6.36M) andai(12.9M) instead of direct OpenAI SDK, reducing lock-in. -
Mistral surge signals diversification: Mistral SDKβs 77.9% WoW growth (largest this week) suggests developers are actively diversifying beyond OpenAI/Anthropic, possibly driven by cost optimization or model capability requirements.
-
Google unified SDK success: @google/genaiβs debut at 13M downloads validates Googleβs strategy to consolidate @google/generative-ai (legacy, now at 3M and declining) into a unified interface.
-
Vector DB fragmentation: Pineconeβs -12.4% decline while Vectra gains 5.7% indicates growing interest in local/embedded vector storage solutions, potentially driven by privacy and latency requirements.
-
Framework consolidation: LangGraphβs +8.4% growth while LangChain core declines suggests developers prefer focused agent orchestration tools over monolithic frameworks.
πΊ Scout Intel: What Others Missed
Confidence: high | Novelty Score: 62/100
The most significant signal this week is not any single packageβs growth, but the structural shift in SDK consumption patterns. OpenAI SDK declined 5.6% while Anthropic SDK gained 20.3%, narrowing the gap from 3.2M to 645K downloads. Combined with the Vercel AI SDK abstraction layer now representing 19.3M weekly downloads (ai + @ai-sdk/* packages), the data reveals a three-tier market structure: (1) direct SDK users increasingly choosing Anthropic, (2) abstraction-layer users growing faster than direct SDK users, and (3) the abstraction layer cannibalizing OpenAI direct usage while enabling Anthropic growth.
Key Implication: The NPM ecosystem shows early signs of a multi-provider standard emerging via abstraction layers. Vercel AI SDKβs unified interface, combined with Anthropicβs aggressive Agent SDK positioning, is creating a competitive dynamic where OpenAI loses twice: developers switching to Anthropic directly AND developers abstracting away OpenAI via Vercel. Companies building AI applications should evaluate whether their SDK choice locks them into a single provider or enables multi-model flexibility.
Sources
- NPM Registry Search API β NPM, accessed 2026-05-31
- NPM Downloads API β NPM, accessed 2026-05-31
NPM AI Packages Tracker: Anthropic SDK Surge and Mistral Explosive Growth (Week of May 31, 2026)
Weekly snapshot tracking 26 AI SDKs, frameworks, and vector DB packages on NPM with 115.2M total downloads. Anthropic SDK grew 20.3% WoW while OpenAI declined 5.6%. Mistral surged 77.9%. Claude Agent SDK crossed 7M weekly downloads milestone.
Data Overview
- Snapshot Week: 2026-05-25 to 2026-05-31
- Tracker: NPM AI Packages Tracker (view all historical snapshots:
/tech/ai-agents/data/?tracker=npm-ai-packages-tracker) - Update Frequency: Weekly
- Primary Sources: NPM Registry Search API, NPM Downloads API
Key Facts
- Who: 26 AI SDKs, frameworks, and vector database packages tracked across three categories
- What: 115.2M total weekly downloads; Anthropic SDK gained 3.84M downloads (+20.3% WoW), Mistral SDK surged 77.9%, OpenAI SDK declined 5.6%
- When: Week ending May 31, 2026
- Impact: 3 notable growth packages, 5 significant decline packages, 1 new entry (@google/genai at 13M downloads)
Methodology
Data collected via NPM Registry Search API and NPM Downloads API on May 31, 2026. Packages selected based on relevance to AI agent development, LLM integration, and vector database usage. Weekly download counts represent the 7-day period preceding the collection date. Week-over-week (WoW) changes calculated against previous snapshot data. New entries this week lack WoW comparison. Categories defined as:
- SDK: Direct API client libraries for LLM providers
- Framework: Agent orchestration, tool integration, and development frameworks
- Vector DB: Vector database clients and local vector storage solutions
This Weekβs Data
| Package | Category | Weekly Downloads | WoW Change | Description |
|---|---|---|---|---|
| openai | SDK | 23,430,731 | -5.6% | OpenAI API SDK |
| @anthropic-ai/sdk | SDK | 22,786,195 | +20.3% | Anthropic API SDK |
| @google/genai | SDK | 13,010,009 | New | Google Generative AI SDK |
| ai | SDK | 12,944,419 | -6.0% | Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | Framework | 7,066,332 | +21.8% | Claude Agent SDK for building AI agents |
| @ai-sdk/openai | SDK | 6,359,846 | -7.3% | OpenAI provider for Vercel AI SDK |
| @ai-sdk/anthropic | SDK | 5,959,224 | -5.6% | Anthropic provider for Vercel AI SDK |
| @mistralai/mistralai | SDK | 4,177,511 | +77.9% | Mistral AI SDK |
| @ai-sdk/google | SDK | 4,333,950 | -7.4% | Google provider for Vercel AI SDK |
| @langchain/core | Framework | 4,226,967 | -7.7% | Core LangChain.js abstractions |
| langsmith | Framework | 4,963,293 | -8.0% | LangSmith Observability Platform client |
| @google/generative-ai | SDK | 3,016,491 | -4.7% | Google Generative AI SDK (legacy) |
| @langchain/openai | Framework | 2,956,425 | -5.3% | OpenAI integrations for LangChain.js |
| @langchain/langgraph | Framework | 2,261,340 | +8.4% | LangGraph agent orchestration |
| langchain | Framework | 2,211,158 | -5.6% | LangChain.js TypeScript bindings |
| @vercel/detect-agent | Framework | 2,033,248 | -4.1% | Detect AI agent environments |
| @elastic/elasticsearch | Vector DB | 2,021,297 | -5.5% | Elasticsearch client |
| @langchain/anthropic | Framework | 866,410 | -2.9% | Anthropic integrations for LangChain.js |
| @langchain/community | Framework | 848,885 | -3.2% | Community integrations for LangChain.js |
| @pinecone-database/pinecone | Vector DB | 570,750 | -12.4% | Pinecone vector database client |
| cohere-ai | SDK | 465,426 | -3.8% | Cohere AI SDK |
| @langchain/mcp-adapters | Framework | 182,627 | -9.8% | MCP adapters for LangChain.js |
| llamaindex | Framework | 102,764 | -5.6% | LlamaIndex TypeScript |
| metorial | Framework | 80,415 | -2.5% | MCP server connection SDK |
| vectra | Vector DB | 42,367 | +5.7% | Local vector database |
| agentkit | Framework | 3 | -57.1% | Agent framework |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total packages tracked | 26 | 25 | +1 |
| Total weekly downloads | 115,325,863 | ~107,500,000 | +7.8M |
| SDK total | 86,474,066 | ~77,000,000 | +9.5M |
| Framework total | 26,217,383 | ~27,000,000 | -0.8M |
| Vector DB total | 2,634,414 | ~2,700,000 | -65K |
| SDK share | 75.1% | ~72% | +3.1pp |
| Framework share | 22.8% | ~25% | -2.2pp |
| Vector DB share | 2.3% | ~2.5% | -0.2pp |
Category Breakdown
SDK (75.1% of total downloads)
Direct API client libraries for LLM providers dominate NPM downloads. This week saw significant shifts in provider market share:
- OpenAI SDK leads with 23.4M downloads but declined 5.6% WoW, losing 1.39M weekly downloads
- Anthropic SDK surged to 22.8M downloads (+20.3% WoW, +3.84M), narrowing the gap with OpenAI to just 645K downloads
- @google/genai debuted as a new entry at 13.0M downloads, representing Googleβs unified SDK strategy
- Mistral SDK exploded 77.9% WoW (2.35M to 4.18M), the largest percentage gain this week
- Vercel AI SDK ecosystem shows mixed signals: core
aipackage at 12.9M (-6.0%), provider packages declining
Framework (22.8% of total downloads)
Agent orchestration and development frameworks show consolidation around a few leaders:
- Claude Agent SDK crossed 7M weekly downloads (+21.8%), becoming the #1 AI agent framework on NPM
- LangGraph maintained growth at 2.26M (+8.4%) as preferred TypeScript agent orchestration framework
- LangChain core declining (-7.7%) as developers migrate to lighter abstractions
- LangSmith also declined (-8.0%), suggesting potential ecosystem fatigue
Vector DB (2.3% of total downloads)
Vector database clients remain a small but contested segment:
- Elasticsearch leads at 2.0M (-5.5%)
- Pinecone dropped below 600K for first time (-12.4%)
- Vectra (local vector DB) gained 5.7% as developers explore embedded alternatives
Trends & Observations
-
Anthropic ecosystem momentum: Both @anthropic-ai/sdk (+20.3%) and @anthropic-ai/claude-agent-sdk (+21.8%) show strong growth, driven by Claude 4 release and Agent SDK adoption. The combined Anthropic ecosystem (SDK + Agent SDK + Vercel provider) now exceeds 35M weekly downloads.
-
OpenAI SDK cannibalization: OpenAI SDKβs first weekly decline (-5.6%) coincides with Vercel AI SDKβs abstraction layer growth. Developers increasingly use
@ai-sdk/openai(6.36M) andai(12.9M) instead of direct OpenAI SDK, reducing lock-in. -
Mistral surge signals diversification: Mistral SDKβs 77.9% WoW growth (largest this week) suggests developers are actively diversifying beyond OpenAI/Anthropic, possibly driven by cost optimization or model capability requirements.
-
Google unified SDK success: @google/genaiβs debut at 13M downloads validates Googleβs strategy to consolidate @google/generative-ai (legacy, now at 3M and declining) into a unified interface.
-
Vector DB fragmentation: Pineconeβs -12.4% decline while Vectra gains 5.7% indicates growing interest in local/embedded vector storage solutions, potentially driven by privacy and latency requirements.
-
Framework consolidation: LangGraphβs +8.4% growth while LangChain core declines suggests developers prefer focused agent orchestration tools over monolithic frameworks.
πΊ Scout Intel: What Others Missed
Confidence: high | Novelty Score: 62/100
The most significant signal this week is not any single packageβs growth, but the structural shift in SDK consumption patterns. OpenAI SDK declined 5.6% while Anthropic SDK gained 20.3%, narrowing the gap from 3.2M to 645K downloads. Combined with the Vercel AI SDK abstraction layer now representing 19.3M weekly downloads (ai + @ai-sdk/* packages), the data reveals a three-tier market structure: (1) direct SDK users increasingly choosing Anthropic, (2) abstraction-layer users growing faster than direct SDK users, and (3) the abstraction layer cannibalizing OpenAI direct usage while enabling Anthropic growth.
Key Implication: The NPM ecosystem shows early signs of a multi-provider standard emerging via abstraction layers. Vercel AI SDKβs unified interface, combined with Anthropicβs aggressive Agent SDK positioning, is creating a competitive dynamic where OpenAI loses twice: developers switching to Anthropic directly AND developers abstracting away OpenAI via Vercel. Companies building AI applications should evaluate whether their SDK choice locks them into a single provider or enables multi-model flexibility.
Sources
- NPM Registry Search API β NPM, accessed 2026-05-31
- NPM Downloads API β NPM, accessed 2026-05-31
Related Intel
LLM Product Release Weekly Tracker - Week of Jun 02, 2026
Weekly snapshot tracking LLM product releases from OpenAI, Anthropic, Google, Mistral, and Cohere. Week of Jun 02, 2026: Claude Opus 4.8, Anthropic $65B Series H, Gemini visual models GA, Mistral Vibe agent platform.
GitHub AI Agent Stars Tracker β Week of Jun 01, 2026
Weekly snapshot of GitHub AI agent repositories: Hermes Agent leads with 174K stars (+5.45% WoW), Front-End-Checklist enters as first MDX entry, ecosystem expands to 138 repos.
AI Agent Intelligence W36: Anthropic Overtakes OpenAI, 90% Enterprise Governance Gap
Anthropic's $900B valuation surpasses OpenAI, Five Eyes issues first agentic AI security guidance, and 80% Fortune 500 adopt AI agents with 90% governance gap. Enterprise production paradox deepens.