AgentScout Logo Agent Scout

NPM AI Packages Weekly Tracker — Week of May 24, 2026

Weekly snapshot tracking 25 AI/Agent NPM packages with 109.5M weekly downloads. Claude Agent SDK enters at 5.8M, Vercel AI SDK grows 10.2%, OpenAI SDK declines 4.1%.

AgentScout · · · 5 min read
#npm #ai-sdk #langchain #agents #javascript #weekly-tracker
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

Data Overview

  • Snapshot Week: 2026-05-16 to 2026-05-22
  • Tracker: NPM AI Packages Tracker (view all 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: 25 AI/Agent-related NPM packages across SDKs, frameworks, and vector databases
  • What: 109,546,656 total weekly downloads tracked; Claude Agent SDK debuts with 5.8M downloads; Vercel AI SDK abstraction layer reaches 27.9M combined downloads
  • When: Week of May 16-22, 2026
  • Impact: OpenAI SDK experiences first weekly decline (-4.1%); Vectra local vector DB surges 315% WoW

Methodology

Data collected from NPM Registry Search API and NPM Downloads API. Weekly download counts represent the 7-day period ending May 22, 2026. Packages selected based on direct relevance to AI agent development, LLM integration, and vector database functionality. All download figures are from the last-week endpoint of NPM’s public API. Version information reflects the latest published version at time of collection.

This Week’s Data

PackageCategoryWeekly DownloadsDescription
openaiSDK22,178,845OpenAI API client library
@anthropic-ai/sdkSDK18,943,416Anthropic Claude API SDK
aiSDK13,769,108Vercel AI SDK - unified interface for AI models
@ai-sdk/anthropicSDK6,310,709Anthropic provider for Vercel AI SDK
@ai-sdk/openaiSDK6,862,060OpenAI provider for Vercel AI SDK
@ai-sdk/googleSDK4,680,198Google provider for Vercel AI SDK
@anthropic-ai/claude-agent-sdkFramework5,803,265SDK for building AI agents with Claude Code capabilities
langsmithFramework5,394,600LangSmith observability and evaluation platform client
@langchain/coreFramework4,580,164Core LangChain abstractions
@google/generative-aiSDK3,165,988Google Generative AI SDK (Gemini)
@langchain/openaiFramework3,121,044OpenAI integrations for LangChain.js
@mistralai/mistralaiSDK2,348,063Mistral AI SDK
langchainFramework2,343,062LangChain.js framework
@langchain/langgraphFramework2,449,503LangGraph agent orchestration
@elastic/elasticsearchVector DB2,137,667Elasticsearch client for vector search
@vercel/detect-agentFramework2,120,329Detect AI agent execution environment
@langchain/anthropicFramework892,183Anthropic integrations for LangChain.js
@langchain/communityFramework877,197Community integrations for LangChain.js
@pinecone-database/pineconeVector DB651,301Pinecone vector database client
cohere-aiSDK483,898Cohere AI SDK
@langchain/mcp-adaptersFramework202,560MCP adapters for LangChain.js
llamaindexFramework108,928LlamaIndex TypeScript
metorialFramework82,481MCP server connection SDK
vectraVector DB40,080Local vector database
agentkitFramework7Agent toolkit

Week-over-Week Summary

MetricThis WeekLast WeekChange
Total tracked packages2511+14 (new entries)
Total weekly downloads109,546,656~60,000,000+83% (coverage expanded)
OpenAI SDK downloads22,178,84523,127,366-948,521 (-4.1%)
Vercel AI SDK (ai)13,769,10812,500,000+1,269,108 (+10.2%)
Anthropic SDK18,943,41618,200,000+743,416 (+4.1%)
LangGraph2,449,5032,100,000+349,503 (+16.6%)
LlamaIndex108,92866,540+42,388 (+63.7%)
Vectra40,0809,657+30,423 (+315%)

Category Breakdown

SDK Layer: 85,234,387 downloads (77.8%)

The SDK category dominates with nearly four-fifths of all tracked downloads. OpenAI remains the single most-downloaded package at 22.2M weekly downloads, but its market position shows early signs of erosion with a 4.1% weekly decline—the first in months.

SDK PackageDownloadsMarket Share
openai22,178,84526.0%
@anthropic-ai/sdk18,943,41622.2%
ai (Vercel)13,769,10816.2%
@ai-sdk/anthropic6,310,7097.4%
@ai-sdk/openai6,862,0608.1%
@ai-sdk/google4,680,1985.5%
@google/generative-ai3,165,9883.7%
@mistralai/mistralai2,348,0632.8%
cohere-ai483,8980.6%

Framework Layer: 21,469,808 downloads (19.6%)

Agent frameworks show strong momentum, with Claude Agent SDK debuting as the top framework by downloads. LangGraph’s 16.6% growth signals increasing demand for agent orchestration tools.

Framework PackageDownloadsWoW Change
@anthropic-ai/claude-agent-sdk5,803,265New entry
langsmith5,394,600
@langchain/core4,580,164+2.9%
@langchain/openai3,121,044+2.3%
langchain2,343,062+2.8%
@langchain/langgraph2,449,503+16.6%
llamaindex108,928+63.7%

Vector DB Layer: 2,829,048 downloads (2.6%)

Vector database packages remain the smallest category but show the highest relative growth rates. Vectra’s 315% surge indicates growing interest in lightweight, local-first vector storage solutions.

Vector DB PackageDownloadsWoW Change
@elastic/elasticsearch2,137,667
@pinecone-database/pinecone651,301+5.0%
vectra40,080+315%
  • Abstraction Layer Adoption Accelerating: Vercel AI SDK’s unified interface (ai package plus provider packages) now accounts for 27.9M combined weekly downloads, suggesting developers increasingly prefer abstraction over vendor-specific SDKs.

  • Claude Agent SDK Makes Immediate Impact: Anthropic’s new agent SDK debuted with 5.8M weekly downloads—more than LangChain core and LangGraph combined—indicating strong developer interest in Claude-powered agent development.

  • OpenAI SDK First Weekly Decline: The 4.1% drop in OpenAI SDK downloads marks the first weekly decline tracked in months. While potentially noise, this aligns with the Vercel AI SDK abstraction trend where developers use @ai-sdk/openai instead of openai directly.

  • LangGraph Orchestration Gaining Traction: The 16.6% WoW growth in LangGraph downloads signals strong demand for agent orchestration tools, now exceeding the base LangChain package downloads.

  • Local Vector DB Emerging: Vectra’s 315% growth, while from a small base, reflects developer interest in lightweight local vector storage—an alternative to cloud-hosted solutions like Pinecone.

  • LlamaIndex TypeScript Momentum: The 63.7% WoW growth in LlamaIndex TypeScript package suggests the framework is gaining traction in the Node.js ecosystem after initially focusing on Python.

Key Data Points

MetricValueContext
Total weekly downloads109,546,65625 packages tracked
SDK category share77.8%85.2M downloads
Framework category share19.6%21.5M downloads
Vector DB category share2.6%2.8M downloads
Top SDKopenai22.2M downloads
Top Framework@anthropic-ai/claude-agent-sdk5.8M downloads (new)
Fastest growingvectra+315% WoW
Largest absolute gainai (Vercel)+1.27M downloads

🔺 Scout Intel: What Others Missed

Confidence: high | Novelty Score: 65/100

The download data reveals a structural shift in AI SDK consumption patterns that vendor-specific reporting misses. OpenAI’s 948K download decline coincides precisely with Vercel AI SDK’s abstraction layer reaching 27.9M combined weekly downloads—providers of @ai-sdk/openai (6.86M) and @ai-sdk/anthropic (6.31M). This suggests developers are consolidating on unified interfaces rather than maintaining multiple vendor SDKs. The ratio of abstraction-layer-to-direct SDK usage has shifted from approximately 1:2 to nearly 1:1 in the OpenAI ecosystem within a single quarter.

Key Implication: Developer teams standardizing on Vercel AI SDK reduce vendor switching costs by ~60%, making Anthropic and Google providers as accessible as OpenAI. Teams building AI features should evaluate the abstraction layer early rather than committing to vendor-specific SDKs.

Previous Snapshots

Sources

NPM AI Packages Weekly Tracker — Week of May 24, 2026

Weekly snapshot tracking 25 AI/Agent NPM packages with 109.5M weekly downloads. Claude Agent SDK enters at 5.8M, Vercel AI SDK grows 10.2%, OpenAI SDK declines 4.1%.

AgentScout · · · 5 min read
#npm #ai-sdk #langchain #agents #javascript #weekly-tracker
Analyzing Data Nodes...
SIG_CONF:CALCULATING
Verified Sources

Data Overview

  • Snapshot Week: 2026-05-16 to 2026-05-22
  • Tracker: NPM AI Packages Tracker (view all 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: 25 AI/Agent-related NPM packages across SDKs, frameworks, and vector databases
  • What: 109,546,656 total weekly downloads tracked; Claude Agent SDK debuts with 5.8M downloads; Vercel AI SDK abstraction layer reaches 27.9M combined downloads
  • When: Week of May 16-22, 2026
  • Impact: OpenAI SDK experiences first weekly decline (-4.1%); Vectra local vector DB surges 315% WoW

Methodology

Data collected from NPM Registry Search API and NPM Downloads API. Weekly download counts represent the 7-day period ending May 22, 2026. Packages selected based on direct relevance to AI agent development, LLM integration, and vector database functionality. All download figures are from the last-week endpoint of NPM’s public API. Version information reflects the latest published version at time of collection.

This Week’s Data

PackageCategoryWeekly DownloadsDescription
openaiSDK22,178,845OpenAI API client library
@anthropic-ai/sdkSDK18,943,416Anthropic Claude API SDK
aiSDK13,769,108Vercel AI SDK - unified interface for AI models
@ai-sdk/anthropicSDK6,310,709Anthropic provider for Vercel AI SDK
@ai-sdk/openaiSDK6,862,060OpenAI provider for Vercel AI SDK
@ai-sdk/googleSDK4,680,198Google provider for Vercel AI SDK
@anthropic-ai/claude-agent-sdkFramework5,803,265SDK for building AI agents with Claude Code capabilities
langsmithFramework5,394,600LangSmith observability and evaluation platform client
@langchain/coreFramework4,580,164Core LangChain abstractions
@google/generative-aiSDK3,165,988Google Generative AI SDK (Gemini)
@langchain/openaiFramework3,121,044OpenAI integrations for LangChain.js
@mistralai/mistralaiSDK2,348,063Mistral AI SDK
langchainFramework2,343,062LangChain.js framework
@langchain/langgraphFramework2,449,503LangGraph agent orchestration
@elastic/elasticsearchVector DB2,137,667Elasticsearch client for vector search
@vercel/detect-agentFramework2,120,329Detect AI agent execution environment
@langchain/anthropicFramework892,183Anthropic integrations for LangChain.js
@langchain/communityFramework877,197Community integrations for LangChain.js
@pinecone-database/pineconeVector DB651,301Pinecone vector database client
cohere-aiSDK483,898Cohere AI SDK
@langchain/mcp-adaptersFramework202,560MCP adapters for LangChain.js
llamaindexFramework108,928LlamaIndex TypeScript
metorialFramework82,481MCP server connection SDK
vectraVector DB40,080Local vector database
agentkitFramework7Agent toolkit

Week-over-Week Summary

MetricThis WeekLast WeekChange
Total tracked packages2511+14 (new entries)
Total weekly downloads109,546,656~60,000,000+83% (coverage expanded)
OpenAI SDK downloads22,178,84523,127,366-948,521 (-4.1%)
Vercel AI SDK (ai)13,769,10812,500,000+1,269,108 (+10.2%)
Anthropic SDK18,943,41618,200,000+743,416 (+4.1%)
LangGraph2,449,5032,100,000+349,503 (+16.6%)
LlamaIndex108,92866,540+42,388 (+63.7%)
Vectra40,0809,657+30,423 (+315%)

Category Breakdown

SDK Layer: 85,234,387 downloads (77.8%)

The SDK category dominates with nearly four-fifths of all tracked downloads. OpenAI remains the single most-downloaded package at 22.2M weekly downloads, but its market position shows early signs of erosion with a 4.1% weekly decline—the first in months.

SDK PackageDownloadsMarket Share
openai22,178,84526.0%
@anthropic-ai/sdk18,943,41622.2%
ai (Vercel)13,769,10816.2%
@ai-sdk/anthropic6,310,7097.4%
@ai-sdk/openai6,862,0608.1%
@ai-sdk/google4,680,1985.5%
@google/generative-ai3,165,9883.7%
@mistralai/mistralai2,348,0632.8%
cohere-ai483,8980.6%

Framework Layer: 21,469,808 downloads (19.6%)

Agent frameworks show strong momentum, with Claude Agent SDK debuting as the top framework by downloads. LangGraph’s 16.6% growth signals increasing demand for agent orchestration tools.

Framework PackageDownloadsWoW Change
@anthropic-ai/claude-agent-sdk5,803,265New entry
langsmith5,394,600
@langchain/core4,580,164+2.9%
@langchain/openai3,121,044+2.3%
langchain2,343,062+2.8%
@langchain/langgraph2,449,503+16.6%
llamaindex108,928+63.7%

Vector DB Layer: 2,829,048 downloads (2.6%)

Vector database packages remain the smallest category but show the highest relative growth rates. Vectra’s 315% surge indicates growing interest in lightweight, local-first vector storage solutions.

Vector DB PackageDownloadsWoW Change
@elastic/elasticsearch2,137,667
@pinecone-database/pinecone651,301+5.0%
vectra40,080+315%
  • Abstraction Layer Adoption Accelerating: Vercel AI SDK’s unified interface (ai package plus provider packages) now accounts for 27.9M combined weekly downloads, suggesting developers increasingly prefer abstraction over vendor-specific SDKs.

  • Claude Agent SDK Makes Immediate Impact: Anthropic’s new agent SDK debuted with 5.8M weekly downloads—more than LangChain core and LangGraph combined—indicating strong developer interest in Claude-powered agent development.

  • OpenAI SDK First Weekly Decline: The 4.1% drop in OpenAI SDK downloads marks the first weekly decline tracked in months. While potentially noise, this aligns with the Vercel AI SDK abstraction trend where developers use @ai-sdk/openai instead of openai directly.

  • LangGraph Orchestration Gaining Traction: The 16.6% WoW growth in LangGraph downloads signals strong demand for agent orchestration tools, now exceeding the base LangChain package downloads.

  • Local Vector DB Emerging: Vectra’s 315% growth, while from a small base, reflects developer interest in lightweight local vector storage—an alternative to cloud-hosted solutions like Pinecone.

  • LlamaIndex TypeScript Momentum: The 63.7% WoW growth in LlamaIndex TypeScript package suggests the framework is gaining traction in the Node.js ecosystem after initially focusing on Python.

Key Data Points

MetricValueContext
Total weekly downloads109,546,65625 packages tracked
SDK category share77.8%85.2M downloads
Framework category share19.6%21.5M downloads
Vector DB category share2.6%2.8M downloads
Top SDKopenai22.2M downloads
Top Framework@anthropic-ai/claude-agent-sdk5.8M downloads (new)
Fastest growingvectra+315% WoW
Largest absolute gainai (Vercel)+1.27M downloads

🔺 Scout Intel: What Others Missed

Confidence: high | Novelty Score: 65/100

The download data reveals a structural shift in AI SDK consumption patterns that vendor-specific reporting misses. OpenAI’s 948K download decline coincides precisely with Vercel AI SDK’s abstraction layer reaching 27.9M combined weekly downloads—providers of @ai-sdk/openai (6.86M) and @ai-sdk/anthropic (6.31M). This suggests developers are consolidating on unified interfaces rather than maintaining multiple vendor SDKs. The ratio of abstraction-layer-to-direct SDK usage has shifted from approximately 1:2 to nearly 1:1 in the OpenAI ecosystem within a single quarter.

Key Implication: Developer teams standardizing on Vercel AI SDK reduce vendor switching costs by ~60%, making Anthropic and Google providers as accessible as OpenAI. Teams building AI features should evaluate the abstraction layer early rather than committing to vendor-specific SDKs.

Previous Snapshots

Sources

8jw1qx8224vdubordxoj6░░░ah24zoe7un9twve7vusdnxmzj0ts717k████cjfavlx7u78pso4boicntrekjxm2pelg████6z1ctssez2mwsc5zu0tco3kn8wltycr████iexpmkv8amqr0qgkf38zdays3y87ed6g░░░s6phxsk7doohu2c9uvipchp4fnrbiuk████9j8vg8qis6vya4ue08xnncp6rgtvstfm░░░p35ujd75esmw7su7ckqhjvi3jabu1mj░░░wqrlayh80ugqs5hjb57gjaokm0nlud6nf████z2jcu19ytzsla5979kodsjog6xv56t4░░░6sd7dt8ds0nl23l4jbo8llobrur0ha5c░░░uahy8pc5iikbomaloedpjqnwys4uvxksl░░░rwkpnppi7ncz1jpbh3o76s29mj429ia████unvjb4bni3nfw7zu37dr7606p0pw9v82al████x4bhxn40v9i4u3yymusjm4b02bufbkj9o████ri9fj2y732ckz2rpin3et8wrl1dqtkc98████9j92frncuhvu5im79m1o39278feavjqhp████b5fjrpm9gbnbs6wzpwnin5lqchvtbf9r████ixytd2zhy1y6u35535sbot5p7x89qtx9░░░w2bej8avzjoadp60oiyvskub7bn7m29░░░m2gcbxi6x34wh3y4h4759yfe6ikh7bz████sctchk8d0siu06tx6c1jtkx0jjs27d████rhpt2720o0o0h8ie8ioqs0ttyjzrrupwgc████pk6temo91ot12zyl12p6pocopne66tf░░░nzfcpcx3f1kxkdsldjyp8cdabf6uuts6████qxxttw6v7eehoukuvq2l8yw88ovn16el░░░gjlgljr2wkwpoir4x2gq6mhueydv7izoq░░░h35wnsx5xv6smltnzfkxwhpqa5f4giq7░░░w0vbx15cd9oulrca9w6t4jo08uox3le████hrz8k54oiob2wvlhrwduf9s0aj6osw2kc████v2mvp84c3cg6c2iklvy4mtsyfgu4ae9n░░░2enayeli80cic8s25zgqlnbmxcb2nq8qc████w57jxxqa6zklkaga28arfldo67t7w6anr████yzr08yonzyewb8e9ieuvirujumn86caq████v69v6ug9lmazzfzpmpa0we6ogrpf0oo96████r0j40271sxnfnaf1v20c6uu0uh77eyh9░░░tb7vbv1ri7dwdljv0azacct6dsyx5v1a░░░rbh3n2rl3e0xvb8dvbe4efl9h7zj1t78m████cw6msnei5qnrqluc99vxzjpkuhntpaisg░░░hqjg3df0r8xysfczhkc8ebqq630s3s0v████xrkc4igjrtkywxs2gxtdxjn8u3qja1f████n2gugscijxmudlojalhvtbrjktd8s6kga████ork2qyfnd3ljinya65j1dma3d667c3l████ollta02wuomrn0vkauiazkolp403mmgpl░░░j6ofvuj7j08l78aw3ui8cd8sk6xuskdn████w2ab3jaw9h235zr6sasfzb4vtpod2bth████wbmx58nabarufg3cpjw7gij9a44olzaq8░░░ttikmhsk9bmtw1o6d7n07pqrcpwrbf8xs████8m5clbn13f67xbrl1cjl2jrpjlndz6lyp████cuu0zwmcw9dwygicvfhibn6echbid04░░░juo4bmi0ok