AgentScout Logo Agent Scout

NPM AI Packages Tracker: Anthropic SDK Surge and Mistral Explosive Growth (Week of May 31, 2026)

Weekly snapshot tracking 26 AI SDKs, frameworks, and vector DB packages on NPM with 115.2M total downloads. Anthropic SDK grew 20.3% WoW while OpenAI declined 5.6%. Mistral surged 77.9%. Claude Agent SDK crossed 7M weekly downloads milestone.

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

Data Overview

  • Snapshot Week: 2026-05-25 to 2026-05-31
  • Tracker: NPM AI Packages Tracker (view all historical snapshots: /tech/ai-agents/data/?tracker=npm-ai-packages-tracker)
  • Update Frequency: Weekly
  • Primary Sources: NPM Registry Search API, NPM Downloads API

Key Facts

  • Who: 26 AI SDKs, frameworks, and vector database packages tracked across three categories
  • What: 115.2M total weekly downloads; Anthropic SDK gained 3.84M downloads (+20.3% WoW), Mistral SDK surged 77.9%, OpenAI SDK declined 5.6%
  • When: Week ending May 31, 2026
  • Impact: 3 notable growth packages, 5 significant decline packages, 1 new entry (@google/genai at 13M downloads)

Methodology

Data collected via NPM Registry Search API and NPM Downloads API on May 31, 2026. Packages selected based on relevance to AI agent development, LLM integration, and vector database usage. Weekly download counts represent the 7-day period preceding the collection date. Week-over-week (WoW) changes calculated against previous snapshot data. New entries this week lack WoW comparison. Categories defined as:

  • SDK: Direct API client libraries for LLM providers
  • Framework: Agent orchestration, tool integration, and development frameworks
  • Vector DB: Vector database clients and local vector storage solutions

This Week’s Data

PackageCategoryWeekly DownloadsWoW ChangeDescription
openaiSDK23,430,731-5.6%OpenAI API SDK
@anthropic-ai/sdkSDK22,786,195+20.3%Anthropic API SDK
@google/genaiSDK13,010,009NewGoogle Generative AI SDK
aiSDK12,944,419-6.0%Vercel AI SDK
@anthropic-ai/claude-agent-sdkFramework7,066,332+21.8%Claude Agent SDK for building AI agents
@ai-sdk/openaiSDK6,359,846-7.3%OpenAI provider for Vercel AI SDK
@ai-sdk/anthropicSDK5,959,224-5.6%Anthropic provider for Vercel AI SDK
@mistralai/mistralaiSDK4,177,511+77.9%Mistral AI SDK
@ai-sdk/googleSDK4,333,950-7.4%Google provider for Vercel AI SDK
@langchain/coreFramework4,226,967-7.7%Core LangChain.js abstractions
langsmithFramework4,963,293-8.0%LangSmith Observability Platform client
@google/generative-aiSDK3,016,491-4.7%Google Generative AI SDK (legacy)
@langchain/openaiFramework2,956,425-5.3%OpenAI integrations for LangChain.js
@langchain/langgraphFramework2,261,340+8.4%LangGraph agent orchestration
langchainFramework2,211,158-5.6%LangChain.js TypeScript bindings
@vercel/detect-agentFramework2,033,248-4.1%Detect AI agent environments
@elastic/elasticsearchVector DB2,021,297-5.5%Elasticsearch client
@langchain/anthropicFramework866,410-2.9%Anthropic integrations for LangChain.js
@langchain/communityFramework848,885-3.2%Community integrations for LangChain.js
@pinecone-database/pineconeVector DB570,750-12.4%Pinecone vector database client
cohere-aiSDK465,426-3.8%Cohere AI SDK
@langchain/mcp-adaptersFramework182,627-9.8%MCP adapters for LangChain.js
llamaindexFramework102,764-5.6%LlamaIndex TypeScript
metorialFramework80,415-2.5%MCP server connection SDK
vectraVector DB42,367+5.7%Local vector database
agentkitFramework3-57.1%Agent framework

Week-over-Week Summary

MetricThis WeekLast WeekChange
Total packages tracked2625+1
Total weekly downloads115,325,863~107,500,000+7.8M
SDK total86,474,066~77,000,000+9.5M
Framework total26,217,383~27,000,000-0.8M
Vector DB total2,634,414~2,700,000-65K
SDK share75.1%~72%+3.1pp
Framework share22.8%~25%-2.2pp
Vector DB share2.3%~2.5%-0.2pp

Category Breakdown

SDK (75.1% of total downloads)

