Jev design patterns answer a practical problem: you need software to interpret messy language at a point where a full generative model call costs too much or answers too slowly. The four patterns here cover speculative fan out, confidence gated routing, composite scoring and intent routing, each mapped to the decision type that supplies its output.
Jev design patterns turn fuzzy language into typed branches
Jev design patterns are four ways to place a decision model's typed answers into ordinary application code: speculative fan out, confidence gated routing, composite scoring and intent routing. The model returns a probability, a pick from a supplied list, or a position on an ordered scale, and your software decides what happens next.
Jev is a decision model from Type Safe, not a chat model. The material here comes from a video published on 25 September 2026 by The AI Automators, and the speaker treats Jev as one example of a category that will expand. Nothing below depends on Jev specifically; the pattern holds for any model that answers with a typed decision instead of prose.
The case for the category rests on token economics. Type Safe listed Jev at 4.2 US cents per million input tokens with no charge for output tokens at the time the video was recorded, and the speaker's own worked example ran 1,000,000 requests at 1,000 input tokens each for a stated total of $42 in token charges. Treat that arithmetic and the price as a claim from the September 2026 video, not a current quote, and check Type Safe's own pricing before you budget on it.
One correction before going further: a decision model call is cheap, but the architectural value comes from asking the right question once rather than many times. The patterns below are about request shape and control flow. They are not a licence to remove validation, authorisation or review from a workflow that touches customers.
Which decision type should the question return?
There are three decision types in this framing, and each constrains what your application can do with the answer. Choosing the type is the first design move, because a probability and a label support different control logic.
Type selection follows the question, not the workflow. If you need a branch, you want a boolean probability or a supplied choice. If you need a value on a defined scale, you want a score.
- Boolean (null-style) question. Returns a yes probability. A question such as whether a customer email mentions a deadline in the next two days can return 0.9, and code can then set a deadline flag. Values near the midpoint signal that the model is unsure.n- Choice question. You supply the candidate answers and the model selects one, for example bug, billing issue, account access problem, feature request or other. A choice also returns probabilities and a confidence value.n- Score question. You define an ordered scale, such as trivial, minor, major and blocker, and the model returns a position on it that can fall between levels. Scores also carry probabilities and a confidence value.n- Practical distinction. The boolean form exposes its yes probability directly; the choice and score forms give you probability and confidence alongside the answer, which is what the gating patterns consume.
Ten decision shapes and the job each one does
A decision shape describes the job you are trying to accomplish, while the decision type describes what comes back. The video separates ten shapes, and the separation matters because the same decision type can serve several shapes depending on how the answer is consumed.
Classification assigns a label from a known set, which maps cleanly onto a choice question: an upload failure message becomes a bug, a shared inbox message becomes an invoice, a sales pitch or a delivery update. Detection asks whether a specific property is present, such as a request to stop contacting the sender, and a boolean probability fits because your application retains the decision about what to do with it.
Routing selects what happens next rather than what the item is. An order status question can go to a database lookup while a product question goes to an assistant holding the relevant documentation. Search and retrieval are adjacent but distinct: search finds candidates by meaning, and retrieval brings the right passages into the next step, for example selecting returns policy passages that apply to a customer's region.
Scoring, ranking, verification, feature extraction and structured extraction complete the set. Ranking orders candidates, so a request for a laptop backpack for a rainy bike commute can be evaluated against ten product descriptions and sorted. Verification checks a specific claim against concrete evidence, such as whether a cited passage supports the sentence referring to it. Feature extraction turns language into inputs for another model, and structured extraction uses the model to pick the correct candidates out of raw data.
Shape — Job — Typical decision type — n — --- — --- — --- — n — Classification — Assign a category — Choice — n — Detection — Test for a property — Boolean probability — n — Scoring — Place an item on a defined scale — Score — n — Routing — Select the next handler — Choice — n — Ranking — Order candidates — Score per candidate — n — Verification — Check a claim against evidence — Boolean or choice
Speculative fan out asks independent questions in one request
Speculative fan out sends several independent questions in a single request and lets the code read only the answers it needs. A support ticket can be asked for its category, its disruption level, whether a deadline exists and whether the customer supplied reproduction steps, all at once.
The name reflects the economics of the call. Asking one question and asking ten inside one request takes nearly the same time, so speculative answers that may go unused cost less than a series of round trips. If the ticket turns out to be a billing issue, the reproduction-steps answer is simply ignored.
The pattern has a hard boundary. Questions that genuinely depend on an earlier answer still need a second stage, so fan out covers the independent portion of a workflow and nothing more. Bundling dependent questions into one call produces plausible-looking answers with no way to tell which one was compromised.
Confidence gated routing and composite scoring
Confidence gated routing uses the model's uncertainty as a branch condition: a clear interpretation goes to a handler, while an ambiguous one triggers clarification. This is where the probability and confidence values from choice and score questions earn their place.
The classic case is a short instruction with no antecedent. If someone writes "Cancel it", the system cannot tell whether a subscription or an appointment is meant, and an ambiguous reading should ask rather than guess. Thresholds are the design decision, and the video is explicit that they need testing against your own examples rather than assumed.
Composite scoring separates the components of a judgement and combines them with weights you control. A product recommendation can score each item separately for intended use, stated preferences and budget fit, then combine the results. Weights can be fixed in code or sent into the model with the situation.
Neither pattern removes your obligations. Permission checks and confirmation rules belong in your application's business logic. A decision model returning a confident answer is not evidence that the requested action is authorised, so gating on confidence is a control-flow improvement rather than a security control.
Intent routing and how the patterns compose into an application
Intent routing places a decision at the entrance to several handlers: a password reset goes to the reset flow, a configuration question goes to the documentation assistant, and an unresolved account dispute goes to support. The model decides the destination and confidence decides whether the destination is safe to use.
A customer support application shows how the pieces fit. An incoming upload-failure ticket goes to the decision model with several questions asked together: ticket category, a disruption or priority score, and a deadline signal. Code checks whether the answers are clear enough to act on, selects a handler and sets the priority.
The generative model enters only where writing is needed. If the customer needs a reply, a language model drafts it using the relevant evidence the decision layer already supplied. Each decision has a defined job, and the application owns how the pieces connect.
This split is the useful architectural idea. A decision model handles the cheap, repeated interpretation; a generative model handles the expensive, open-ended output. Treating either as a general-purpose component blurs the boundary and reintroduces the cost and latency the split was meant to remove.
Where should you start with a decision model?
Start with a workflow you already understand, find the point where the software must interpret fuzzy natural language, and reduce it to the smallest useful question. That narrow scope keeps the pattern testable.
- Pick a process whose steps and failure modes you can describe without consulting the model.n2. Mark the exact step where raw text must become a category, a flag, a rank or a route.n3. Decide the answer type: probability, supplied choice or ordered score.n4. Define what happens when the answer is uncertain, naming the threshold and the clarification path.n5. Add the permission and confirmation rules the decision layer does not cover.
Automation, real-time interaction, bulk data processing, verification and agent harness engineering are the broad categories the video groups opportunities into, but the starting point is the same in each: a known workflow with a fuzzy input. The AI Automators channel also publishes material on agentic retrieval and harness engineering for readers who want the wider build context; the YouTube channel is the canonical place to find those videos. For Brazilian readers who want Portuguese-language developer content alongside this, the community around Dev Doido do canal do youtube covers adjacent ground, and CrazyStack is a separate Brazilian software resource worth bookmarking.
Frequently asked questions about Jev design patterns
- What are the four Jev design patterns? They are speculative fan out, confidence gated routing, composite scoring and intent routing. Speculative fan out bundles independent questions into one request, confidence gated routing branches on uncertainty, composite scoring weights several separate scores, and intent routing sends the request to a handler based on what the user is trying to do.
- Is Jev a replacement for a chat model? No. Jev is described as a decision model that returns typed answers, and the workflow keeps a generative model for the step that needs a written response. The decision layer handles repeated interpretation, and the language model handles open-ended output.
- What is the difference between a decision type and a decision shape? A decision type describes the return value, which is a boolean probability, a supplied choice or an ordered score. A decision shape describes the job, such as classification, routing, ranking or verification. One shape can use more than one type depending on how the answer is consumed.
- How do you set confidence thresholds? Test them against your own examples from the workflow you are automating. The video states that thresholds vary by use case and gives no universal value, so a threshold borrowed from someone else's demo has no evidential weight for your traffic.
- Can a decision model handle authorisation or refund decisions by itself? No. Permission checks, confirmation rules and policy enforcement stay in your application logic. A confident model answer says nothing about whether an action is permitted, and a verification step checks a claim against evidence rather than granting entitlements.
From a spoken walkthrough to a written reference
The patterns above survive the video format because they are structures rather than opinions: a request shape, a threshold, a weight vector and a handler map. Written down, they become something a colleague can review and a test suite can exercise.
If you have explained a workflow like this on video, the same material can reach readers who will never watch a 14-minute walkthrough. Skala Blog takes a YouTube URL, transcribes the video and generates a structured article draft you can edit before publishing.
Fork this article
Start a new branch from the same video, shaped your way. You keep the credit; the original keeps the attribution.
A fork in another language is filed as a translation of this article, so the two pages point at each other. You can unlink it later from the editor.
0/240
You are creating
- Format
- For
- Language
- Source
- Your angle
You will be asked to sign in before it is generated.
Buy credits