TanStack previews Oracles verification framework for agents
TanStack open-sources an early preview of @tanstack/oracles, a framework combining property-based testing, independent reference models, fuzzing, and mutation testing on top of Vitest and fast-check. Built by Kyle Mathews with Databricks sponsorship, it turns plain-English behavioral laws into executable checks that coding agents can run, replay, and continuously harden.
Coding agents have collapsed the cost of writing code, making verification the real engineering bottleneck — and TanStack Oracles tackles it by turning architectural judgment into self-challenging, executable specs instead of brittle unit tests.
- –Born out of hardening TanStack DB for 1.0 RC1, Mathews tested Oracles across more than 100 repositories—including top npm packages—and reports uncovering bugs in every single one.
- –Rather than trusting static test suites, the bundled `oracle-gaps` CLI mutates production code and forces agents to investigate every surviving mutant without waiving gaps, catching weak checkers alongside production bugs.
- –Plain-English behavioral laws paired with simplified reference models act as executable memory: when a future agent breaks an invariant during a refactor, Oracles surfaces a shrunk minimal reproduction tied to the exact design decision.
- –It ships MIT-licensed (`@tanstack/oracles` 0.0.1) alongside `@tanstack/eslint-plugin-oracles` and an agent-ready exploration skill (`oracles-explore/SKILL.md`), with strongest support for JavaScript/TypeScript today and multi-language ports planned.
- –Mathews pitches an agent coding against an oracle as an LLVM-style optimizing compiler, with plans to plug in formal methods like Lean and TLA+ through Databricks-backed Protocol Institute research in 2027—putting TanStack alongside Anthropic and Microsoft Research in the race to automate verification.
DISCOVERED
1h ago
2026-12-03
PUBLISHED
3h ago
2026-12-03
RELEVANCE
AUTHOR
tan_stack