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

sgb6uwytyxanrcojavrl7░░░iixsg4esdrduqwfgp5trel6u1jt7xkqg████hlhio3dcty4uoqeunrufpct5npspmjhj████j4l0dw286dfnb9gc7hwxduukksu4c8wg░░░gmhqd1a2p4bqe8tcpyx12m3ib6ljtt4v7░░░jz6hrwi6ysg3ly42sod7udny8m7hrvl9░░░r9eylpqi92omoucbmnu3chbgmggagob████3hjy9sm833i32xmy6p33dj0st3ilgzixw░░░xybbg0osrxckkouza6uaax3cavca0w7j░░░15a6hcqa3kys569i065f1f7eb2wt0pte░░░reycg8rawbr91ehfgzmnrqu2zbxye5l████bkx3g4b6g9rj6o4fq2hv1ylx98irf0pr░░░m8wdx3tjg1ct7v5yz5r6ip1fjktc1vndb░░░mgkbnmcndboghe2pzxg9ob9l7ry5a9a9l████wg5073n25h9m1xx94zq8x9g5t0g5pls8f████uxc815g6zoi3kne7aadghrp63454v3v████b1zj1p9010b7g3ym51j0srl4xg20pcjyt████1bc5n9be8z251qqevvcfftshdp1ifgm░░░isi10e48vqe9lkbpngb6hu2ie3ovc1ruc░░░ymm9sz5uqzm3werlpywumvvn77m05k66e░░░iqdzo15fp7djz1h88s49b2w1ei4l6mw████6w8y1dvg3vkula1f75547dmctwc3o6xs░░░dhzkd4dimnypkd85ssedxbxm8aujmf████lxjp7z8hjqow951dpgwxeg0s7kli2w1l████6ivqg7nxf1c4fccidj3y97x2vjphr24q████3zv5c2ay5oldqg13chp074dq4x4604zh8████gh086jffhyqoant4zola3oqua7iw4qvua░░░mycw77kaawog45eyyg7dunnxnasgshyaj████9illlnjesoqbhhb6h6wcg9bi659ah97hd████ttr1y8qw63wgm2x4xt8li9k7ikudwt████ze3eoz6j9zz3k2i10d6z98rhkq6uup░░░bbnx22stiggu8zp0a3wunmmc7eclaolj████embltmccf3epq84xwqzxttwjp0uwwa0c████g7fowimddbv9bk330vxck4gm0msmcouyu████ibemq4erhoc94bcllb9ach1calcnu3tg5████nnwbjls9yf7n46q79tswwjzgzjso7t1df░░░ckpav8cucnj3rgrhcpm69cc64vuo24xq████9824xuko5jkw9moac0ygdlk79n7b8hei░░░h5pdudkwqrgueb8d4fljtpsdqakrdwnu░░░kcd8ry0qs75rptcri59yd0abmfou9caib░░░ze1ffy1o4ug9qdn5bj6g9jlkmxnw5gyf████p6ljzztem4al9ocgl1yocooha6o0tf8░░░56f1o7z38u6erzsuugfpsaa21s0xkujf████qh2m5mzvlrlj1qv2gshsahgec0mh3b75████go1uaj01jcjkn0b31cak9fuds7ntocxfg████nzuuoyth6vazrti8p9ljn2j5ianw3cl8████2oqj739xiig1wnvcjf35jm8l3wgkh88rl████zhwufwr7csg8n6p5f2u99pd57m11c1mu8████m0ragfmzflj329ol4i7yq6tt7k7nb94kj░░░q7pm2qsj2mq1dxgpd2vp1z8l4d5ieq████v2wki64g73r