AgentScout Logo Agent Scout

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.

AgentScout · · 5 min read
#npm #ai-packages #downloads #weekly-tracker #ai-sdk #langchain #vercel-ai
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

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

PackageWeekly DownloadsVersionCategoryDescription
openai18,535,5576.34.0SDKNode.js library for the OpenAI API
@anthropic-ai/sdk14,608,1980.91.1SDKAnthropic API SDK for Claude
ai11,848,2156.0.168FrameworkAI SDK by Vercel - build apps like ChatGPT, Claude, Gemini
@ai-sdk/openai5,534,6683.0.53FrameworkOpenAI provider for Vercel AI SDK
@ai-sdk/anthropic5,064,2243.0.71FrameworkAnthropic provider for Vercel AI SDK
@anthropic-ai/claude-agent-sdk4,416,1670.2.119FrameworkSDK for building AI agents with Claude Code capabilities
@langchain/core3,726,4271.1.41FrameworkCore LangChain.js abstractions and schemas
@langchain/openai2,755,4481.4.4FrameworkLangChain OpenAI integration
@google/generative-ai2,694,8150.24.1SDKGoogle AI JavaScript SDK for Gemini
@mistralai/mistralai2,336,6652.2.1SDKTypeScript client for Mistral AI API
langchain2,079,3351.3.4FrameworkLangChain.js main package
@langchain/langgraph2,044,5901.2.9FrameworkLangGraph for agent workflows
@elastic/elasticsearch2,003,6859.3.4VectorDBOfficial Elasticsearch client for Node.js
@langchain/community814,8281.1.27FrameworkLangChain community integrations
@mastra/core733,5811.28.0FrameworkMastra framework for AI-powered applications and agents
@langchain/anthropic689,6631.3.27FrameworkLangChain Anthropic integration
@pinecone-database/pinecone544,6647.2.0VectorDBOfficial Pinecone TypeScript SDK for vector search
cohere-ai408,6208.0.0SDKCohere AI SDK
@azure/ai-projects201,9372.1.0FrameworkAzure AI Projects client library
llamaindex139,6030.12.1FrameworkLlamaIndex.TS - Data framework for LLM applications
@azure/ai-agents108,0081.1.0FrameworkAzure AI Agents client library
deepagents76,4241.9.0FrameworkLibrary for building controllable AI agents with LangGraph
@mlc-ai/web-llm43,8250.2.82FrameworkHardware accelerated language model chats on browsers
vectra27,605N/AVectorDBLocal vector database for AI applications

Week-over-Week Summary

MetricThis WeekPrevious WeekChange
Total packages tracked24N/AFirst snapshot
Total weekly downloads72,592,514N/AFirst snapshot
SDK category total38,231,455N/AFirst snapshot
Framework category total32,495,307N/AFirst snapshot
VectorDB category total2,575,974N/AFirst snapshot

Note: This is the first weekly snapshot for the NPM AI Packages tracker. Week-over-week comparisons will be available starting next week.

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 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.

AgentScout · · 5 min read
#npm #ai-packages #downloads #weekly-tracker #ai-sdk #langchain #vercel-ai
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

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

PackageWeekly DownloadsVersionCategoryDescription
openai18,535,5576.34.0SDKNode.js library for the OpenAI API
@anthropic-ai/sdk14,608,1980.91.1SDKAnthropic API SDK for Claude
ai11,848,2156.0.168FrameworkAI SDK by Vercel - build apps like ChatGPT, Claude, Gemini
@ai-sdk/openai5,534,6683.0.53FrameworkOpenAI provider for Vercel AI SDK
@ai-sdk/anthropic5,064,2243.0.71FrameworkAnthropic provider for Vercel AI SDK
@anthropic-ai/claude-agent-sdk4,416,1670.2.119FrameworkSDK for building AI agents with Claude Code capabilities
@langchain/core3,726,4271.1.41FrameworkCore LangChain.js abstractions and schemas
@langchain/openai2,755,4481.4.4FrameworkLangChain OpenAI integration
@google/generative-ai2,694,8150.24.1SDKGoogle AI JavaScript SDK for Gemini
@mistralai/mistralai2,336,6652.2.1SDKTypeScript client for Mistral AI API
langchain2,079,3351.3.4FrameworkLangChain.js main package
@langchain/langgraph2,044,5901.2.9FrameworkLangGraph for agent workflows
@elastic/elasticsearch2,003,6859.3.4VectorDBOfficial Elasticsearch client for Node.js
@langchain/community814,8281.1.27FrameworkLangChain community integrations
@mastra/core733,5811.28.0FrameworkMastra framework for AI-powered applications and agents
@langchain/anthropic689,6631.3.27FrameworkLangChain Anthropic integration
@pinecone-database/pinecone544,6647.2.0VectorDBOfficial Pinecone TypeScript SDK for vector search
cohere-ai408,6208.0.0SDKCohere AI SDK
@azure/ai-projects201,9372.1.0FrameworkAzure AI Projects client library
llamaindex139,6030.12.1FrameworkLlamaIndex.TS - Data framework for LLM applications
@azure/ai-agents108,0081.1.0FrameworkAzure AI Agents client library
deepagents76,4241.9.0FrameworkLibrary for building controllable AI agents with LangGraph
@mlc-ai/web-llm43,8250.2.82FrameworkHardware accelerated language model chats on browsers
vectra27,605N/AVectorDBLocal vector database for AI applications

