Skip to content
Insights
Field Notes

TanStack AI Hits RC: What It Means for TypeScript Teams

TanStack AI hit release candidate on 21 August 2026. What three spare-time maintainers built, how it compares to the Vercel AI SDK, and whether it is ready.

By Adam Maguire Wilson7 min read
On this page

Three people, working in their spare time, have spent the past ten months building a full AI framework for TypeScript. On 21 August 2026 they called it a release candidate. One thing to know before you read the announcement: npm currently serves @tanstack/ai at version 0.49.1, so "RC" is a project-phase label, not a semver tag. The architecture is locked; the version number has not caught up. Neither fact is a scandal, but you will calibrate the announcement better if you hold both at once.

Key Takeaways - TanStack AI, an open-source AI framework from the TanStack ecosystem, entered its release candidate phase on 21 August 2026, built by three maintainers in their free time. - One chat() method covers provider chat, media generation, MCP, sandboxes and agent harnesses, with AG-UI as the wire protocol and type safety as the selling point. - The packages are still 0.x, and the Vercel AI SDK outsizes the project roughly 70 to 1 in weekly npm downloads. RC means "help us test", not "migrate on Monday". - If you build AI features in TypeScript, this is the week to try it on something small.

What actually happened this week?

On 21 August, Alem Tuzlak, Jack Herrington and Tom Beckenham announced the RC phase on the TanStack blog. The project started in October 2025 as a single chat() method with four providers, and now covers most of what an AI product needs: chat, persistence, media generation, embeddings, memory, MCP, and sandboxed agent harnesses that can run Codex, Claude Code or other ACP-compatible coding agents against your own UI.

A few claims deserve footnotes. The "24 providers" headline counts across modalities; the official comparison page lists 16 LLM adapters plus 5 harness adapters. The "100+ models" for media generation is mostly one adapter's catalogue reach through fal. And the AG-UI adoption, presented as fresh news, was functionally completed in May, when the team shipped full bidirectional compliance with the spec. None of this is dishonest. It is the ordinary inflation of a launch post, worth deflating before you repeat it.

The line that rings truest is near the end: "We don't have a commercial roadmap, a product to upsell, or a hidden agenda." For AI tooling in 2026, that is genuinely unusual.

TanStack AI entered its release candidate phase on 21 August 2026. The framework has grown from one chat method and four providers into a full AI stack with AG-UI as its official protocol, built openly by a three-person team (TanStack blog).

Why does this matter?

Because the contest it enters is not close, and that is exactly what makes it interesting. The incumbent is the Vercel AI SDK, which Vercel credits with over 40 million monthly downloads and Fortune 500 adoption. This week the npm registry had ai, the Vercel package, at about 23.1 million weekly downloads. @tanstack/ai sat near 329,000. A gap of roughly 70 to 1.

Bar chart of weekly npm downloads in August 2026: Vercel AI SDK at 23.1 million per week, TanStack AI at 329 thousand per week, a gap of roughly 70 to 1.

Weekly npm downloads, last week of August 2026, drawn to scale. The TanStack bar is three pixels tall, which is rather the point: this is the challenger, not the incumbent.

TanStack's answer to that gap is the same answer it gave to data fetching a decade ago. React Query won by being headless, framework-agnostic, type-safe and attached to nobody's platform, and TanStack AI applies the pattern to AI plumbing. Where the AI SDK streams a proprietary UI message format, TanStack AI emits native AG-UI events end to end, a protocol already spoken by more than 20 agent frameworks. And their comparison page, to its credit, concedes ground in both directions: it frames the choice as a library composition problem versus a full-stack platform problem, then lists what the AI SDK does better. It is the most honest "us versus them" page I have read from either side of this rivalry.

The Vercel AI SDK leads TanStack AI by roughly 70 to 1 in weekly npm downloads (23.1 million against 329,000 in late August 2026). TanStack's counter is architectural: an open AG-UI protocol, framework-agnostic clients and end-to-end type safety, with no platform attached.

What does it mean for TypeScript teams?

