Skip to main content
Diamond supports two evaluation types. Both run against a registered Agent and use an evaluation_id, but they accept different settings and produce different evidence. Red Team does not accept baseline, Harness, sample-size, or local-mode settings.

Prerequisites

  • An authenticated CLI or SDK client, or a bearer token for REST requests. See SDK Setup.
  • A registered Agent and its ID or alias.

Start an Evaluation

Run the standard Trust Score Harnesses:
Run a Red Team evaluation:
The command waits for a terminal status. Add --no-wait to return after creation, or place --output json before evaluate for JSON output.

Run Compliance Harnesses

Compliance Harnesses test an Agent against a regulatory or standards framework. They are standard Harnesses, so you start them like safety or security, by name: See Compliance Harnesses for what each framework tests. A run that contains only Compliance Harnesses produces a Compliance Trust Report. Mixing them with safety, security, or reliability in one run does not, so start the Trust Score as a separate evaluation.

Run the EU AI Act and ISO 42001 compliance Harnesses on agent a1b2c3d4-… with sample size 50, and wait for it to complete

Claude calls harness_list to resolve the framework names, then eval_run with those harness_names.
vijil evaluate does not select Compliance Harnesses yet: --baseline runs only the Trust Score set, and --bespoke expects a custom Harness. Use MCP, the SDK, or the REST API instead.

Check Status

Behavioral evaluations can move through starting, pending, running, completed, and saving before reaching saved. They can also end as succeeded, failed, or cancelled.
Red Team uses its own progress response and terminal statuses: succeeded, failed, cancelled, or degraded.
A degraded Red Team evaluation completed with some attacker failures. Inspect its error fields and wave breakdown before using its report.

Retrieve Results

Behavioral Results

Behavioral evaluations produce a Trust Score and a hierarchy of Harness, Scenario, and Probe results.
Use client.scores.results() or the corresponding REST endpoint when you need the complete nested result hierarchy. Use the response listing below when you need filterable, paginated prompt-level evidence.

Prompt-Level Responses

Retrieve individual prompt and Agent response rows from a completed behavioral evaluation. The method supports both standard and custom Harness evaluations.
Each row identifies its parent Harness, Scenario, and Probe and includes the prompt, Agent response, parent Probe score, and raw Detector results. A failed row belongs to a Probe that scored below the evaluation’s pass threshold. Filter by harness_id, scenario_id, or probe_id to narrow the results further. The CLI does not currently expose this response listing. Red Team evaluations do not support it; use the Red Team evidence methods below instead. See the client.evaluations SDK reference for all arguments and the return type.

Red Team Evidence

Red Team evaluations expose seeds, attacks, judgments, and reflections under the evaluation ID:
Use --wave to filter the CLI seed, attack, or judgment commands. The attack and judgment commands also accept --seed with --wave. See the Red Team CLI guide for the complete workflow.

Retrieve Reports

Download the behavioral evaluation PDF:
Retrieve the Red Team report as structured JSON, Markdown, or PDF:

List and Manage Evaluations

The current CLI supports listing and showing evaluations. Use the SDK or REST API when you need to delete an evaluation, and use REST to cancel one.

Next Steps

Understand Results

Interpret behavioral Trust Scores and Red Team evidence

Red Team CLI

Inspect waves, attacks, judgments, and reports

Custom Harnesses

Create targeted behavioral evaluations

Local Agents

Run behavioral evaluations against local Agents
Last modified on October 13, 2026