Skip to content

Jev directory

Jevals · openlayer-ai

OpenLayer's eval and guardrail library that replaces LLM judges with Jev-style decisions, packing every check for an agent trace into one request.
Stars
105
Language
Python
License
MIT
Reading time
3 min
Published by
Community
Author
OpenLayer
Last verified
Sep 2026

About this project

Evals and guardrails for agents, using Jev-style decision models instead of an LLM judge. All the evals for a trace go out as one request that costs a few thousandths of a cent and comes back in a few hundred milliseconds, so you can run them on every trace and inside the agent loop. Works with Jev through the TypeSafe or Vercel APIs, with Kev or Laya running locally on a Mac, with Eikos on your own GPU, or with a regular chat LLM if that's all you have (slower, costs more).

Quoted from the project's README. Read the full README.

Highlights

  • The quickstart weather trace runs nine checks in one request: 1,423 tokens, $0.00006, and 0.50 s.
  • Ships 37 evals across agent, security, and quality groups, plus YAML gates with allow, escalate, and block policy.
  • Against Ragas on the same sample it reports 1 request and $0.03 per 1k, versus 6.0 LLM calls and $2.60.
  • Backends resolve from the environment: TypeSafe direct, Vercel AI Gateway, Kev, Laya, or OpenRouter emulation.

Quickstart

python
from jevals import evaluate
from jevals.agent import Grounded, StayedInScope
from jevals.quality import AnswerRelevancy, Completeness

report = evaluate(
    {"messages": messages, "tools": tools},
    [Grounded(), StayedInScope(), AnswerRelevancy(), Completeness()],
)

Watch out

Alpha software: the TypeSafe direct backend has only been tested against a mock and the adapters against fakes, and probabilities differ per backend, so calibrate thresholds yourself.

Questions about this entry

Short answers drawn from the linked project or page.

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.

Other listings of this project

Forks and copies of this project in the directory. This entry is the canonical one.

2GitHub stars
A self-contained playground for evaluating structured judgment requests against LLM providers: validate a SystemOneRequest, run it through an emulator, a JEV baseline via typesafe.ai and an OpenAI-compatible judge, then compare results on three web screens.
Jev Benchmarks & Evaluations#community#github#benchmark

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.

Follow @typesafeai