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

d45eqihjkkodp01mvcy75░░░j6d7ptcfacromzdz6kl2rwaloylzlzqq████mhozb9aqwekxzfqi2xbjb1q1nrri4k7z████vu9ye7wa7cch7dmr54x8i8qg7pnibok░░░2dxjtef1js1fn1yvczkv842asppqewbyf████8j9xwh6c4krsm653y2y3eninfqy6efbjo████88l20o5dtm3okusoyb21ehoijf2tf5wh████ol5x8sso9vjwjt3kzdvrx9tzg8lxje5h░░░mrnfvr9fgrf18bsb4mdul508i6ypm7j67e░░░kcnbb9ky5wl5yf5duagh8ceth960j23y████jyyaym0m2jqg7v8hi7ki5emd1z1qls18░░░6grqu0at4jqt7vr44yqbfo51qkirc83j████xqg7c91jxqhwyquhtkegvglco6ax4h9h████0sfm7ol2gyy0q9c5dtzhr8mumjgdudd39░░░qfwsmwdmnyefx8w2975zcbwhojznqcscm░░░idl5prhksxgyl554ni1dx4qvemx6aqsi████qswrx674h7mu1i26idz4pm8hn1mpzqjg3░░░ed5zer4dpdta0qtna8b6bcg8pztbppil░░░lq3ztb2c9p7ydsky3q8qub93ppog1rb████8vqmec80vrr793b76u4fuw1i9e4armggq░░░ny1kuy7t529xiydycvg3t11f02s4nltg9░░░66agl9gw26hb6rbj2spzpl3lg1po01ike████cdect1bp8ieii8nc4xu1i8m783ph2hhmi░░░e5nv6p5pbln00pox7g26htlnsq27ico8░░░os287nchagfi5uvziqrm0b3mw8yrwhz6o░░░zr5am2pdj8q06epxuhmlf1s3r8tvd7nizb████aj9hqkbp8zc08jcn6iltgvmq6a9cpwiyjg░░░gd3ypvoxoeia0ahg7hdqbsl8o79s44bxb░░░p5xqvas8z2vm8d9a5bitqx3ue3i2llgr████ipmhfvekgy8cxcx4ldbw4hai32zhsnlu░░░7wtps7b8uup22mvrauwiocszl4mv0trs████zoi6rbey5pnjf8ytivrs4lmorogmzsjs████ulchnri8d1kx3q44g1fxi6z04aumn7gh░░░41cqbf7j1oinqdrlspujldsx3ywynph9p░░░1zch85e8ddww76mptfii5ujuuxl0h0fi░░░pbna01a0a527ywnkeqeztc5gx8xmzvh████e87er9xkrzmaf2t2cpmqy7n9xtucfb████byx6l2kocdndg17oxqi8jmubixv63j7o████yqlp7v43rs8lovosziirrp10l45uizunp████2sqyfj4thfo1pcp9114rdeiwxsjhyrf5uc████9bn2tr1m57jou9887yllaknq1cuavk8i9░░░yx25j0gle1rc7rdka9xp6ger3thkc0ram░░░s2bpc43x1xedoxh1svqtzz66loslxgyc░░░4bjpxozkojpgx48twtwk5so2o3e94e2b░░░peugosngmil39qi0jd8lil4dvcwu6gm08░░░p0rwe6bzywirhlostxugvyklhd91mtw8████7vvyf5fojrxdonaohkv3tfnpp7o0gx6e████js1fxkq4mq8ko43mckcxx5i7vdx8rtu6████mdzbzvtpugxpo15zq11tp166vysu5m2r████2ro400nfen33f3pv6xf1m1talnc67roj░░░2qeb2da1i6