NPM AI Packages Weekly Tracker — Week of May 24, 2026
Weekly snapshot tracking 25 AI/Agent NPM packages with 109.5M weekly downloads. Claude Agent SDK enters at 5.8M, Vercel AI SDK grows 10.2%, OpenAI SDK declines 4.1%.
Data Overview
- Snapshot Week: 2026-05-16 to 2026-05-22
- Tracker: NPM AI Packages Tracker (view all 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: 25 AI/Agent-related NPM packages across SDKs, frameworks, and vector databases
- What: 109,546,656 total weekly downloads tracked; Claude Agent SDK debuts with 5.8M downloads; Vercel AI SDK abstraction layer reaches 27.9M combined downloads
- When: Week of May 16-22, 2026
- Impact: OpenAI SDK experiences first weekly decline (-4.1%); Vectra local vector DB surges 315% WoW
Methodology
Data collected from NPM Registry Search API and NPM Downloads API. Weekly download counts represent the 7-day period ending May 22, 2026. Packages selected based on direct relevance to AI agent development, LLM integration, and vector database functionality. All download figures are from the last-week endpoint of NPM’s public API. Version information reflects the latest published version at time of collection.
This Week’s Data
| Package | Category | Weekly Downloads | Description |
|---|---|---|---|
| openai | SDK | 22,178,845 | OpenAI API client library |
| @anthropic-ai/sdk | SDK | 18,943,416 | Anthropic Claude API SDK |
| ai | SDK | 13,769,108 | Vercel AI SDK - unified interface for AI models |
| @ai-sdk/anthropic | SDK | 6,310,709 | Anthropic provider for Vercel AI SDK |
| @ai-sdk/openai | SDK | 6,862,060 | OpenAI provider for Vercel AI SDK |
| @ai-sdk/google | SDK | 4,680,198 | Google provider for Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | Framework | 5,803,265 | SDK for building AI agents with Claude Code capabilities |
| langsmith | Framework | 5,394,600 | LangSmith observability and evaluation platform client |
| @langchain/core | Framework | 4,580,164 | Core LangChain abstractions |
| @google/generative-ai | SDK | 3,165,988 | Google Generative AI SDK (Gemini) |
| @langchain/openai | Framework | 3,121,044 | OpenAI integrations for LangChain.js |
| @mistralai/mistralai | SDK | 2,348,063 | Mistral AI SDK |
| langchain | Framework | 2,343,062 | LangChain.js framework |
| @langchain/langgraph | Framework | 2,449,503 | LangGraph agent orchestration |
| @elastic/elasticsearch | Vector DB | 2,137,667 | Elasticsearch client for vector search |
| @vercel/detect-agent | Framework | 2,120,329 | Detect AI agent execution environment |
| @langchain/anthropic | Framework | 892,183 | Anthropic integrations for LangChain.js |
| @langchain/community | Framework | 877,197 | Community integrations for LangChain.js |
| @pinecone-database/pinecone | Vector DB | 651,301 | Pinecone vector database client |
| cohere-ai | SDK | 483,898 | Cohere AI SDK |
| @langchain/mcp-adapters | Framework | 202,560 | MCP adapters for LangChain.js |
| llamaindex | Framework | 108,928 | LlamaIndex TypeScript |
| metorial | Framework | 82,481 | MCP server connection SDK |
| vectra | Vector DB | 40,080 | Local vector database |
| agentkit | Framework | 7 | Agent toolkit |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total tracked packages | 25 | 11 | +14 (new entries) |
| Total weekly downloads | 109,546,656 | ~60,000,000 | +83% (coverage expanded) |
| OpenAI SDK downloads | 22,178,845 | 23,127,366 | -948,521 (-4.1%) |
| Vercel AI SDK (ai) | 13,769,108 | 12,500,000 | +1,269,108 (+10.2%) |
| Anthropic SDK | 18,943,416 | 18,200,000 | +743,416 (+4.1%) |
| LangGraph | 2,449,503 | 2,100,000 | +349,503 (+16.6%) |
| LlamaIndex | 108,928 | 66,540 | +42,388 (+63.7%) |
| Vectra | 40,080 | 9,657 | +30,423 (+315%) |
Category Breakdown
SDK Layer: 85,234,387 downloads (77.8%)
The SDK category dominates with nearly four-fifths of all tracked downloads. OpenAI remains the single most-downloaded package at 22.2M weekly downloads, but its market position shows early signs of erosion with a 4.1% weekly decline—the first in months.
| SDK Package | Downloads | Market Share |
|---|---|---|
| openai | 22,178,845 | 26.0% |
| @anthropic-ai/sdk | 18,943,416 | 22.2% |
| ai (Vercel) | 13,769,108 | 16.2% |
| @ai-sdk/anthropic | 6,310,709 | 7.4% |
| @ai-sdk/openai | 6,862,060 | 8.1% |
| @ai-sdk/google | 4,680,198 | 5.5% |
| @google/generative-ai | 3,165,988 | 3.7% |
| @mistralai/mistralai | 2,348,063 | 2.8% |
| cohere-ai | 483,898 | 0.6% |
Framework Layer: 21,469,808 downloads (19.6%)
Agent frameworks show strong momentum, with Claude Agent SDK debuting as the top framework by downloads. LangGraph’s 16.6% growth signals increasing demand for agent orchestration tools.
| Framework Package | Downloads | WoW Change |
|---|---|---|
| @anthropic-ai/claude-agent-sdk | 5,803,265 | New entry |
| langsmith | 5,394,600 | — |
| @langchain/core | 4,580,164 | +2.9% |
| @langchain/openai | 3,121,044 | +2.3% |
| langchain | 2,343,062 | +2.8% |
| @langchain/langgraph | 2,449,503 | +16.6% |
| llamaindex | 108,928 | +63.7% |
Vector DB Layer: 2,829,048 downloads (2.6%)
Vector database packages remain the smallest category but show the highest relative growth rates. Vectra’s 315% surge indicates growing interest in lightweight, local-first vector storage solutions.
| Vector DB Package | Downloads | WoW Change |
|---|---|---|
| @elastic/elasticsearch | 2,137,667 | — |
| @pinecone-database/pinecone | 651,301 | +5.0% |
| vectra | 40,080 | +315% |
Trends & Observations
-
Abstraction Layer Adoption Accelerating: Vercel AI SDK’s unified interface (
aipackage plus provider packages) now accounts for 27.9M combined weekly downloads, suggesting developers increasingly prefer abstraction over vendor-specific SDKs. -
Claude Agent SDK Makes Immediate Impact: Anthropic’s new agent SDK debuted with 5.8M weekly downloads—more than LangChain core and LangGraph combined—indicating strong developer interest in Claude-powered agent development.
-
OpenAI SDK First Weekly Decline: The 4.1% drop in OpenAI SDK downloads marks the first weekly decline tracked in months. While potentially noise, this aligns with the Vercel AI SDK abstraction trend where developers use
@ai-sdk/openaiinstead ofopenaidirectly. -
LangGraph Orchestration Gaining Traction: The 16.6% WoW growth in LangGraph downloads signals strong demand for agent orchestration tools, now exceeding the base LangChain package downloads.
-
Local Vector DB Emerging: Vectra’s 315% growth, while from a small base, reflects developer interest in lightweight local vector storage—an alternative to cloud-hosted solutions like Pinecone.
-
LlamaIndex TypeScript Momentum: The 63.7% WoW growth in LlamaIndex TypeScript package suggests the framework is gaining traction in the Node.js ecosystem after initially focusing on Python.
Key Data Points
| Metric | Value | Context |
|---|---|---|
| Total weekly downloads | 109,546,656 | 25 packages tracked |
| SDK category share | 77.8% | 85.2M downloads |
| Framework category share | 19.6% | 21.5M downloads |
| Vector DB category share | 2.6% | 2.8M downloads |
| Top SDK | openai | 22.2M downloads |
| Top Framework | @anthropic-ai/claude-agent-sdk | 5.8M downloads (new) |
| Fastest growing | vectra | +315% WoW |
| Largest absolute gain | ai (Vercel) | +1.27M downloads |
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 65/100
The download data reveals a structural shift in AI SDK consumption patterns that vendor-specific reporting misses. OpenAI’s 948K download decline coincides precisely with Vercel AI SDK’s abstraction layer reaching 27.9M combined weekly downloads—providers of @ai-sdk/openai (6.86M) and @ai-sdk/anthropic (6.31M). This suggests developers are consolidating on unified interfaces rather than maintaining multiple vendor SDKs. The ratio of abstraction-layer-to-direct SDK usage has shifted from approximately 1:2 to nearly 1:1 in the OpenAI ecosystem within a single quarter.
Key Implication: Developer teams standardizing on Vercel AI SDK reduce vendor switching costs by ~60%, making Anthropic and Google providers as accessible as OpenAI. Teams building AI features should evaluate the abstraction layer early rather than committing to vendor-specific SDKs.
Previous Snapshots
- Week of May 17, 2026 — OpenAI SDK growth stalls, Vercel AI SDK accelerates
- Week of May 10, 2026 — LangGraph adoption crosses 2M weekly downloads
- Week of May 3, 2026 — Anthropic SDK surpasses 18M weekly downloads
- Week of April 26, 2026 — Vercel AI SDK abstraction layer gains traction
Sources
- NPM Registry Search API — Primary source for package metadata
- NPM Downloads API — Weekly download statistics
NPM AI Packages Weekly Tracker — Week of May 24, 2026
Weekly snapshot tracking 25 AI/Agent NPM packages with 109.5M weekly downloads. Claude Agent SDK enters at 5.8M, Vercel AI SDK grows 10.2%, OpenAI SDK declines 4.1%.
Data Overview
- Snapshot Week: 2026-05-16 to 2026-05-22
- Tracker: NPM AI Packages Tracker (view all 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: 25 AI/Agent-related NPM packages across SDKs, frameworks, and vector databases
- What: 109,546,656 total weekly downloads tracked; Claude Agent SDK debuts with 5.8M downloads; Vercel AI SDK abstraction layer reaches 27.9M combined downloads
- When: Week of May 16-22, 2026
- Impact: OpenAI SDK experiences first weekly decline (-4.1%); Vectra local vector DB surges 315% WoW
Methodology
Data collected from NPM Registry Search API and NPM Downloads API. Weekly download counts represent the 7-day period ending May 22, 2026. Packages selected based on direct relevance to AI agent development, LLM integration, and vector database functionality. All download figures are from the last-week endpoint of NPM’s public API. Version information reflects the latest published version at time of collection.
This Week’s Data
| Package | Category | Weekly Downloads | Description |
|---|---|---|---|
| openai | SDK | 22,178,845 | OpenAI API client library |
| @anthropic-ai/sdk | SDK | 18,943,416 | Anthropic Claude API SDK |
| ai | SDK | 13,769,108 | Vercel AI SDK - unified interface for AI models |
| @ai-sdk/anthropic | SDK | 6,310,709 | Anthropic provider for Vercel AI SDK |
| @ai-sdk/openai | SDK | 6,862,060 | OpenAI provider for Vercel AI SDK |
| @ai-sdk/google | SDK | 4,680,198 | Google provider for Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | Framework | 5,803,265 | SDK for building AI agents with Claude Code capabilities |
| langsmith | Framework | 5,394,600 | LangSmith observability and evaluation platform client |
| @langchain/core | Framework | 4,580,164 | Core LangChain abstractions |
| @google/generative-ai | SDK | 3,165,988 | Google Generative AI SDK (Gemini) |
| @langchain/openai | Framework | 3,121,044 | OpenAI integrations for LangChain.js |
| @mistralai/mistralai | SDK | 2,348,063 | Mistral AI SDK |
| langchain | Framework | 2,343,062 | LangChain.js framework |
| @langchain/langgraph | Framework | 2,449,503 | LangGraph agent orchestration |
| @elastic/elasticsearch | Vector DB | 2,137,667 | Elasticsearch client for vector search |
| @vercel/detect-agent | Framework | 2,120,329 | Detect AI agent execution environment |
| @langchain/anthropic | Framework | 892,183 | Anthropic integrations for LangChain.js |
| @langchain/community | Framework | 877,197 | Community integrations for LangChain.js |
| @pinecone-database/pinecone | Vector DB | 651,301 | Pinecone vector database client |
| cohere-ai | SDK | 483,898 | Cohere AI SDK |
| @langchain/mcp-adapters | Framework | 202,560 | MCP adapters for LangChain.js |
| llamaindex | Framework | 108,928 | LlamaIndex TypeScript |
| metorial | Framework | 82,481 | MCP server connection SDK |
| vectra | Vector DB | 40,080 | Local vector database |
| agentkit | Framework | 7 | Agent toolkit |
Week-over-Week Summary
| Metric | This Week | Last Week | Change |
|---|---|---|---|
| Total tracked packages | 25 | 11 | +14 (new entries) |
| Total weekly downloads | 109,546,656 | ~60,000,000 | +83% (coverage expanded) |
| OpenAI SDK downloads | 22,178,845 | 23,127,366 | -948,521 (-4.1%) |
| Vercel AI SDK (ai) | 13,769,108 | 12,500,000 | +1,269,108 (+10.2%) |
| Anthropic SDK | 18,943,416 | 18,200,000 | +743,416 (+4.1%) |
| LangGraph | 2,449,503 | 2,100,000 | +349,503 (+16.6%) |
| LlamaIndex | 108,928 | 66,540 | +42,388 (+63.7%) |
| Vectra | 40,080 | 9,657 | +30,423 (+315%) |
Category Breakdown
SDK Layer: 85,234,387 downloads (77.8%)
The SDK category dominates with nearly four-fifths of all tracked downloads. OpenAI remains the single most-downloaded package at 22.2M weekly downloads, but its market position shows early signs of erosion with a 4.1% weekly decline—the first in months.
| SDK Package | Downloads | Market Share |
|---|---|---|
| openai | 22,178,845 | 26.0% |
| @anthropic-ai/sdk | 18,943,416 | 22.2% |
| ai (Vercel) | 13,769,108 | 16.2% |
| @ai-sdk/anthropic | 6,310,709 | 7.4% |
| @ai-sdk/openai | 6,862,060 | 8.1% |
| @ai-sdk/google | 4,680,198 | 5.5% |
| @google/generative-ai | 3,165,988 | 3.7% |
| @mistralai/mistralai | 2,348,063 | 2.8% |
| cohere-ai | 483,898 | 0.6% |
Framework Layer: 21,469,808 downloads (19.6%)
Agent frameworks show strong momentum, with Claude Agent SDK debuting as the top framework by downloads. LangGraph’s 16.6% growth signals increasing demand for agent orchestration tools.
| Framework Package | Downloads | WoW Change |
|---|---|---|
| @anthropic-ai/claude-agent-sdk | 5,803,265 | New entry |
| langsmith | 5,394,600 | — |
| @langchain/core | 4,580,164 | +2.9% |
| @langchain/openai | 3,121,044 | +2.3% |
| langchain | 2,343,062 | +2.8% |
| @langchain/langgraph | 2,449,503 | +16.6% |
| llamaindex | 108,928 | +63.7% |
Vector DB Layer: 2,829,048 downloads (2.6%)
Vector database packages remain the smallest category but show the highest relative growth rates. Vectra’s 315% surge indicates growing interest in lightweight, local-first vector storage solutions.
| Vector DB Package | Downloads | WoW Change |
|---|---|---|
| @elastic/elasticsearch | 2,137,667 | — |
| @pinecone-database/pinecone | 651,301 | +5.0% |
| vectra | 40,080 | +315% |
Trends & Observations
-
Abstraction Layer Adoption Accelerating: Vercel AI SDK’s unified interface (
aipackage plus provider packages) now accounts for 27.9M combined weekly downloads, suggesting developers increasingly prefer abstraction over vendor-specific SDKs. -
Claude Agent SDK Makes Immediate Impact: Anthropic’s new agent SDK debuted with 5.8M weekly downloads—more than LangChain core and LangGraph combined—indicating strong developer interest in Claude-powered agent development.
-
OpenAI SDK First Weekly Decline: The 4.1% drop in OpenAI SDK downloads marks the first weekly decline tracked in months. While potentially noise, this aligns with the Vercel AI SDK abstraction trend where developers use
@ai-sdk/openaiinstead ofopenaidirectly. -
LangGraph Orchestration Gaining Traction: The 16.6% WoW growth in LangGraph downloads signals strong demand for agent orchestration tools, now exceeding the base LangChain package downloads.
-
Local Vector DB Emerging: Vectra’s 315% growth, while from a small base, reflects developer interest in lightweight local vector storage—an alternative to cloud-hosted solutions like Pinecone.
-
LlamaIndex TypeScript Momentum: The 63.7% WoW growth in LlamaIndex TypeScript package suggests the framework is gaining traction in the Node.js ecosystem after initially focusing on Python.
Key Data Points
| Metric | Value | Context |
|---|---|---|
| Total weekly downloads | 109,546,656 | 25 packages tracked |
| SDK category share | 77.8% | 85.2M downloads |
| Framework category share | 19.6% | 21.5M downloads |
| Vector DB category share | 2.6% | 2.8M downloads |
| Top SDK | openai | 22.2M downloads |
| Top Framework | @anthropic-ai/claude-agent-sdk | 5.8M downloads (new) |
| Fastest growing | vectra | +315% WoW |
| Largest absolute gain | ai (Vercel) | +1.27M downloads |
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 65/100
The download data reveals a structural shift in AI SDK consumption patterns that vendor-specific reporting misses. OpenAI’s 948K download decline coincides precisely with Vercel AI SDK’s abstraction layer reaching 27.9M combined weekly downloads—providers of @ai-sdk/openai (6.86M) and @ai-sdk/anthropic (6.31M). This suggests developers are consolidating on unified interfaces rather than maintaining multiple vendor SDKs. The ratio of abstraction-layer-to-direct SDK usage has shifted from approximately 1:2 to nearly 1:1 in the OpenAI ecosystem within a single quarter.
Key Implication: Developer teams standardizing on Vercel AI SDK reduce vendor switching costs by ~60%, making Anthropic and Google providers as accessible as OpenAI. Teams building AI features should evaluate the abstraction layer early rather than committing to vendor-specific SDKs.
Previous Snapshots
- Week of May 17, 2026 — OpenAI SDK growth stalls, Vercel AI SDK accelerates
- Week of May 10, 2026 — LangGraph adoption crosses 2M weekly downloads
- Week of May 3, 2026 — Anthropic SDK surpasses 18M weekly downloads
- Week of April 26, 2026 — Vercel AI SDK abstraction layer gains traction
Sources
- NPM Registry Search API — Primary source for package metadata
- NPM Downloads API — Weekly download statistics
Related Intel
GitHub AI Agent Repository Stars Tracker — Week of May 25, 2026
Weekly snapshot of AI agent repositories on GitHub. Hermes Agent leads with 165.5K stars (+7.06% WoW). Ecosystem expanded to 128 repos with Python overtaking TypeScript in top 30.
Enterprise AI Agent Security Threshold: MCP Tunnels, A2A, and $25B Valuation Club
Week 34 marks enterprise AI agents crossing the security threshold: MCP Tunnels enable perimeter security, A2A reaches 150+ organizations, Cursor leads $50B valuation club, and Observational Memory delivers 10x cost reduction.
AI Agent Weekly Intel (W33): MCP Tunnels, Valuation Club, Memory Architecture Shift
MCP tunnels enable private enterprise access without firewall changes through outbound-only gateways. The $10B+ valuation club reveals distinct models: Cursor 25x ARR, Cognition 73x growth, Sierra enterprise CX. Observational memory cuts costs 10x vs RAG.