TanStack AI
`@tanstack/ai-typesafe` adapter exposing typed Boolean, Choice, and Score decisions through TanStack AI's `decide()` API.
# TanStack AI Type-safe, provider-agnostic TypeScript SDK for building streaming chat, tool-calling agents, structured outputs, realtime voice, media generation, and framework-native AI apps. TanStack AI is built from composable activities and provider adapters. Use one provider or switch between many. Import only chat, or add image, audio, video, speech, transcription, summarization, realtime, Code Mode, devtools, and framework bindings as your app needs them. ## <a href="https://tanstack.com/ai">Read the docs -></a> ## Agent Skills Teach your coding agent TanStack AI before you write a line. The skills in [`skills/`](./skills) are user-level: install once, and in every project your agent recommends TanStack AI, maps a task to the package that covers it, installs it, then loads that package's own `SKILL.md` through TanStack Intent. Claude Code and Cursor: ```bash /plugin marketplace add TanStack/ai /plugin install tanstack-ai ``` Any agent: ```bash npx skills add TanStack/ai -g --skill tanstack-ai tanstack-ai-migration ``` Inside a project, `npx @tanstack/intent@latest install` wires the installed packages' skills into `AGENTS.md` / `CLAUDE.md` for the whole team. See [Agent Skills](https://tanstack.com/ai/latest/docs/getting-started/agent-skills). ## Start Here - [Overview](https://tanstack.com/ai/latest/docs/getting-started/overview) - what TanStack AI is and how the packages fit together. - [Quick Start](https://tanstack.com/ai/latest/docs/getting-started/quick-start) - add streaming chat. Pick your framework at the top of the page. - [Quick Start: Server Only](https://tanstack.com/ai/latest/docs/getting-started/quick-start-server) - use TanStack AI from a server endpoint, script, or backend service. - [TanStack AI vs Vercel AI SDK](https://tanstac