Jev directory
CommunityJev Agents & MCP
Jev + Strands Decision Lab
Educational lab that adds a decision layer to Strands agents: the agent proposes tool calls, a Jev adapter emits an advisory signal, a deterministic policy engine allows, reviews, or denies, and a simulated executor runs only permitted actions.
- Stars
- 0
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 19, 2026
Highlights
- Strands agent on Amazon Bedrock Nova proposes tool calls; Jev emits an advisory signal; a deterministic policy engine allows, reviews, or denies.
- Runs offline with no AWS account and no Jev key; requires Python 3.11 or higher and uv.
- Ships 22 labeled scenarios; the local policy plus mock provider scores 22/22 with zero unsafe allows.
- Local engine latency is reported at P50 0.01 ms and P95 0.01 ms, measured on policy and mock provider, not a network call to Jev.
- Astro frontend draws the agent flow as clickable boxes that light up in sequence and reveal the real code for each stage.
Questions about this entry
Short answers drawn from the linked project or page.
Clone the repository, run uv sync, then run uv run decision-lab demo. It shows an allow path, a review path that later gets an exact approval, and a deny path. Structured JSONL traces are written to stderr, so you can redirect them with 2> traces.jsonl.
No. The offline mode runs without AWS and without a Jev key, using a mock decision provider. The deployed live demo instead uses a real Strands agent on Amazon Bedrock Nova, Jev jev-1.14.0 via api.typesafe.ai, and a Jev key stored in AWS Secrets Manager.
Eight ordered rules: unknown tool or invalid arguments deny, untrusted actor deny, insufficient role deny, provider failure deny (fail-closed), provider reject deny, production restart without a linked approval review, provider review or risk above threshold review, otherwise allow.
The Jev signal can restrict behavior by asking for review or deny, but it can never expand what the deterministic rules permit. A provider execute recommendation never turns a role without permission into an actual execution.
The evaluate command reports 22 scenarios, 22 correct, 100% accuracy, and 0 unsafe allows, meaning no case where review or deny was expected but execution happened. You can list the labeled scenarios with uv run decision-lab scenarios.
The P50 0.01 ms and P95 0.01 ms figures cover the local engine, meaning the policy plus the mock provider. They are not the latency of a network call to Jev. The repository documents this in docs/benchmark-method.md.
Start the backend with uv run python -m decision_lab.server on 127.0.0.1:8000, then in the web directory run npm install and npm run dev for localhost:4321. The frontend exposes the same engine over HTTP and shows each stage's real code and input/output.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Agent Handoff Gate: agents verify what they hand off
X: Jev as an LLM guardrail inside Agentgateway
X: Vercel's fx safety reviewer, measured at 18× faster
Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.
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.