A developer's editor showing TypeScript types resolving in an AI chat integration.

Three concrete things, in descending order of how much I believe them.

First, persistence stops being a project. You implement a small store interface, run it against the team's conformance suite, and pass it to a persistence middleware. The docs example is about 20 lines, and users can refresh mid-stream and resume where they left off. The footnote: the 20-line version uses an in-memory stream for development. Durable resumability in production needs an external Durable Streams backend, so budget for that before quoting the number to your team.

Second, MCP gets types. The @tanstack/ai-mcp package ships a CLI that inspects a remote MCP server and generates TypeScript types for its tools, so a malformed tool call fails at compile time instead of at 2am. If you have been wiring MCP servers by hand, and my notes on MCP for business suggest many teams still are, that alone is worth an afternoon.

Third, agent harnesses become a component, not a vendor. Run Codex or Claude Code inside a sandbox you choose, branch conversations, run several attempts of the same prompt in parallel, and keep every run durable. Nobody picks Daytona or E2B for you. If the harness idea is new territory, my practitioner's blueprint for agentic architecture covers the loop underneath it. For readers following the Chinese labs, the OpenRouter adapter puts Qwen, DeepSeek and Kimi one line of config away from the same API, which sits well with the model-agnostic stance I argued for in the field guide to China's open-weight ecosystem.

For TypeScript teams, the RC's practical draws are persistence in roughly 20 lines of middleware, compile-time type safety for MCP tools via a type-generating CLI, and provider-agnostic sandboxed harnesses for coding agents such as Codex and Claude Code.

What should you do now?

  1. This week: install it on something disposable. pnpm add @tanstack/ai @tanstack/ai-openai, wire chat() to a server-sent events endpoint, and see how the streaming and types feel against your current setup.

  2. This month: read the team's own comparison with the Vercel AI SDK before reading anyone else's, including mine. It is candid about where the AI SDK is ahead, which makes its claims for TanStack AI more believable.

  3. If you hit a bug: file it. The repo has 45 open issues and three maintainers, and the rough edges are real ones: a dropped first text delta when a tool call precedes text, intermittent 400s in the OpenAI Responses tool loop. RC feedback is what turns into v1.

Do not do any of the following:

  • Migrate a production AI SDK application this week. The packages are 0.x for a reason.

  • Take "24 providers" literally. The docs list 16 LLM adapters plus 5 harness adapters; the larger number counts providers across modalities.

  • Trust the tanstack.com/ai landing page, which still says alpha and lists four providers. It simply has not been updated for the RC.

The bigger picture

The story underneath the release is the shape of the team. Three people, spare time, no pricing page, 52 commits merged in the six days after the RC post. Set against a platform company with a gateway to sell, that is either the romantic version of open source or a genuine operational risk, and it is probably both. TanStack's npm packages were among those hit in the May 2026 supply-chain worm, which is what a three-person operational surface looks like on a bad week.

The team says v1 is very close, and the commit log says they mean it. What v1 will not change is the gap in the chart above; closing that is a slower business than shipping code. Watch the issue tracker, not the announcement cadence, to know when it is ready for you.

Frequently asked questions

Is TanStack AI production-ready?

Not yet, by its own framing. Release candidate means the architecture is locked and the team wants adversarial testing before v1. The packages are still 0.x and the issue tracker shows real rough edges. It is ready for side projects and serious evaluation, not for a production migration.

Does TanStack AI only work with React?

No. The core packages are framework-agnostic, with first-party clients for React, Vue, Svelte, Angular and Preact, plus a server-only quickstart. Framework independence is one of its main points of difference from the Vercel AI SDK.

Further reading

Keep reading

Agent Field Notes

Get the next issue.

Agent harnesses, runtimes, security and governance, explained for the people who have to operate them.

Facing a decision like this?

We run architecture reviews, governance assessments and version-pinned framework evaluations for teams making consequential agent decisions.

About the author

Adam Maguire Wilson

Founder and independent advisor on AI agent systems.

adam.mw