Skip to main content
ClaudeWave

🤖 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.

Subagents2.8k stars235 forksTypeScriptMITUpdated today
Editor's note

TanStack AI is a TypeScript SDK that provides a unified, provider-agnostic interface for building AI-powered applications across React, Vue, Svelte, Solid, and Preact, as well as server-side and headless environments. It connects to Anthropic's API (alongside OpenAI, Gemini, and OpenRouter) through provider adapters like `@tanstack/ai-openai`, enabling streaming chat, type-safe tool calling via `toolDefinition()`, structured outputs validated with Zod, ArkType, or Valibot, and multimodal workflows covering images, audio, video, speech, and transcription. A standout feature called Code Mode lets a language model write and execute TypeScript in an isolated sandbox to orchestrate tools with loops, branches, and parallel calls. Built-in devtools expose message streams, tool calls, errors, usage metrics, and OpenTelemetry traces for observability. The library is designed for frontend developers and backend engineers who want consistent AI primitives across multiple frameworks and providers without being locked into a single vendor.

ClaudeWave Trust Score
100/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Healthy fork ratio
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 6/11/2026
Install as a Claude Code subagent
Method: Clone
Terminal
git clone https://github.com/TanStack/ai && cp ai/*.md ~/.claude/agents/
1. Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
2. Start a new Claude Code session to load the agents.
3. Delegate work to them with the Task/Agent tool or by name.

14 items in this repository

>

Install

Triage all open GitHub issues, PRs, and discussions in the current repository by fanning out up to 100 parallel subagents (one per item), then produce a single prioritized report ranking which PRs to review first, which issues to address first, and which discussions need maintainer attention. Use when the user asks to "triage open issues/PRs", "triage discussions", "prioritize the backlog", "what should I review first", "sweep the repo", or any request to bulk-evaluate open GitHub work and recommend an order.

Install

>

Install
ai-mcpSkill

>

Install
ai-coreSkill

>

Install

>

Install
Use cases

Subagents overview

README preview not available. Visit the repo on GitHub for full documentation.
aiai-agentsai-sdkanthropicchatbotfunction-callinggeminigneerative-aillmmultimodalopenaireactsolidjsstreamingsveltetanstacktool-callingtypescripttypescript-sdkvue

What people ask about ai

What is TanStack/ai?

+

TanStack/ai is subagents for the Claude AI ecosystem. 🤖 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. It has 2.8k GitHub stars and was last updated today.

How do I install ai?

+

You can install ai by cloning the repository (https://github.com/TanStack/ai) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is TanStack/ai safe to use?

+

Our security agent has analyzed TanStack/ai and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains TanStack/ai?

+

TanStack/ai is maintained by TanStack. The last recorded GitHub activity is from today, with 89 open issues.

Are there alternatives to ai?

+

Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.

Deploy ai to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: TanStack/ai
[![Featured on ClaudeWave](https://claudewave.com/api/badge/tanstack-ai)](https://claudewave.com/repo/tanstack-ai)
<a href="https://claudewave.com/repo/tanstack-ai"><img src="https://claudewave.com/api/badge/tanstack-ai" alt="Featured on ClaudeWave: TanStack/ai" width="320" height="64" /></a>

More Subagents