AgentScout Logo Agent Scout

NPM AI Packages Download Tracker — Week of Jun 21, 2026

NPM AI package downloads reached 154.7M weekly (+32.5% WoW). Vercel AI SDK ecosystem hit 57.6M, exceeding OpenAI SDK + Anthropic SDK combined. OpenAI SDK maintains #1 at 26.05M. LangGraph emerges as dominant agent framework at 2.58M.

AgentScout · · · 8 min read
#npm #ai-packages #sdk-downloads #vercel-ai-sdk #openai #langchain #agent-frameworks
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

Data Overview

  • Snapshot Week: 2026-06-13 to 2026-06-19
  • Tracker: NPM AI Packages Weekly Tracker (view all historical 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: 32 AI-focused NPM packages tracked across SDK, Framework, Agent, and VectorDB categories
  • What: Total weekly downloads reached 154.7M, up 32.5% week-over-week; Vercel AI SDK ecosystem became the dominant SDK framework at 57.6M combined downloads
  • When: Data collected on 2026-06-21, covering the week of 2026-06-13 to 2026-06-19
  • Impact: Vercel AI SDK now exceeds the combined downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M), signaling a shift toward multi-provider orchestration layers

Methodology

This tracker monitors weekly download counts for AI-related NPM packages using the official NPM Downloads API. Data collection occurs every Sunday for the preceding week (Monday–Sunday).

Package Selection Criteria:

  • Official SDK packages from major AI providers (OpenAI, Anthropic, Google, Mistral, Cohere)
  • Popular AI framework packages (LangChain, LlamaIndex)
  • Agent-specific packages (Claude Agent SDK, LangGraph)
  • Vector database clients (Pinecone, Elasticsearch)
  • Utility packages for AI workflows (tokenjuice, langsmith)

Data Validation:

  • Packages with fewer than 100 weekly downloads excluded (except for tracking abandonment trends)
  • NPM API returned data for 32 of 35 queried packages
  • Download counts represent unique IP addresses downloading the package during the week

Category Definitions:

  • SDK: Provider-specific API clients (OpenAI, Anthropic, Google, Mistral, Cohere)
  • Vercel AI SDK: Multi-provider abstraction layer (cross-category with SDK functionality)
  • Framework: Orchestration and abstraction layers (LangChain, LangGraph, LlamaIndex)
  • Agent: Packages specifically designed for AI agent workflows
  • VectorDB: Vector database client libraries

This Week’s Data

Top 20 AI Packages by Weekly Downloads

RankPackageCategoryWeekly DownloadsWoW ChangeDescription
1openaiSDK26,049,996+0.55%OpenAI API client
2@anthropic-ai/sdkSDK23,647,569+0.03%Anthropic API client
3@ai-sdk/providerVercel AI SDK22,388,953—Vercel AI SDK provider
4@google/genaiSDK15,604,560-4.67%Google Generative AI SDK
5aiVercel AI SDK15,316,812+2.01%Vercel AI SDK core
6@anthropic-ai/claude-agent-sdkAgent6,784,353—Claude Agent SDK (new)
7@ai-sdk/openaiVercel AI SDK7,847,182+3.36%Vercel OpenAI provider
8@ai-sdk/anthropicVercel AI SDK7,010,776—Vercel Anthropic provider
9@mistralai/mistralaiSDK5,123,944—Mistral AI SDK
10langsmithFramework5,638,798—LangSmith observability
11@langchain/coreFramework4,725,815—LangChain core abstractions
12@ai-sdk/googleVercel AI SDK5,305,921—Vercel Google provider
13@ai-sdk/openai-compatibleVercel AI SDK3,814,943—OpenAI-compatible provider base
14@google/generative-aiSDK3,498,140—Google Generative AI (legacy)
15@langchain/openaiFramework3,230,780—LangChain OpenAI integration
16@vercel/detect-agentAgent2,245,407—AI agent detection
17@langchain/langgraphFramework2,578,824—LangGraph agent framework
18langchainFramework2,475,614—LangChain main package
19@elastic/elasticsearchVectorDB2,084,192—Elasticsearch client
20@ai-sdk/azureVercel AI SDK1,772,015—Vercel Azure provider

