#73 · Primary category: LLM Application Frameworks

ai

ai ai-agents ai-sdk anthropic chatbot function-calling gemini generative-ai llm multimodal openai react solidjs streaming svelte tanstack tool-calling typescript typescript-sdk vue

🤖 Type-safe, provider-agnostic TypeScript AI SDK for streaming chat, tool calling, agents, and multimodal apps across OpenAI, Anthropic, Gemini, React, Vue, Svelte, and Solid.

Project last updated:08/29/26

GitHub Stars

3.0K

Forks

312

Contributors

114

License

MIT

Why we included this project

Teams that live in TypeScript and want LLM features without being chained to a single vendor will find TanStack AI worth a look. Instead of a fixed provider or UI framework, you get composable pieces: pick the adapter you need, from OpenAI to Groq and Ollama, and add framework bindings for React, Vue, Svelte, Solid, or Preact as the app requires. A shared toolDefinition contract means you write a typed tool once and attach a server or client implementation to it, which matters when one codebase has to run in different environments. Beyond chat, the SDK covers realtime voice, media generation, transcription, and a Code Mode that lets a model write and run TypeScript inside a sandboxed isolate. If you already work in the wider TanStack ecosystem the conventions feel familiar, but the library stands on its own for anyone who wants a type-safe foundation for AI features.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category