Guide
Claude Code, Codex, Cursor, and similar agents are strong at writing and reasoning. Between edits they still ask structured questions hundreds of times: which model, which tool, is this safe, are we stuck?
Answering those with another LLM call is slow, spendy, and still returns prose you parse.
Jev is TypeSafe’s System One model for that layer. Last verified: October 2026. Primer: what is a System One decision model. Broader list: top 10 Jev use cases.
Choice or Score over difficulty. Easy refactors stay on a small model; ambiguous architecture work jumps tiers. Your spend dial lives in code.
Choice across shell, search, browser, apply-patch, and custom tools. Pass recent messages and the candidate tool list as state. Shortlist first if the catalog is large.
Noul or Score on whether a file, span, or memory still matters. Agents that never forget drown their own context window. Agents that forget too eagerly thrash.
Noul: “are we repeating the same failing action?” When probability is high, break, summarize, or ask the user. Do not wait for the LLM to notice politely.
Noul + Choice (allow / confirm / block) before rm, force-push, production migrate, mass email. This gate should be hard-wired, not an optional MCP suggestion.
| Pattern | Use when |
|---|---|
Direct POST /v1/systemone (or SDK) | Safety and routing must always run |
| MCP tools for Choice/Score/Noul | Agent may request extra judgments |
| Both | Production default for serious agents |
Batch related questions over the same state so you pay for tokens once. Example: tool Choice + destructive Noul + loop Noul in one request after a proposed shell command.
Compatible hosts can substitute Laya or Clef if your client only needs the wire shape. For edge + images, Clef is the natural peer.
Architecture companion: decision model vs LLM for routing.
| Guide | Why |
|---|---|
| Jev review | Product and pricing |
| Top 10 Jev use cases | Non-agent patterns |
| Jev vs Laya vs Clef | Host choice |
See frontmatter FAQ for schema-ready Q&A (also rendered on the live guide page).
3 curated tools below.

Jev is TypeSafe's flagship System One decision model: send application state plus typed Choice, Score, and Noul questions, and get calibrated probabilities your code can branch on, without generating free-form text.
Laya Studio hosts the open-source Laya System One decision model behind a Jev-compatible API: send state and typed questions, get answers with probabilities in one forward pass, plus optional MCP tools and a guard endpoint.

Cloudflare Clef and Clef-flash are open-source (Apache 2.0) System One decision models on Workers AI: multimodal state plus typed noul/choice/score questions return probabilities, with a Jev-compatible API shape and optional fine-tuning path.
| Tool | Best for | Pricing | Billing note |
|---|---|---|---|
| Jev | Productivity | Paid | Paid Service |
| Laya | AI Agent | Freemium | Free Trial |
| Cloudflare Clef | AI Agent | Freemium | Free Trial |
Why use Jev inside a coding agent?
Coding agents make hundreds of structured judgments between edits. Jev answers those as typed Choice, Score, and Noul probabilities in roughly 70 to 500 ms with input-only billing, instead of another slow generative call you still have to parse.
What decisions should leave the LLM?
Move control decisions out: big vs small model, which tool, whether context is stale, whether the agent is looping, and whether a shell command looks destructive. Keep planning and code generation on the LLM.
How do I wire Jev into Cursor or Claude Code?
Two patterns: call the Decision API directly from your loop for hard gates, and optionally expose primitives via an MCP server so the agent can request judgments. Most builders do both.
What threshold should I use for destructive actions?
There is no universal number. Start conservative (confirm on modest p(destructive)), log outcomes, and tune. Confidence is not a correctness guarantee; it is how peaked the distribution is.
Can Laya or Clef do the same agent jobs?
Yes, if they speak a compatible System One shape for your client. Clef helps when the agent already runs on Workers AI or needs image state. See our use-case guides for each.