What problem does it solve?
Clarifies how to operate TanStack AI's foundational chat, adapter, middleware, streaming, and integration patterns while preventing legacy SDK mistakes so teams stay in lockstep with provider-agnostic, type-safe guidance.
Core Features & Use Cases
- Critical rules: Use chat() not streamText(), import from framework packages, wrap streams with toServerSentEventsResponse(), and rely on middleware hooks instead of onEnd callbacks.
- Sub-skill routing: Directs builders to chat experience, tool calling, media generation, structured output, adapter configuration, AG-UI protocol, middleware, and custom backend integration guidance folders.
- Decision tree & references: Offers a quick decision tree, common mistake callouts, and dependency notes tailored to TanStack AI v0.10.0 so you always ask about adapters, models, and Code Mode before implementation.
Quick Start
Ask which provider, model, and Code Mode the user prefers, then wire chat() through toServerSentEventsResponse() with the appropriate adapter and middleware hooks.