TanStackAI
ALPHA
A powerful, open-source AI SDK with a unified interface across multiple providers
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.
Multi-Provider Support
Support for OpenAI, Anthropic, Ollama, and Google Gemini. Switch providers at runtime without code changes. No vendor lock-in, just clean TypeScript.
Unified API
Same interface across all providers. Standalone functions with automatic type inference from adapters. Framework-agnostic client for any JavaScript environment.
Tool/Function Calling
Automatic execution loop with no manual tool management needed. Type-safe…
TanStackAI
ALPHA
A powerful, open-source AI SDK with a unified interface across multiple providers
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.
Multi-Provider Support
Support for OpenAI, Anthropic, Ollama, and Google Gemini. Switch providers at runtime without code changes. No vendor lock-in, just clean TypeScript.
Unified API
Same interface across all providers. Standalone functions with automatic type inference from adapters. Framework-agnostic client for any JavaScript environment.
Tool/Function Calling
Automatic execution loop with no manual tool management needed. Type-safe tool definitions with structured outputs and streaming support.
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.
🖥️ Server Agnostic
Use any backend server you want. Well-documented protocol with libraries for TypeScript, PHP, Python, and more.
📱 Client Agnostic
Vanilla client library (@tanstack/ai-client) or framework integrations for React, Solid, and more coming soon.
🔌 Service Agnostic
Connect to OpenAI, Anthropic, Gemini, and Ollama out of the box. Create custom adapters for any provider.
🛠️ Full Tooling Support
Complete support for client and server tools, including tool approvals and execution control.
🧠 Thinking & Reasoning
Full support for thinking and reasoning models with thinking/reasoning tokens streamed to clients.
🎯 Fully Type-Safe
Complete type safety across providers, models, and model options from end to end.
🔍 Next-Gen DevTools
Amazing developer tools that show you everything happening with your AI connections in real-time.
💚 Pure Open Source
No hidden service, no fees, no upsells. Community-supported software connecting you directly to your chosen providers.
AI You?
We’re looking for TanStack AI Partners to join our mission! Partner with us to push the boundaries of TanStack AI and build amazing things together.
[Let’s chat](mailto:partners@tanstack.com?subject=TanStack TanStack AI Partnership)
Only one thing left to do...
© 2025 TanStack LLC