Skip to content

Article

Evaluate Agent Responses with Jev

Use Jev as a Braintrust judge scorer, then inspect selected answers, confidence, and probabilities alongside the scorer answer. Includes tracing for your own calls.
Format
Article
Reading time
3 min
Published by
Community
Author
Braintrust
Last verified
Sep 2026

Highlights

  • Jev works as a Braintrust judge scorer via a TypeSafe API key provider, or native Jev once access is enabled for the account.
  • Choice and Score confidence and per-choice probabilities are saved in the result metadata for later inspection.
  • A worked example classified a draft as 'Incorrect, unsafe, or invents information' with 0.57 confidence and 0.68 probability.
  • wrapTypeSafe(new TypeSafeClient()) records calls as typesafe.systemOne spans with input, criteria, answers, token usage, and duration.
  • Suggested routing: accept confidence above 0.95, send 0.70-0.95 to a stronger LLM judge, and treat below 0.70 as inconclusive.

Quickstart

ts
const logger = initLogger({ projectName: "jev-evaluation" });
const client = wrapTypeSafe(new TypeSafeClient());
const response = await client.systemOne({
  state: "I was charged twice. Please refund the duplicate charge.",
  questions: {
    category: choice("Which team should handle this request?", {
      billing: "Payments and refunds",
      technical: "Software problems",
      other: "Other requests",
    }),
  },
});
await logger.flush();

Watch out

Confidence values are not operating thresholds out of the box, and Braintrust says teams should compare them against observed accuracy on their own examples.

Questions about this entry

Short answers drawn from the linked project or page.

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