Cua Docs

CLI reference

Cua-Bench command groups for tasks, datasets, benchmark runs, environments, agents, and traces.

The Cua-Bench CLI is available as cb from the libs/cua-bench environment. Run cb --help or cb <command> --help for the complete options supported by your installed version.

Task and dataset commands#

CommandPurpose
cb task info <path>Inspect a task's provider, variants, and lifecycle functions.
cb task list [path]List available task directories.
cb task createScaffold a task interactively.
cb task generateGenerate a task scaffold from a prompt.
cb dataset listList known datasets.
cb dataset build <path>Build a dataset artifact.

Run commands#

CommandPurpose
cb interact <task-path>Run one task interactively with its UI visible.
cb run task <task-path>Run one task, optionally with an agent or oracle.
cb run dataset <dataset>Run tasks from a dataset in parallel.
cb run listList runs and their status.
cb run info <run-id>Show details for a run.
cb run watch <run-id>Follow a run in the terminal.
cb run logs <run-id>Print run or session logs.
cb run stop <run-id>Stop a running benchmark.

Common run options include --agent, --model, --oracle, --max-steps, --image, --platform, and --output-dir. Use the command's --help output for defaults and compatibility constraints.

Environment and artifact commands#

Command groupPurpose
cb imageList, inspect, create, delete, clone, or open a shell in environment images.
cb platformInspect the available execution platforms.
cb agentInitialize, build, and push agent images.
cb traceView a trace or open agent trajectories from completed runs.
cb statusInspect running Cua-Bench resources.
cb pruneReview and remove unused run or environment resources.

See the task definition reference for the Python task contract.