Jev directory
CommunityJev Integrations & Adapters
SemanticPolicy.Providers.TypeSafe
NuGet package that adds a TypeSafe Jev decision provider to SemanticPolicy for .NET 10, letting rules ask a Jev decision model for a probability of yes and turn it into Allow, Warn, Abstain, Escalate or Deny verdicts. Version 0.1.0-alpha.4 is a prerelease.
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Targets .NET 10.0 and ships as prerelease 0.1.0-alpha.4, the fourth SemanticPolicy release.
- Answers a rule's question with a probability of yes, which binding thresholds turn into verdicts.
- Reaches the TypeSafe Jev decision model at TypeSafe's own endpoint or through OpenRouter.
- Bindings hold per-provider numbers such as WarnAboveProbability(0.60) and DenyAboveProbability(0.90).
- Sits alongside Jev, System One and Http providers plus an evaluation CLI in the same package set.
Questions about this entry
Short answers drawn from the linked project or page.
Run dotnet add package SemanticPolicy.Providers.TypeSafe --version 0.1.0-alpha.4, or add a PackageReference with that version. The package is published as a prerelease, so prerelease sources must be enabled. It can also be referenced through a #:package directive in C# file-based apps.
It targets .NET 10.0 and is compatible with that framework or higher. The #:package directive form works in C# file-based apps starting in .NET 10 preview 4.
The provider can reach the TypeSafe Jev decision model at TypeSafe's own endpoint or through OpenRouter, so the same rule can be pointed at either route.
Through a binding, the .Using("jev", ...) line, which names the provider and holds its numbers, for example WarnAboveProbability(0.60) and DenyAboveProbability(0.90). The documentation notes the same rule needs different numbers on a different model, so they should be measured per provider on labelled examples.
No. It is version 0.1.0-alpha.4, a prerelease, and every part of the SemanticPolicy API can still change between alpha releases. Shadow mode is offered for recording what a policy would have decided while the runtime behaves as before.
Five, from least to most severe: Allow, Warn, Abstain, Escalate and Deny. No rule names Abstain; a rule ends there when a binding's margin gate finds the answer too close to call and no binding is left to ask.
The README has a section titled Not a security boundary and states that a decision model is probabilistic, so a prompt-injection rule raises the cost of an attack rather than serving as a hard boundary.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
YouTube: Kubernetes admission control with a decision model, fail-closed.
Hacker News: SafeDep Gryph plus Jev checks for compromised coding-agent behavior.
2 pointsDetecting Compromised AI Coding Agents with Jev and GryphRead the thread on Hacker NewsX: Jev and Laya on security queries
X: Testing Jev for prompt injection
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.