Microsoft's CUAWright Runs AI Computer Agents Through One Shell Command
A research team gives computer-use agents a bash terminal as their only tool and watches them write their own GUI shortcuts, beating specialized harnesses.
- Researchers introduce CUAWright, a 3K-line harness giving computer-use agents only a bash terminal.
- Scores 67.9% on OSWorld-V2, 88.1% on Online-Mind2Web, 77.5% on Odysseys.
- 33.2% relative gain and 37.5% cost reduction over published GPT-5.5 baseline on OSWorld 2.0.
- Agents write Python helpers to disk and reuse them, replacing repeated GUI clicks.
- Gains extend to CAD benchmarks with 8.1%-41.6% improvements over other CLI harnesses.
- Code open-sourced at github.com/microsoft/CUAWright, supports both browser and Ubuntu desktop tasks.
CUAWright Runs Computer-Use Agents Through a Single Shell Tool
Researchers led by Yadong Lu, with collaborators from The Ohio State University and Microsoft Research, have posted a preprint describing CUAWright, a computer-use agent harness built around one action: run_command. The model uses that command to inspect its environment, write scripts, execute programs, manipulate files, and invoke keyboard or mouse controls when direct automation is unavailable.
Across five browser, desktop, long-horizon, and CAD benchmarks, the authors report higher task scores and lower estimated costs than GUI-native and hybrid command-line baselines. The design moves tool creation into the agent’s runtime, allowing a coding model to build task-specific utilities instead of relying on a fixed collection of browser and desktop actions.
Tooling moves into the task
Computer-use agents usually depend on a harness, the software layer that translates model output into clicks, keystrokes, browser actions, and observations. Many harnesses repeatedly capture screenshots, append them to the model’s context, and expose low-level primitives such as click, type, scroll, and drag.
A screenshot-driven loop reveals only the visible interface and can consume substantial context as a task grows. Low-level actions also require many model turns to complete work that a script could handle in one operation, such as inspecting page elements, transforming a spreadsheet, or editing a structured file.
CUAWright’s harness contains roughly 3,000 lines of code and gives the model a shell plus a scratch filesystem. The model can create new tools while solving a task, save intermediate state outside its limited context window, and retrieve specific information later with ordinary command-line utilities.
One command drives the loop
This story is for Pro members
You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.