TanStack/ai

🤖 Type-safe, provider-agnostic TypeScript AI SDK for streaming chat, tool calling, agents, and multimodal apps across OpenAI, Anthropic, Gemini, React,...

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 42 minutes ago
Added to GitGenius on May 25th, 2026
Created on October 8th, 2025
Open Issues & Pull Requests: 43 (+0)
GitHub issues: Enabled
Number of forks: 361
Total Stargazers: 3,182 (+0)
Total Subscribers: 7 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 35.7 hours
Mean response time: 15.5 days
90th percentile: 56.4 days
Tracked items: 323

Maintainer activity

3 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 92% of issues opened in the past year have since been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 25
New in 7 days: 17
Closed in 7 days: 20
Avg open age: 38 days
Stale 30+ days: 3
Stale 90+ days: 0

Recent activity

Opened in 7 days: 17
Closed in 7 days: 18
Comments in 7 days: 2
Events in 7 days: 44

Top labels

  • waiting-on: maintainer (160)
  • has-pr (113)
  • enhancement (16)
  • needs-repro (6)
  • waiting-on: author (5)
  • bug (2)
  • dependencies (1)
  • persistence (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

TanStack AI is a type-safe, provider-agnostic TypeScript SDK for building streaming chat applications, tool-calling agents, and multimodal AI apps across multiple LLM providers and frontend frameworks.

The tool addresses the fragmentation of AI development by providing a unified interface that works with OpenAI, Anthropic, Gemini, and other providers while remaining agnostic to the underlying service. It uses a composable architecture built from activities and provider adapters, allowing developers to use a single provider or switch between them. The SDK supports streaming chat, tool calling, structured outputs, realtime voice, media generation, and framework-native integrations. Developers can import only the capabilities they need—chat alone, or add image, audio, video, speech, transcription, summarization, realtime features, and bindings for React, Vue, Svelte, and Solid as their application grows.

The tool suits teams building AI-powered applications who want to avoid vendor lock-in and maintain type safety across their stack. It works well for projects ranging from simple streaming chat interfaces to complex agent systems with tool calling and multimodal capabilities. The README explicitly compares the tool to Vercel AI SDK, detailing differences in architecture, feature coverage, and tradeoffs to help developers choose between them.

The project has a substantial base of adopters reporting real-world use, as evidenced by the fact that almost all open issues are raised by outside users rather than the core team. Maintainers typically respond to new issues and pull requests within a few days. Work in the issue tracker is dominated by enhancement requests, persistence-related improvements, and bug reports.