CLI Reference
The agentv CLI is the primary entry point for all evaluation workflows, providing tools for execution, specification, and forensic analysis.
🚀 Execution Commands
Section titled “🚀 Execution Commands”evaluate
Section titled “evaluate”Run evaluations on one or more industrial scenarios.
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 inrunandinspect).- 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 listoragentv 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.
agentv run --scenario gaia://2023_allrecord & playground
Section titled “record & playground”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.
🛡️ Trust Protocol (Certification)
Section titled “🛡️ Trust Protocol (Certification)”certify
Section titled “certify”Generate an immutable Verification Certificate (VC) for a specific run.
agentv certify --run-id <id> --status pass --score 0.95verify & gate
Section titled “verify & gate”verify: Cryptographically validate the integrity of a run trace.gate: CI/CD gatekeeper. Exits with code1if verification fails.
📂 Specification & Scenario Management
Section titled “📂 Specification & Scenario Management”spec-to-eval
Section titled “spec-to-eval”Convert Markdown PRDs/Specs into executable AES JSON using Hybrid Parsing.
agentv spec-to-eval --input prd.md --output scenario.json --fill-defaultsimport-drift
Section titled “import-drift”Convert production traces into evaluation scenarios for Regression Testing.
📊 Analysis & Reporting
Section titled “📊 Analysis & Reporting”report
Section titled “report”Generate stylized HTML reports and Mermaid trajectory maps.
agentv report --run-id <id> --shareleaderboard
Section titled “leaderboard”Generate performance rankings from run traces in a target directory.
agentv leaderboard --dir runs/ --output LEADERBOARD.mdDetect pass-rate regression across sequential evaluation runs.
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 toruns).--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).
explain
Section titled “explain”AI-powered root cause diagnosis with Tiered Confidence Scoring.
🛠️ Environment Utilities
Section titled “🛠️ Environment Utilities”doctor
Section titled “doctor”Audit local dependencies, environment variables, and configuration health.
agentv doctorScaffold a new benchmark environment and industry registry.
agentv init --industry fintech