Overview of TanStack AI Alpha
mainTanStack AI is a framework-agnostic AI toolkit designed to prevent vendor and ecosystem lock-in. It provides a set of open-source libraries that allow developers to build AI applications using their existing stack rather than being forced into a specific cloud provider or framework.
Key Features
- Multi-language Server Support: Support for JavaScript/TypeScript, PHP, and Python (including full agentic flows with tools).
- Provider Adapters: TypeScript adapters for OpenAI, Anthropic, Gemini, and Ollama.
- Open Protocol: A documented communication protocol between server and client that works over any transport layer (HTTP, WebSockets, etc.).
- Isomorphic Tool Support: Define tools once using meta-definitions to provide type safety across both server and client implementations.
- Client Libraries: Available for Vanilla JS, React, and Solid (with Svelte and others coming soon).
- Per-model Type Safety: Full typing for
providerOptionson a per-model basis, accounting for different modalities like text, audio, video, and tools. - Isomorphic Devtools: A dedicated AI devtools panel (built on TanStack Devtools) to debug LLM workflows on both the client and server sides.