TanStack AI icon

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

TanStack builds high-quality open-source software and developer libraries for web applications. The organization produces headless, typ…read more

Pricing and Plans

(Open Source)

Open Source

Free

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

System Requirements

Operating System
Any OS with Node.js or a modern web browser
Memory (RAM)
4 GB+ RAM
Processor
Any modern 64-bit CPU
Disk Space
None (web app)

AI Capabilities

Unified-sdk
Provider-agnostic
Typescript-first