Jev projects

Updated: 2026-09-20  ·  Repo: github.com/az9713/jev-projects  ·  Model: typesafe-ai/jev through the Vercel AI Gateway, ai 7.0.107, Node 22
Predecessors: the model-router journey and the email-triage journey.

Every page in this repo puts measured latency on screen. Typical calls on this machine land in roughly 200 to 1,200 ms, with slower outliers during gateway congestion. Doom Level 3's 50-seed final evaluation had a 260 ms median episode mean and 346 ms median episode p95. A demo that hides this number is a demo of the animation, not of Jev.
Jev chooses shoot in ViZDoom Level 3 in 231 milliseconds with probability 0.96

Featured: Jev plays ViZDoom

Aim, survive, handle pressure, then combine combat with navigation. The new Level 3 page pairs a 24-second video with the recorded action, probability, tactical reason and response time.

41/50held-out goals reached
260 msmedian episode mean
346 msmedian episode p95
0final-run fallbacks

Watch the video and inspect the decisions →
Open the interactive replay · Read the case study

What was built: one page per project

Twelve pieces. Eleven use Node directly; Doom uses Python for ViZDoom and a tiny Node worker so it shares the same Jev evaluator. Seven visual projects have an HTML page that polls /state and draws. This site replays measured runs because GitHub Pages cannot hold a gateway key or run the local servers.

ProjectWhat Jev decidesLoopCheck result
probe-burst.mjsNothing; 50 boolean calls fired at onceone burst48/50 ok, burst 7.8 s, per call min 1,079, median 1,230, max 7,739 ms (the max is the SDK's three retries on a 503)
wiki/Which of up to 255 links on the current Wikipedia page leads to the targetturn-based5/5 races Coffee → Napoleon reached it: 4, 7, 5, 7, 4 hops in 4.6, 3.3, 4.8, 5.7, 2.3 s, $0.0004 to $0.0006 each
town/What each of 50 characters does when an event is announced: ignore, investigate, join, flee, warn, plus an urgency scoreone burst per event50/50 answered, burst 2.7 to 10.0 s, median per call 376 to 643 ms, $0.0011 per event
chess/Which legal move to play (SAN), on a one-minute clockturn-based10 games vs a random mover: 5 checkmates, 5 draws, 0 losses; 572 Jev moves at 465 ms mean; $0.013
sort/Which of five queues a customer message goes to20 calls in flight303 labelled messages in 13.8 s, 21.9 items/s, 93.7% agreement with the labels, $0.006
logs/Severity 0 to 3, page-the-on-call boolean, subsystem, per log line with three lines of contextstreamed, 10 in flight2,020 lines in 119 s (second run: 573 s, see below), $0.05. Routine max 1.37, incident min 1.47: no overlap. Page boolean fired on 18/20 incidents and 3 routine lines, both runs
lane/Forward, ease left, ease right, brake, or stop, once per tickticked, 1,000 ms5 runs of 60 ticks: Jev 13 collisions, forward-only 20, rule-based 0. Spec target (fewer than 3) not met
hooks/skill-router.mjsWhich of 147 Claude Code skills fits the prompt, or noneone call per prompt6/6 test prompts matched; 9,920 input tokens, 408 to 6,926 ms, $0.0004 per prompt. A first run saw only 100 skills: 48 skill folders are links and readdir dirents report them as non-directories; fixed with stat
hooks/verify.mjsTwelve questions about a git diff in one callone call per diffOn a synthetic diff: secret 0.99, test_weakened 0.99, debug_left 0.98, unrelated 0.88; risk 2.99 of 3; 340 ms, $0.00003
lookback/lookback.mjsWhat kind of step each recent Claude Code prompt is (seven kinds)one call per prompt, 10 in flightExtractor check passed (free). Live run 2026-10-04: 113 prompts, 20 sessions, $0.0025, 12 decision-type (10.6%). Report
backlinks/backlinks.mjsWhich other markdown note a note should link to, or noneone call per noteSix synthetic notes: both known pairs linked at p 0.99. Real-folder run not done
hooks/coding-reflex.mjs
Watch the Codex session
Whether a Codex task is incomplete, untested, unsafe or out of scopeone Jev call when Codex stopsControlled omission: first Stop flagged behavior_untested 0.83 and task_incomplete 0.80 in 1,188 ms; Codex added the direct test; second Stop was clean in 738 ms. Total Jev cost: $0.000198.

Findings

The gateway and the SDK

What the loops showed

Not built