Download README.md from trykubi/CuaDriverBench-Kubi: direct link, hf CLI and curl.
- Browser
- Download file 22.4 kB
-
https://huggingface.co/datasets/trykubi/CuaDriverBench-Kubi/resolve/main/README.md
- Command line
-
hf download hf://datasets/trykubi/CuaDriverBench-Kubi/README.md
-
curl -L -o README.md https://huggingface.co/datasets/trykubi/CuaDriverBench-Kubi/resolve/main/README.md
license: other
license_name: cc0-1.0-and-fsl-1.1-mit
license_link: LICENSE.md
pretty_name: Cua Driver Bench v2 on Kubi
language:
- en
task_categories:
- reinforcement-learning
- image-text-to-text
size_categories:
- n<1K
tags:
- computer-use
- gui-agents
- cua
- benchmark
- desktop
- linux
- mcp
- claude-code
- anthropic
configs:
- config_name: board
default: true
data_files:
- split: eval
path: results/board.parquet
- config_name: trials
data_files:
- split: eval
path: results/trials.parquet
- config_name: calls
data_files:
- split: eval
path: results/calls.parquet
- config_name: tasks
data_files:
- split: eval
path: tasks/tasks.parquet
viewer: true
Cua Driver Bench v2 on Kubi
trycua's Cua Driver Bench v2, its ten GUI-only tasks in the Linux foreground condition, run by Claude Code on a Kubi screen (an always-on Linux desktop rented through an API) through Kubi's hosted MCP server, on 2026-11-23. 100 trials: Claude Haiku 5.5 and Claude Sonnet 5.5, each task 5 times.
This dataset is laid out like Scale's earakely-scale/CuaDriverBench-AgentEnv, so its Linux foreground rows (cua-driver and agent-desktop, Haiku 5.5 and Sonnet 5.5) and these can be compared file for file and column for column. Read Differences from Scale's runs before comparing.
What we found
| Model | Kubi (this dataset) | Scale, cua-driver | Scale, agent-desktop |
|---|---|---|---|
| Claude Haiku 5.5 | 38 of 50 | 34 of 50 | 37 of 50 |
| Claude Sonnet 5.5 | 46 of 50 | 42 of 50 | 39 of 50 |
Tuned on these tasks. Kubi was fixed after failing on these same tasks (the IR-02 banner click, the IR-03 and IR-04 GTK dropdown pointer grab, the G03 app list missing linked apps, the hosted MCP's launch wording; see Tuning on these tasks). Scale's cua-driver and agent-desktop rows had no such second chance. Read the Kubi column as a tuned result, not a blind one.
Scale's counts are its trials.parquet rows with on_board, os == linux, condition == foreground. Scale also
has off-board cua-driver runs of both models (on_board false): haiku-5-5-2026-11-02 passed 36 of 50 and
sonnet-5-5-2026-11-03 passed 36 of 50. At 50 trials a model the 95% ranges overlap: none of these differences is
significant. Every setup passes 34 or 35 of the 35 short (BenchLab) trials; they separate on the three multi-app
tasks.
Results
| Probe | Task | Haiku 5.5 | Sonnet 5.5 |
|---|---|---|---|
| CDB-G02 | Lighthouse program schedule replan | 0/5 | 4/5 |
| CDB-G03 | Kestrel Wharf payment review | 0/5 | 3/5 |
| CDB-G04 | Morrowglass linked-case review | 3/5 | 4/5 |
| MB-09 | Reorder a native list by drag and drop | 5/5 | 5/5 |
| MB-10 | Reveal a hover-only toolbar and click one action | 5/5 | 5/5 |
| MB-11 | Read a native tooltip and type its code | 5/5 | 5/5 |
| IR-01 | Two-step form, permission prompt between steps | 5/5 | 5/5 |
| IR-02 | Set two fields, Apply under an update banner | 5/5 | 5/5 |
| IR-03 | Edit two notes, unsaved-changes dialog | 5/5 | 5/5 |
| IR-04 | Sign up, cookie-consent overlay | 5/5 | 5/5 |
| Run | Mean cost, billed (USD) | Mean cost at Scale's Sonnet prices (USD) | Mean model calls | Median time (s) | GUI-only failures |
|---|---|---|---|---|---|
kubi-haiku-5-5-2026-11-23 |
0.016 (48 trials) | n/a (Haiku) | 16.9 | 22.9 (48 trials) | 2 |
kubi-sonnet-5-5-2026-11-23 |
0.137 (49 trials) | 0.181 (49 trials) | 14.4 | 16.2 (49 trials) | 1 |
- Cost, billed. Claude Code's
total_cost_usdat OpenRouter's prices (Sonnet 5.5: input $2, output $10, cache write $2.50, cache read $0.10 per million tokens); it matched OpenRouter's bill for these runs. It covers model tokens only, not the desktop.cost_usdandcost_usd_reportedare this same number. - Cost at Scale's prices. Scale's
cost_usduses Scale's own table (Sonnet 5.5: input $2, output $10, cache write $2.50, cache read $0.20 per million, which reproduces Scale'scost_usdfrom itstrial.jsontokens on the three Sonnet cua-driver trials checked). The Sonnet row's second cost recomputes ours from our tokens at that table (each Sonnettrial.jsonhas it askubi.cost_usd_at_scale_sonnet_prices); compare that one with Scale's Sonnetcost_usd. No single table reproduces Scale's Haikucost_usd, so for Haiku the two sides' costs have different price bases and any ratio is approximate. - 3 trials have no cost or time (Haiku
cdb-g04-r2, Haikucdb-g04-r4, Sonnetcdb-g04-r4): the GUI-only guard killed Claude Code before itsresultevent. The means and medians above are over the other trials. - Time is Claude Code's own
duration_msfrom itsresultevent, the same definition as Scale'sduration_s.agent_window_sis trycua's runner's agent wall time, which is not Scale'sagent_window_smeasurement. - The three GUI-only failures are all CDB-G04: the agent opened GNOME Terminal and the bench's guard stopped it.
assets/comparison.htmlis the full comparison against Scale's rows (charts, per-task tables). Its Scale data comes from Scale's dataset under its Apache 2.0 licence.
Driver versions
| Run | driver_version |
|---|---|
kubi-haiku-5-5-2026-11-23 |
kubi-host 90e4598, api 0eade0e |
kubi-sonnet-5-5-2026-11-23 |
kubi-host 90e4598, api 0eade0e before 14:20 UTC, 934e510 after |
The screen daemon (kubi-host) was 90e4598 throughout. The API backend was redeployed at 14:20 UTC with kubi-platform
934e510; each trial's driver_version names the one it ran against by its start time.
Run notes
- Trials counted with an agent error. 12 Haiku trials and 5 Sonnet trials end with an
agent_error:- 10 Haiku (all CDB-G02 and CDB-G03) and 2 Sonnet hit the 45-turn limit (
Reached maximum number of turns (45)). - 3 were stopped by the GUI-only guard after opening a terminal (Haiku
cdb-g04-r2,cdb-g04-r4; Sonnetcdb-g04-r4). Claude Code was killed (exit 143), so these transcripts have noresultevent:cost_usd,num_turns,duration_sandtokensare null for them. - 2 Sonnet trials (
cdb-g02-r2,cdb-g04-r3) got an OpenRouter 402 (credits) after the work was done; the checker passed both, and they count as passes as the grade says.
- 10 Haiku (all CDB-G02 and CDB-G03) and 2 Sonnet hit the 45-turn limit (
- Re-runs. Sonnet
cdb-g03-r1replaces two attempts that OpenRouter refused with 402, and Sonnetcdb-g04-r1tor4replace an earlier set (one refused with 402, four with the old launch wording). Sonnetcdb-g04-r5ran once. Each trial'sattempts.jsonlists what it replaced; the attempts themselves are inexcluded/(excluded/EXCLUDED.md). - Harness errors.
harness_errorscounts the credit refusals that were run again, as recorded in each trial'sattempts.json(harness_errors.credit): 2 for Sonnetcdb-g03-r1, 1 for Sonnetcdb-g04-r4, 0 elsewhere. The old-wording attempts are not harness errors (the agent opened a terminal) and are not counted there. Every counted trial ran its checker and wrote its row.
Differences from Scale's runs
These runs use trycua's own Linux runner, not Scale's AgentEnv port, and differ from Scale's runs in these ways:
Agent's tools. Kubi's hosted MCP server (
https://mcp.trykubi.com) is the agent's only tool server:--strict-mcp-config --tools "" --allowed-tools mcp__kubi, so no built-in tools at all. Scale allowsSkillandReadbeside the driver's MCP (cua-driver lists 74 tools). The agent's Kubi key had onlyreadandcontrolon its one screen, so the MCP listed no exec or file tools. It listed 13 tools (thetoolsof every trajectory'ssystem/initevent, and each run'smanifest.json):act,apps,clipboard,guide,list_screens,page,read_tree,run_script,screenshot,status,viewer_link,wait,zoom. Some do more per call than a click-and-type driver:run_scriptruns JavaScript that callsscreenshot(),find(),act()andexpect(), so one tool call can batch several actions (loops, read-then-act).pagereads and fills a browser tab by reference, over Chromium's debugging port.read_treereads the screen's accessibility tree;actclicks, types and acts on its elements by id.appslists the screen's apps, andact'slaunchstarts one by id or name.
Context window and output limit. Claude Code 2.1.316 reported a 1,000,000-token context window and 128,000 max output tokens for both models in every Kubi trial with a
resultevent (modelUsage.contextWindow,maxOutputTokens). Scale's Claude Code 2.1.280 transcripts report 200,000 and 32,000.Host and session. A Kubi screen at 1920x1080 running trycua's Linux XFCE session and guard (
launch/xfce_session.pyat the bench commit below), with trycua's X11 sentinel. Scale ran Ubuntu 24.04 on Xvfb with xfwm4 under AgentEnv, its own sentinel and guard port, and graded in a separate container.Bench commit. trycua/cua
ceeda722(whose tasks, checkers and seeds match Scale's), against Scale's task pack22a67eacand bench porteb36dcbe. Each trial'sseedand brief are the same as Scale's for that run index.Prompt.
- BenchLab briefs say "on this Linux computer" (trycua's Linux session's text); Scale's say "on your Mac".
- Haiku: no budget line. The Haiku run's prompts lack the closing "You have about 6 minutes and at most 45
turns." that Scale's runner adds. The Sonnet run's prompts have it, as Scale's do. The
task_filesays which:kubi-nobudget-*(Haiku) andkubi-*(Sonnet), both intasks/tasks.parquet. - System prompt. Every Kubi trial was sent the bench's generic system prompt (
SYSTEM_PROMPTinclaude_arms.py), passed with--append-system-prompt, so it is appended to Claude Code's own default system prompt. Scale's trials of nine tasks have that same text. CDB-G04 differs: Scale's CDB-G04 trials used the bench's browser variant (system_prompt_for(browser=True)), with "Do not use the network." replaced by "Do not use the internet; the task's localhost site is allowed." Ours kept "Do not use the network." This applies to all 10 counted Kubi CDB-G04 trials (5 Haiku, 5 Sonnet) and the 5 excluded Sonnet CDB-G04 attempts. Theirtrial.jsonsystem_promptis the generic prompt we sent, andkubi.system_prompt_notesays so. - Our transcripts don't record the
-pprompt. Eachprompthere is rebuilt with the bench's own code (render_briefand the task pack's brief atceeda722, with each trial's seed) plus the wrapper's line. It is what the runner sends, not a capture.
Hosted MCP launch wording. The Kubi MCP's
acttool gave its launch example literally as "(calc, terminal)". kubi-platform 934e510 changed it to "(calc, files)" (committed 14:13:52 UTC, deployed 14:20 UTC; the first trial on it started at 14:20:59 UTC). The Haiku run and Sonnet CDB-G02 ran with the old wording. Sonnet CDB-G03, CDB-G04 and the short tasks ran on the new one. With the old wording Sonnet opened a terminal on CDB-G04 in four of four tries (excluded). Each trial'ssettingsandkubi.mcp_launch_wordingsay which wording it had.Tuning on these tasks. Kubi was changed after failing on these same tasks, in calibration runs on 2026-11-22 and on the day:
- IR-02: a click on Apply hit the update banner's button drawn over it; a click by element now goes through the element's accessibility action (kubi-host f37c639).
- IR-03 and IR-04: choosing in a GTK dropdown left the app's pointer grab on its hidden menu, so the next click was lost; the dropdown's own selection now chooses (kubi-host 90e4598).
- CDB-G03: the app list missed apps whose desktop entry is a link (GnuCash, LibreOffice), and the agent opened a terminal instead (kubi-host d46e2bb).
- A key with only
readandcontrolstill saw the exec and file tools, and Haiku opened a terminal; the MCP now lists only what the key allows (kubi-platform 1395cf8). - The launch wording above (kubi-platform 934e510).
Scale's cua-driver and agent-desktop rows had no such tuning. Treat these numbers as a tuned result, not a blind one.
Effort and thinking.
--effort mediumandMAX_THINKING_TOKENS=16000. Scale passes no--effort(medium is Claude Code's default for the 5.5 models; itseffortcolumn is null for these runs).Provider and model ids. Claude Code reached the models through OpenRouter's Anthropic endpoint, so our
modelis OpenRouter's id (anthropic/claude-haiku-5.5,anthropic/claude-sonnet-5.5). Scale's areanthropic/claude-haiku-5-5andanthropic/claude-sonnet-5-5; to group across the two datasets, map ours withmodel.str.replace('.', '-')(eachtrial.jsonalso haskubi.model_scale).trials.parquetkeeps Scale's 50 columns, so it has no extra model column. Scale's message ids (msg_vrtx_...) indicate Vertex.Cost basis. Ours is Claude Code's
total_cost_usdat OpenRouter's prices; Scale'scost_usdis recomputed from tokens at Scale's price table, and itscost_usd_reportedis Claude Code's figure. See Results for the Sonnet costs on one table.Claude Code version. 2.1.316 (the version the bench pins), against Scale's 2.1.280.
Dates. 2026-11-23, against Scale's 2026-11-06 (cua-driver) and 2026-11-06 to 11-11 (agent-desktop).
Excluded attempts. Seven attempts are left out of the counts and kept in
excluded/, each with its reason: four Sonnet CDB-G04 tries with the old launch wording (terminal opened) and three Sonnet tries that OpenRouter refused with 402 (out of credits). After the wording changed, those four CDB-G04 trials were run again and the fifth,cdb-g04-r5, ran once, so all five counted Sonnet CDB-G04 trials had the new wording.No screen recordings, sentinel logs or workspaces; a timeline, a server log and an agent view instead. The screens that ran these trials were deleted before their recording,
sentinel.jsonland final workspace were copied off. Each trial'smanifest.jsonlists them undermissing, says what stands in for each undersubstitutes, and their columns intrials.parquetare null. What each trial has instead:timeline.json, in Scale's shape: every tool call with its times, input and result (600 chars), from the transcript's timestamps. Each call also haskubi_server: Kubi's own record of the screen call it made (time, duration, operation, result, request id, screenshot id).armed_at,disarmed_at,userandsamplesare null, since they come from the sentinel log.server_log.jsonl: Kubi's server log for the trial's screen during the trial, as prod's database recorded it (copied off on 2026-11-23; prod keeps it 30 days). It is written by the screen's host, not by the bench runner or the agent, so it is a second record of the same calls. Of the 1,581 tool calls in the 100 trials, 1,515 reached the screen and each has its server row; the other 66 are 60 calls the MCP server refused before they reached the screen (all with an error in the transcript) and 6 that never touch a screen (list_screens,guide). Rows by the runner's own key (eval) are the runner starting the agent and downloading its files.agent_view.mp4: the 1,158 screenshots the agents received, each held from when it arrived until the next, on the trial's clock, with a caption naming the call that returned it. It is not a screen recording: nothing between two screenshots is seen, and the screen is shown at the 1280x720 the agent saw.- The sentinel's per-trial summary is in
row.json(disturbance,background,gui_only,a22); the raw event stream is gone. - For the final state,
grade.jsonhas the checker's verdict on each part of it, and the last frame ofagent_view.mp4shows the screen when the agent stopped. The files themselves are gone.
Field meanings that differ.
computeris the Kubi screen's id.started_atandended_atare the bench runner's trial start and end, not a recording's.calls.parquetandtimeline.jsontimes (t0,t1) are seconds from the trial's start, from the transcript's timestamps, not from a recording.trials.parquet'stimelinecolumn points totimeline.json.a22_*anduser_undisturbedare null intrials.parquet, as in Scale's foreground rows: foreground trials don't score them. trycua's runner computed them on our sentinel anyway;row.jsonkeeps those values.sentinel_okis null: trycua's runner has no "sentinel log covers the whole trial" check.harness_errorsis the number of credit refusals run again (above); Scale's counts rate, server and setup errors.- Our grade's
gui_onlyis the live guard's verdict;gui_only_trajectoryis trycua'sscan_eventson the transcript (Scale's own trajectory check is a port of it). - CDB tasks have a seed in
trial.json(the runner draws one) but it changes nothing in those tasks, sotrials.parquetleaves it null, as Scale does.
The tasks
The same ten tasks as Scale's dataset (its "The tasks" section describes them), in the foreground condition only.
tasks/tasks.parquet has one row per trial task and prompt setup (76 rows): 35 BenchLab task files and 3 CDB task
files, once without the budget line (Haiku) and once with it (Sonnet).
How a trial runs
kubi-platform's api/scripts/cdb-bench.ts --run calls trycua's runner on the screen for each trial:
python3 launch/xfce_session.py --task <TASK> --run-index <i> --condition foreground --timeout 360 -- agent-kubi.sh.
- The runner resets the task, starts its apps and places their windows at 1920x1080, with trycua's X11 sentinel and guard.
- It starts the agent:
claude -p "$(cat brief.md)" --model <model> --effort medium --mcp-config mcp.json --strict-mcp-config --tools "" --allowed-tools mcp__kubi --permission-mode bypassPermissions --setting-sources project --max-turns 45 --output-format stream-json --verbose, through a wrapper that adds the bench's generic system prompt (and, for Sonnet, the budget line). - The guard watches for a way out of the GUI (a terminal, a run dialog, a program on a pseudo-terminal, macro editor, DevTools) and stops the agent if it sees one. The runner stops it at 360 s.
- The task's checker runs on the apps' state (BenchLab's
probes/<TASK>/evaluate.py, or the task pack's evaluator for the CDB tasks), and trycua'sscan_eventsreads the transcript for forbidden tool use.
A trial passes only if the checker passes and there is no GUI-only violation.
Dataset structure
results/board.parquet one row per trial, as Scale's board: OS, driver, model, task, run, the grade's halves, seconds, model calls, cost
results/trials.parquet one row per counted trial, Scale's 50 columns with Scale's Arrow types (concatenates with Scale's table); also results/trials.csv
results/calls.parquet one row per tool call, keyed by os, run and trial_id: times from the trial's start, its input, its result (600 chars)
results/missing.parquet empty: no counted trial is missing
tasks/tasks.parquet one row per trial task and prompt setup: the prompt, system prompt, built-in tools, limits, the runner's command
runs/linux/<run>/
manifest.json the run's bench commit, model, harness, effort, built-in tools, screens and the MCP's tool list
runs/linux/<run>/<trial>/
trial.json the trial's facts, Scale's keys, plus `kubi`: our 0-based run index, source folder, screen, exit code, wording, Scale's model id
grade.json the checker's result and both GUI-only verdicts, in Scale's grade.json shape
trajectory.json Claude Code's stream-json as a JSON list (screenshots included)
attempts.json harness errors and the excluded attempts this trial replaced
row.json trycua's runner's own row for the trial (not in Scale's layout)
timeline.json Scale's timeline shape from the transcript, each call with Kubi's server record of it
server_log.jsonl Kubi's server log for the trial's screen during the trial (not in Scale's layout)
agent_view.mp4 the screenshots the agent received, at trial time, with captions (not a recording)
manifest.json Scale's recording-manifest keys (null), plus `files` (sha256), `missing` and `substitutes`
excluded/<attempt>/<trial>/ the seven attempts not counted, same files, with REASON.txt; see excluded/EXCLUDED.md
assets/comparison.html the comparison with Scale's Linux foreground rows
build.py rebuilds this folder (this README included) from the run folders beside it
validate.py checks the folder: 100 trials, Scale's keys, columns and Arrow types, the pass counts
Run names follow Scale's: kubi-<model>-<date>, trial folders <task>-r<run>-foreground with Scale's 1-based run
index (trial.json's kubi.run_index_0based is ours).
Limitations
- Few trials per cell: 5 per task and model, as in Scale's runs.
- No screen recordings, sentinel logs or workspaces (above): a trial can be followed screenshot by screenshot and checked call by call against Kubi's server log, but not watched continuously, and its final files can't be opened.
- The prompts are rebuilt, not captured (above).
- Tuned on these tasks, and the Haiku and Sonnet runs had different setups (budget line, launch wording): compare each model with Scale's runs of it, and the two Kubi runs with care.
Licence and attribution
The tasks, their apps, prompts, evaluators and scoring are trycua's Cua Driver Bench, © 2026 Cua AI, Inc., under the Functional Source License 1.1, MIT Future License. Everything Kubi made (trajectories, grades, tables, the comparison page's code) is dedicated to the public domain under CC0 1.0; Scale's figures in the comparison page are Scale's, under the Apache License 2.0. See LICENSE.md. The layout follows Scale's dataset; this dataset is not Scale's or trycua's, and its results are not theirs.