NPM AI Packages Weekly Download Tracker — Week of Apr 26, 2026
OpenAI SDK leads with 18.5M weekly downloads. Vercel AI SDK hits 11.8M, Claude Agent SDK emerges at 4.4M. Complete npm AI ecosystem data with trends and analysis.
Data Overview
- Snapshot Week: 2026-04-17 to 2026-04-23
- 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 API
Key Facts
- Who: 24 AI-related npm packages tracked across SDK, Framework, and VectorDB categories
- What: 72.6M total weekly downloads across the AI ecosystem; OpenAI SDK maintains dominance at 18.5M
- When: Data collected 2026-04-26, covering download period 2026-04-17 to 2026-04-23
- Impact: Claude Agent SDK emerges as a new top-10 package with 4.4M downloads; Vercel AI SDK ecosystem reaches 22.4M combined downloads
Methodology
This tracker monitors weekly download counts for AI-related npm packages using the NPM Downloads API. Data collection occurs weekly on Sundays. Packages are categorized as:
- SDK: Official client libraries for AI model providers (OpenAI, Anthropic, Google, Mistral, Cohere)
- Framework: Agent frameworks, orchestration tools, and AI application builders (Vercel AI SDK, LangChain, LangGraph, Mastra)
- VectorDB: Vector database client libraries (Pinecone, Elasticsearch, Vectra)
All download counts represent 7-day rolling averages from the NPM registry. Data as of 2026-04-26.
This Week’s Data
| Package | Weekly Downloads | Version | Category | Description |
|---|---|---|---|---|
| openai | 18,535,557 | 6.34.0 | SDK | Node.js library for the OpenAI API |
| @anthropic-ai/sdk | 14,608,198 | 0.91.1 | SDK | Anthropic API SDK for Claude |
| ai | 11,848,215 | 6.0.168 | Framework | AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini |
| @ai-sdk/openai | 5,534,668 | 3.0.53 | Framework | OpenAI provider for Vercel AI SDK |
| @ai-sdk/anthropic | 5,064,224 | 3.0.71 | Framework | Anthropic provider for Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | 4,416,167 | 0.2.119 | Framework | SDK for building AI agents with Claude Code capabilities |
| @langchain/core | 3,726,427 | 1.1.41 | Framework | Core LangChain.js abstractions and schemas |
| @langchain/openai | 2,755,448 | 1.4.4 | Framework | LangChain OpenAI integration |
| @google/generative-ai | 2,694,815 | 0.24.1 | SDK | Google AI JavaScript SDK for Gemini |
| @mistralai/mistralai | 2,336,665 | 2.2.1 | SDK | TypeScript client for Mistral AI API |
| langchain | 2,079,335 | 1.3.4 | Framework | LangChain.js main package |
| @langchain/langgraph | 2,044,590 | 1.2.9 | Framework | LangGraph for agent workflows |
| @elastic/elasticsearch | 2,003,685 | 9.3.4 | VectorDB | Official Elasticsearch client for Node.js |
| @langchain/community | 814,828 | 1.1.27 | Framework | LangChain community integrations |
| @mastra/core | 733,581 | 1.28.0 | Framework | Mastra framework for AI-powered applications and agents |
| @langchain/anthropic | 689,663 | 1.3.27 | Framework | LangChain Anthropic integration |
| @pinecone-database/pinecone | 544,664 | 7.2.0 | VectorDB | Official Pinecone TypeScript SDK for vector search |
| cohere-ai | 408,620 | 8.0.0 | SDK | Cohere AI SDK |
| @azure/ai-projects | 201,937 | 2.1.0 | Framework | Azure AI Projects client library |
| llamaindex | 139,603 | 0.12.1 | Framework | LlamaIndex.TS - Data framework for LLM applications |
| @azure/ai-agents | 108,008 | 1.1.0 | Framework | Azure AI Agents client library |
| deepagents | 76,424 | 1.9.0 | Framework | Library for building controllable AI agents with LangGraph |
| @mlc-ai/web-llm | 43,825 | 0.2.82 | Framework | Hardware accelerated language model chats on browsers |
| vectra | 27,605 | N/A | VectorDB | Local vector database for AI applications |
Week-over-Week Summary
| Metric | This Week | Previous Week | Change |
|---|---|---|---|
| Total packages tracked | 24 | N/A | First snapshot |
| Total weekly downloads | 72,592,514 | N/A | First snapshot |
| SDK category total | 38,231,455 | N/A | First snapshot |
| Framework category total | 32,495,307 | N/A | First snapshot |
| VectorDB category total | 2,575,974 | N/A | First snapshot |
Note: This is the first weekly snapshot for the NPM AI Packages tracker. Week-over-week comparisons will be available starting next week.
Trends & Observations
SDK Market Dynamics
- OpenAI maintains 27% lead over Anthropic SDK (18.5M vs 14.6M downloads), though the gap has narrowed from previous quarters
- Anthropic ecosystem shows strong momentum: Combined downloads of @anthropic-ai/sdk and @anthropic-ai/claude-agent-sdk total 19.0M, approaching OpenAI’s standalone dominance
- Google Gemini SDK (@google/generative-ai) at 2.7M downloads now surpasses Mistral (2.3M), indicating growing adoption of Google’s AI offerings
Framework Consolidation
- Vercel AI SDK ecosystem (@ai-sdk/*) reaches 22.4M combined weekly downloads, establishing itself as the dominant unified abstraction layer
- LangChain ecosystem maintains healthy 10.0M total downloads across @langchain/* packages, with LangGraph (2.0M) emerging as the preferred agent orchestration tool
- Mastra enters the scene with 733K downloads for @mastra/core, gaining traction in the emerging agent framework space
Agent-First Development Pattern
- Claude Agent SDK (@anthropic-ai/claude-agent-sdk) appears for the first time in the top AI packages with 4.4M downloads, signaling a shift toward agent-first development patterns
- LangGraph maintains 2.0M+ downloads as developers’ preferred choice for building agentic workflows
- Azure AI Agents (108K) and DeepAgents (76K) represent the emerging enterprise agent tooling segment
Vector Database Landscape
- Elasticsearch leads with 2.0M downloads, benefiting from established enterprise adoption
- Pinecone holds strong at 544K downloads as the dedicated vector database leader
- Local vector databases (Vectra at 28K) remain niche but growing for edge and privacy-sensitive applications
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 60/100
While coverage of npm download statistics typically focuses on raw SDK rankings, the deeper signal is the rapid convergence toward unified AI abstraction layers. Vercel AI SDK’s 22.4M ecosystem downloads now exceed OpenAI’s standalone SDK (18.5M), indicating that developers increasingly prefer framework-agnostic abstractions over vendor lock-in. The emergence of Claude Agent SDK at 4.4M downloads in its first major tracking period represents a paradigm shift: Anthropic is positioning Claude Code-style agents as a first-class development primitive, not just a chat interface. LangGraph’s 2.0M downloads—more than double the main LangChain package (2.1M vs 1.0M)—confirms that agent orchestration has become the primary LangChain use case, potentially cannibalizing traditional chain-based workflows.
Key Implication: Developers building AI applications in 2026 should prioritize framework-agnostic SDKs (Vercel AI SDK, LangGraph) over direct vendor SDKs, as abstraction layers now command the majority of developer mindshare and provide vendor-switching flexibility.
Sources
- NPM Downloads API — Primary data source, S-tier
- NPM Registry API — Package metadata, A-tier
NPM AI Packages Weekly Download Tracker — Week of Apr 26, 2026
OpenAI SDK leads with 18.5M weekly downloads. Vercel AI SDK hits 11.8M, Claude Agent SDK emerges at 4.4M. Complete npm AI ecosystem data with trends and analysis.
Data Overview
- Snapshot Week: 2026-04-17 to 2026-04-23
- 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 API
Key Facts
- Who: 24 AI-related npm packages tracked across SDK, Framework, and VectorDB categories
- What: 72.6M total weekly downloads across the AI ecosystem; OpenAI SDK maintains dominance at 18.5M
- When: Data collected 2026-04-26, covering download period 2026-04-17 to 2026-04-23
- Impact: Claude Agent SDK emerges as a new top-10 package with 4.4M downloads; Vercel AI SDK ecosystem reaches 22.4M combined downloads
Methodology
This tracker monitors weekly download counts for AI-related npm packages using the NPM Downloads API. Data collection occurs weekly on Sundays. Packages are categorized as:
- SDK: Official client libraries for AI model providers (OpenAI, Anthropic, Google, Mistral, Cohere)
- Framework: Agent frameworks, orchestration tools, and AI application builders (Vercel AI SDK, LangChain, LangGraph, Mastra)
- VectorDB: Vector database client libraries (Pinecone, Elasticsearch, Vectra)
All download counts represent 7-day rolling averages from the NPM registry. Data as of 2026-04-26.
This Week’s Data
| Package | Weekly Downloads | Version | Category | Description |
|---|---|---|---|---|
| openai | 18,535,557 | 6.34.0 | SDK | Node.js library for the OpenAI API |
| @anthropic-ai/sdk | 14,608,198 | 0.91.1 | SDK | Anthropic API SDK for Claude |
| ai | 11,848,215 | 6.0.168 | Framework | AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini |
| @ai-sdk/openai | 5,534,668 | 3.0.53 | Framework | OpenAI provider for Vercel AI SDK |
| @ai-sdk/anthropic | 5,064,224 | 3.0.71 | Framework | Anthropic provider for Vercel AI SDK |
| @anthropic-ai/claude-agent-sdk | 4,416,167 | 0.2.119 | Framework | SDK for building AI agents with Claude Code capabilities |
| @langchain/core | 3,726,427 | 1.1.41 | Framework | Core LangChain.js abstractions and schemas |
| @langchain/openai | 2,755,448 | 1.4.4 | Framework | LangChain OpenAI integration |
| @google/generative-ai | 2,694,815 | 0.24.1 | SDK | Google AI JavaScript SDK for Gemini |
| @mistralai/mistralai | 2,336,665 | 2.2.1 | SDK | TypeScript client for Mistral AI API |
| langchain | 2,079,335 | 1.3.4 | Framework | LangChain.js main package |
| @langchain/langgraph | 2,044,590 | 1.2.9 | Framework | LangGraph for agent workflows |
| @elastic/elasticsearch | 2,003,685 | 9.3.4 | VectorDB | Official Elasticsearch client for Node.js |
| @langchain/community | 814,828 | 1.1.27 | Framework | LangChain community integrations |
| @mastra/core | 733,581 | 1.28.0 | Framework | Mastra framework for AI-powered applications and agents |
| @langchain/anthropic | 689,663 | 1.3.27 | Framework | LangChain Anthropic integration |
| @pinecone-database/pinecone | 544,664 | 7.2.0 | VectorDB | Official Pinecone TypeScript SDK for vector search |
| cohere-ai | 408,620 | 8.0.0 | SDK | Cohere AI SDK |
| @azure/ai-projects | 201,937 | 2.1.0 | Framework | Azure AI Projects client library |
| llamaindex | 139,603 | 0.12.1 | Framework | LlamaIndex.TS - Data framework for LLM applications |
| @azure/ai-agents | 108,008 | 1.1.0 | Framework | Azure AI Agents client library |
| deepagents | 76,424 | 1.9.0 | Framework | Library for building controllable AI agents with LangGraph |
| @mlc-ai/web-llm | 43,825 | 0.2.82 | Framework | Hardware accelerated language model chats on browsers |
| vectra | 27,605 | N/A | VectorDB | Local vector database for AI applications |
Week-over-Week Summary
| Metric | This Week | Previous Week | Change |
|---|---|---|---|
| Total packages tracked | 24 | N/A | First snapshot |
| Total weekly downloads | 72,592,514 | N/A | First snapshot |
| SDK category total | 38,231,455 | N/A | First snapshot |
| Framework category total | 32,495,307 | N/A | First snapshot |
| VectorDB category total | 2,575,974 | N/A | First snapshot |
Note: This is the first weekly snapshot for the NPM AI Packages tracker. Week-over-week comparisons will be available starting next week.
Trends & Observations
SDK Market Dynamics
- OpenAI maintains 27% lead over Anthropic SDK (18.5M vs 14.6M downloads), though the gap has narrowed from previous quarters
- Anthropic ecosystem shows strong momentum: Combined downloads of @anthropic-ai/sdk and @anthropic-ai/claude-agent-sdk total 19.0M, approaching OpenAI’s standalone dominance
- Google Gemini SDK (@google/generative-ai) at 2.7M downloads now surpasses Mistral (2.3M), indicating growing adoption of Google’s AI offerings
Framework Consolidation
- Vercel AI SDK ecosystem (@ai-sdk/*) reaches 22.4M combined weekly downloads, establishing itself as the dominant unified abstraction layer
- LangChain ecosystem maintains healthy 10.0M total downloads across @langchain/* packages, with LangGraph (2.0M) emerging as the preferred agent orchestration tool
- Mastra enters the scene with 733K downloads for @mastra/core, gaining traction in the emerging agent framework space
Agent-First Development Pattern
- Claude Agent SDK (@anthropic-ai/claude-agent-sdk) appears for the first time in the top AI packages with 4.4M downloads, signaling a shift toward agent-first development patterns
- LangGraph maintains 2.0M+ downloads as developers’ preferred choice for building agentic workflows
- Azure AI Agents (108K) and DeepAgents (76K) represent the emerging enterprise agent tooling segment
Vector Database Landscape
- Elasticsearch leads with 2.0M downloads, benefiting from established enterprise adoption
- Pinecone holds strong at 544K downloads as the dedicated vector database leader
- Local vector databases (Vectra at 28K) remain niche but growing for edge and privacy-sensitive applications
🔺 Scout Intel: What Others Missed
Confidence: high | Novelty Score: 60/100
While coverage of npm download statistics typically focuses on raw SDK rankings, the deeper signal is the rapid convergence toward unified AI abstraction layers. Vercel AI SDK’s 22.4M ecosystem downloads now exceed OpenAI’s standalone SDK (18.5M), indicating that developers increasingly prefer framework-agnostic abstractions over vendor lock-in. The emergence of Claude Agent SDK at 4.4M downloads in its first major tracking period represents a paradigm shift: Anthropic is positioning Claude Code-style agents as a first-class development primitive, not just a chat interface. LangGraph’s 2.0M downloads—more than double the main LangChain package (2.1M vs 1.0M)—confirms that agent orchestration has become the primary LangChain use case, potentially cannibalizing traditional chain-based workflows.
Key Implication: Developers building AI applications in 2026 should prioritize framework-agnostic SDKs (Vercel AI SDK, LangGraph) over direct vendor SDKs, as abstraction layers now command the majority of developer mindshare and provide vendor-switching flexibility.
Sources
- NPM Downloads API — Primary data source, S-tier
- NPM Registry API — Package metadata, A-tier
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.