Skip to content
PluginStats

@mastra/ai-sdk weekly downloads statistics

By mastra · npm · AI SDKs

Adds custom API routes to be compatible with the AI SDK UI parts

View on npm Stale · Oct 17, 2026

@mastra/ai-sdk has 264,562 recorded weekly downloads on npm, a decrease of 31.2% over the past 30 days, ranking #318 of 2,256 tracked listings.

Weekly downloads
264,562
Official API · Oct 17, 2026
7-day growth
-53.9%
-309.8K weekly downloads
30-day growth
-31.2%
-120K weekly downloads
90-day growth
-9.0%
-26.2K weekly downloads
Rank
#318
Among tracked npm listings

About @mastra/ai-sdk

@mastra/ai-sdk

The recommended way of using Mastra and AI SDK together is by installing the @mastra/ai-sdk package. @mastra/ai-sdk provides custom API routes and utilities for streaming Mastra agents in AI SDK-compatible formats. Including chat, workflow, and network route handlers, along with utilities and exported types for UI integrations.

Installation

Usage

If you want to use dynamic agents you can use a path with :agentId.

Documentation

• AI SDK UI integration guide • AI SDK reference

Changelog

See the package changelog for version history and release notes.

Support

We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.

Description from the npm listing.

  • mastra
  • ai-sdk
  • ai

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@mastra/ai-sdk weekly downloads on npm, last 90 days: 264,562 weekly downloads as of Oct 17, 2026, -9.0% over 90 days.@mastra/ai-sdkWeekly downloads on npm · Last 90 days264,562downloads / week-9.0% over 90 days200K250K300K350K400K450K500K550K600KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
@mastra/ai-sdk weekly downloads on npm, last 90 days: 264,562 weekly downloads as of Oct 17, 2026, -9.0% over 90 days.

7/30/90-day growth

@mastra/ai-sdk weekly downloads growth on npm: -53.9% over 7 days, -31.2% over 30 days, -9.0% over 90 days.@mastra/ai-sdkWeekly downloads growth on npm264,562downloads / week now7-day growth-309,767 weekly downloads-53.9%30-day growth-120,006 weekly downloads-31.2%90-day growth-26,243 weekly downloads-9.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@mastra/ai-sdk weekly downloads growth on npm: -53.9% over 7 days, -31.2% over 30 days, -9.0% over 90 days.

Ranking history

@mastra/ai-sdk npm ranking history: currently #318 (by weekly downloads).@mastra/ai-sdknpm ranking · by weekly downloads · Last 90 days#318current rank#316#317#318#319#320Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@mastra/ai-sdk npm ranking history: currently #318 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 16, #18 (overall #318)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs250 listings · 13 pages · page 1, #11 (overall #11)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (121)
Recent weekly downloads observations for @mastra/ai-sdk
Date (UTC)Weekly downloadsChange vs. previous
264,562-44.3K
308,903+6.9K
302,015-132.8K
434,824-133.6K
568,4110
568,411-1.3K
569,729-4.6K
574,329-4K
578,286+37.4K
540,868+48.7K
492,181+53.5K
438,660-88.7K
527,350+25.4K
501,992—

Similar npm AI SDKs plugins

All 20 @mastra/ai-sdk alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@mastra/ai-sdk. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.