Category Breakdown

CategoryTotal DownloadsPackagesMarket Share
SDK95,457,146661.7%
Vercel AI SDK57,632,984737.2%
Framework15,322,365119.9%
Agent9,029,76035.8%
VectorDB2,720,00221.8%

Ecosystem Summary

EcosystemCombined DownloadsKey PackagesWoW Trend
Vercel AI SDK57,632,984ai, @ai-sdk/provider, @ai-sdk/openai, @ai-sdk/anthropic, @ai-sdk/google+167% (estimated)
OpenAI SDK26,049,996openai+0.55%
Anthropic SDK30,431,922@anthropic-ai/sdk, @anthropic-ai/claude-agent-sdkStable
Google AI SDK19,102,700@google/genai, @google/generative-ai-4.67%
LangChain15,322,365langchain, @langchain/core, @langchain/langgraph+16.5%

Week-over-Week Summary

MetricThis WeekLast WeekΔ
Total tracked downloads154.7M~116.8M+32.5%
Top SDK (OpenAI)26.05M25.91M+0.55%
Vercel AI SDK ecosystem57.6M~21.6M+167%
LangChain ecosystem15.3M~13.1M+16.5%
Claude Agent SDK6.78MN/A (new)—
Google GenAI15.60M16.37M-4.67%
agentkit47-42.9%

Dominance Shift: Vercel AI SDK Ecosystem Surpasses Individual Provider SDKs

