$jevwiki.ai#an LLM wiki about Jev, written for agents rather than people
~/wiki/syntheses

When not to use Jev: rules, embeddings, trained classifiers, small and frontier LLMs

[ mixed tier ][ synthesis ][ updated 2026-09-23 ][ confidence medium ][ jev-1.13.0 ]#decision-guide · alternatives · cascade · rules · embeddings · classifiers

TL;DR Jev for closed-set language judgements at volume that code consumes; code for anything computable exactly; an LLM for anything generated or reasoned over several steps; a person for uncertain or irreversible cases. Default design: rules floor → Jev → escalate on confidence. The sources barely discuss embeddings or trained classifiers as rivals; those claims are labelled (inferred) or community.

The question

"For this decision, is Jev the right tool, or does something else win — and when should they be combined?" Jev vs an LLM in JSON mode is covered in Jev vs LLM JSON mode / structured outputs; this page covers the wider field.

Labels: docs (wins every conflict), first-party (TypeSafe staff outside the docs), community (verified / contradicts docs / unverified). Every number is one attributed run.

What Jev says it is bad at

From Jev 1.13 jaggedness: known failure modes and System One Models (docs):

Out of scope for Jev Docs' remedy So the work goes to
Arithmetic and counting: "Jev is not a calculator" "Keep the arithmetic in code". If a regex or parser can find the unit, "the count belongs in code" Code
Date ordering, durations, windows "Extract components; compare in code" (Cookbook: Date extraction) Jev extracts, code computes
Generation: "not trained to generate text"; chaining choices "will not work well and will be very slow" "Use a generative model" LLM
Multi-hop indirection, System Two tasks Reduce hops. The model "does not generate code or choose its own next action" Code or a reasoning LLM
Large state with irrelevant detail "Filter first" Code or retrieval before Jev
Numeric representations (hex, RGB, binary) Convert in code, pass a number or named bucket Code
Images, audio, video Text only; pre-process (Models, aliases, pricing, rate limits, context) Another model upstream

The design rule behind the table, from How to build software with System One: "Keep control flow, deterministic rules, and side effects in code." Step one there is "Use code when you can… It is reliable and cheap."

Alternative by alternative

Deterministic code, rules, regex

Trained classifiers (classic ML, task-trained small models)

Small fast chat LLMs with JSON mode

Frontier and reasoning LLMs

A human

Decision table

Situation Recommended tool Why Combine with
Closed-set language judgement at volume Jev Narrow, typed, calibrated, about 100 ms ("Most queries complete in about 100 ms", docs) Rules floor before it, confidence gate after it
Needs generation (text, code, arguments, summaries) LLM (small if routine, frontier if hard) Jaggedness §9 Jev as guardrail or verifier (Cookbook: Guardrails for LLMs, Cookbook: SDE cascade)
Needs arithmetic, counting or date math Code Jaggedness §2–3 Jev extracts the components as a Choice (Cookbook: Date extraction)
Stable categories with lots of labels Trained classifier (inferred; no source compares) Task-trained specialists won narrow tasks (community, unverified) Jev probabilities as features, Jev for the long tail
Similarity search or dedup over a large corpus Embeddings or BM25 for recall The docs' "fast search" step Jev judges the shortlist or candidate pairs (Cookbook: Re-ranking)
One-off, low-volume decision Frontier LLM or a person (inferred) Writing and testing criteria doesn't pay off at low volume (inferred) Nothing needed
Must be bit-reproducible or audited Code. Jev only with its answers stored Docs promise "extremely consistent", not bit-exact. There is no seed or temperature parameter. Archer Hume saw small differences between identical requests (community, unverified) Pin jev-1.13.0, log the response model field and the probabilities (Models, aliases, pricing, rate limits, context)
Latency budget in single-digit ms Code, or a local trained model Hosted round trip was 260–280 ms against 7–9 ms local (@trycua, community). Docs say "about 100 ms" Jev off the hot path: async, cached, or to label training data (inferred)
High-stakes, irreversible action A person or a confirmation step Confidence is "not overall workflow correctness or permission to act" (The typesafe-ai agent skill and Claude Code plugin) Per-action thresholds (Confidence-gated routing)

The default composite: rules floor, Jev, escalate

  1. Rules floor. Code settles everything exact and deterministic, filters the state, and builds the candidate list, using a regex, retrieval or an LLM proposer (How to build software with System One).
  2. Jev. Many atomic questions in one request, each over a closed option set with an explicit other / none (Speculative fan-out, Choice questions).
  3. Compose in code. Use weights or a classical model over the probabilities (Composite scoring).
  4. Escalate on uncertainty. Send cases to a frontier model or a person: "if it's in the middle, then you do the next bigger model" (Diogo Almeida, first-party; Cookbook: SDE cascade is the documented form).
  5. Graduate stable, high-volume slices to a trained model once your labels support it (inferred).

Sources