Hands-on experiments with TypeSafe's Jev — a "System One" model that answers typed choice questions with calibrated probabilities instead of generating text.
Same triage workflow, two judgment engines: Jev (--engine jev) vs Haiku 4.5 via claude -p (--engine llm). 120 synthetic tickets (Sonnet-generated, Opus-labeled gold), three judgments each: department, urgency, frustration level.
Live replay viewer: https://jev.dairui1.com
| Jev | Haiku 4.5 (no thinking) | |
|---|---|---|
| urgent accuracy | 91% | 79% |
| frustration accuracy | 79% | 65% |
| department | tie | tie |
| latency (API only) | ~431 ms | ~1536 ms |
| observed price | ≈ $0.037 / M tokens blended | — |
Jev's p(urgent) is well calibrated (bucket hit-rates 0 / 21 / 41 / 75 / 100%), so the workflow can route 0.35–0.65 to human_review instead of guessing.
make_dataset.py # generate + label tickets → data/tickets.json
agent.py # run one engine, write traces/<engine>.jsonl
build_viewer.py # traces → viewer.html (+ traces/data.js)
run.sh # both engines in parallel, then build + stage deploy/public
deploy/ # Cloudflare Worker static assets (npx wrangler deploy)
Secrets go in .secrets/typesafe.env (gitignored). The LLM side runs claude -p with tools/MCP disabled — otherwise each call drags ~120k tokens of tool definitions along.
Source-level study of browser-use/jev-ultrafast and cline/plugins → jev-browser, both landed 2026-09-18.
→ research/jev-browser-compare.html (open locally, or the published page)
Short version:
- Shared DNA: Jev only chooses among observed element IDs / fixed operations; a small LLM is called only for
TYPE_TEXTand must return{"text": ...}; structured DOM snapshot (≤6000 chars visible text) instead of screenshots; log the action before observing; stale decisions are re-observed, mutations are never retried; 3 no-progress actions → blocked. - The real fork — what one request asks: ultrafast uses TypeSafe speculative fan-out (one
operationquestion + a*_targethead per operation, executor consumes only the selected head). Cline flattens(operation, target)into a singleactionchoice (CLICK:3,TYPE_TEXT:3,SELECT:5:2, … +WAIT/DONE/BLOCKED/REVIEW). - Browser: ultrafast drives the user's existing Chrome over CDP (browser-harness) and waits on rAF / visible
[role=option](≤200 ms); Cline runs an isolated Playwright Chromium with origin allowlist, video, fixed 150/350/600 ms post-action delays — the main source of the speed gap. - Cline adds
offscreenControls+selectedOptionsto the observation and aREVIEWescape hatch that hands consequential actions back to the host agent; ultrafast has the finer accessible-name algorithm and scoped freshness guards, plus measured numbers (7.07 s Google Flights, 17 Jev requests, 178 ms median).
Survey of every open-source "Jev + computer use" project, filtered to the ones that reuse Codex's own mcp__cua_repl runtime rather than shipping their own controller. Only one qualifies: yikangy873-gif/jev-desktop (v0.2.0, 2026-09-19). The others (Jevbridge, typesafe-computer-use, JevBrowserExt, jev-ego, jev-codex-plugin, jev-use, jev-code, …) are either decision-only libraries, browser-only agents with their own executor, or Codex plugins that never touch the GUI.
→ research/jev-codex-computer-use.html (published page)
What makes jev-desktop different from the two browser agents above:
- Executor is Codex CUA itself —
cua.getApp()/ Tab →getAXState / click / setValue / scroll / pressKey. Covers native macOS apps, not just browser tabs. - Observation is the AX text tree, not the DOM —
parseAXregex-parses[12] button 预览lines (Chinese macOS roles normalized). No DOM node identity or occlusion checks. - Action space is allowlisted by Codex first — only controls matching caller-supplied
clickLabels/textSlots[].fieldLabel/scrollLabelsbecome Jev candidates; consequential labels (send/pay/delete/submit/…) and sensitive fields are stripped in code, not by prompt. - No second text model —
TYPE_TEXTpicks a Codex-preparedtextSlotsentry; literal values never leave the machine.FILL_GROUPfills several independent prepared fields on one decision. - Same speculative fan-out as ultrafast (
operation+ per-operation*_targetheads, adopted in 0.2.0), plus hard gates: confidence ≥ .65 and probability ≥ .70 on both heads; Jev'sDONEis never trusted — a localverify(raw)predicate decides. - API key stays out of the CUA sandbox via an authenticated loopback bridge (random 127.0.0.1 port, one-shot token, pinned upstream).
- Author-reported single samples: form task 3.95 s (decision 1.70 s, actions 0.08 s, AX observation 2.16 s), Calculator 12+34 in 8.3 s. Observation dominates; not a controlled speedup.
MIT