AgentScout Logo Agent Scout

NPM AI Packages Weekly Tracker — Week of May 17, 2026

Weekly tracking of NPM download trends for AI SDKs, frameworks, and vector databases. OpenAI SDK shows first decline while Anthropic ecosystem continues rapid growth.

AgentScout · · · 4 min read
#npm #ai-sdk #langchain #anthropic #openai #vector-database #weekly-tracker
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

Data Overview

  • Snapshot Week: May 9-15, 2026
  • Tracker: NPM AI Packages (view all historical snapshots: /tech/ai-agents/data/?tracker=npm-ai-packages-tracker)
  • Update Frequency: Weekly
  • Primary Sources: NPM Downloads API

Key Facts

  • Who: 23 AI-related packages tracked across SDKs, frameworks, and vector databases
  • What: 82.6 million total weekly downloads; OpenAI SDK recorded first decline (-4.1%) while Anthropic ecosystem surged
  • When: Week of May 9-15, 2026
  • Impact: 1 package with explosive growth (+315%), 3 packages with notable double-digit gains

Methodology

Data collected via NPM Downloads API, querying weekly download counts for 23 AI-related packages. Packages are categorized into three groups: SDK (official provider libraries), Framework (orchestration and agent frameworks), and VectorDB (vector database clients). Week-over-week changes are calculated by comparing current week downloads to the previous snapshot. Data collection timestamp: May 17, 2026, 08:00 UTC.

This Week’s Data

Top 10 Packages by Weekly Downloads

RankPackageWeekly DownloadsChange WoWCategory
1@ai-sdk/provider-utils20,142,788NEWFramework
2openai19,695,636-4.1%SDK
3@anthropic-ai/sdk17,872,098+2.3%SDK
4ai (Vercel AI SDK)13,134,248+6.1%Framework
5@ai-sdk/openai6,524,034+7.5%Framework
6@anthropic-ai/claude-agent-sdk5,464,335+7.7%Framework
7@ai-sdk/anthropic5,940,189NEWFramework
8@langchain/core4,449,036NEWFramework
9@ai-sdk/google4,305,388NEWFramework
10@google/generative-ai3,036,859NEWSDK

Ecosystem Breakdown

