TanStack AI
TanStack AI is an open-source AI SDK that provides a unified, provider-agnostic interface for building AI features in TypeScript and JavaScript applications. It focuses on clean TypeScript APIs and avoids proprietary formats and vendor lock-in, enabling developers to integrate multiple providers behind a single SDK. The project is offered as an alpha library in the TanStack family and is documented alongside the other TanStack libraries.
- Unified provider interface — Use a single API to call multiple AI providers without changing your application code or data formats; install and import the SDK in your TypeScript/JavaScript project and configure provider connectors.
- TypeScript-first SDK — Leverage strong typing and idiomatic TypeScript APIs to build predictable AI integrations; get started by installing the package from source and following the library docs for types and usage patterns.
- Open source — Inspect, modify, and extend the library from its public repository; contribute or run the SDK locally from the source to adapt connectors or add features.
- Provider-agnostic design — Switch or add providers without reworking application logic by implementing provider adapters and configuring them in the SDK.
To get started, review the TanStack AI documentation, clone the GitHub repository, and follow the README/examples in the repo to configure providers and use the TypeScript client in your app.
No discussions yet
Be the first to start a discussion about TanStack AI
Developer
Pricing and Plans
Open Source
Open-source SDK available under the project's repository; use and modify without licensing fees.
- Full open-source SDK and source code
- Provider-agnostic adapters and unified API
- TypeScript typings and examples
- Public documentation and GitHub repository