Skip to content

CLI Reference

The agentv CLI is the primary entry point for all evaluation workflows, providing tools for execution, specification, and forensic analysis.

Run evaluations on one or more industrial scenarios.

Terminal window
agentv evaluate \
--path scenarios/loan_scenario.json \
--run-id <id> \
--agent http://localhost:5001/execute_task \
--attempts 3 \
--limit 10
  • --path: (Required) Scenario ID alias (e.g., loan_risk) OR a project-relative path (e.g., industries/fin/scenarios/loan.json).
  • --scenario: Alias for Scenario ID or project-relative path (used in run and inspect).
  • Note: Scenario IDs are resolved against the catalog index. If an ID is missing or the catalog is stale, you can optionally refresh it using agentv list or agentv catalog-refresh.
  • --agent: The target agent URL or local command.
  • --protocol: http (default), local, socket, langgraph, crewai.
  • --attempts: Pass@K trials per scenario.

Execute a single specific scenario or a Benchmark URI.

Terminal window
agentv run --scenario gaia://2023_all
  • record: Manually log a live agent session to create a new benchmark trace.
  • playground: Interactive REPL to communicate directly with an agent for rapid prototyping.

Generate an immutable Verification Certificate (VC) for a specific run.

Terminal window
agentv certify --run-id <id> --status pass --score 0.95
  • verify: Cryptographically validate the integrity of a run trace.
  • gate: CI/CD gatekeeper. Exits with code 1 if verification fails.

Convert Markdown PRDs/Specs into executable AES JSON using Hybrid Parsing.

Terminal window
agentv spec-to-eval --input prd.md --output scenario.json --fill-defaults

Convert production traces into evaluation scenarios for Regression Testing.


Generate stylized HTML reports and Mermaid trajectory maps.

Terminal window
agentv report --run-id <id> --share

Generate performance rankings from run traces in a target directory.

Terminal window
agentv leaderboard --dir runs/ --output LEADERBOARD.md

Detect pass-rate regression across sequential evaluation runs.

Terminal window
agentv trend \
--run-log-dir runs/ \
--window 10 \
--exit-on-regression \
--threshold 0.0
  • --run-log-dir / --dir: The run log directory to scan (defaults to runs).
  • --agent: Specific agent to analyze.
  • --window: The trailing window of sequential runs (default: 10).
  • --exit-on-regression: Exit with code 1 if regression is detected.
  • --threshold: The regression threshold for the OLS slope (default: 0.0).

AI-powered root cause diagnosis with Tiered Confidence Scoring.


Audit local dependencies, environment variables, and configuration health.

Terminal window
agentv doctor

Scaffold a new benchmark environment and industry registry.

Terminal window
agentv init --industry fintech