report and validate: Render and check files
strands-evals report renders an EvaluationReport JSON that a previous run produced, and strands-evals validate schema-checks an Experiment JSON before you spend money running it.
report: Render an existing report
Section titled “report: Render an existing report”# Static Rich rendering on stdout (Rich on a TTY, JSON when piped; pass --rich to force)strands-evals report reports/regression.json --rich
# Interactive Rich table (expand/collapse rows)strands-evals report reports/regression.json --interactive
# Include diagnosis recommendationsstrands-evals report reports/regression.json --recommendations
# Re-emit as JSONstrands-evals report reports/regression.json --jsonreport accepts - to read from stdin, so it composes with run:
strands-evals run experiments/regression.json --agent my_pkg.agents:build_agent \ | strands-evals report - --recommendations-o PATH always writes JSON regardless of --interactive/--rich, so you can pipe through report to persist a stable on-disk format.
validate: Schema-check an experiment
Section titled “validate: Schema-check an experiment”strands-evals validate experiments/customer_service.json# valid: 12 case(s), 3 evaluator(s) [OutputEvaluator, TrajectoryEvaluator, HelpfulnessEvaluator]validate loads the file via Experiment.from_file and reports case + evaluator counts. It exits non-zero on schema or I/O errors, making it a fast CI gate before run. Use --custom-evaluator MODULE:CLASS (repeatable) when the experiment references custom evaluators.
Next steps
Section titled “Next steps”run: produce the report JSON these commands consume.- Serialization: the on-disk shapes consumed by
validateandreport. - CI integration: wire
validateandruninto a workflow.