Agent Evaluation Harness

Test your agent before your customers do.

Score accuracy, hallucination, and prompt-injection resistance against a versioned dataset, gate CI so a regression never ships, and turn every run into a signed, hash-chained Trust Scorecard that a customer, auditor, or teammate can check independently.

What it does

Five primitives, one reproducible run.

A run is reproducible because the dataset, the agent target, the scorer set, and the judge model are all versioned. Personal data is redacted at the source before anything is stored.

01

Versioned datasets

Test cases are grouped into an immutable, content-hashed dataset, so a run always points at an exact, reproducible version of your evaluation set.

02

Black-box agent targets

Your agent is reached through one adapter method, so the harness never depends on your application internals and works with any framework.

03

Accuracy and groundedness scoring

Every result is graded for correctness and hallucination against expected outcomes, with a verdict and a rationale, not just a number.

04

Prompt-injection resistance

Adversarial cases probe whether the agent can be steered off task or made to leak instructions, and the harness scores how it held up.

05

CI gating

Lock today's metrics in as a baseline, then gate your pipeline so a build exits non-zero the moment a change drops below it.

06

Hash-chained Trust Scorecard

Every run produces a signed scorecard on the same tamper-evident chain as your other evidence, verifiable by someone who was not in the room.

Why it matters

Gartner names it directly: continuous evaluation is the hard part.

Most teams evaluate once, at launch, then stop. An agent's behavior drifts with every model update and every prompt change. The harness makes re-evaluation a five-minute CI step instead of a quarterly project, so the evidence stays current.

AccuracyHallucinationGroundednessPrompt injectionRegression gatingVersion comparison
96%
ACCURACY
0.04
HALLUCINATION RATE
18/18
INJECTION CASES HELD
PASS
CI GATE
dataset v14, 60 casesrun complete
baseline comparison+2.1% vs v13
judge modellocked, versioned
scorecardsigned
chainverified
How it connects

Offline first, or wired into your pipeline.

Reach a first verified run in about sixty seconds with the built-in sample agent, fully offline, then point it at your own agent when you are ready.

Offline package

Run it locally

Pure standard library, no dependencies for the core. pip install trustra-eval, then trustra eval init and trustra eval run.

CI pipeline

Gate every build

trustra eval gate exits non-zero if a metric drops below your locked baseline, before the change reaches production.

Flight Recorder extra

Share the evidence chain

Add the Flight Recorder reader extra and scorecards land on the same tamper-evident record as your production logs.

Reach a verified run in about a minute.

The offline package ships with a sample agent and a starter dataset, so you see a real Trust Scorecard before wiring up your own agent.

The platform

Explore the rest of the platform