TanStack AI decide()
TanStack AI ships decide() for typed Choice, Score, and boolean paths so agent loops stay structured.
Overview
TanStack AI adds decide() for typed Choice, Score, and boolean paths. Documentation lives on tanstack.com/ai with source in github.com/TanStack/ai.
Problem: TypeScript apps need typed decision helpers instead of raw System One HTTP for every agent feature.
Built for: Developers using TanStack AI who want decide() for structured agent control flow.
First indexed on Jev Directory: 2026-09-19
Creator and team
- Name
- TanStack
- Organization
- TanStack
- Handle
- @tan_stack
“TanStack ships decide() for typed choices, scores, and booleans so your agent loop stops cosplaying as a chatbot.”
How Jev is used
- Role in the product flow
- Application and agent routing via decide() API
- Primitives
- ChoiceScoreNoul
- State in
- Typed decide() inputs as defined in TanStack AI docs for your runtime.
- Decision out
- Structured decision results consumable in TypeScript control flow.
- Call decide() from TanStack AI
- Map to System One semantics
- Threshold probabilities in app code
decide() is TanStack's ergonomic surface for System One style questions. The launch clip on Jev Directory shows agent code using decide() instead of parsing chat completions. Pair TanStack AI with gateway or TypeSafe keys per TanStack docs for your deployment target.
Features and stack
Features
- decide() API for choices, scores, and booleans
- Official docs at tanstack.com/ai
- Open source monorepo on GitHub
- Homepage showcase clip
Stack
- TypeScript
- TanStack AI
- TypeSafe System One
Demo
Showcase clip with the same lightbox player as the homepage. Click to play.
decide() in TanStack AI
TanStack ships decide() for typed choices, scores, and booleans so your agent loop stops cosplaying as a chatbot. They call the moment jevolution; we call it one less regex on model prose.
Links
FAQ
- Is decide() only for React?
- TanStack AI documents multiple runtimes; read tanstack.com/ai for your stack.
Related learn guides
Original Jev guidance that pairs with this product pattern.
- Vercel AI Gateway Jev
Try typesafe-ai/jev through Vercel's gateway and the AI SDK evaluate path.
- Jev & TypeSafe
What Jev is, how System One fits your stack, and where this directory ends and TypeSafe docs begin.
Related products
Hand-picked neighbors with rich profiles or overlapping tags.