Direct API client libraries for LLM providers dominate NPM downloads. This week saw significant shifts in provider market share:

  • OpenAI SDK leads with 23.4M downloads but declined 5.6% WoW, losing 1.39M weekly downloads
  • Anthropic SDK surged to 22.8M downloads (+20.3% WoW, +3.84M), narrowing the gap with OpenAI to just 645K downloads
  • @google/genai debuted as a new entry at 13.0M downloads, representing Google’s unified SDK strategy
  • Mistral SDK exploded 77.9% WoW (2.35M to 4.18M), the largest percentage gain this week
  • Vercel AI SDK ecosystem shows mixed signals: core ai package at 12.9M (-6.0%), provider packages declining

Framework (22.8% of total downloads)

Agent orchestration and development frameworks show consolidation around a few leaders:

  • Claude Agent SDK crossed 7M weekly downloads (+21.8%), becoming the #1 AI agent framework on NPM
  • LangGraph maintained growth at 2.26M (+8.4%) as preferred TypeScript agent orchestration framework
  • LangChain core declining (-7.7%) as developers migrate to lighter abstractions
  • LangSmith also declined (-8.0%), suggesting potential ecosystem fatigue

Vector DB (2.3% of total downloads)

Vector database clients remain a small but contested segment:

  • Elasticsearch leads at 2.0M (-5.5%)
  • Pinecone dropped below 600K for first time (-12.4%)
  • Vectra (local vector DB) gained 5.7% as developers explore embedded alternatives
  • Anthropic ecosystem momentum: Both @anthropic-ai/sdk (+20.3%) and @anthropic-ai/claude-agent-sdk (+21.8%) show strong growth, driven by Claude 4 release and Agent SDK adoption. The combined Anthropic ecosystem (SDK + Agent SDK + Vercel provider) now exceeds 35M weekly downloads.

  • OpenAI SDK cannibalization: OpenAI SDK’s first weekly decline (-5.6%) coincides with Vercel AI SDK’s abstraction layer growth. Developers increasingly use @ai-sdk/openai (6.36M) and ai (12.9M) instead of direct OpenAI SDK, reducing lock-in.

  • Mistral surge signals diversification: Mistral SDK’s 77.9% WoW growth (largest this week) suggests developers are actively diversifying beyond OpenAI/Anthropic, possibly driven by cost optimization or model capability requirements.

  • Google unified SDK success: @google/genai’s debut at 13M downloads validates Google’s strategy to consolidate @google/generative-ai (legacy, now at 3M and declining) into a unified interface.

  • Vector DB fragmentation: Pinecone’s -12.4% decline while Vectra gains 5.7% indicates growing interest in local/embedded vector storage solutions, potentially driven by privacy and latency requirements.

  • Framework consolidation: LangGraph’s +8.4% growth while LangChain core declines suggests developers prefer focused agent orchestration tools over monolithic frameworks.

πŸ”Ί Scout Intel: What Others Missed

Confidence: high | Novelty Score: 62/100

