Jev knowledge base·verified Sep 22, 2026

jev evals for ai agents

Use Jev as an agent evaluator for bounded semantic criteria. Learn primitive selection, calibration, trace state, versioning and how Jev differs from an LLM judge.

the short answer

Yes. Jev can evaluate a completed agent session when the criterion has a bounded answer: a Noul for whether a condition held, a Choice for one outcome category, or a Score for an ordered rubric. A useful Jev eval stores the full distribution, model and question version beside trace evidence, then validates thresholds against human labels or downstream outcomes.

Best fit
Repeated bounded semantic judgments
Not a fit
Free-form critique, explanations, arithmetic or exact validation
Minimum evidence
Representative labels plus linked session or event state
Production record
Answer distribution, model, question, threshold and outcome

An Eval Is a Versioned Measurement, Not a Prompt

Changing any of these components changes the evaluator. A better prompt with an old version number is not the same instrument; neither is a new trace projection behind an unchanged question. Version the complete chain so historical results remain interpretable and a regression can be attributed to evidence, wording, model, provider or decision code.

01Evaluation unitOne session, turn, tool call, claim or retrieved passage with a stable ID.
02State projectionOnly the evidence needed for the criterion, with provenance preserved.
03Typed questionOne Choice, Score or Noul with versioned meaning and boundary cases.
04Jev resultFull distribution, resolved model, provider, latency and failure state.
05Decision and truthThreshold-derived status plus later human label or operational outcome.
A defensible Jev eval connects source evidence to a bounded judgment and eventually to independent truth.

Map the Eval Question to a Jev Primitive

Use a Noul for one yes/no condition, a Choice for one option from a defined set, and a Score for ordered descriptive levels. Do not hide several independent failure conditions inside one broad question. Split task completion, policy compliance, grounding, tool choice and escalation quality so each has a stable meaning and can be calibrated independently. Combine the results in code only when the operational decision requires it.

Eval questionPrimitiveWhy
Did the session satisfy this one requirement?NoulReturns probability that the condition is true
Which failure mode best describes the session?ChoiceCompares a defined set of mutually exclusive labels
How well did the handoff follow this ordered rubric?ScoreReturns a distribution over descriptive levels

Split One Vague Quality Score into Falsifiable Criteria

Atomic does not mean context-free. Each criterion should answer one question, but its state must still contain the evidence a reviewer would need. Keep arithmetic, counts, schema validity and permissions as code evaluators. The trajectory guide, tool-call guide and RAG groundedness guide define those evidence units in detail.

Broad questionBetter atomic evalsRequired evidence
Was the agent good?Task completed; response grounded; tool choice appropriate; communication clearGoal, final response, cited passages and tool trace
Was the tool call correct?Tool matched intent; arguments matched approved values; execution succeededUser request, proposed call, schema and tool result
Was the answer safe?One Noul per semantic policy condition plus exact code checksRelevant text, policy definition and deterministic signals
Was the RAG answer grounded?One support judgment per claim-citation pairAtomic claim, cited passage and source identity

Give the Evaluator the Right Trace State

An agent’s closing message is not the session. Evidence may live in tool arguments, tool results, approvals and intermediate observations. Build the smallest state that preserves the evidence needed by the criterion, identify fields explicitly, and omit unrelated transcript material. TypeSafe documents accuracy loss when Jev 1.13 receives large state full of irrelevant detail; see the full Jev limitations guide.

The state projection is part of the evaluator and must be versioned with the question. If a trace schema changes, the same words can describe a different instrument. Missing evidence should produce an explicit unscorable or review outcome in application logic rather than a guessed pass.

Jev vs an LLM Judge

Neither interface wins every eval. The detailed Jev-as-LLM-judge comparison covers the boundary. Compare them on the same labeled sessions and criteria. Report accuracy or agreement, calibration and confidence, repeatability, coverage at the chosen threshold, latency, cost and the downstream cost of false passes and false failures. An evaluator is only “better” for the decision and operating point actually measured.

NeedJevGenerative LLM judge
Bounded label or rubricNative typed distributionUsually prompt plus structured-output parser
Free-form critiqueNot generatedCan explain and cite evidence
Open-ended answer spacePoor fitNatural fit
UncertaintyProbabilities; Choice/Score confidenceOften a requested self-score that needs separate validation
Exact checksUse code insteadUse code instead

Store Enough Data to Replay the Verdict

This is an application record, not a claimed Failproof wire format. Its purpose is to show the fields needed for audit and replay. Keep the raw Jev response and derive pass, fail, review or unscorable in versioned application logic. Link rather than duplicate sensitive trace evidence when retention and access controls differ.

