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
- CLI
- MCP
- SDK
- REST API
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 likesafety 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.
- MCP
- SDK
- REST API
Run the EU AI Act and ISO 42001 compliance Harnesses on agent a1b2c3d4-… with sample size 50, and wait for it to complete
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 throughstarting, pending, running, completed, and saving before reaching saved. They can also end as succeeded, failed, or cancelled.
succeeded, failed, cancelled, or degraded.
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.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.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:--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:List and Manage Evaluations
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