Streamline AI development with ai, a provider-agnostic SDK for startup founders, backed by 2.7k+ GitHub stars.
2,713 stars222 forksTypeScriptQuality 8/10Updated 6/2/2026100% free ยท open source
What it does
This AI SDK allows you to build and integrate AI-powered chat, tool calling, and multimodal applications with popular providers like OpenAI and frameworks like React.
When to use it
โขYou want to add AI-driven chat functionality to your web application.
โขYou need to integrate AI tool calling capabilities into your startup's workflow.
โขYou're building a multimodal application that requires seamless interaction with multiple AI providers.
Quick start
1Install the SDK using npm or yarn by running `npm install @tanstack/ai` or `yarn add @tanstack/ai`.
2Import the SDK in your TypeScript project and set up your AI provider credentials.
3Use the SDK's type-safe API to create and configure AI agents, and integrate them into your application.
4Test and deploy your AI-powered application, using the SDK's built-in support for streaming chat and tool calling.
Ready-to-paste prompt
const { AiClient } = require('@tanstack/ai'); const client = new AiClient('YOUR_OPENAI_API_KEY'); client.chat('Hello, how can I assist you today?').then(response => console.log(response));
Topics
ai
ai-agents
ai-sdk
anthropic
chatbot
function-calling
gemini
gneerative-ai
llm
multimodal
openai
react
solidjs
streaming
svelte
tanstack
tool-calling
typescript
typescript-sdk
vue
Quick Actions
Details
Creator
TanStack
Language
TypeScript
Category
claude-skill
Published
10/8/2025
Related skills
More claude-skill tools founders pair with this one.