惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
雷峰网
雷峰网
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
Y
Y Combinator Blog
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
量子位
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
博客园_首页
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
宝玉的分享
宝玉的分享

TanStack Blog

TanStack + Vercel Partnership | TanStack Blog TanStack AI Enters the RC Phase | TanStack Blog Inside a TanStack Router Navigation | TanStack Blog Form v2 is here: All you need to know about the alpha | TanStack Blog Announcing TanStack Table V9 | TanStack Blog TanStack Has a New Look | TanStack Blog Introducing TanStack Markdown and TanStack Highlight | TanStack Blog We Removed React Server Components from TanStack.com | TanStack Blog We Stopped Using RSC on TanStack.com | TanStack Blog Inside TanStack Table V9 Reactivity | TanStack Blog Run Any Coding Agent in a Sandbox, With One chat() Call | TanStack Blog TanStack Start and TanStack AI Win 2026 Open Source Awards | TanStack Blog How an Underrated Refactor Saved 90% Memory Usage | TanStack Blog TypeScript Performance in TanStack Table V9 | TanStack Blog TanStack AI Beta: The Switzerland of AI Tooling Grows Up | TanStack Blog TanStack Table V9: Taking Form | TanStack Blog TanStack AI: Your MCP, your way | TanStack Blog TanStack Start Adds First-Class Rsbuild Support | TanStack Blog Introducing Experimental Workflows and Orchestrators in TanStack AI | TanStack Blog Chat UIs Are Lists Until They Aren't | TanStack Blog Structured Output That Remembers Across Turns | TanStack Blog TanStack Virtual just got a lot faster, and finally handles iOS | TanStack Blog TanStack AI now fully speaks AG-UI | TanStack Blog Stop Waiting on JSON: Stream Structured Output with One Schema | TanStack Blog Hardening TanStack After the npm Compromise | TanStack Blog Postmortem: TanStack npm supply-chain compromise | TanStack Blog Who Owns the Tree? RSC as a Protocol, Not an Architecture | TanStack Blog TanStack AI Just Learned to Compose Music | TanStack Blog Your AI Tool Calls Should Fail at Compile Time, Not in Production | TanStack Blog One Flag, Every Chunk: Debug Logging Lands in TanStack AI | TanStack Blog
TanStack AI Alpha 2: Every Modality, Better APIs, Smaller...
co-authored by Alem Tuzlak, Jack Herrington, and Tanner Linsley · 2025-12-19 · via TanStack Blog

by Alem Tuzlak, Jack Herrington, and Tanner Linsley on Dec 19, 2025.

TanStack AI Alpha 2

It's been two weeks since we released the first alpha of TanStack AI. To us, it feels like decades ago. We've prototyped through 5-6 different internal architectures to bring you the best experience possible.

Our goals were simple: move away from monolithic adapters and their complexity, while expanding the flexibility and power of our public APIs. This release delivers on both.

We wanted to support everything AI providers offer. Image generation, video, audio, text-to-speech, transcription. Without updating every adapter simultaneously.

We're a small team. Adding image support shouldn't mean extending BaseAdapter, updating 5+ provider implementations, ensuring per-model type safety for each, and combing through docs manually. That's a week per provider. Multiply that by 20 providers and 6 modalities.

So we split the monolith.

Instead of:

You now have:

Why This Matters

Incremental feature support. Add image generation to OpenAI this week, Gemini next week, video for a third provider the week after. Smaller releases, same pace.

Easier maintenance. Our adapter abstraction had grown to 7 type generics with only text, summarization, and embeddings. Adding 6 more modalities would have exploded complexity. Now each adapter is focused. 3 generics max.

Better bundle size. You control what you pull in. Want only text? Import openaiText. Want text and images? Import both. Your bundle, your choice.

Faster contributions. Add support for your favorite provider with a few hundred lines. We can review and merge it quickly.

What do we support now?

  • Structured outputs
  • Image generation
  • Video generation
  • Audio generation
  • Transcription
  • Text-to-speech

You have a use-case with AI? We support it.

We made breaking changes. Here's what and why.

Model Moved Into the Adapter

Before:

After:

Fewer steps to autocomplete. No more type errors from forgetting to define the model.

providerOptions → modelOptions

Quick terminology:

  • Provider: Your LLM provider (OpenAI, Anthropic, Gemini)
  • Adapter: TanStack AI's interface to that provider
  • Model: The specific model (GPT-4, Claude, etc.)

The old providerOptions were tied to the model, not the provider. Changing from gpt-4 to gpt-3.5-turbo changes those options. So we renamed them:

Options Flattened to Root

Settings like temperature work across providers. Our other modalities already put config at the root:

So we brought chat in line:

Start typing to see what's available.

The Full Diff

Standard Schema support. We're dropping the Zod constraint for tools and structured outputs. Bring your own schema validation library.

On the roadmap:

  • Middleware
  • Tool hardening
  • Headless UI library for AI components
  • Context-aware tools
  • Better devtools and usage reporting
  • More adapters: AWS Bedrock, OpenRouter, and more

Community contributions welcome.

We've shipped a major architectural overhaul, new modalities across the board, and a cleaner API. The adapters are easy to make, easy to maintain, and easy to reason about. Your bundle stays minimal.

We're confident in this direction. We think you'll like it too.