Overview TanStack AI is a modular, provider-agnostic AI SDK with tree-shakeable adapters for OpenAI, Anthropic, Gemini, Ollama, and more. It provides streaming-first text generation, tool calling with approval workflows, structured output with Zod schemas, multimodal content support, and React hooks for chat/completion UIs. Core: Vanilla Client: (framework-agnostic) React: Solid: Adapters: , , , Languages: TypeScript/JavaScript, PHP, Python Status: Alpha Installation PHP Installation Python Installation Core: generate() Provider Adapters React Hooks useChat useCompletion Solid.js Hooks Vanill…