ai
by
vercel

Description: 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 ↗

Summary Information

Updated 6 minutes ago
Added to GitGenius on April 14th, 2025
Created on May 23rd, 2023
Open Issues & Pull Requests: 1,831 (+2)
Number of forks: 4,749
Total Stargazers: 25,457 (+3)
Total Subscribers: 144 (+0)

Issue Activity (beta)

Open issues: 964
New in 7 days: 12
Closed in 7 days: 9
Avg open age: 245 days
Stale 30+ days: 6
Stale 90+ days: 4

Recent activity

Opened in 7 days: 10
Closed in 7 days: 9
Comments in 7 days: 86
Events in 7 days: 300

Top labels

  • ai/provider (1,845)
  • support (1,271)
  • task-identify-issue-type-done (978)
  • bug (867)
  • ai/core (825)
  • feature (736)
  • ai/ui (547)
  • provider/openai (437)

Repository Insights (GitGenius)

Median issue/PR response: 0.0 hours
Mean response time: 14.3 days
90th percentile: 3.7 days
Tracked items: 3,657

Most active contributors

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 has demonstrated steady growth and active maintenance, with the stargazer count increasing from 25,354 to 25,355 between checks, and currently maintaining 1,764 open issues. The project shows strong community engagement with a median issue and pull request response latency of zero hours, indicating rapid triage and response times. The most active issue labels tracked are ai/provider with 1,845 items, support with 1,269 items, and task-identify-issue-type-done with 971 items, reflecting the breadth of provider integrations and user support activity.

The development team is led by lgrammel with 9,159 tracked events, followed by gr2m with 4,656 events and aayush-kapoor with 1,051 events, demonstrating concentrated but collaborative maintenance. 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.

ai
by
vercelvercel/ai

Repository Details

Fetching additional details & charts...