ai weekly downloads statistics
By vercel (17 listings) · npm · MCP servers
AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.
ai has 15,149,249 recorded weekly downloads on npm, a decrease of 33.3% over the past 30 days, ranking #102 of 2,256 tracked listings.
About ai
AI SDK
The AI SDK is a provider-agnostic TypeScript toolkit designed to help you build AI-powered applications and agents using popular UI frameworks like Next.js, React, Svelte, Vue, Angular, and runtimes like Node.js.
To learn more about how to use the AI SDK, check out our API Reference and Documentation.
Installation
You will need Node.js 22+ and npm (or another package manager) installed on your local development machine.
Skill for Coding Agents
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
Unified Provider Architecture
The AI SDK provides a unified API to interact with model providers like OpenAI, Anthropic, Google, and more.
By default, the AI SDK uses the Vercel AI Gateway to give you access to all major providers out of the box. Just pass a model string for any supported model:
You can also connect to providers directly using their SDK packages:
Usage
Generating Text
Generating Structured Data
Agents
UI Integration
The AI SDK UI module provides a set of hooks that help you build chatbots and generative user interfaces. These hooks are framework agnostic, so they can be used in Next.js, React, Svelte, and Vue.
You need to install the package for your framework, e.g.:
Agent @/agent/image-generation-agent.ts
Route (Next.js App Router) @/app/api/chat/route.ts
UI Component for Tool @/component/image-generation-view.tsx
Page @/app/page.tsx
Templates
We've built templates that include AI SDK integrations for different use cases, providers, and frameworks. You can use these templates to get started with your AI-powered application.
Community
The AI SDK community can be found on the Vercel Community where you can ask questions, voice ideas, and share your projects with other people.
Contributing
Contributions to the AI SDK are welcome and highly appreciated. However, before you jump right into it, we would like you to review our Contribution Guidelines to make sure you have smooth experience contributing to AI SDK.
Authors
This library is created by Vercel and Next.js team members, with contributions from the Open Source Community.
Description from the npm listing.
- ai
- vercel
- sdk
- llm
- mcp
- tool-calling
- tools
- structured-output
- agent
- agentic
- generative
- genai
- chatbot
- prompt
- inference
- language-model
- streaming
- openai
- anthropic
- claude
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (543)Similar npm MCP servers plugins
All 20 ai alternativesai on other marketplaces
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/ai. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.