A single Boolean loses too much information. Without the distribution and threshold version, a team cannot tell whether the verdict was clear, replay a changed threshold or measure calibration. Without the evidence reference and projection version, it cannot reconstruct what Jev actually saw.

{
  "evaluation_id": "task_completed.v3",
  "unit_id": "session_8f2",
  "evidence_ref": "trace://session_8f2#final-and-tools",
  "projection_version": "agent_outcome.v2",
  "question_version": "task_completed.v3",
  "provider": "typesafe",
  "requested_model": "jev-1.13.0",
  "resolved_model": "jev-1.13.0",
  "raw_answer": { "noul": 0.87 },
  "derived_status": "pass",
  "threshold_version": "task_completed.web.v2",
  "latency_ms": 241,
  "attempts": 1
}

Match Metrics to the Decision and Its Errors

Agreement with one reviewer is not automatically ground truth. Measure reviewer disagreement, adjudicate important cases and prefer downstream outcomes when they validly represent success. Report the denominator and selection rule: 99% accuracy on 5% of easy traffic is a different system from 90% accuracy at 95% coverage. The evaluator scorecard and calibration guide give the complete protocol.

Question typeMinimum quality measuresOperational measure
NoulPrecision, recall, false-positive/negative rate, Brier or log lossCoverage and error at each action band
ChoiceConfusion matrix, per-class precision/recall and correct-label probabilityNo-match recall and review volume
ScoreLevel confusion, ordinal distance and distribution calibrationBoundary crossings and severity-weighted error
Any evaluatorAgreement by slice plus uncertainty intervalsLatency, failures, retries, cost and downstream impact

Jev Evals in the Failproof Workflow

Failproof AI’s evaluation system runs checks on completed sessions and stores results beside traces. Those results can feed alerts and audits that group recurring evidence into findings. A Jev evaluator fits this model as a typed semantic judgment, while deterministic code remains the right evaluator for counts, schemas, permissions and arithmetic. Jev evals vs policies explains when a measured failure should - and should not - move onto the action path.

Jev evals are live in Failproof AI for beta users as of September 22, 2026. Email nikita@befailproof.ai for access.

Production Checklist

  • Write one observable semantic criterion and define boundary cases.
  • Pin Jev and version the question, criteria and state projection.
  • Label representative production slices, including adversarial and missing-evidence cases.
  • Fit thresholds away from the final held-out evaluation set.
  • Store the full answer distribution and link it to trace evidence.
  • Monitor calibration, false-action rate, coverage, latency, errors and cost.
  • Replay the eval before changing model aliases, criteria or trace schemas.

Separate Development, Release and Production Monitoring

Repeatedly tuning against the same “test” cases turns them into development data and makes reported performance optimistic. Preserve a locked release set, then add newly discovered failures to a future regression suite. Use dataset construction, regression testing and drift monitoring as the operational sequence.

StagePurposeData rule
DevelopmentChoose state and question wordingMay inspect errors; never report as final performance
CalibrationFit thresholds or probability mappingsSeparate from development and final test
Held-out testEstimate release performance onceKeep untouched until the evaluator is frozen
Regression suiteDetect known failures after any changeVersion fixtures and expected behavior
Production monitoringDetect drift and collect delayed outcomesAudit all action bands, not only reviewed cases

FAQ

Is Jev an LLM-as-a-judge?

Jev can perform the bounded judgment part of an LLM judge, but it is not a generative judge. It returns typed answers and probabilities rather than a prose critique or reasoning explanation.

Can Jev evaluate every agent session online?

Its bounded interface can suit online evaluation, but feasibility depends on state size, request volume, current rate limits, latency budget and provider availability. Measure the complete production path rather than assuming a launch benchmark.

Should a Jev eval return pass or fail?

Keep the underlying probability or distribution. Application logic can derive pass, fail or review using a threshold calibrated for the criterion and cost of error.

Can Failproof run Jev evals?

Yes. Jev evals are live for Failproof beta users. Email nikita@befailproof.ai to get access.

Sources

Checked against the sources below on September 22, 2026. Model versions, prices and limits change.

  1. TypeSafe AI docs: Introduction
  2. TypeSafe AI docs: Primitives
  3. TypeSafe AI docs: Confidence
  4. TypeSafe AI docs: Jev 1.13 jaggedness
  5. Failproof AI docs: Evaluations overview
  6. Failproof AI PR #570 and product-owner confirmation: Jev beta