EcosystemWeekly DownloadsPackages IncludedGrowth Trend
Vercel AI49,943,849ai, @ai-sdk/* packages+6.1% (ai core)
Anthropic23,336,433@anthropic-ai/sdk, claude-agent-sdk+2.3% to +7.7%
OpenAI19,695,636openai-4.1%
LangChain12,499,707langchain, @langchain/*Mixed (NEW baseline)
Google7,342,247@google/generative-ai, @ai-sdk/googleNEW baseline

Category Distribution

CategoryPackagesTotal Downloads% of Total
SDK543,284,87452.4%
Framework1539,237,08647.5%
VectorDB32,877,5953.5%

Growth Leaders

PackageWeekly DownloadsChange WoWSignificance
vectra43,240+315.2%Local vector database for privacy-first RAG
llamaindex100,655+63.7%Recovery after previous 34.9% decline
@anthropic-ai/claude-agent-sdk5,464,335+7.7%Continued agent framework adoption
@ai-sdk/openai6,524,034+7.5%Vercel AI SDK OpenAI provider growth
ai (Vercel AI SDK)13,134,248+6.1%Framework adoption accelerating

Decliners

PackageWeekly DownloadsChange WoWNotes
openai19,695,636-4.1%First decline in weeks; lost 851,159 downloads

Week-over-Week Summary

MetricThis WeekLast WeekDelta
Total packages tracked2318+5 new packages
Total weekly downloads82,589,895~75M (est.)+10% estimated
High-impact changes42Double
Declining packages11Stable

Trend 1: OpenAI SDK Records First Weekly Decline

After sustained growth over previous weeks, the OpenAI SDK dropped 4.1% week-over-week, losing 851,159 weekly downloads. This is the first negative growth recorded since tracking began. Potential factors include market saturation, Anthropic competition, or seasonal variation.

Trend 2: Anthropic Ecosystem Expansion Accelerates

The Anthropic ecosystem continues its upward trajectory with:

  • @anthropic-ai/sdk: +2.3% WoW to 17.9M downloads
  • @anthropic-ai/claude-agent-sdk: +7.7% WoW to 5.5M downloads

Combined, the Anthropic ecosystem now accounts for 23.3M weekly downloads, narrowing the gap with OpenAI’s standalone SDK (19.7M).

Trend 3: Vercel AI SDK Becomes Dominant Framework

The Vercel AI SDK (ai package) reached 13.1M weekly downloads with +6.1% growth. The broader Vercel AI ecosystem totaled 49.9M weekly downloads, making it the largest framework ecosystem tracked.

Notable Change: vectra’s Explosive Growth (+315%)

vectra, a lightweight local vector database for Node.js, surged 315% week-over-week from 10,415 to 43,240 downloads. This signals growing developer interest in privacy-first RAG solutions that avoid cloud-dependent vector databases.

🔺 Scout Intel: What Others Missed

Confidence: high | Novelty Score: 65/100

While download metrics show Anthropic gaining ground on OpenAI, the structural story is more nuanced. The OpenAI SDK’s -4.1% decline coincides with the Vercel AI SDK’s +6.1% growth, suggesting developers are adopting abstraction layers over direct SDK integration. Vercel’s ai package now handles OpenAI, Anthropic, and Google calls through a unified interface—developers using Vercel’s SDK may no longer need direct openai package imports.

The vectra surge (+315%) reveals a second-order trend: as RAG applications mature, developers are prioritizing local-first architectures to avoid cloud vector database costs and latency. Pinecone held steady at 628K downloads while vectra jumped from 10K to 43K in one week—a small absolute number but a 4x multiplier signaling directional intent.

Key Implication: The AI SDK market is fragmenting into three layers: direct SDKs (OpenAI, Anthropic), abstraction frameworks (Vercel AI SDK, LangChain), and agent orchestration (Claude Agent SDK). Developers choosing Vercel’s abstraction layer reduces lock-in to any single model provider—a strategic shift the market has not yet priced in.

Sources


Next snapshot: Week of May 24, 2026

NPM AI Packages Weekly Tracker — Week of May 17, 2026

Weekly tracking of NPM download trends for AI SDKs, frameworks, and vector databases. OpenAI SDK shows first decline while Anthropic ecosystem continues rapid growth.

AgentScout · · · 4 min read
#npm #ai-sdk #langchain #anthropic #openai #vector-database #weekly-tracker
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

Data Overview

  • Snapshot Week: May 9-15, 2026
  • Tracker: NPM AI Packages (view all historical snapshots: /tech/ai-agents/data/?tracker=npm-ai-packages-tracker)
  • Update Frequency: Weekly
  • Primary Sources: NPM Downloads API

Key Facts

  • Who: 23 AI-related packages tracked across SDKs, frameworks, and vector databases
  • What: 82.6 million total weekly downloads; OpenAI SDK recorded first decline (-4.1%) while Anthropic ecosystem surged
  • When: Week of May 9-15, 2026
  • Impact: 1 package with explosive growth (+315%), 3 packages with notable double-digit gains

Methodology

Data collected via NPM Downloads API, querying weekly download counts for 23 AI-related packages. Packages are categorized into three groups: SDK (official provider libraries), Framework (orchestration and agent frameworks), and VectorDB (vector database clients). Week-over-week changes are calculated by comparing current week downloads to the previous snapshot. Data collection timestamp: May 17, 2026, 08:00 UTC.

This Week’s Data

Top 10 Packages by Weekly Downloads

RankPackageWeekly DownloadsChange WoWCategory
1@ai-sdk/provider-utils20,142,788NEWFramework
2openai19,695,636-4.1%SDK
3@anthropic-ai/sdk17,872,098+2.3%SDK
4ai (Vercel AI SDK)13,134,248+6.1%Framework
5@ai-sdk/openai6,524,034+7.5%Framework
6@anthropic-ai/claude-agent-sdk5,464,335+7.7%Framework
7@ai-sdk/anthropic5,940,189NEWFramework
8@langchain/core4,449,036NEWFramework
9@ai-sdk/google4,305,388NEWFramework
10@google/generative-ai3,036,859NEWSDK

Ecosystem Breakdown

EcosystemWeekly DownloadsPackages IncludedGrowth Trend
Vercel AI49,943,849ai, @ai-sdk/* packages+6.1% (ai core)
Anthropic23,336,433@anthropic-ai/sdk, claude-agent-sdk+2.3% to +7.7%
OpenAI19,695,636openai-4.1%
LangChain12,499,707langchain, @langchain/*Mixed (NEW baseline)
Google7,342,247@google/generative-ai, @ai-sdk/googleNEW baseline

Category Distribution

CategoryPackagesTotal Downloads% of Total
SDK543,284,87452.4%
Framework1539,237,08647.5%
VectorDB32,877,5953.5%

Growth Leaders

PackageWeekly DownloadsChange WoWSignificance
vectra43,240+315.2%Local vector database for privacy-first RAG
llamaindex100,655+63.7%Recovery after previous 34.9% decline
@anthropic-ai/claude-agent-sdk5,464,335+7.7%Continued agent framework adoption
@ai-sdk/openai6,524,034+7.5%Vercel AI SDK OpenAI provider growth
ai (Vercel AI SDK)13,134,248+6.1%Framework adoption accelerating

Decliners

PackageWeekly DownloadsChange WoWNotes
openai19,695,636-4.1%First decline in weeks; lost 851,159 downloads

Week-over-Week Summary

MetricThis WeekLast WeekDelta
Total packages tracked2318+5 new packages
Total weekly downloads82,589,895~75M (est.)+10% estimated
High-impact changes42Double
Declining packages11Stable

Trend 1: OpenAI SDK Records First Weekly Decline

After sustained growth over previous weeks, the OpenAI SDK dropped 4.1% week-over-week, losing 851,159 weekly downloads. This is the first negative growth recorded since tracking began. Potential factors include market saturation, Anthropic competition, or seasonal variation.

Trend 2: Anthropic Ecosystem Expansion Accelerates

The Anthropic ecosystem continues its upward trajectory with:

  • @anthropic-ai/sdk: +2.3% WoW to 17.9M downloads
  • @anthropic-ai/claude-agent-sdk: +7.7% WoW to 5.5M downloads

Combined, the Anthropic ecosystem now accounts for 23.3M weekly downloads, narrowing the gap with OpenAI’s standalone SDK (19.7M).

Trend 3: Vercel AI SDK Becomes Dominant Framework

The Vercel AI SDK (ai package) reached 13.1M weekly downloads with +6.1% growth. The broader Vercel AI ecosystem totaled 49.9M weekly downloads, making it the largest framework ecosystem tracked.

Notable Change: vectra’s Explosive Growth (+315%)

vectra, a lightweight local vector database for Node.js, surged 315% week-over-week from 10,415 to 43,240 downloads. This signals growing developer interest in privacy-first RAG solutions that avoid cloud-dependent vector databases.

🔺 Scout Intel: What Others Missed

Confidence: high | Novelty Score: 65/100

While download metrics show Anthropic gaining ground on OpenAI, the structural story is more nuanced. The OpenAI SDK’s -4.1% decline coincides with the Vercel AI SDK’s +6.1% growth, suggesting developers are adopting abstraction layers over direct SDK integration. Vercel’s ai package now handles OpenAI, Anthropic, and Google calls through a unified interface—developers using Vercel’s SDK may no longer need direct openai package imports.

The vectra surge (+315%) reveals a second-order trend: as RAG applications mature, developers are prioritizing local-first architectures to avoid cloud vector database costs and latency. Pinecone held steady at 628K downloads while vectra jumped from 10K to 43K in one week—a small absolute number but a 4x multiplier signaling directional intent.

Key Implication: The AI SDK market is fragmenting into three layers: direct SDKs (OpenAI, Anthropic), abstraction frameworks (Vercel AI SDK, LangChain), and agent orchestration (Claude Agent SDK). Developers choosing Vercel’s abstraction layer reduces lock-in to any single model provider—a strategic shift the market has not yet priced in.

Sources


Next snapshot: Week of May 24, 2026

so8ch4vp77oio7q3rluhb████y8gia1ew4eo9ct44sz51uthciodw9zz████kv3gn5cefdn12v1hqiu10dl2c7ovf3m0n████pf0ov8dg84gzs0o4jvd09o0zmuz7dcl████4d3mqjn92nejik6ek93il1u2qh61bxng████8u6zplam1jbxizobg419i86943nm0k5████x9ymp35og36bs1rmdp31qjidpjqunib░░░h2c86iilnwvx9q7v2vdjsr08zmgew1py94████usta1lu3r901kf5ey94u16lb3vrh9gddc░░░aypqbl1krmwq2a0389skroej1p2gnilgi████7mtrphig5mljsywdenvxroio3n2t5f6eo████q1bz3vwg8crzzs5ad1ik4f0oinzdrnp░░░6ts8wincmih7auf7od928era52rvseh1a░░░m499jyzhpqau6mad42lpky9ulhfgrwl░░░107dmkbgc92k2wqtiax7xsu13y5sk89on████pbckqgo6s4onyyoj0j3s0h70y26bnhdf8░░░lhd56qyusodp9r8nmim6j7lh3vew6r8kn████jfjxaieqwckvgu60ea2sq24in27zmc4l████3po9ial89xs477bpxlubfebipigiqq26████wpcjalfuaii4zoe3o3i6s26s7ecx3z2mp████xxt4tp022wdcxotqzbyon5q6lifn7emu████gty7fm604rcuod1607mqmo4iqnae8lph████zvm54lrr1xgqql4osnepmak5xum8lkbp░░░5e4e7dg381ibsswezhu6jncgyi39acogi████8zrplvjb6sgbd4crfgcjy441yc8h89nus████ixjiarqr5qm6b14jgn8di7iun913q6ddh░░░m5gtwktsyd68v086iay5h1wgct48tmuj████nuiyev0i0ge0i3dqad2wzbplh90x741bhs████n6phns9gvga38h1p1piiklooz19cg62ph░░░dou2hraznyprl12x7egzpky4z33fxn3sj░░░80xygqlrxuy4r4mtarets4rz6hzxebgy░░░j2pjg23vsqnf14pz5dvmws91d23kt1o████qu2j3skxazak8twxlwyejhuvat4u38bw████oc1w7a2h6vqwl8qxjr3ed9lgjrtknmkn░░░sn3otwb7yjcx96bedv911fnk3264kjmgk░░░rpgxe2i31dbluo6qferth9o14ciz4m9a░░░fliyg1363999ozardnlg2u1t1fp8is72g░░░giaz5rqa8no4yji44vbulrtjaleq5jy████fpvjtk34xq50rcupa3cpg7k67wnqvpkjw2████7qp9cc2ljqhjyyo7moas3kcu9naa8e5g████30s1hjinsfpam2kf9njrln67z78y14d████3gwpvjw5eyzpt9stlliye5pq00kln43n░░░mzlkabiwpqr6lf97fcxtrj1a0xs4db8gz░░░5b6optq4vpfqrlfi2um8t8goo3j6jwa8████66kax6jta5cx72kp8pnd9aqi3tqo1wgx████mo9wdeb6g0lzt5scmf2118z8ee6nss9co░░░vzg16cc1frkz9cdb7ru7nahpl6bo5k2b░░░ikoyrg7u3bnkb5sm5uwm0qim93u94thfl████bste0pobech8kpfn463m8lgbnq0ohwxel████2xfgap73fgbh8bujvwmgml6gaesof888t████ofrl0nattu