Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References
Back to all posts

TanStack AI Blog

Posts about TanStack AI.

TanStack AI Just Learned to Compose Music
by Alem Tuzlak

TanStack AI adds a new generateAudio activity with streaming, plus fal and Gemini Lyria adapters for music, sound effects, text-to-speech, and transcription. One typed API, any provider.

Read More
One Flag, Every Chunk: Debug Logging Lands in TanStack AI
by Alem Tuzlak

Your AI pipeline is a black box: a missing chunk, a middleware that doesn't fire, a tool call with mystery args. TanStack AI now ships pluggable, category-toggleable debug logging across every activity and adapter. Flip one flag and the pipeline prints itself.

Read More
Your AI Tool Calls Should Fail at Compile Time, Not in Production
by Alem Tuzlak

Provider tools like web search and code execution are supported on some models and silently ignored on others. TanStack AI now gates them per model at the type level, so incompatible pairings fail at compile time instead of in production.

Read More
How We Test TanStack AI Across 7 Providers on Every PR
by Alem Tuzlak

TanStack AI runs 147 deterministic E2E tests across 7 LLM providers in under 2 minutes. Here's the testing infrastructure that makes it possible.

Read More
Code Mode: Let Your AI Write Programs, Not Just Call Tools
by Jack Herrington, Alem Tuzlak, and Tanner Linsley

One tool call at a time is the bottleneck. TanStack AI Code Mode lets the LLM write and execute TypeScript programs in secure sandboxes, composing your tools with loops, conditionals, and Promise.all in a single shot.

Read More
Lazy Tool Discovery: Scaling AI Tool Systems Without Drowning in Tokens
by Alem Tuzlak

Every tool definition costs tokens and eats into the context window. Past a certain point it actually makes the model worse. Today we're shipping lazy tool discovery in TanStack AI.

Read More
TanStack AI Just Got Middleware — And It Changes Everything
by Alem Tuzlak

Your chat endpoint starts simple, then you need logging, filtering, caching, rate limiting, and suddenly it's a 200-line monster. TanStack AI now ships a first-class middleware system.

Read More
Talk to Your AI: Realtime Voice Chat in TanStack AI
by Alem Tuzlak

Text-based chat is table stakes. TanStack AI now ships first-class support for realtime voice conversations — real voice, real time, with the AI hearing you, thinking, and responding naturally.

Read More
Generation Hooks: Type-Safe AI Beyond Chat
by Alem Tuzlak

Chat is just the beginning. Your AI app needs image generation, text-to-speech, transcription, and more. TanStack AI now ships generation hooks — a unified set of React hooks for every non-chat AI activity.

Read More
TanStack AI: Why We Split the Adapters
by Alem Tuzlak

Instead of one monolithic adapter that does everything, we split into smaller adapters each in charge of a single functionality. Here's why that architectural change matters.

Read More
The ai() Function That Almost Was
by Alem Tuzlak

We spent eight days building an API we had to kill. One function to rule them all, one function to control all adapters, one function to make it all typesafe — here's what happened.

Read More
TanStack AI Alpha 2: Every Modality, Better APIs, Smaller Bundles
by Alem Tuzlak, Jack Herrington, and Tanner Linsley

Two weeks since the first alpha and we've prototyped through 5-6 internal architectures. Alpha 2 brings every modality, better APIs, and smaller bundles.

Read More
TanStack AI Alpha: Your AI, Your Way
by Jack Herrington, Alem Tuzlak, and Tanner Linsley

The current AI landscape has a problem — pick a framework, pick a cloud provider, and suddenly you're locked in. TanStack AI is a framework-agnostic toolkit built for developers who want control.

Read More