| Dimension | Jev | Guardrail framework |
|---|---|---|
| Primary role | Returns probabilities for typed questions that code can threshold or route. | Enforces policy around a model call, intercepting input, output, or both. |
| Where policy lives | In Noul questions and code thresholds, as in the Guardrails for LLMs cookbook. | In the framework's rules, validators, or configuration. |
| Integration point | Can be a hook inside a framework, or the whole check in plain code. | Wraps the model call and owns the hook points. |
| Multi-provider routing | A Jev complexity classifier can inform routing, as in LiteLLM's proxy across 100+ model providers. | The framework owns routing and provider abstraction. |
| Borderline handling | Probability plus a gate, for example a 0.60 uncertainty gate lifting agreement to 99.2% in the consistency cookbook. | Typically pass or block, with some frameworks allowing flag or rewrite. |
| Per-passage decisions | Four Noul questions per retrieved passage, with injections dropped and false premises kept as conflicts. | Usually checks final input or output, not each retrieved passage. |
| Prompt injection | JEV Shield scores incoming prompts and proposed actions, rejecting 17 of 21 published injection prompts before send in the README's Gandalf test. | Framework rules or classifiers applied at the boundary. |
| Repeatability evidence | Mean probability standard deviation of 0.0098 across 15 runs per condition on an 8-question moderation rubric. | Evaluated by rule coverage and false positive and false negative rates on a test set. |
| Citation and grounding checks | String match plus one Choice question: four accurate citations verified at 0.93 or more and all four planted failures caught. | Not a typical framework feature; would require a custom validator. |
| Human confirmation | Jev-cu uses local policy gates to hold sensitive macOS Accessibility operations for human confirmation. | Some frameworks support a flag or review step, but not as a scored decision. |
Verdict
A guardrail framework is the right shape when policy must span many providers, routes, or teams, and when the framework's hook points and routing are the main value. Jev is the right shape when the policy is a small set of typed decisions that can be expressed as questions and code, and when you want probabilities, gates, and repeatability evidence rather than a pass or block. The two compose: LiteLLM's proxy puts TypeSafe guardrail hooks and a Jev complexity classifier inside a multi-provider gateway, while the Twitch Chat Filter cookbook shows Jev plus plain code as the whole check. Choose the framework for coverage and integration, choose Jev for the decision itself, and expect the strongest setups to use both.
Where each sits in the request path
A guardrail framework wraps a model call. It intercepts input, output, or both, and applies policy at those boundaries. Jev is a decision model that returns probabilities for typed questions. It can sit inside a framework hook, or it can be the check itself when the policy is expressed as questions and code. LiteLLM's proxy shows the first pattern: TypeSafe guardrail hooks plus a Jev complexity classifier for policy judgments and request routing across 100+ model providers. The Twitch Chat Filter cookbook shows the second: three questions per message, then show, highlight, dim, hide, or blur in plain code.
How policy is expressed
Guardrail frameworks express policy as rules, validators, or configuration that the framework interprets. Jev expresses policy as Noul questions and code thresholds. The Guardrails for LLMs cookbook describes a Noul that describes possible hazards, a Score that rates severity, and code that thresholds the probabilities. The Classifying RAG Passages cookbook uses four Noul questions per passage and routes in code: prompt injections dropped, false premises kept as conflicts, and evidence assembled separately for the generator. The difference is where the logic lives: in the framework's policy language, or in questions plus ordinary code.
Handling borderline and uncertain cases
A guardrail framework typically returns a pass or a block, with some frameworks allowing a flag or a rewrite. Jev returns a probability, so code can set a gate. The Self-Consistency for Choices cookbook reports a mean probability standard deviation of 0.0098 across 15 runs per condition on an 8-question moderation rubric, and a 0.60 uncertainty gate lifting agreement to 99.2%. JEV Shield turns the score into a block, a question, or a pass, and in the README's Gandalf test rejected 17 of 21 published injection prompts before send. The operational difference is that borderline cases can become questions or human confirmations rather than hard blocks.
Verification and repeatability
Guardrail frameworks are usually evaluated by their rule coverage and their false positive and false negative rates on a test set. Jev decisions can be checked for repeatability. The Double-Checking Citations cookbook catches wrong and hallucinated citations against RFC 7519 with a string match plus one Choice question: four accurate citations verified at 0.93 or more and all four planted failures caught. The consistency cookbook measures run-to-run stability directly. That gives a different kind of evidence: not just whether the policy fired, but whether the same input produces the same decision across runs.