Week-over-Week Summary

MetricThis WeekPrevious WeekChange
Total packages tracked24N/AFirst snapshot
Total weekly downloads72,592,514N/AFirst snapshot
SDK category total38,231,455N/AFirst snapshot
Framework category total32,495,307N/AFirst snapshot
VectorDB category total2,575,974N/AFirst snapshot

Note: This is the first weekly snapshot for the NPM AI Packages tracker. Week-over-week comparisons will be available starting next week.

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

qbhy0spjkagfeuzacklulj░░░r15lluodws5hs8oghv0qh1gd0zecwl7████2j2snry6aswkt3yuvfpbpl0m2dppdtch████s5rcdec65jm6wr4jmw8cn087y2yv46csg████wz2knki18kdmnt6uhu2hjdyp7bqsptskf████6zk3ycbtbe9gukqe46fism5opvbue7jxs░░░wzxwf34osqso3h387gfu4a3kp7y5xjc░░░dbwsd6yy2u6wduuava3ekcac9wr4r15ug░░░wx1ns4t8zggicn5tq5xnba1i31q2sue░░░gbddmwr3exuc9iycww9xj1jsbdjpuz████6rg1gl26q0abzzjmdv9uxcs487but9wr░░░vyxuz3uyge12yfwni1iyhnq57690gu1r░░░ejwadgfx6ff68hhfbm9hpmf58cemik8rf░░░uty96qdphzghhhi9mob6mdkaw67lp4o7f░░░h16u2flwaj6y5ji6l1oudpdmy37qf93dc████6z1lo6c4lgb6t9oo0rl9blhqagpgzildf░░░c4bxn8rgkrdxns77mhe9b1tihgbpb1d7░░░uwp7gj3gmnkzn2uinkw8t6nuzmaax7sd░░░l4bd4w995cng02fkf8qw5vleazoddgpem████qf0512j68l7ol4jagzo6vzbgy8jutgg████v8zozozvpvbr4b7p1v4sxdrt3x4cdy6q░░░9itu1rop45t4kljnjge7gys9mfmdo6do████g1echwn6xcvb372wvss6uder6kpkw42pg░░░yo3udon7krch6honx206qp8gro866w1xd████nfvwdch22qauy36ghphmaoxykbztosgp░░░spmhoroh3jx2d4uqid1njci5fhxnqpb░░░qw1m5gpjzszmrph1cfumdok93blm9h2o████etcruwjtw7ehnp36y8rfcl75i817wqgu5████r0b2xmcs92f3psw8hz5x62q77olhpf9nj░░░wbviyraiepndu02o4pexbwnx7upangvwf░░░4uosx8rlukd1jpnvzbs4qd772lwx30asi████f13f30rcvidqqc7xt86pfm3erykbhqh░░░zyf5vzgjuxecg9ihutcyrllskjwdddjd░░░d3z7ho4yukron52xha29dblngdfohhzo░░░yyu2qmzl79r7xmlsls3ggycfda3il30h░░░svml3135e7i0786xr593ywixqmyaqj1qra████24728a5y0mikkvklz00xlep62i2bxl5a░░░pnx8luhjw2ount8h03wq8b0hivjj4rd░░░bb0xtn5uhyvevpavii5psal51vzm9r2nk████krzl2691our0osh2085w1es283qk3z16e░░░luidiaxnx1tgs5t7rqjglurcjemeik░░░5gkvs8qb81ovywi1b31jt97ca5wbkrdcc░░░ah322ol2rfbd0b8jz3tr7spxnrw7165y████rdcxgrp69ijtkp69t3go9zind0ssoerg████t5hbsxiuubcbedjpjo9kkoeivelhusn8████b9me4i7q2fh6f2w3bux7hgqfesmdghi████vfo2sudprxsl3xt0bbejv9to35kps5u7l████v8bdjua6v3ucxeo9u8rktbiq1xjj2w████katvt7re6cdwxbyvhktlgm4fj5ta9vr2q░░░ubro0jgzldcsxhe1pcwrb1bqwepoxqlo████utnwpkrb5go