Skip to content
Agentmart
Submit a tool

ai

TypeScript SDK for streaming chat, tool-calling agents and structured output across model providers and UI frameworks.

Harness by TanStack

IndexedMIT★ 3,242
Write a review

Install

From the package registry. Read the repository before you give any tool access to your data.

npm install @tanstack/ai

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

TanStack AI is a TypeScript SDK built from composable activities and provider adapters. It covers streaming chat, tools that can run on the server or the client from a shared definition, and structured output validated with JSON Schema, Zod, ArkType or Valibot. It also includes image, audio, video, speech and transcription workflows, realtime voice, and framework clients for React, Vue, Svelte, Solid and Preact. OpenTelemetry traces and devtools are included for inspecting messages and tool calls.

Use cases: agent-orchestration, frontend-development

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Fact sheet

Languages
TypeScriptREADME
Packages
@tanstack/ai (npm), @tanstack/ai-openai (npm), @tanstack/ai-client (npm), @tanstack/ai-react (npm)README
Streaming
YesREADME
Observability
OpenTelemetryREADME
Model providers
openai, anthropic, google, openrouterREADME
Maturity
Stablegithub.com

Facts extracted by Claude Haiku 5.5 from the linked sources on Oct 24, 2026. Wrong fact? Tell us.

Alternatives

Frameworks for the same language with a similar way of orchestrating agents.

Compare and alternatives

    Featured in

    Signals

    Stars
    3,242
    Forks
    371
    Open issues
    23
    Last commit
    Oct 24, 2026 (3 days ago)
    Last release
    Oct 22, 2026 (5 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    Packages
    npm @tanstack/ainpm @tanstack/ai-openainpm @tanstack/ai-clientnpm @tanstack/ai-react
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from TanStack

    Cite this page

    ai. Agent Mart. https://agentmart.dev/harnesses/ai (last updated 2026-10-24)