Skip to content

Answer · Updated Nov 18, 2026

How do you use Jev with an LLM?

The split that works: let the LLM handle language and let Jev decide the branch, the gate, or the next action.
#llm#agents#decision-gating
Updated
2026-11-18
Sources
2
Resources
4
Questions
3

In short

Use the LLM for language and Jev for the typed branch. Route before generation, gate after generation, or verify beside it, but keep the contracts separate and measure the combined system against the LLM-only baseline.

Three useful splits

Route before generation: Jev chooses the model, tool, or prompt tier, then the LLM does the work. Gate after generation: the LLM proposes an action, and Jev decides whether it is allowed. Verify beside generation: the LLM writes an answer, and Jev checks whether the answer is supported.

Each split has a different failure mode. A router can send a hard case to a weak model. A gate can block a valid action. A verifier can miss a subtle unsupported claim. Measure the split you choose instead of assuming the model is the only variable.

Keep the contracts separate

The LLM call returns text or a tool call. The Jev call returns a typed answer. Do not ask the LLM to imitate Jev's JSON and then treat it as a calibrated decision. If the branch needs a probability, call the decision model.

Start with one decision

Pick the highest-cost branch in the workflow, such as escalation, tool approval, or retrieval sufficiency. Put Jev there, keep the LLM where it already works, and compare the combined system against the LLM-only baseline on the same cases.

From the Jev directory

4 entries selected for this answer.

Ask everything the system might need in one request, then let code throw away what it does not use. The ticket-triage example sends a category plus four speculative questions in parallel.
Jev Practices & PatternsDocs#official#patterns#batching
Official
Classify intent with a Choice and complexity with a Score, then send each branch to deterministic code, a specialist model, or a person, with a 0.5 intent-confidence floor.
Jev Practices & PatternsDocs#official#patterns#routing
Official
Screen every message going into and out of an LLM app: a Noul describes possible hazards, a Score rates severity, and code thresholds the probabilities.
Jev CookbooksDocs#official#cookbook#guardrails
Official
Guidance on how Jev fits coding agents: it is not a drop-in agent model, so the page routes readers to routing, rubric scoring, and truth checks instead.
Jev Guides & ArticlesDocs#official#docs#coding-agent
Official

Questions

Direct answers grounded in the sources below.

Does Jev replace the LLM?
No. Jev replaces the part of the workflow that needs a typed, repeatable decision. The LLM still handles drafting, summarizing, extraction, and conversation.
Where should the Jev call sit in an agent loop?
Common placements are before the model to route the request, after the model to gate the proposed action, and beside the model to score or verify its output. Pick one placement and measure it before adding another.
Can the LLM and Jev share the same state?
Yes, but keep the state purpose-built for each call. The LLM can receive the full conversation, while Jev should receive the smallest state that contains the evidence for the question.

Sources

Primary material behind this page.