ai
TypeScript SDK for streaming chat, tool-calling agents and structured output across model providers and UI frameworks.
Harness by TanStack
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.
About
Use cases: agent-orchestration, frontend-development
Reviews
Write a reviewNo 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.
- 0.867score
Pi Agent Core
Earendil
Minimal TypeScript agent harness with an agent runtime, multi-provider LLM API, terminal UI and coding agent CLI that users extend themselves.
HarnessAFreshness: A★ 117.6K↓ 5.1M/wk - 0.831score
CopilotKit
CopilotKit
Open-source SDK that connects AI agents to app front ends with chat UI, generative UI, shared state and human approvals; creator of the AG-UI protocol.
HarnessAFreshness: A★ 38.2K↓ 286.2K/wk - 0.740score
Deep Agents
LangChain
Opinionated agent harness on LangGraph with sub-agents, filesystem access, context management, persistent memory and approval of tool calls.
HarnessAFreshness: A★ 30.6K↓ 1.9M/wk - 0.737score
Mastra
Mastra
TypeScript framework for AI agents and apps with graph-based workflows, memory, suspend-and-resume approvals, MCP servers and model routing.
HarnessAFreshness: A★ 29.1K↓ 1.4M/wk - 0.727score
Vercel AI SDK
Vercel
TypeScript toolkit for AI apps and agents with a unified provider API, streaming, UI hooks and a wrapper for running established agent harnesses.
HarnessAFreshness: A★ 27.5K
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
- Repository
- github.com/TanStack/ai
- Website
- tanstack.com/ai/latest
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- READMEgithub-graphql
More from TanStack
- 0.678score
AGENTS.md · TanStack/router
TanStack
AGENTS.md from TanStack/router: 40 lines covering Scope, Work and validation, Runtime rules, Performance and final bundle pass.
TemplateAFreshness: A★ 15.2KCodex +5 - 0.621score
AGENTS.md · TanStack/ai
TanStack
AGENTS.md from TanStack/ai: 215 lines covering Docs skill (mandatory for Claude, Grok, and Codex), PR description skill (mandatory for Claude, Grok, and…
TemplateAFreshness: A★ 3.2KCodex +5 - 0.621score
CLAUDE.md · TanStack/ai
TanStack
CLAUDE.md from TanStack/ai: 445 lines covering Repository Overview, Package Manager & Tooling, Common Commands, Architecture and more.
TemplateAFreshness: A★ 3.2KClaude Code
Cite this page
ai. Agent Mart. https://agentmart.dev/harnesses/ai (last updated 2026-10-24)