What it is
A Scala 3 / ZIO library for TypeSafe AI's Jev / System One API, which answers typed atomic questions about a piece of state instead of generating text. For Scala developers who want typed, end-to-end access to Jev decisions.
How it uses Jev
Jev answers Choice, Score, and Noul questions about a state. Questions are bundled in a NamedTuple passed to TypeSafeAI.ask; the typed result is keyed and shaped exactly like the questions. TypeSafeAI.loop repeatedly presents a finite action set to Jev as one Choice and handles the selected action.
Primitives:choicescorenoul
Technique worth stealing
Bundle multiple questions in a NamedTuple so keys become wire ids and compile-time field names of the typed result.
Try it
Add libraryDependencies += "com.jamesward" %% "zio-typesafe-ai" % " " and provide Client.default and TypeSafeAI.Client.live.
Evidence
Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.
- Jev-centricyes0.95
- Shows a System One patternyes0.87
- Handles uncertaintyno0.06
- Measuredno0.05
- Runnableyes0.88
- Worth recommendingunclear0.45
- Model replicano0.04
- Problem scopescore on a 0–2 scale1.00
- About Jevyes0.99
Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.