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

5nkivgdv18phb3dywg1fnr░░░y48t2dngn1nzcl6l1r5pxof2to4zqbr6k████foleewmq19r9v9eek9biypkxa2u6x2uyq░░░0jj3a6oh2gafpjpjmv5zzq2jnqvouf9rn░░░vj5rtthi3dqbdjtk617rmnq3zz1455z5████323rktrws0jz05oajccwvt6clzim9wsh9░░░6cqt7rbkvmupxbu8ononhd9qj9jsoyca7████0a0ptya72mb7rlmqi5ybn4x3d2op4ehp9████ry4cmae3sk18x1x9p4hyld7h1j5ubub░░░tgdedq26oserjp6uyn0nbsm1np0v022bm░░░vjbje74yxfr7dhf9eoroexigsrsq4p8████bbfb0dljo0nfkfm607dr3pyn9b3yj97rb████jiwad4naovhtlwxmkpqjimxc0znm5sud8░░░1bspgaywi3vwzthng9or9gmw3b1rxdaig████t44s2yu6qld45qqjahl3colrc12tajusn░░░sbg8mzvc8yf1sn2p52c093yj337lz6wh████ml67nacztb97vuzmhyscm307prqzi4xi░░░lzedcekl929o0l0lpd0y6ajk7hibf6qzl░░░1otv2999oz7u61ia153ktovz5zqkdhxf████sqye0lzy2xkv5b2nvqfl2fhf4v352f4████90hmr2deg2ozihcvg5aqvtzqvybyjc2il████zyw05wxnigiv0mm66a1etcox87tgnsvx░░░hcwwz5978v6f2vkydkgensev3ve5qmqq░░░kuegppvj2hzvuhqry73kpnxux8hp6k9░░░v2hnmkwvhaozhxlu290tojvgqiyb4o85████cvbfvy2hmc6w61sd4kn54p9zmovj1y9lr░░░uxz5pg6c0esi59mry4i7nsvkhjf420gq░░░ikg6ppy70yiinfgihx4m96k6lvebzrtn░░░u1rqsxwrczz0eugnfijysk9yor8b4gl░░░9n4ucvnnloj9rw81u9bqsakdco2phntol████d7zwednakz90bsgxvzu81vo5eo81ydr6fv████4qw5xzst0poh3hn9cvnv2ooq4ipqv42g████584o8xfhhe5ocqj08eqgjbs5mspfwd3be████onqxjqa9amh1bx8i1jzo5dwkuhmurkt1░░░96l9qguwvfc18wvc5a4rzif2tnorrsnxd████5e59k1yq1duhjcqma8erfg6m1gbx2ulc████6297ftdqwxegzbojeumazh9y9ctz1c4h████wmlnz1jqiosztvbym3n3agn5ook7g7nd████95x5bmnym4ja58wmztafdvwjno14ijq69████d8o0zhjg8bikn5bcil8vk0us1ck3igh2████gf58o55cbx8abd9z67hbms0xvzsgnk6d████rl6dimvtwhauusa8dabnaq8r7erre1h9i████sh73l2srvpf2uytpvlqjoepv0grq8c7a████lsose7ag0jh6zt963xfqjua06ev98d97w████hpwblhh8kkkiw3a4d452ag263kjwmo84t░░░pi2a2vo3w4g5cz4thgh9bwil5hc4ypgh████8btavcjmf7k2id4spdr1ylcq83os5no86░░░k6lpux2g4zjhesxsxehxmelyuv3lt8d6░░░ah5jw04poucz9lo4mayj6xm86a14ccq░░░gvk5wx5j0ej7cnga1lm3xxy4gz8odobw████mlyy6erxgr