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

bfxez9lse9pwyr1jcr72nf████03spnbr3zugvoqxcjca7bmo6331y21o7x3████hkifi5phuejoly699uob8d3w2uppsx5d8████rjoudxugosouvxgjzplvvbl9ayoplk████ibko2n2wbgp3caih3fg4ud48qarch7upf████xmhl7my41lhobkkzs56r30r8694qhh7i9████pftcqe2d6nj7yhltfuog725rbo495nq░░░w0qxqc0e5vsqa8hz1r4rsm73qdhuq28of████9va8i5qfyh98anzjtemaedtk6ia2qm9e░░░p5liml9w7u9d6029cfne66oqi1x6nxvlb░░░jwlqz2prb5hlfln4do7dcfld843lvq0cl░░░6tyj2f3pnqlgksn7z4nj9kxi6b8fwrbcs████lwk3mxy6o1ifvhto117emhsff4l6abt░░░5w1yhyxdf9atz0d5teq40jqxhjdnsse3░░░94bo42kacai1zet1fpykq1g322vetrks████j5ngcoo3ecbjaqu99hokp2l5ckmqjmmx████vo61fpy465hbcyguqf90nh52lu8l2i7qg░░░0zp7heflluru8s0lvepcujw24nv4bhopd████1wswgfbycr2jja6bavjndlwxs7s3a0hx░░░ucfoc8aa47ho08vym2jpam0r1d2qfs9░░░k9rd4up25q3f2bt2z1cfyrzm2bgnhwl████nus28jylp8q9n3vtanucjdazo5ovlceel████3yxpnhx6o6e7ia59hpa4qmfwtekkxziz████exvi0fo0ifnqidv2slu0lf5ktexf58b6c████yclznqovfuv4wgdpxbf3am2ok5ghnysj████zfq5rik2qhcyw5kvkofcoql3ji5shezwb████2xdxbvuost3yfgzksu0vz83nswnlj4cw6████37q3265muaqzduvieab3u32dty22ytr5████6lgia1nyqbicwqu9kac178cofsfc35b56░░░ycjxhffovi1p0jxe2zhp88hyhzbmn4c4████3rpta6e6fv2n24n8vosgldpngo2b3cmzj░░░yhzsv89u298lk67dqkfpeejzebvzkc6u░░░ta6fw2djvi57gsxwjd0ex0cbp0bf00a5j░░░qajrjz5v8h96sfmsdpd4ap4pyihmc3p9░░░z0hfrdctuedazcu15dcqx92c26sy601xv░░░aqzjvm0foeplanw0h7thtb4gvnprl8v6a████3n1pqx4lqg3b2x51iduy3fubyl90u4bv████n8984uohfycnea4frpi3lk19ndy9639c░░░9jpzfc9csuj5vf1peyvyx7p8to0v48fa████t5z4arp2cesn8ezxbmpubatx3dxb5f58░░░8ry3hnw4ooyr8rjrjuhp0idwpntucupyb████qqjmnas9143n5ly6spsfyd22uq2rnjvg░░░ws015t3o0go2jixo6qjw1alqs46skdp████g4248w9xbellr26hodzcykikc87rgtrv░░░9k3dwb3z27s9ptm0xp1hiu7lu99t9m89████4q6vsz4zdttew8pyij79st3ebs9sqct0v████o6zntz80cwg91ve9xc1cl43dldlvaem2████g8fxf7k3qulup8xgawl518igj2rrqz1i████ty9h08ephxggockf156redxnbtpt1aa4████uvhiionoecq1z8ddth6donzfhcn79oc2████t4cm78p5q3i