TanStack Oracles: a way for a coding agent to check its own work

TanStack Oracles is a testing toolkit for JavaScript and TypeScript, built to be used with a coding agent. You decide the rules (what this function must return, what that sequence of operations must never break), and the agent builds checks around them: generated inputs, whole sequences of operations, a comparison against an independent model. It brings four techniques into one place: property-based testing, model-based testing, fuzzing and mutation testing. The last one is the best part: faults are planted in the code on purpose to see whether the checks notice. The repo opened on 2 November 2026 under the MIT license, the first npm release, 0.0.1, came out on 3 December 2026, and the site labels it ALPHA.
I like it because it answers the question I keep asking when an AI writes my tests: does this test catch a real bug, or does it just go green? Planting faults and counting how many slip through is the most direct answer I know. The README also says to start with one function, which is easy to try in an afternoon. That said, I have not run it on my own code, "find bugs" is the project's own claim, and a tool one month old will still change a lot. I'll try it on one small function before I trust it.