vercel/ai

The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on April 14th, 2025
Created on May 23rd, 2023
Open Issues & Pull Requests: 1,380 (-11)
GitHub issues: Enabled
Number of forks: 5,288
Total Stargazers: 27,180 (+8)
Total Subscribers: 151 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 15.7 hours
Mean response time: 31.6 days
90th percentile: 92.4 days
Tracked items: 4,651

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 78% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "factory-automatic" is answered fastest, typically in about 6 hours, while "feature" waits about 3 days. 46% of tracked open issues have had no activity in three months. 84% of issues opened in the past year have been closed, leaving a working backlog.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 485
New in 7 days: 68
Closed in 7 days: 93
Avg open age: 201 days
Stale 30+ days: 360
Stale 90+ days: 281

Recent activity

Opened in 7 days: 56
Closed in 7 days: 80
Comments in 7 days: 83
Events in 7 days: 334

Top labels

  • task-identify-issue-type-done (4,618)
  • ai/provider (1,862)
  • merged-main (1,417)
  • support (1,244)
  • bug (852)
  • ai/core (826)
  • feature (743)
  • factory-automatic (607)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

The AI SDK is a free, open-source TypeScript toolkit created by Vercel and the Next.js team for building AI-powered applications and agents. It provides a provider-agnostic architecture that abstracts away differences between multiple AI model providers, allowing developers to write unified code that works across OpenAI, Anthropic, Google, and other supported providers. The toolkit is designed to work seamlessly with popular UI frameworks including Next.js, React, Svelte, Vue, and Angular, as well as Node.js runtimes, making it accessible across different development environments.

The core functionality of the AI SDK centers on three main capabilities: generating text through language models, generating structured data from unstructured inputs, and building autonomous agents. The SDK provides a unified API that lets developers pass model strings to access providers through the Vercel AI Gateway by default, while also supporting direct connections to provider SDKs for more granular control. The AI SDK UI module offers framework-agnostic hooks specifically designed for building chatbots and generative user interfaces, with dedicated packages available for different frameworks like Next.js and React.

The repository's influence extends to overlapping contributor relationships with major projects including Microsoft's VSCode, TypeScript, and the Rust language repository, indicating its significance within the broader developer ecosystem.

The SDK requires Node.js 22 or higher and provides comprehensive documentation through its official website at ai-sdk.dev, including API references and detailed guides. The project includes pre-built templates for different use cases, providers, and frameworks to accelerate development. The repository actively encourages contributions through published contribution guidelines and maintains a community presence on the Vercel Community platform where users can ask questions, share ideas, and showcase projects built with the AI SDK.