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 ↓

Summary Information

Updated 12 minutes ago
Added to GitGenius on May 25th, 2026
Created on October 8th, 2025
Open Issues & Pull Requests: 84 (+0)
Number of forks: 302
Total Stargazers: 3,007 (+0)
Total Subscribers: 7 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.1 days
Mean response time: 15.6 days
90th percentile: 59.9 days
Tracked items: 187

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Almost all tracked open issues have seen activity in the last three months. Only 13% of issues opened in the past year have been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 44
New in 7 days: 12
Closed in 7 days: 22
Avg open age: 53 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 8
Closed in 7 days: 21
Comments in 7 days: 2
Events in 7 days: 68

Top labels

  • waiting-on: maintainer (60)
  • has-pr (31)
  • enhancement (13)
  • needs-repro (4)
  • waiting-on: author (4)
  • bug (1)
  • dependencies (1)
  • persistence (1)

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.