TanStack AI 1.0: Stable SDK, Upgrade and Agent Limits
TanStack AI 1.0 stabilizes its TypeScript SDK, but the new agent harness remains experimental. See migration changes, supported workflows and limits.
TanStack released TanStack AI 1.0 on October 23, 2026, turning its provider-agnostic TypeScript AI toolkit into a stable option for production chat, tool-calling and multimodal applications. The release covers 76 stable packages, 23 provider adapters and a range of UI frameworks. The headline needs one important qualification: its new durable agent harness is explicitly experimental and still ships as 0.x packages.
What is stable in TanStack AI 1.0?
The stable SDK combines server-side chat and model adapters with framework integrations, typed tool definitions, streaming responses, structured outputs, media generation, MCP connections and sandbox options. TanStack says its 1.0 branch runs 943 deterministic end-to-end tests across 17 provider adapters. These are project-reported test counts, not independent reliability or performance benchmarks.
For an application team, the practical attraction is choice: a React, Vue or Svelte interface can communicate with a server using a model adapter without committing the entire product to one model provider. That flexibility does not make provider pricing, model capabilities, authentication rules or tool behavior identical. Test the exact providers and workloads your application needs.
Upgrading from 0.x requires coordinated changes
TanStack describes 1.0 as a compatibility commitment, not a drop-in upgrade for every 0.x app. Deprecated APIs were removed. A 1.0 client must communicate with a 1.0 server, so update all @tanstack/ai packages together. The official migration documentation identifies renamed fields and AG-UI wire-format changes that can break custom endpoints if only the frontend is upgraded.
- Inventory every @tanstack/ai package in the client and server; plan one coordinated version upgrade rather than mixing 0.x and 1.0.
- Run the official AG-UI codemod in a branch and review its changes before merging.
- Replace the old body option with forwardedProps and the old conversationId option with threadId. Provide a stable threadId on both client and server.
- Inspect custom API routes: older body.data reads must become forwardedProps reads. Explicitly allowlist client-controlled fields instead of spreading them into model configuration.
- Replace deprecated framework UI packages with the supported framework package UI entry points, where relevant.
- Run type checks, test tool approvals and streaming, and follow the saved-data migration guidance for persisted chats, runs or files before deploying.
The new @tanstack/ai-harness and @tanstack/ai-harness-cli packages remain on 0.x. Their APIs can change in minor releases even though the main TanStack AI 1.0 SDK is stable. Do not interpret the 1.0 announcement as a stability guarantee for the harness.
Where the new agent harness fits
The harness is designed for agents that need more than a single chat request: durable sessions, user steering while a turn runs, background work, tool approvals, and sessions that can resume after a restart when backed by persistent storage. TanStack documents one harness definition that can be served through a web app, command-line interface, ACP or MCP. These are developer building blocks, not a hosted autonomous agent service that works without deployment, storage or operational safeguards.
The clearest decision is to separate the stable SDK from the experimental orchestration layer. A team building an AI assistant with streaming chat and typed tools can evaluate TanStack AI 1.0 now. A team replacing a production job runner with the harness should isolate it behind an interface, pin versions, and test crash recovery, authorization, tool approval and retries. This is an implementation recommendation, not a vendor-proven performance advantage over other SDKs.
A practical evaluation before adopting it
Start with one real workflow: a chat interface that calls a read-only tool, requests approval before a write, and preserves its conversation across a reload. Measure successful completions, tool-call errors, latency and human review effort on your own data. If provider switching matters, repeat the same test with a second supported adapter. Keep API keys on the server unless you intentionally implement a documented bring-your-own-key flow.
The October 23 release is meaningful for TypeScript teams because the core API now has a stable major version and a documented migration path. Its experimental harness broadens the possibilities for longer-running agents, but it should be assessed separately from the production-ready core.
Questions people ask
Questions people ask
Is TanStack AI 1.0 ready for production applications?
Yes, TanStack presents the core TanStack AI 1.0 packages as stable and ready for production use, including streaming chat, tools and provider adapters. That does not certify your particular deployment or model provider. The newly announced agent harness is an exception: its packages remain experimental 0.x releases, so teams should evaluate that component separately before depending on its APIs.
Do TanStack AI clients and servers need to upgrade to 1.0 together?
Yes. TanStack explicitly says a 1.0 client requires a 1.0 server and recommends upgrading all @tanstack/ai packages together. Mixed versions can fail because of changed AG-UI request fields and removed deprecated options. Upgrade in a branch, run the codemod, review custom server endpoints and test streaming and tool calls before releasing the coordinated change.
What changes most often break an upgrade from TanStack AI 0.x?
The documented migration changes include renaming body to forwardedProps, replacing conversationId with a required threadId, and updating server reads from body.data to forwardedProps. The codemod handles some option renames but cannot safely rewrite every server handler. Teams with persisted chats, runs or files must also follow the separate saved-data steps before deploying 1.0.
Can TanStack AI 1.0 run persistent coding agents or background tasks?
TanStack's new agent harness supports patterns such as durable sessions, steering, background work and coding-agent integrations when you provide the necessary host, persistence and tools. However, the harness packages still carry experimental 0.x APIs, despite the stable core SDK. Treat crash recovery, permissions, storage and version upgrades as your application's responsibilities and test them before production adoption.
TanStack AI 1.0 makes its provider-agnostic TypeScript SDK a more predictable foundation for AI apps. Upgrade client and server together, validate AG-UI changes, and distinguish the stable SDK from the still-experimental agent harness.
Sources & useful resources
- TanStack: TanStack AI 1.0 release announcement (October 23, 2026)— Official stable package scope, counts, new capabilities, upgrade notes, experimental harness boundary
- TanStack AI: AG-UI client-to-server migration— Official breaking changes, forwardedProps/threadId, server security guidance
- TanStack AI: Quick Start— Official setup and supported chat workflow
- TanStack AI: Overview— Official SDK, adapters, framework and usage scope