TanStack / ai
🤖 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.
- Stars
- 3,351 stars
- Forks
- 398 forks
- Language
- TypeScript
- License
- MIT
- Created
- Oct 8, 2025
- Last push
- Nov 13, 2026
- Updated
- Nov 12, 2026
Why these Tags: an agent read the README and quoted it
- LLM SDK from the readme:
Type-safe, provider-agnostic TypeScript SDK for building streaming chat, tool-calling agents, structured outputs, realtime voice, media generation, and framework-native AI apps.
- Agent framework from the readme:
Code Mode agents that let an LLM write and execute TypeScript in an isolated sandbox to orchestrate tools with loops, branches, and parallel calls.
- Structured output from the readme:
Use `outputSchema` when you need typed objects instead of freeform text:
An agent gave these Tags from the fixed Tag list in the AwesomeRepos source code. A code check kept each Tag only when its quote is in the text. A wrong Tag? Report an error with the form at the end of this page.
Admitted to the Repository Index on Nov 11, 2026: 3,343 stars on 2026-11-11.
Star History
189 days recorded, May 8, 2026 – Nov 12, 2026 (UTC). Net change +778 stars.
The star count of each day is the latest count minus the net stars of the later days.
Add this Star History to a README
The images follow the light or dark theme of the page that shows them, and update every hour.
Add ?theme=light or ?theme=dark
to the chart address to keep one theme.
Star History chart
[](https://awesomerepos.com/TanStack/ai) Badge
[](https://awesomerepos.com/TanStack/ai) Timeline
It gained stars on 182 of the 189 days recorded since May 8, 2026.
Its largest 7 days were Oct 26, 2026 to Nov 1, 2026: 77 stars.
In the 30 days to Nov 12, 2026 it got 174 stars, 76% more than in the 30 days before.
It had 2,573 stars before May 8, 2026 and has 3,351 stars now: 1,649 fewer than 5,000.
- Created on the Repository Host
- +17 stars in one day
- Largest star day recorded: +24 stars
- +18 stars in one day
- Entered the Repository Index: 3,343 stars on 2026-11-11
- Release @tanstack/[email protected]
- Release @tanstack/[email protected]
- Release @tanstack/[email protected]
- Release @tanstack/[email protected]
- Release @tanstack/[email protected]
- Latest push
The timeline comes from the creation date and the releases on the Repository Host, the Admission, the Star History, and the Observations. Star milestones show only when the Star History records the day. The list shows up to 5 stable releases from the latest 10 releases recorded. When none of them is stable, one item counts the pre-releases. On the chart of net stars each day, a solid line marks each recorded release.
Forks and pushes
From 2 Observations, Nov 12, 2026 – Nov 13, 2026. Forks +2. AwesomeRepos saw a new push on 1 of 1 days.
- Nov 13, 2026: new push
A filled day: the last push time changed since the Observation before it.
Health facts
Measured facts in four separate dimensions, each with a date and a source. AwesomeRepos does not add them into one score. AwesomeRepos reads the weekly commits, the changelog, and the community files each week for the 5,000 visible repositories with the most stars and for each rising repository. How AwesomeRepos defines each check
Copies a prompt for a coding agent. It has 1 task for the maintainers of TanStack/ai.
Improve the Health Facts of the GitHub repository TanStack/ai. AwesomeRepos measures facts about how a repository is maintained, released, secured, and documented. Its page for this repository is https://awesomerepos.com/TanStack/ai. A change to the repository can improve each of the item below. Each item gives the measured fact or score, and a task. 1. The newest release tag is a semantic version Fact: The newest release tag is @tanstack/[email protected]. Rule: The tag of the newest release has the form 1.2.3 or v1.2.3, with an optional pre-release or build part. There is no data when the repository has no release. Task: Make the next release tag a semantic version (1.2.3 or v1.2.3). Do not change or delete a published tag. If a release tool makes the tags, configure it for semantic versions, and write the version scheme in the contributing guide. Rules for this work: - Each file must be true for this project. Do not copy text that does not apply to it. - Do not choose a licence, a contact, or a release version for me. Ask me. - Do not publish a release, change a repository setting, or push to the default branch. Make the changes on a new branch. - Keep each change small, and run the checks of this repository before you finish. - At the end, list each item as DONE, SKIPPED (with the reason), or NEEDS A DECISION (with the question). AwesomeRepos reads these facts again in its next scan. The definitions of the checks: https://awesomerepos.com/health-facts
Maintenance
2 of 4 checks (2 without data)-
Yes: Not archived
GitHub does not mark the repository as archived. Source
-
Yes: A push in the last 90 days
Last push on 2026-11-13, 0 days ago. Source
-
No data: Commits in the last 13 weeks
No data: AwesomeRepos has not read the weekly commits.
-
No data: Commits in 26 or more of the last 52 weeks
No data: AwesomeRepos has not read the weekly commits.
Releases
1 of 3 checks (1 without data)-
Yes: A release in the last 365 days
Newest release @tanstack/[email protected] on 2026-11-12, 0 days ago. 10 or more releases in the last 365 days. Source
-
No: The newest release tag is a semantic version
The newest release tag is @tanstack/[email protected]. Source
-
No data: A changelog file at the root
No data: AwesomeRepos has not scanned this repository.
Security practice
0 of 1 check (1 without data)-
No data: A security policy
No data: AwesomeRepos has not scanned this repository.
AwesomeRepos has not asked OpenSSF Scorecard about this repository.
Community files
1 of 3 checks (2 without data)-
Yes: A licence
GitHub finds the licence MIT. Source
-
No data: A contributing guide
No data: AwesomeRepos has not scanned this repository.
-
No data: A code of conduct
No data: AwesomeRepos has not scanned this repository.
Dependencies in the index
This section shows the packages that connect this repository to other repositories in the index.
The GitHub dependency graph of this repository names 1,206 direct packages (scanned on Nov 13, 2026). Packages from 108 other repositories in the index are among them.
10 scanned repositories name a package from this repository.
Uses (in the index) · 108
- react/react 253K
npm: react, react-dom
- mrdoob/three.js 118K
npm: three
- microsoft/TypeScript 112K
npm: @typescript/typescript6, typescript
- angular/angular 101K
npm: @angular/common, @angular/compiler, @angular/compiler-cli, @angular/core and 4 more
- microsoft/playwright 100K
npm: @playwright/test, playwright-core
-
npm: @tailwindcss/vite, tailwindcss
-
npm: puppeteer
- sveltejs/svelte 89K
npm: svelte
- vitejs/vite 84K
npm: vite
-
npm: express
Show all 108
- vuejs/core 55K
npm: vue
- expo/expo 53K
npm: expo
-
npm: prettier
-
npm: @types/bun, @types/dockerode, @types/jscodeshift, @types/node and 5 more
- TanStack/query 51K
npm: @tanstack/react-query
- colinhacks/zod 44K
npm: zod
- vadimdemedes/ink 40K
npm: ink
- evanw/esbuild 40K
npm: esbuild
- preactjs/preact 39K
npm: preact
- markedjs/marked 37K
npm: marked
-
npm: drizzle-orm
- solidjs/solid 36K
npm: solid-js
-
npm: motion
- tokio-rs/tokio 34K
Cargo: tokio, tokio-macros, tokio-stream, tokio-util
- remix-run/remix 33K
npm: remix
- honojs/hono 33K
npm: hono
- ReactiveX/rxjs 32K
npm: rxjs
- nrwl/nx 29K
npm: @nx/devkit, nx
- tj/commander.js 28K
npm: commander
- tokio-rs/axum 28K
Cargo: axum, axum-core
-
npm: recharts
-
npm: @angular/build
-
npm: lucide-react, lucide-solid, lucide-svelte
-
npm: highlight.js
- oxc-project/oxc 23K
npm: oxfmt, oxlint, oxlint-plugin-eslint
- websockets/ws 23K
npm: ws
-
npm: autoprefixer
- jsdom/jsdom 22K
npm: jsdom
- sveltejs/kit 21K
npm: @sveltejs/adapter-auto, @sveltejs/kit, @sveltejs/package
- motdotla/dotenv 21K
npm: dotenv
-
npm: @testing-library/react
-
npm: @radix-ui/react-collapsible, @radix-ui/react-slot, radix-ui
- redis/node-redis 18K
npm: redis
- Effect-TS/effect 18K
npm: effect
-
npm: @vitest/coverage-v8, vitest
-
npm: @ag-ui/core
- hyperium/hyper 16K
Cargo: hyper
-
npm: react-markdown
- faker-js/faker 16K
npm: @faker-js/faker
- TanStack/router 15K
npm: @tanstack/nitro-v2-vite-plugin, @tanstack/react-router, @tanstack/react-router-devtools, @tanstack/react-router-ssr-query and 7 more
- e2b-dev/E2B 15K
npm: e2b
-
npm: @modelcontextprotocol/client, @modelcontextprotocol/sdk, @modelcontextprotocol/server
-
npm: pg
-
Cargo: windows-link, windows-sys, windows-targets, windows_aarch64_gnullvm and 7 more
- webpro-nl/knip 13K
npm: knip
-
npm: @changesets/changelog-github, @changesets/cli
-
npm: tsx
-
Cargo: reqwest
-
npm: turndown
- nitrojs/nitro 11K
npm: nitro
- egoist/tsup 11K
npm: tsup
-
npm: openai
- serde-rs/serde 11K
Cargo: serde, serde_core, serde_derive
- lukeed/clsx 9.8K
npm: clsx
-
Cargo: js-sys, wasm-bindgen, wasm-bindgen-futures, wasm-bindgen-macro and 3 more
- cloudflare/workerd 9.2K
npm: @cloudflare/workers-types
-
GitHub Actions: actions/checkout
-
npm: web-vitals
- arktypeio/arktype 7.9K
npm: arktype
- panva/jose 7.9K
npm: jose
-
npm: concurrently
- rustls/rustls 7.8K
Cargo: rustls
- tokio-rs/mio 7.1K
Cargo: mio
-
Cargo: tracing, tracing-core
- joe-bell/cva 6.9K
npm: class-variance-authority
-
npm: react-day-picker
- vuejs/language-tools 6.8K
npm: vue-tsc
- rust-lang/futures-rs 5.9K
Cargo: futures-channel, futures-core, futures-io, futures-macro and 3 more
- alangpierce/sucrase 5.9K
npm: sucrase
-
npm: tailwind-merge
- serde-rs/json 5.7K
Cargo: serde_json
- dtolnay/thiserror 5.6K
Cargo: thiserror, thiserror-impl
- actions/cache 5.6K
GitHub Actions: actions/cache
- hey-api/hey-api 5.6K
npm: @hey-api/openapi-ts
- h3js/h3 5.5K
npm: h3
- quinn-rs/quinn 5.3K
Cargo: quinn, quinn-proto, quinn-udp
-
npm: dockerode
-
npm: happy-dom
-
npm: @cloudflare/vite-plugin, miniflare, wrangler
- vuejs/router 4.7K
npm: vue-router
- ollama/ollama-js 4.4K
npm: ollama
- tower-rs/tower 4.4K
Cargo: tower, tower-layer, tower-service
- rolldown/tsdown 4.3K
npm: tsdown
-
GitHub Actions: actions/upload-artifact
- briansmith/ring 4.1K
Cargo: ring
-
npm: capnweb
- TanStack/db 4K
npm: @tanstack/query-db-collection, @tanstack/react-db
- aws/aws-sdk-js-v3 3.7K
npm: @aws-sdk/client-bedrock, @aws-sdk/client-bedrock-runtime, @aws-sdk/credential-providers
-
npm: @standard-schema/spec
-
npm: @opentelemetry/api
- dtolnay/syn 3.5K
Cargo: syn
-
npm: json-schema-to-typescript
-
npm: @testing-library/dom
- cristianbote/goober 3.3K
npm: goober
- analogjs/analog 3.2K
npm: @analogjs/vite-plugin-angular
-
npm: google-auth-library
-
npm: fast-json-patch
-
npm: @testing-library/preact
Used by (in the index) · 10
- shadcn-ui/ui 128K
npm: @tanstack/ai, @tanstack/ai-client, @tanstack/ai-react
- yc-software/qm 16K
npm: @tanstack/ai-client
- cloudflare/computer 9.9K
npm: @tanstack/ai, @tanstack/ai-cloudflare
- likec4/likec4 6.1K
npm: @tanstack/ai, @tanstack/ai-anthropic, @tanstack/ai-client, @tanstack/ai-gemini and 5 more
-
npm: @tanstack/ai, @tanstack/ai-client, @tanstack/ai-react
- middleapi/orpc 5.8K
npm: @tanstack/ai, @tanstack/ai-client
- papra-hq/papra 5.7K
npm: @tanstack/ai, @tanstack/ai-anthropic, @tanstack/ai-openai
-
npm: @tanstack/ai, @tanstack/ai-anthropic, @tanstack/ai-client, @tanstack/ai-gemini and 3 more
- Mesh-LLM/mesh-llm 4.1K
npm: @tanstack/ai, @tanstack/ai-client, @tanstack/ai-react
-
npm: @tanstack/ai, @tanstack/ai-client, @tanstack/ai-react
Sources: the GitHub dependency graph of each repository, and deps.dev for the source repository of each package (checked on Nov 4, 2026). A dependency graph also names development packages. deps.dev takes most source repositories from package metadata. How the dependency graph is made
Observations
Latest Observation, Nov 13, 2026: 3,351 stars, 398 forks, last push Nov 13, 2026, not archived. One of 2 Observations since Nov 12, 2026.