- https://x.com/Mr_Buzzoni/status/2104783226833186920
- Type: article
- Source: Mr. Buzzoni (@Mr_Buzzoni) · November 2026
TL;DR
Most calls inside an agent loop are small decisions, not generation: which tool next, is this source relevant, did the test pass. Sort them into code, Jev and human, send only the middle bucket to Jev, and escalate the answers Jev is unsure about to a cheap long-context model (Kimi K3). A worked email-triage example lands at about 300.
Summary
The argument opens with a critique of RLHF: a model trained to please raters learns to look right, so its stated confidence stops carrying information. Jev is trained for calibrated probabilities instead (TypeSafe calls it RLCD) — answers given at 90% should be right 90% of the time — and it never writes text, which keeps it cheap and makes confidence usable as a routing signal.
The playbook is a four-bucket sort of every step in one real transcript: needs creation → an LLM; follows an exact rule → code; picks from answers you can enumerate in advance → Jev; irreversible (send, pay, publish, delete, change permissions) → the human. The third bucket is always larger than people expect.
Three primitives cover it: Choice (up to 255 options, probabilities summing to 1), Score (2–10 ordered levels, may land between them) and Noul (probability of yes, where 0.5 means it cannot tell rather than “medium”). Related questions share one call and one state — speculative fan-out — measured 12.2× cheaper and 10× faster than thirteen separate calls over a 53,777-character document.
The cascade then has four layers, stopping at the first that is sure: code (free) → Jev (~100 ms, 3/$15 per million, 1M context, reads screenshots and scanned PDFs) → the human for anything irreversible or still uncertain. Thresholds are set per action, not per model: filing a newsletter can run far below the bar for flagging fraud. Automation rolls out with a shadow week, comparing the old path against Jev by confidence band and switching the highest band first.
Key takeaways
- Sort before you optimise. The four-bucket pass over one transcript is the whole audit; nothing else has to change to start.
- Confidence is the product. Calibration is what makes a threshold meaningful, and why “0.5 = cannot tell” beats “medium”.
- The question is the code. Most bad answers are bad questions: version them, test them on a labelled set, roll back when they drift.
- Shadow week, then band by band. Never flip a whole pipeline to Jev on faith.
- Log everything — model ID, full distribution, threshold, which layer answered, what happened next; the log becomes the evaluation set, and pinning the version keeps thresholds meaningful next month.
- Where it breaks is published: literal reading, counting, dates as text, context rot, trusting adversarial state, no vision, multi-hop chains. Each has a harness fix, and none of them is “prompt it better”.
Tools and concepts
- Jev — the decision model. This article quotes $0.042 per million input tokens, output free, ~100 ms per call, far below the ~0.4 s per call in the earlier note; both are vendor or vendor-adjacent figures.
- Kimi K3 — open-weights long-context model in the escalation slot; also runs an Agent Swarm of up to 300 sub-agents with Jev making the between-turn calls.
- Harness integrations —
langchain-typesafe(ModelRouterMiddlewarefor model choice,AutoModeMiddlewarefor tool-call risk),pydantic-ai-slim[typesafe](a Python type becomes the question), Vercel AI SDKexperimental_evaluate. - Shipped builds — Browser Use
jev-ultrafast(next action plus element; flights found in 7.1 s for 0.08), inbox triage (500 emails for 3.5 cents), computer use at 0.032 for a frontier model.
When to use
Reach for this when an agent loop already works but its bill is dominated by small decisions: routing, relevance filtering, triage, “is this done”, “is this safe”. The four-bucket sort tells you what to move; if the answer is “almost nothing”, the problem is elsewhere. This vault already runs the pattern in shopq (Jev chooses the listing, Python does the arithmetic, the human buys) and in the vault-first guard.
Caveats
- Almost every number — 193.6× faster, 444.6× cheaper, the $9.42 — is the vendor’s own or a build log from someone shipping with Jev; TypeSafe itself calls its best figures the high end of what to expect.
- The section on writing questions is a figure in the original, not text, so those rules must be read in the TypeSafe docs.
- The cascade assumes a cheap second model is available; with a paid-only provider the escalation layer can cost more than the decision it replaces.
- One paragraph of the source is truncated mid-sentence (“other never routes on its own”), so the routing rule between Jev and K3 is only partly stated here.