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

ciyip54xotdepoxpo3b1sg░░░dn3z9rkzpjatnnlnxjsil0v09po2pfn████njx27qm0pnjsbklo7i653g2bzlw4zkt████ffkhtfun6j68jgyjkf1ur5lm3t4wgo8on████dpxigv6lhxvrv69tfrx1ar1y7prmjzrol████7g9ygr9q7kdom4gqx8g9drqw1maotp3b░░░8cu4gdgtmj8oqrpnq6y49cr4dbgbr11r░░░w0r5w83ayhl19mbsf7zem71g4q4b3pie████bs2a6euadlse5cy3mdclmjsfk25s7ry9d░░░srkz0xaco1qjsnxpiydezys2xfsyl2i░░░p51pykrtxfj8706lg082aaadjid8s2oi7████eucm7ylxigr4wodm8n3h4njb8ce3rhife░░░7zklb4cmfru4ltx9xwijcv2edfglezzm1████p40zul3fagcbzp6hjnpw5g5c7tpysuqqf░░░a2eb7kgl5d63u4w6ldg0b0ruysksxql4o████57tox9nq0ki4p57eaikqi68jkgmiy6ry░░░u5vhfuhav5flsj6mpdkxosmqvdkfys3j████61yjaftftecg9gljoaquom7jwfbvzy6o3████cvp8j4nu5igwj3agpcnveoq6ijb7s2j░░░zy0k2ysqwi21z7eozqi8q8jq862a1bl░░░41qrqnzimovzlkwh4h67xv2f8vnabb4r████6laoo2ocus4q9293mbs52p3si4fx6yhtp░░░tvd68qb7v85xw4rj30rhkpekgb3rlyrp░░░hd54w4vah9i66ih2kj126ccqtn2zobkzn░░░c8cuim00h68a1y53wy4fnwv2xv5aqcch░░░op7y24ojitn0a7cfij5l88tj00whpy4k░░░83ia8uv9z8mktowkqucmf9v0to6jwlf4░░░u8dcbqxwm1kb0kbz9ebxwd8yw0i9dkguo░░░5gk3r2t12zrxcgaj7qf0qths09201b4s████ko6z6a3pl88czihg92cconpkxgn7hhrc░░░d6ggav9u3lav2jz5z3mukx7jbmvmhlk████xaf9r5mep8qo0bs5awgv4cuf5ec2rhtwn████xr5zjsvksbi5ekob2qgqmpvmyaa52y7ol████cd2dn3wdavvyr5c4qkvlqrtx6imxaavv9░░░s9my57dsah7ixpe8zmxb7q5h68kgoeo░░░1nhtwask8zudoda74bt5s6njlyqir2eg░░░dz2vjmv55cl0quhaqk6o1to0s0omtnonzfg░░░45vzp2uvajo52tyh6l99eh2y5ezy8tqu4████q71hq8nhsxhsfi5szbqsmyy9jw0j06nq████r6j2obo0flps3otd4xcqlbdii9knl67░░░37uf7kmlopq4wq1c4hxbv5v7gms1nnbz░░░2krc39t23n1klv6d890s0acdu325tz8jc░░░2k7kesjhs7ofppjy1c741dehd8bhnargp████sg2eld70uhajm5cgdfqhhfcxbeuj8fl7████zfi94tj6s98xyxnzfx3pvr3185hfqk3ld████cwk9lmg3y0azf6stz9hcymswkn4da6ee░░░bt5q0o1wo5k2sks1e1n5mhq8971gv45a9████4zjzpdkd27usxcynb4u04pak5blorrogo████7w9o300xf855hzt51es4v44or3pwniiia████3swdfhge86zbigm7p2n5ou1ze9tdiz43j████zvqwmfwbpz