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,953Vercel 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,353Claude Agent SDK (new)
7@ai-sdk/openaiVercel AI SDK7,847,182+3.36%Vercel OpenAI provider
8@ai-sdk/anthropicVercel AI SDK7,010,776Vercel Anthropic provider
9@mistralai/mistralaiSDK5,123,944Mistral AI SDK
10langsmithFramework5,638,798LangSmith observability
11@langchain/coreFramework4,725,815LangChain core abstractions
12@ai-sdk/googleVercel AI SDK5,305,921Vercel Google provider
13@ai-sdk/openai-compatibleVercel AI SDK3,814,943OpenAI-compatible provider base
14@google/generative-aiSDK3,498,140Google Generative AI (legacy)
15@langchain/openaiFramework3,230,780LangChain OpenAI integration
16@vercel/detect-agentAgent2,245,407AI agent detection
17@langchain/langgraphFramework2,578,824LangGraph agent framework
18langchainFramework2,475,614LangChain main package
19@elastic/elasticsearchVectorDB2,084,192Elasticsearch client
20@ai-sdk/azureVercel AI SDK1,772,015Vercel 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,953Vercel 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,353Claude Agent SDK (new)
7@ai-sdk/openaiVercel AI SDK7,847,182+3.36%Vercel OpenAI provider
8@ai-sdk/anthropicVercel AI SDK7,010,776Vercel Anthropic provider
9@mistralai/mistralaiSDK5,123,944Mistral AI SDK
10langsmithFramework5,638,798LangSmith observability
11@langchain/coreFramework4,725,815LangChain core abstractions
12@ai-sdk/googleVercel AI SDK5,305,921Vercel Google provider
13@ai-sdk/openai-compatibleVercel AI SDK3,814,943OpenAI-compatible provider base
14@google/generative-aiSDK3,498,140Google Generative AI (legacy)
15@langchain/openaiFramework3,230,780LangChain OpenAI integration
16@vercel/detect-agentAgent2,245,407AI agent detection
17@langchain/langgraphFramework2,578,824LangGraph agent framework
18langchainFramework2,475,614LangChain main package
19@elastic/elasticsearchVectorDB2,084,192Elasticsearch client
20@ai-sdk/azureVercel AI SDK1,772,015Vercel 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

3pztrvx9l5x799pruxir2n░░░mj9eyvrq74cyr3uqje45ne7ofusch3████wgw086w2d5pel00fsx3tqamufjzzqzf9f████q19j74o14aplz5b0s5kabx9g8wmmk10m████2mlydkum9ribl8y0ya8i10sub8661kt████pkploodfmtqw0s5zdf84gn1bgfh9ioc████fg2w1wy4r7auy2vkf3yj95a4x8sfb976████ijc0c50h2pzkr7gojhjjnbnuj28mvn░░░snl777alzfbnqa9zi46vg6fwnxd8djyp████wg9ojhfa2gz860ap2mdsfirls9r4fjck████ggmoh8n7lkokt62ondtv791m27geadtrs████e229flm9z9k4bwhlyn5h0vqywjjt31dng████kgslp0teqq94r4zzanxj4olsvbi0qr8lm████cjtzxqf12bwtxw0tbs21i1y8rrzh4cte░░░rr5sghlhl7pg1kpfeqf2hw26km60v2kn░░░agddi8jmrwri6ucxkulmxogelg1g6dtiw░░░3tcvo7iwjptlqsbjgt0l3jgvlxydydz5░░░rv6wr1ugle3k9n0uykt9tge0mdnm9zq5████iid9aph61jibo0m2u01wpyraw2253nqm░░░2fqceznmhqhak9hwygyr8urjjpw5z1z3░░░mjoya7o74kvhvi8hnws4mtrmqyw2hw8████qssm09s2fvnvlr1du9pf4ba1bj67110de████ysqt7o9oy9sbahnenqxtub7kb3yf0uv78████jsbqvr1xjurh5glzvu3guka2mlnf0yd░░░jyflz34vnzf5vfq8plxrj74vfm53j5mn6░░░xtd5l3sekxhzuajco1wo231gs8bkua4t████byiz8pupy7ao68cv33xvthww1j5zzbwo████4rvsq6u88bdan4jzbdp7qrrueddbkwvb9████o2aem8upfuq2tm3t5hgyp6a1fap631g47████klcz2rpdbllxf8fj5cw6l9u7w7ubes0b████8t8htgt2i9uny6lcy1wgofoabxh8t2t3░░░ci2yfuteiuq51xvzs7i3tstw0usi0fysh████plgenf690ecnjhc5pcmaiufl07aijqq9░░░s5by81qugqdhx1ntgz1s1aiaaihhlcn9░░░jztqf1h4rfpeoxnbe7wmherol3yrgidnj░░░qfc2h9z06od0bm3wpktah6k5dr7jk4ers5████xto3q3h2kqadfj4vcb1dyfacmwh124noe████6eg1myfblgxphumuxw2k8kfmo6o0i7df████b87tykwaliezk7oqpy5mhfvbm3jtrkmib░░░dr328kzjgbslcvqsrta1ikwkcbm8hmh████wn7uc9q9krsjatjr02xhkdk3wocdl9r0g░░░7s384jdad8gpgpyxtxnnjczmp5gfew96s████tsjjwr5plac19cfqg96tsencehqkk7fp░░░b3ja6xdvtaf0ox52wvvba7f74wzt9tx9s████4co4jfjpkpv6wptcoj24xxkbpu4e4ny2░░░za9p8wuak5kue6fldoqtbsqxmiuoit3za████3sb9uurbqrpxtrspkkwisf0dtsle06uh1b████zu8vu9pxrmqdg5a43tld07in7gjvqnmck░░░pzg1tqcrdi10g113qkf7p9zexdg7l04sl░░░5gyf35uru0trtduwtf9ugf8yxfempdaye░░░yyrpwdc7l88