#1010th of 115 in Agent and MCP starters
tanstack/ai
Provider-agnostic TypeScript SDK for streaming chat, tools, and media generation
Watch puts tanstack/ai on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.tanstack/ai is on your watch list. Its new releases and problems show there.
- Stars
- 3.4k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
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| Rank | Project | Score |
|---|---|---|
| #8 | agent-autoloopBackground scheduler that runs CLI agents on events and asks you only when unsure | 87 out of 100 |
| #9 | strukto-ai/mirageVirtual shell that mounts S3, Slack and Gmail as one filesystem for agents | 87 out of 100 |
| #11 | computerDurable Object SQLite filesystem with container, shell and JS execution backends | 85 out of 100 |
| #12 | agentteamsCoordinates a Manager agent and Worker agents in Matrix rooms | 83 out of 100 |
| #13 | epicenterPersonal data runtime that serves Markdown-backed app actions to CLI and MCP | 83 out of 100 |