Cua Bench lets you evaluate computer-use agents against verifiable tasks on real or simulated desktops. This guide walks you from a fresh machine to a completed benchmark run, including inspecting scores and trajectories.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/trycua/cua/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure you have the following installed:- Python 3.12 or 3.13 — Cua Bench requires Python 3.12 or 3.13.
- uv — the recommended package manager for installing Cua Bench and its extras.
- Docker — required for native-provider tasks that run inside containers.
Install Cua Bench
Install the CLI and its dependencies
Navigate to the For simulated-provider tasks that run in a browser, add the
cua-bench library directory and install it as an editable tool:browser extra and install the Chromium engine:Create a base environment image
Native-provider tasks need a container image that matches their operating-system type. Build the default base image before running any native task:Run a built-in dataset
Thecua-bench-basic dataset contains browser-based UI interaction tasks that exercise clicking, typing, drag-and-drop, form filling, and more. Run it with four parallel workers:
The
cua-agent value selects the built-in Cua computer-use agent. You can substitute a custom agent by passing a path to your agent module. See Run Benchmark for details.Understanding the output
When the run completes, the terminal prints a summary table:0.0 and 1.0), and the number of agent steps taken. The footer reports the aggregate success count, average reward, and total wall-clock time.
Trajectory files are written alongside the summary. Each trajectory captures the full sequence of observations and actions, which you can inspect with:
Next steps
Tasks
Understand the task lifecycle and write a custom task in Python.
Run Benchmark
Explore all
cb run flags including output directories, model overrides, and RL export.Task registry
Browse community-published tasks and datasets.
CLI reference
Full reference for every
cb command group and flag.