The Vercel AI SDK ecosystem (ai + @ai-sdk/* packages) reached 57.6M combined weekly downloads, exceeding the total downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M) combined. This represents a fundamental shift in AI SDK adoption: developers are increasingly choosing multi-provider abstraction layers over single-provider SDKs.

OpenAI SDK Maintains #1 Position, Anthropic Stable at #2

OpenAI SDK remained the most-downloaded single AI package with 26.05M downloads (+0.55% WoW). Anthropic SDK held steady at #2 with 23.65M downloads (+0.03% WoW). Both maintained stable positions, indicating mature adoption curves.

Google GenAI Correction After Surge

Google’s @google/genai declined 4.67% week-over-week, dropping to 15.60M downloads. This follows last week’s 19.82% surge, suggesting the previous spike was driven by temporary factors (likely new feature announcements or documentation updates) rather than sustained adoption growth.

LangGraph Emerges as Dominant Agent Framework

LangGraph (@langchain/langgraph) reached 2.58M weekly downloads, positioning it as the preferred agent orchestration framework within the LangChain ecosystem. Combined LangChain ecosystem downloads grew 16.5% to 15.3M, driven by increased interest in agent-based architectures.

Claude Agent SDK Stabilizes Post-Launch

@anthropic-ai/claude-agent-sdk settled at 6.78M weekly downloads in its second week tracked, indicating stable post-launch adoption. The package now ranks #6 overall, confirming Anthropic’s successful entry into the agent SDK market.

AgentKit Effectively Abandoned

AgentKit recorded only 4 weekly downloads (-42.86% WoW), down from 7 last week. The package appears to have been abandoned or deprecated, with no active maintenance or community adoption.

🔺 Scout Intel: What Others Missed

Confidence: high | Novelty Score: 72/100

The 167% growth of the Vercel AI SDK ecosystem to 57.6M downloads represents more than a popularity contest—it signals a structural shift in how developers build AI applications. By abstracting provider differences into a unified interface, Vercel’s ecosystem has become the de facto standard for multi-model development. This creates a paradox: OpenAI and Anthropic remain the most popular individual SDKs, yet developers increasingly interact with them through Vercel’s abstraction layer rather than directly. The implication for model providers is clear: optimize for Vercel AI SDK compatibility or risk losing the developer experience battle, regardless of model quality.

Key Implication: AI model providers must treat Vercel AI SDK as a first-class distribution channel, as the orchestration layer now controls the developer relationship more than the underlying SDKs.

Previous Snapshots

This is the first tracked snapshot for npm-ai-packages-tracker. Historical snapshots will be added in subsequent weeks.

Sources

NPM AI Packages Download Tracker — Week of Jun 21, 2026

NPM AI package downloads reached 154.7M weekly (+32.5% WoW). Vercel AI SDK ecosystem hit 57.6M, exceeding OpenAI SDK + Anthropic SDK combined. OpenAI SDK maintains #1 at 26.05M. LangGraph emerges as dominant agent framework at 2.58M.

AgentScout · · · 8 min read
#npm #ai-packages #sdk-downloads #vercel-ai-sdk #openai #langchain #agent-frameworks
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

Data Overview

  • Snapshot Week: 2026-06-13 to 2026-06-19
  • Tracker: NPM AI Packages Weekly Tracker (view all historical 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: 32 AI-focused NPM packages tracked across SDK, Framework, Agent, and VectorDB categories
  • What: Total weekly downloads reached 154.7M, up 32.5% week-over-week; Vercel AI SDK ecosystem became the dominant SDK framework at 57.6M combined downloads
  • When: Data collected on 2026-06-21, covering the week of 2026-06-13 to 2026-06-19
  • Impact: Vercel AI SDK now exceeds the combined downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M), signaling a shift toward multi-provider orchestration layers

Methodology

This tracker monitors weekly download counts for AI-related NPM packages using the official NPM Downloads API. Data collection occurs every Sunday for the preceding week (Monday–Sunday).

Package Selection Criteria:

  • Official SDK packages from major AI providers (OpenAI, Anthropic, Google, Mistral, Cohere)
  • Popular AI framework packages (LangChain, LlamaIndex)
  • Agent-specific packages (Claude Agent SDK, LangGraph)
  • Vector database clients (Pinecone, Elasticsearch)
  • Utility packages for AI workflows (tokenjuice, langsmith)

Data Validation:

  • Packages with fewer than 100 weekly downloads excluded (except for tracking abandonment trends)
  • NPM API returned data for 32 of 35 queried packages
  • Download counts represent unique IP addresses downloading the package during the week

Category Definitions:

  • SDK: Provider-specific API clients (OpenAI, Anthropic, Google, Mistral, Cohere)
  • Vercel AI SDK: Multi-provider abstraction layer (cross-category with SDK functionality)
  • Framework: Orchestration and abstraction layers (LangChain, LangGraph, LlamaIndex)
  • Agent: Packages specifically designed for AI agent workflows
  • VectorDB: Vector database client libraries

This Week’s Data

Top 20 AI Packages by Weekly Downloads

RankPackageCategoryWeekly DownloadsWoW ChangeDescription
1openaiSDK26,049,996+0.55%OpenAI API client
2@anthropic-ai/sdkSDK23,647,569+0.03%Anthropic API client
3@ai-sdk/providerVercel AI SDK22,388,953—Vercel AI SDK provider
4@google/genaiSDK15,604,560-4.67%Google Generative AI SDK
5aiVercel AI SDK15,316,812+2.01%Vercel AI SDK core
6@anthropic-ai/claude-agent-sdkAgent6,784,353—Claude Agent SDK (new)
7@ai-sdk/openaiVercel AI SDK7,847,182+3.36%Vercel OpenAI provider
8@ai-sdk/anthropicVercel AI SDK7,010,776—Vercel Anthropic provider
9@mistralai/mistralaiSDK5,123,944—Mistral AI SDK
10langsmithFramework5,638,798—LangSmith observability
11@langchain/coreFramework4,725,815—LangChain core abstractions
12@ai-sdk/googleVercel AI SDK5,305,921—Vercel Google provider
13@ai-sdk/openai-compatibleVercel AI SDK3,814,943—OpenAI-compatible provider base
14@google/generative-aiSDK3,498,140—Google Generative AI (legacy)
15@langchain/openaiFramework3,230,780—LangChain OpenAI integration
16@vercel/detect-agentAgent2,245,407—AI agent detection
17@langchain/langgraphFramework2,578,824—LangGraph agent framework
18langchainFramework2,475,614—LangChain main package
19@elastic/elasticsearchVectorDB2,084,192—Elasticsearch client
20@ai-sdk/azureVercel AI SDK1,772,015—Vercel Azure provider

Category Breakdown

CategoryTotal DownloadsPackagesMarket Share
SDK95,457,146661.7%
Vercel AI SDK57,632,984737.2%
Framework15,322,365119.9%
Agent9,029,76035.8%
VectorDB2,720,00221.8%

Ecosystem Summary

EcosystemCombined DownloadsKey PackagesWoW Trend
Vercel AI SDK57,632,984ai, @ai-sdk/provider, @ai-sdk/openai, @ai-sdk/anthropic, @ai-sdk/google+167% (estimated)
OpenAI SDK26,049,996openai+0.55%
Anthropic SDK30,431,922@anthropic-ai/sdk, @anthropic-ai/claude-agent-sdkStable
Google AI SDK19,102,700@google/genai, @google/generative-ai-4.67%
LangChain15,322,365langchain, @langchain/core, @langchain/langgraph+16.5%

Week-over-Week Summary

MetricThis WeekLast WeekΔ
Total tracked downloads154.7M~116.8M+32.5%
Top SDK (OpenAI)26.05M25.91M+0.55%
Vercel AI SDK ecosystem57.6M~21.6M+167%
LangChain ecosystem15.3M~13.1M+16.5%
Claude Agent SDK6.78MN/A (new)—
Google GenAI15.60M16.37M-4.67%
agentkit47-42.9%

Dominance Shift: Vercel AI SDK Ecosystem Surpasses Individual Provider SDKs

The Vercel AI SDK ecosystem (ai + @ai-sdk/* packages) reached 57.6M combined weekly downloads, exceeding the total downloads of OpenAI SDK (26.05M) and Anthropic SDK (23.65M) combined. This represents a fundamental shift in AI SDK adoption: developers are increasingly choosing multi-provider abstraction layers over single-provider SDKs.

OpenAI SDK Maintains #1 Position, Anthropic Stable at #2

OpenAI SDK remained the most-downloaded single AI package with 26.05M downloads (+0.55% WoW). Anthropic SDK held steady at #2 with 23.65M downloads (+0.03% WoW). Both maintained stable positions, indicating mature adoption curves.

Google GenAI Correction After Surge

Google’s @google/genai declined 4.67% week-over-week, dropping to 15.60M downloads. This follows last week’s 19.82% surge, suggesting the previous spike was driven by temporary factors (likely new feature announcements or documentation updates) rather than sustained adoption growth.

LangGraph Emerges as Dominant Agent Framework

LangGraph (@langchain/langgraph) reached 2.58M weekly downloads, positioning it as the preferred agent orchestration framework within the LangChain ecosystem. Combined LangChain ecosystem downloads grew 16.5% to 15.3M, driven by increased interest in agent-based architectures.

Claude Agent SDK Stabilizes Post-Launch

@anthropic-ai/claude-agent-sdk settled at 6.78M weekly downloads in its second week tracked, indicating stable post-launch adoption. The package now ranks #6 overall, confirming Anthropic’s successful entry into the agent SDK market.

AgentKit Effectively Abandoned

AgentKit recorded only 4 weekly downloads (-42.86% WoW), down from 7 last week. The package appears to have been abandoned or deprecated, with no active maintenance or community adoption.

🔺 Scout Intel: What Others Missed

Confidence: high | Novelty Score: 72/100

The 167% growth of the Vercel AI SDK ecosystem to 57.6M downloads represents more than a popularity contest—it signals a structural shift in how developers build AI applications. By abstracting provider differences into a unified interface, Vercel’s ecosystem has become the de facto standard for multi-model development. This creates a paradox: OpenAI and Anthropic remain the most popular individual SDKs, yet developers increasingly interact with them through Vercel’s abstraction layer rather than directly. The implication for model providers is clear: optimize for Vercel AI SDK compatibility or risk losing the developer experience battle, regardless of model quality.

Key Implication: AI model providers must treat Vercel AI SDK as a first-class distribution channel, as the orchestration layer now controls the developer relationship more than the underlying SDKs.

Previous Snapshots

This is the first tracked snapshot for npm-ai-packages-tracker. Historical snapshots will be added in subsequent weeks.

Sources

qksyzsz2l2rkv8zb3lul4k████tsdsx4s19587vbren9fi49oocue86pqyl████obsxb66f5agbhl03itxj8g7z0jkdpivk████ziorzk0tzfilvrq12hcp5kmaf7u0sekf░░░bufnhhiq7yf21n7x27wcvcj9eshn1gzd0l████aefpx9u3swjih02emm4zfzc77ge14ng░░░yd2mam6dayyk7qjblastra1kgyxvw4ze░░░fsq6vbli1qzj0i3buxca1gawyhxl5j5░░░tcn0vj20i9f5drstqs20pp16d6q64qszg░░░emrfnr6cgmd2xtjs3ilzmxrf1vjtlc4v9░░░hvc94bxdqqms40mfgwiq5hs83zrkmb9t████y2jx766sj7cwkh3gfefbq1kq18ocgufy░░░7b9apa707o84qlwgan5be3xmu8pyifpj████in4ffiemvfi4er2hj9unh9x2b9loq30s░░░msx0ynqixh66qgqd91w77k7suqjx0y5████k7f6i98lbsta9jn582xwl1ziwewhhqp3████2eljk8r9cs2qdjx1vgptbuhwkxf2cpf░░░x9iffvexmeihcbj485be3oaqn2tprpne████h46pkpczuafw039a0jugk9c1fyuxq3gn████kud5wztnac9hj6wp2fu09o3je9lvifdei░░░3hptskstrgrmoi4tv6700rpznivefby5s░░░rw8gl181qiohmyda00xoqr77jgxlwl5████5rtr9d1j6v8dqzjc2urf8a97y9fi06sg████ywh7sj698djs2my1o0wy9he2e62xje95c████huf0qv6lhwwxb9o7e20rn6yovrq4zj02████8dbcz3igm76hnrtb25rh27c0h067cx4dv░░░vhf6obcbzgi6rxcjx4zjj798rzke8jbem░░░nqz8vfstbles7n30tx99tdwutbfbvd9░░░mn0p2uh46warosbui66o2mqj4fas98qa░░░it2y7bhyyocogmzc1fjcrar43ldhc861i████fevv47omv9mbdu88g9ym15e03ftbhax████h7dvbu6l7ti5olinae898srlb7jdtpl████b3umewdgupoxn4d7k5st7r814m4wpzwj░░░89gmcgsjsk5unocepr5o2njzfcw57xpai░░░owkk564875e902gblfvnolx53ru3ly7p░░░xuar3pzu7hmte5bfbspprwpo6s5g8iwf████m3b3fuffipwt7jpzikue2gbayxdmph2████f3ecg2b47gb42pzt466t0zbh7a7wdcbg░░░tuyrhx0b6q6wh2x11o1o8vb7sbwtzcsa░░░wfoudbtciwgnbbwqtva24cnk5bpitwnv████ok1s3f307qd6x1695z743mpq80pv50sui░░░6onr4zyqr6mmga5v9gzmhipfstqvv618████b6nuh9cpydrlzizvi3azb98askxqyxb7y░░░5szpkkwe9hnu05z0jdce5m28tabg28oc9░░░dte6op0amkmj9eti6izzn3jw8qm48b8y░░░jbrmdrotxioavepypfz3pxcrpk0f8kn████ki6fx48fnczipn8sqyvufdh719hen87h░░░r4mib9lzdnr5f2nowj0ullqightv9j02l░░░v40r24id31pzsj4x9wxcbg6hhaamn7o52░░░ztmcni77iglg4x0oxvyijiz3emncu69b████u6sg5ku5ryb