A powerful, open-source AI SDK with a unified interface across multiple providers. No vendor lock-in, no proprietary formats, just clean TypeScript and honest open source.
Get StartedType a message...
TanStack AI is a pure open-source ecosystem of libraries and standards—not a service. We connect you directly to the AI providers you choose, with no middleman, no service fees, and no vendor lock-in. Just powerful, type-safe tools built by and for the community.
Use any backend server you want. Well-documented protocol with libraries for TypeScript, PHP, Python, and more.
Vanilla client library (@tanstack/ai-client) or framework integrations for React, Solid, and more coming soon.
Connect to OpenAI, Anthropic, Gemini, and Ollama out of the box. Create custom adapters for any provider.
Complete support for client and server tools, including tool approvals and execution control.
Full support for thinking and reasoning models with thinking/reasoning tokens streamed to clients.
Complete type safety across providers, models, and model options from end to end.
Amazing developer tools that show you everything happening with your AI connections in real-time.
No hidden service, no fees, no upsells. Community-supported software connecting you directly to your chosen providers.
