Claimed result
- The regulated problem: using frontier LLMs both for reasoning and for decisions (gate/route/classify) creates (1) a token tax + latency (e.g. paying ~$15/M and waiting ~1.5 s for the 4 tokens of
{"allow": true}), (2) schema instability (JSON mode ≠ truth or stability), (3) an audit vacuum (no defensible mathematical probability). - Jev (@typesafeAI): unstructured state + typed questions → a choice (boolean / enum / scale) + confidence. It can't invent a fourth option or malformed prose.
- Cited price (TypeSafe docs): $0.042/M tokens.
- Proposed triage protocol: >0.85 execute; 0.50–0.85 escalate to frontier/a second check; <0.50 stop → human.
- Author: experience with agents in healthcare, insurance, fintech and unregulated sectors.
Proof: medium. A synthesis from practice + public TypeSafe docs/pricing; the post doesn't include proprietary benchmarks measured by the author.
The key idea
In regulated sectors (NIST AI RMF, EU AI Act) the auditor doesn't buy a non-deterministic chain-of-thought written after the fact. They buy calibrated risk bounds: saying (P(\text{safe}) > 0.98) is more defensible than 200 pages of potentially hallucinated reasoning.
Jev doesn't explain in natural language: it gives a confidence score. Heavy models remain for explaining failures; Jev is the first line that avoids paying for them on the trivial 95%.
Three structural advantages beyond cost: 1. Auditability Paradox — prefer calibrated probability to post-hoc verbalization. 2. Zero cross-question contagion — typed questions evaluated in parallel on the same state: answer A doesn't contaminate B (in sequential multi-check LLMs, errors cascade). 3. Prompt injection as execution — LLM guardrails read instructions + untrusted input in the same autoregressive window ("ignore previous instructions…"). Jev maps input → schema choices out-of-band: the user can't override the output grammar.
A side strength: state-preparation engineering. No lazy dumping of giant JSON into the prompt: the harness has to organize history, session, telemetry beforehand. Jev decides; the engineer stays accountable for the state.
Step-by-step playbook
Step 1 — Input guardrails & safety gateway
Before an untrusted payload touches reasoning or RAG: - injection/jailbreak detection (without a frontier model just for a boolean); - PII classification / HIPAA minimum-necessary; - clinical triage or fraud risk on suspicious symptoms/activity.
Triage with probabilities: | Confidence | Action | |---|---| | > 0.85 | Execute immediately (automatic, low-latency, almost free) | | 0.50 – 0.85 | Escalate to a frontier model or a second check | | < 0.50 | Halt → human operator |
Step 2 — Routing, context pruning, execution control
- Non-generative context GC: instead of "summarize the chat" (risk of hallucinating paths/variables), Jev evaluates tool output blocks in parallel and gives a "still critical" probability; the code applies thresholds and keeps the survivors verbatim.
- Pre-execution tool authorization: an out-of-band gate on tool parameters vs policy before the invoke.
- Speculative model escalation: intent complexity in ms; low complexity → lightweight runtime; only low confidence → heavy LLM. Goal: pay for frontier on the hard ~5%, not on the 95%.
Step 3 — Product, evals, infra
The same System One mechanics on background pipelines: - privacy release / blocking PHI-PII leaks before delivery; - mandatory disclaimers / emergency language / citation check; - clinical-legal boundary (no definitive diagnosis / unauthorized binding legal decision); - tool-result vs answer reconciliation; - tiered evals-as-judge: ~95% of pass/fail conditions via Jev; LLM judge only for edge cases; - ticket triage, moderation, labeling, multi-model cross-checks.
Limits and anti-patterns (from the source)
Limits: zero type errors ≠ zero wrong answers; multi-step math/planning degrades without a System Two planner; sarcasm / brand-new domains are weaker than with huge LLMs. Sub-300 ms on single-pass decisions in the cited browser-use/jev-ultrafast tests.
Don't use Jev for: long-form (clinical summaries, legal briefs, custom emails); multi-page 50p analysis; open-ended planning of new sub-tasks; open-ended chat where the user expects conversation.
Tools and costs
| Item | Value |
|---|---|
| Jev | $0.042/M input (docs) |
| Frontier LLM for a trivial gate | e.g. ~$15/M + ~1.5 s for 4 tokens (order of magnitude in the post) |
| Triage thresholds | 0.85 / 0.50 (example policy) |
| Compliance frameworks cited | NIST AI RMF, EU AI Act |
| Role of the heavy LLM | explaining failures / edge cases, not every boolean |
Limitations
- A tone that's partly educational/advocacy toward TypeSafe.
- The 0.85/0.50 thresholds are examples: they must be calibrated to the domain.
- Jev doesn't eliminate classification errors; it mainly eliminates off-schema output and injection-via-generation.
- State engineering is needed: without a serious harness the advantage collapses.
- TypeSafe access/capacity may be limited (historically early access).