# TanStack AI — card for AI agents

Type-safe AI SDK for streaming, tool calling, agents and structured outputs.

Category: Model SDKs · npm package `@tanstack/ai` · latest version 1.0.1 (checked 2026-11-01)
Install: `npm install @tanstack/ai`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 55.4 (#1302 of all tools, 19 of 89 in its category)
- Used in 3 public projects set up for AI coding agents (0.0%)
- Downloads last week: 2,865,069 (as of 2026-11-17), +168.6% over 4 weeks
- GitHub stars: 3,367 (as of 2026-11-17)
- Last push: 2026-11-17

## Often used with
Vite 94.7%, React 94.7%, Lucide React 73.7%, Zod 73.7%, Class Variance Authority 57.9%, react-markdown 47.4%

## Checked alternatives (same job)
- OpenAI: https://agentgid.com/tools/openai-npm/agent.md
- AI SDK: https://agentgid.com/tools/ai/agent.md
- Anthropic SDK: https://agentgid.com/tools/anthropic-ai/agent.md
- Google Generative AI: https://agentgid.com/tools/google-genai-npm/agent.md
- Groq SDK: https://agentgid.com/tools/groq-sdk/agent.md
- Mistral AI: https://agentgid.com/tools/mistralai-mistralai/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/tanstack-ai/
- Homepage: https://tanstack.com/ai
- Repository: https://github.com/TanStack/ai

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
