Practical Guides · knowledge base from X

Four architectures with Jev: trading, a 7-second browser agent, a firewall for Claude Code, 99% cheaper triage

The "state → typed decision (Jev) → deterministic execution (code)" pattern used in four systems: on-chain market making, web navigation without vision models (9 actions in 7.2 s for $0.004), a proxy that checks every command of a coding agent in 75 ms, and ticket triage going from $0.06 to $0.000035.

✍️ monokern · @monokern
🔗 Read the original on X · X Article · published 24 Sep 2026
📊 65 likes · 56 bookmarks · 29k views
Summary and adaptation in English; content and results belong to the author.

Part of the manual Jev and models that decide — the complete manual

Claimed result

  • Browser agent (repository browser-use/jev-ultrafast): a flight search on Google Flights in 7.2 seconds with 9 actions, $0.0039 of total API cost, versus 6–12 seconds and ~$0.05 per single action with screenshots and a vision model (12 actions ≈ 2.5 minutes and almost $1). −99.5% cost, ×20 speed.
  • Triage for a B2B SaaS with 30,000 messages a day: latency from 3,800 to 88 ms, cost from $0.06 to $0.000035 per ticket (−99.4%), zero format errors; before, classification alone cost $1,200–2,500/month, after, "less than a coffee a month".
  • Firewall for Claude Code: every shell command checked in ~75 ms.
  • Trading (repository jarrodwatts/jev-trader, published within 72 hours of launch by Jarrod Watts, Lead AI Engineer at the Monad Foundation): 6 questions resolved in 81 ms inside Monad's ~300 ms block window.

Proof: medium. It relies on public repositories and the producer's cases; a very promotional tone; the code snippets are images in the post. The trading part is reported as architecture, not as advice.

The key idea

The structural flaw of every autonomous system of the last two years: you give a big generative model (GPT-6, Claude Sonnet 5) the entire state of the environment and ask it a multiple-choice question (which button? do I execute the trade? is this command safe?), then wait 4–10 seconds of tokens, with invalid JSON about once in a hundred and ~$20/hour of plain flow control. LLMs are built to synthesize language, not to decide flow.

Jev (TypeSafe AI) is a System One model: no text; it receives a state of up to 32,000 tokens and typed questions, evaluates them in parallel and returns typed answers with calibrated probabilities in 70–120 ms at $0.042 per million input tokens (output free).

The universal division: the LLM synthesizes content, Jev decides what happens next, deterministic code executes.

The four architectures

1. Millisecond on-chain trading (Monad, as a pattern only)

  • Monad produces a block every ~300 ms; a generative model takes 4–8 s: in the meantime ~26 blocks have passed, the spread has moved, liquidity has been taken by arbitrageurs and the order executes at the worst price.
  • jev-trader runs on Bun + TypeScript, connected to the order-book DEX Kuru with two separate RPCs to avoid network queues.
  • Deterministic ingestion (code): at every block a compact snapshot under 350 tokens: the top 5 bids and asks, the imbalance of recent trades, the current inventory.
  • A battery of parallel judgments (Jev): six questions in a single HTTP request, resolved in 81 ms; the returned probability (e.g. "toxic dump" risk 0.14) is a calibrated frequency, not an invented confidence.
  • Deterministic risk layer (code): if toxic_dump_risk > 0.40 a fixed rule immediately cancels open bids; otherwise it computes post-only limit prices one tick inside the spread to collect the maker rebate.
  • The trap: adjusting orders at every block lets cancellation fees eat the spread. Solution: a confidence dead band in local code (act only if the change exceeds a threshold). Separating probabilistic estimation (Jev) and execution limits (code) keeps the system within 300 ms without burning the account.

2. Ultra-fast browser agent (7 seconds for $0.004)

  • Classic architecture: 4K screenshot → Base64 → vision model → verbose reasoning → JSON with coordinates: 6–12 s and ~$0.05 per click.
  • browser-use/jev-ultrafast eliminates vision models from step-by-step navigation: the page is serialized into an indexed DOM table; non-interactive nodes are removed; each interactive element (buttons, fields, links, menus) gets an integer; payload under 1,200 tokens.
  • The table goes to Jev with the user's goal ("one-way flight from SFO to JFK on October 12"); Jev returns element ID and action type in ~74 ms; Playwright clicks; the new table is extracted and it repeats.
  • Google Flights: 9 actions, 7.2 s, $0.0039. From an expensive demo to invisible background infrastructure.

3. Zero-latency terminal firewall (Claude Code, Codex, Cursor)

  • Everyone wants autonomous mode without clicking "Approve" on every npm run build or git status; but flags like --dangerously-skip-permissions are dangerous (a hallucinated regex or bash command can delete a database, overwrite the secrets in .env, force-push to production). An LLM as a filter adds ~3 seconds to every command.
  • Pattern: a lightweight MCP proxy between the agent and the shell sends Jev the proposed command and the surrounding git diff (~75 ms).
  • Deterministic policy in the proxy: file reads, tests, component generation go through with no perceptible latency; drop database, rm -rf, hard resets of uncommitted work are blocked and require manual confirmation.

4. Enterprise triage (−99.4%)

  • Naive design: every message to a frontier model with a huge prompt ("return a JSON with category, urgency, churn probability, department"): 3–5 s per ticket, $1,200–2,500/month, markdown blocks (```json) that break parsers.
  • System One design: one Jev call with all the questions in parallel. Metrics: latency 3,800 → 88 ms, cost $0.06 → $0.000035 per ticket, 100% strict typing (no syntax errors or extra text).
  • Calibrated routing thresholds: clear billing questions and password resets go through on their own; ambiguous ones are flagged with the exact confidence for human review.

Practical rule: what to use for what

If the component… Use
writes text, summarizes, reasons open-endedly LLM
asks a yes/no question, picks from a list, assigns a score Jev
enforces limits, risk, calculations, execution deterministic code

The author's promise: agents 20 times faster and token bills down by two orders of magnitude.

Tools and costs

Item Data
Jev 70–120 ms, $0.042/M input tokens, output free, state up to 32k tokens
Browser browser-use/jev-ultrafast + Playwright, <1,200 tokens per step
Firewall MCP proxy in front of the shell, ~75 ms
Triage $0.000035 per ticket, 88 ms
Trading jarrodwatts/jev-trader, Bun/TypeScript, Kuru on Monad

Limitations

A promotional article, some figures not verifiable; code snippets only as images; the trading part involves financial risk; the speed gains depend on the network (service in the United States); removing vision models only works on pages with a readable DOM.

← More guides in “Jev and the models that decide”