#1010th of 115 in Agent and MCP starters

tanstack/ai

Provider-agnostic TypeScript SDK for streaming chat, tools, and media generation

Stars
3.4k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript
Stars, last 29 weeks+814
6 May 2026: 2,582 stars13 May 2026: 2,609 stars20 May 2026: 2,636 stars27 May 2026: 2,653 stars3 Jun 2026: 2,698 stars10 Jun 2026: 2,727 stars17 Jun 2026: 2,757 stars24 Jun 2026: 2,792 stars1 Jul 2026: 2,826 stars8 Jul 2026: 2,847 stars15 Jul 2026: 2,863 stars22 Jul 2026: 2,883 stars29 Jul 2026: 2,914 stars5 Aug 2026: 2,936 stars12 Aug 2026: 2,961 stars19 Aug 2026: 2,983 stars26 Aug 2026: 3,011 stars2 Sept 2026: 3,042 stars9 Sept 2026: 3,075 stars16 Sept 2026: 3,106 stars23 Sept 2026: 3,124 stars30 Sept 2026: 3,149 stars7 Oct 2026: 3,168 stars14 Oct 2026: 3,192 stars21 Oct 2026: 3,212 stars28 Oct 2026: 3,268 stars4 Nov 2026: 3,336 stars11 Nov 2026: 3,355 stars18 Nov 2026: 3,375 stars25 Nov 2026: 3,396 stars

2,582 on 6 May 20263,396 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

TanStack AI is a TypeScript SDK that streams chat from a server endpoint over server-sent events and exposes typed tools, structured outputs, realtime voice, and image, video, speech and transcription generation. Provider adapters are tree-shakeable per activity, and client bindings exist for React, Solid, Vue, Svelte and Preact. It also ships Code Mode, devtools, OpenTelemetry support and agent skills for Claude Code and Cursor.

Who it is for: TypeScript developers building chat and agent features into web apps

Strengths

  • Adapters for 16 providers, including OpenAI, Anthropic, Gemini, Ollama and OpenRouter
  • One toolDefinition() contract with typed server or client implementations
  • Tree-shakeable per activity: import only chat, or add image, video or speech
  • Bindings for React, Solid, Vue, Svelte, Preact plus a headless client

Weaknesses

  • TypeScript only; no Python or other language SDK is listed
  • A library, not a deployable app; you write the server endpoint and UI
  • Preact bindings are listed for chat only, with no generation hooks
  • No built-in retrieval or vector search is listed

What it needs

  • TypeScript, OpenAI, Anthropic Claude, Google Gemini, Vertex AI
  • Needs Node.js with pnpm, Provider API key (OpenAI, Anthropic, OpenRouter, etc.)

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Head to head

Also in Agent and MCP starters

See all 115
Also in Agent and MCP starters
RankProjectScore
#8agent-autoloopBackground scheduler that runs CLI agents on events and asks you only when unsure6.8k starsMIT87 out of 100
#9strukto-ai/mirageVirtual shell that mounts S3, Slack and Gmail as one filesystem for agents3.9k stars+201 (+5.4%) in 30 daysApache-2.087 out of 100
#11computerDurable Object SQLite filesystem with container, shell and JS execution backends10k starsMIT85 out of 100
#12agentteamsCoordinates a Manager agent and Worker agents in Matrix rooms6.2k stars+268 (+4.5%) in 30 daysApache-2.083 out of 100
#13epicenterPersonal data runtime that serves Markdown-backed app actions to CLI and MCP4.8k starsAGPL-3.083 out of 100