TanStack/ai
GitHub🤖 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.3k
- Language:
- TypeScript
- Default branch:
- main
- Last scored:
At a glance
- Rank
- #184 of 401
- Top 46% · #53 of 82 TypeScript repos
- Checks passed
- 8 of 17
- Full list below
- Best set up for
- Codex
- Score 75.7
- Needs most work for
- Aider
- Biggest fix: .aider.conf.yml (+14.1 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Linter / formatter configConfigure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.+7.9 pts
- 2Pre-commit / git hooksSet up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.+5.3 pts
- 3Manageable sizeIf possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.+5.3 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does TanStack/ai have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 9,355 characters- Agent-specific files
.agents/skills(new tab) (11 skills)No GEMINI.md, .cursor/rules, .openhands/setup.sh or .aider.conf.yml- Repos that have one
- 62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 8 passed
How TanStack/ai compares
- vs leaderboard average
- 2.4 pts above
- Average 66.8
- vs TypeScript average
- 2.0 pts below
- Average 71.2
- Stars among TypeScript repos
- #74 of 82
Missing here, and how many repos have it
- Linter / formatter config · passed by 65% of leaderboard repos, 57% of TypeScript repos
- Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos
- Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 13% of TypeScript repos
Passes checks most repos miss
- Skills (.agents/skills) · only 17% of repos pass it
One fix for the most agents: Linter / formatter config would raise the score for all 9 agents, by up to 14.1 points.
Similar repos
Same language and host as this repo, closest in overall score.
- TypeScript · 114.5k ★
- refinedev/refine69.6TypeScript · 36k ★
- solidjs/solid69.5TypeScript · 36.2k ★
- prisma/orm69.3TypeScript · 47.7k ★
- vercel/swr69.2TypeScript · 32.5k ★
- TypeScript · 118.2k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- vercel/ai67.7TypeScript · anthropic, gemini, generative ai, LLM, OpenAI, Vue
- Python · AI agents, anthropic, gemini, generative ai, LLM, OpenAI
- simstudioai/sim76.4TypeScript · AI agents, anthropic, chatbot, gemini, OpenAI
- apache/seatunnel64.4Java · LLM, multimodal, streaming
- Aider-AI/aider63.2Python · anthropic, gemini, OpenAI
- BerriAI/litellm85.2Python · anthropic, LLM, OpenAI
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/TanStack/ai)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.