The most significant signal this week is not any single package’s growth, but the structural shift in SDK consumption patterns. OpenAI SDK declined 5.6% while Anthropic SDK gained 20.3%, narrowing the gap from 3.2M to 645K downloads. Combined with the Vercel AI SDK abstraction layer now representing 19.3M weekly downloads (ai + @ai-sdk/* packages), the data reveals a three-tier market structure: (1) direct SDK users increasingly choosing Anthropic, (2) abstraction-layer users growing faster than direct SDK users, and (3) the abstraction layer cannibalizing OpenAI direct usage while enabling Anthropic growth.

Key Implication: The NPM ecosystem shows early signs of a multi-provider standard emerging via abstraction layers. Vercel AI SDK’s unified interface, combined with Anthropic’s aggressive Agent SDK positioning, is creating a competitive dynamic where OpenAI loses twice: developers switching to Anthropic directly AND developers abstracting away OpenAI via Vercel. Companies building AI applications should evaluate whether their SDK choice locks them into a single provider or enables multi-model flexibility.

Sources

NPM AI Packages Tracker: Anthropic SDK Surge and Mistral Explosive Growth (Week of May 31, 2026)

Weekly snapshot tracking 26 AI SDKs, frameworks, and vector DB packages on NPM with 115.2M total downloads. Anthropic SDK grew 20.3% WoW while OpenAI declined 5.6%. Mistral surged 77.9%. Claude Agent SDK crossed 7M weekly downloads milestone.

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

Data Overview

  • Snapshot Week: 2026-05-25 to 2026-05-31
  • Tracker: NPM AI Packages Tracker (view all historical snapshots: /tech/ai-agents/data/?tracker=npm-ai-packages-tracker)
  • Update Frequency: Weekly
  • Primary Sources: NPM Registry Search API, NPM Downloads API

Key Facts

  • Who: 26 AI SDKs, frameworks, and vector database packages tracked across three categories
  • What: 115.2M total weekly downloads; Anthropic SDK gained 3.84M downloads (+20.3% WoW), Mistral SDK surged 77.9%, OpenAI SDK declined 5.6%
  • When: Week ending May 31, 2026
  • Impact: 3 notable growth packages, 5 significant decline packages, 1 new entry (@google/genai at 13M downloads)

Methodology

Data collected via NPM Registry Search API and NPM Downloads API on May 31, 2026. Packages selected based on relevance to AI agent development, LLM integration, and vector database usage. Weekly download counts represent the 7-day period preceding the collection date. Week-over-week (WoW) changes calculated against previous snapshot data. New entries this week lack WoW comparison. Categories defined as:

  • SDK: Direct API client libraries for LLM providers
  • Framework: Agent orchestration, tool integration, and development frameworks
  • Vector DB: Vector database clients and local vector storage solutions

This Week’s Data

PackageCategoryWeekly DownloadsWoW ChangeDescription
openaiSDK23,430,731-5.6%OpenAI API SDK
@anthropic-ai/sdkSDK22,786,195+20.3%Anthropic API SDK
@google/genaiSDK13,010,009NewGoogle Generative AI SDK
aiSDK12,944,419-6.0%Vercel AI SDK
@anthropic-ai/claude-agent-sdkFramework7,066,332+21.8%Claude Agent SDK for building AI agents
@ai-sdk/openaiSDK6,359,846-7.3%OpenAI provider for Vercel AI SDK
@ai-sdk/anthropicSDK5,959,224-5.6%Anthropic provider for Vercel AI SDK
@mistralai/mistralaiSDK4,177,511+77.9%Mistral AI SDK
@ai-sdk/googleSDK4,333,950-7.4%Google provider for Vercel AI SDK
@langchain/coreFramework4,226,967-7.7%Core LangChain.js abstractions
langsmithFramework4,963,293-8.0%LangSmith Observability Platform client
@google/generative-aiSDK3,016,491-4.7%Google Generative AI SDK (legacy)
@langchain/openaiFramework2,956,425-5.3%OpenAI integrations for LangChain.js
@langchain/langgraphFramework2,261,340+8.4%LangGraph agent orchestration
langchainFramework2,211,158-5.6%LangChain.js TypeScript bindings
@vercel/detect-agentFramework2,033,248-4.1%Detect AI agent environments
@elastic/elasticsearchVector DB2,021,297-5.5%Elasticsearch client
@langchain/anthropicFramework866,410-2.9%Anthropic integrations for LangChain.js
@langchain/communityFramework848,885-3.2%Community integrations for LangChain.js
@pinecone-database/pineconeVector DB570,750-12.4%Pinecone vector database client
cohere-aiSDK465,426-3.8%Cohere AI SDK
@langchain/mcp-adaptersFramework182,627-9.8%MCP adapters for LangChain.js
llamaindexFramework102,764-5.6%LlamaIndex TypeScript
metorialFramework80,415-2.5%MCP server connection SDK
vectraVector DB42,367+5.7%Local vector database
agentkitFramework3-57.1%Agent framework

Week-over-Week Summary

MetricThis WeekLast WeekChange
Total packages tracked2625+1
Total weekly downloads115,325,863~107,500,000+7.8M
SDK total86,474,066~77,000,000+9.5M
Framework total26,217,383~27,000,000-0.8M
Vector DB total2,634,414~2,700,000-65K
SDK share75.1%~72%+3.1pp
Framework share22.8%~25%-2.2pp
Vector DB share2.3%~2.5%-0.2pp

Category Breakdown

SDK (75.1% of total downloads)

Direct API client libraries for LLM providers dominate NPM downloads. This week saw significant shifts in provider market share:

  • OpenAI SDK leads with 23.4M downloads but declined 5.6% WoW, losing 1.39M weekly downloads
  • Anthropic SDK surged to 22.8M downloads (+20.3% WoW, +3.84M), narrowing the gap with OpenAI to just 645K downloads
  • @google/genai debuted as a new entry at 13.0M downloads, representing Google’s unified SDK strategy
  • Mistral SDK exploded 77.9% WoW (2.35M to 4.18M), the largest percentage gain this week
  • Vercel AI SDK ecosystem shows mixed signals: core ai package at 12.9M (-6.0%), provider packages declining

Framework (22.8% of total downloads)

Agent orchestration and development frameworks show consolidation around a few leaders:

  • Claude Agent SDK crossed 7M weekly downloads (+21.8%), becoming the #1 AI agent framework on NPM
  • LangGraph maintained growth at 2.26M (+8.4%) as preferred TypeScript agent orchestration framework
  • LangChain core declining (-7.7%) as developers migrate to lighter abstractions
  • LangSmith also declined (-8.0%), suggesting potential ecosystem fatigue

Vector DB (2.3% of total downloads)

Vector database clients remain a small but contested segment:

  • Elasticsearch leads at 2.0M (-5.5%)
  • Pinecone dropped below 600K for first time (-12.4%)
  • Vectra (local vector DB) gained 5.7% as developers explore embedded alternatives
  • Anthropic ecosystem momentum: Both @anthropic-ai/sdk (+20.3%) and @anthropic-ai/claude-agent-sdk (+21.8%) show strong growth, driven by Claude 4 release and Agent SDK adoption. The combined Anthropic ecosystem (SDK + Agent SDK + Vercel provider) now exceeds 35M weekly downloads.

  • OpenAI SDK cannibalization: OpenAI SDK’s first weekly decline (-5.6%) coincides with Vercel AI SDK’s abstraction layer growth. Developers increasingly use @ai-sdk/openai (6.36M) and ai (12.9M) instead of direct OpenAI SDK, reducing lock-in.

  • Mistral surge signals diversification: Mistral SDK’s 77.9% WoW growth (largest this week) suggests developers are actively diversifying beyond OpenAI/Anthropic, possibly driven by cost optimization or model capability requirements.

  • Google unified SDK success: @google/genai’s debut at 13M downloads validates Google’s strategy to consolidate @google/generative-ai (legacy, now at 3M and declining) into a unified interface.

  • Vector DB fragmentation: Pinecone’s -12.4% decline while Vectra gains 5.7% indicates growing interest in local/embedded vector storage solutions, potentially driven by privacy and latency requirements.

  • Framework consolidation: LangGraph’s +8.4% growth while LangChain core declines suggests developers prefer focused agent orchestration tools over monolithic frameworks.

πŸ”Ί Scout Intel: What Others Missed

Confidence: high | Novelty Score: 62/100

The most significant signal this week is not any single package’s growth, but the structural shift in SDK consumption patterns. OpenAI SDK declined 5.6% while Anthropic SDK gained 20.3%, narrowing the gap from 3.2M to 645K downloads. Combined with the Vercel AI SDK abstraction layer now representing 19.3M weekly downloads (ai + @ai-sdk/* packages), the data reveals a three-tier market structure: (1) direct SDK users increasingly choosing Anthropic, (2) abstraction-layer users growing faster than direct SDK users, and (3) the abstraction layer cannibalizing OpenAI direct usage while enabling Anthropic growth.

Key Implication: The NPM ecosystem shows early signs of a multi-provider standard emerging via abstraction layers. Vercel AI SDK’s unified interface, combined with Anthropic’s aggressive Agent SDK positioning, is creating a competitive dynamic where OpenAI loses twice: developers switching to Anthropic directly AND developers abstracting away OpenAI via Vercel. Companies building AI applications should evaluate whether their SDK choice locks them into a single provider or enables multi-model flexibility.

Sources

q9pztsinhqyi71glm3i1cβ–‘β–‘β–‘g6n8uu2qnaq9a8o1djic36sg8dy2yw1omβ–‘β–‘β–‘itwgkaafffrghl4ghg34nj1exzfoj46oβ–ˆβ–ˆβ–ˆβ–ˆec4d1jut9agko9piwn2feziatc3p91aeβ–‘β–‘β–‘q8abp2k1ucaygbg0p380v9w98pycr82oβ–‘β–‘β–‘ytp4147j5dp6n1zyhfjl9p3z45y7amojlβ–‘β–‘β–‘7boo1j13wvlkkclhu856gn9571z4ic9nβ–ˆβ–ˆβ–ˆβ–ˆmeob1n5goqe4gfg77hmwlvn6hq89kb8mbβ–‘β–‘β–‘0noy7aa80wulzbb290aa5sy9pkmss70uβ–‘β–‘β–‘c8r5fwnl1rezj8whtg12aa7hcc3gmkbnβ–‘β–‘β–‘ydshtozddcvnfudpn61d8snoglx55imβ–ˆβ–ˆβ–ˆβ–ˆ3giuax4x9mam8k1n8m1yeqt4lwmzaunhdβ–‘β–‘β–‘9pz2xn6ejrsn6dfz4y08je1ygo95m0r4β–‘β–‘β–‘9kkod3auxjnj3ndhc3x8cafd5tc33c7vβ–ˆβ–ˆβ–ˆβ–ˆnlh3yhp0jpid9cw1751399fps0j4qu15β–ˆβ–ˆβ–ˆβ–ˆi3t41c5swgp38xt2hq01r76u4y89kezuβ–‘β–‘β–‘854co9gzwp7z935exgqasbw7bv1z036aβ–‘β–‘β–‘51vtz6bn6afmeax6ruyo2dy637jmagqjβ–‘β–‘β–‘pi48mw5y3h9gxrqb61qbpdno65r0haoβ–ˆβ–ˆβ–ˆβ–ˆzzzaqwjnzqi5vt4wl0llsfmpepita4ytβ–ˆβ–ˆβ–ˆβ–ˆlx0o2riclfipkjwgnl4yhlshblnq5ydjβ–ˆβ–ˆβ–ˆβ–ˆt3pd5tp71n1jjs0gmirnt045vu86qs4u9β–ˆβ–ˆβ–ˆβ–ˆbaowmeov2hrdfhsifxmxv99mj3lc2nu9bβ–ˆβ–ˆβ–ˆβ–ˆonaxno5heqazs3yko0aegm5dhqq66liwβ–ˆβ–ˆβ–ˆβ–ˆjz3aep0dq1pohd23zvlpwqypw46597umrβ–‘β–‘β–‘idpzguex3rfo86v69yz57gwa15qfsx1heβ–‘β–‘β–‘9rd8k37xto8g0cuxv5aewlewgdte2btβ–‘β–‘β–‘t29qkypc9krbpmiv825hhk10cc1l0hjcarβ–‘β–‘β–‘9zyktnvfwdb26mcrxrgnoy3xstxuv8mu1β–ˆβ–ˆβ–ˆβ–ˆ18ft2cbo3ze8mah3c6mbt7zkp6lbks6lβ–ˆβ–ˆβ–ˆβ–ˆs3adyytrihgho19r2mg9xknz3r8isni4β–‘β–‘β–‘uz4ob5pe3mi9qs46a1kya05csat1ongk7β–ˆβ–ˆβ–ˆβ–ˆyc8p2cxo0fp7pajmdhjwqqjap6jkyvyβ–‘β–‘β–‘kp416as6z2knm2j6ccue3qs2s2vjap2xsβ–‘β–‘β–‘maue72yjg5m73rwf615ol4imo4khqchorβ–ˆβ–ˆβ–ˆβ–ˆtv0h5sfepylpp0r3j5sovr9cfzkwixβ–ˆβ–ˆβ–ˆβ–ˆ48uf1gpbw53m94mhfo4lre1w9pavec7gwβ–ˆβ–ˆβ–ˆβ–ˆny2flqfmwcd507u7b9rqtb2syae57ivβ–ˆβ–ˆβ–ˆβ–ˆoj3o4sswoc9e158n4wlzxqw17vbtz9fcgβ–ˆβ–ˆβ–ˆβ–ˆabxvpsutpfoirke2w8zei5fzmyiddwβ–‘β–‘β–‘3hc3yrij6cjzorxqid6cm8z2yfpzbzpeβ–‘β–‘β–‘b0swqx7cg3jc8av731hmxcdk23bsy7oβ–‘β–‘β–‘ugpqjrcawgnexz6x5mggsvgc7gh0x0asβ–‘β–‘β–‘g3paohvgg5700ean4wch9r2pnna5ii401pqβ–ˆβ–ˆβ–ˆβ–ˆs88htpkf4xjbguki9vyr5uq2p7y7xx7bdβ–ˆβ–ˆβ–ˆβ–ˆrzkkp6wkewjkb7fczqf5owjn65ucgojβ–‘β–‘β–‘n8xsfx6888wchn16n0crx8c927j2cmβ–ˆβ–ˆβ–ˆβ–ˆr2khv4unm9nu08j81cveircgv5qsomveβ–ˆβ–ˆβ–ˆβ–ˆsqegrpy5tomkyoiunx6garsxgdu9tmkdnβ–ˆβ–ˆβ–ˆβ–ˆz693v3ypbuiorzulznr8qamg2dxusl6wsβ–‘β–‘β–‘s1pz6r4t4zi