CUAWright: A Minimal Unified Interface for Digital Agents

Yadong Lu, Theodore Lee, Yifei Li, Lawrence Keunho Jang, Tianci Xue, Yu Su, Huan Sun, Ahmed Hassan Awadallah

Microsoft Research · National University of Singapore · The Ohio State University · Carnegie Mellon University

Published October 2, 2026 · on the feed October 5, 2026 · ▲ 6 · arXiv 2610.04116

The abstract

The prevailing approach to computer-use agents couples a model with a domain-specific harness: a browser or desktop environment equipped with human engineered tools that are fixed before task execution. As models' coding capabilities improve, the GUI native and static harness prevents them from direct programmatic operation on system state, as well as flexible construction of tools. To this end, we introduce CUAWright, a minimal terminal harness of roughly 3K lines of code that uses bash commands as its sole action interface, and a file system as its evolvable space for dynamically creating tools and managing the context. We conduct comprehensive experiments across a wide range of digital tasks, and demonstrate that by giving the agent a minimal, programmable interface, it achieves substantially stronger results compared to their GUI or hybrid CLI interface across a wide range of tasks. On OSWorld 2.0, CUAWright delivers a 33.2% relative improvement in partial reward while reducing estimated cost by 37.5% compared with the published GPT-5.5 baseline. On Online-Mind2Web and the long horizon Odysseys benchmark, CUAWright substantially outperforms GUI native harness by 4.7% and 44.0% in success rate, respectively. Furthermore, we found the gains extend to CAD applications that require accurate visual understanding and CLI interaction: on CADGenBench and BenchCAD, our unified harness yields 8.1%-41.6% relative improvements over other CLI based harnesses with GPT-5.5. Together, these results suggest digital environments are far more programmable than their GUI interfaces imply, and a minimal terminal-focused harness is the key for better performance and efficiency.

The Brief

2:53

A short podcast summary of the paper. Written and voiced by AI.

Transcript

CUAWright. A Minimal Unified Interface for Digital Agents. By Yadong Lu and seven others, from Microsoft Research, the National University of Singapore, and two other institutions. Published on the second of October. Its code repository is worked out: about seventy-five source files, with a readme and a licence.

The prevailing way to build a computer-use agent pairs a model with a harness made for one domain: a browser or a desktop environment, fitted with tools that humans engineered and fixed before the task begins. As models get better at writing code, that arrangement starts to hold them back. A harness that is native to the GUI and static stops the model from operating directly and programmatically on the state of the system, and stops it from building tools flexibly as it goes.

CUAWright is a minimal terminal harness, roughly three thousand lines of code. Bash commands are its sole action interface. A file system is its evolvable space, where the agent creates tools dynamically and manages its context. Instead of a fixed toolkit handed over in advance, the agent gets a programmable surface and builds what it needs. The bet is that a model which is good at writing code is better served by a place to write and run it than by a menu of buttons chosen for it ahead of time.

That is the whole design, and the minimalism is the point. One interface, the shell, covers every action. One space, the file system, holds both the tools the agent writes and the context it manages. Where a GUI harness decides the tools before execution, here the tool set can grow during the task itself. And where a GUI stands between the model and the system, the shell lets the model act on system state directly and programmatically, which is precisely the access the static harness was said to deny it.

Across a wide range of digital tasks, the agent with this minimal programmable interface does substantially better than with GUI or hybrid CLI interfaces. On OSWorld two point zero, CUAWright gives a thirty-three point two percent relative improvement in partial reward, while cutting estimated cost by thirty-seven point five percent, against the published baseline with GPT five point five.

On Online-Mind2Web, it beats the GUI native harness by four point seven percent in success rate. On the long-horizon Odysseys benchmark the margin is forty-four percent. The gains also reach CAD applications, which need accurate visual understanding as well as command-line interaction. On CADGenBench and BenchCAD, the harness yields relative improvements ranging from eight point one percent up to forty-one point six percent over other CLI based harnesses, again with GPT five point five.

The conclusion the authors draw is about the environments rather than the model. Digital environments are far more programmable than their GUI interfaces suggest, and a minimal harness centred on the terminal, they argue, is the key to both better performance and better efficiency. The OSWorld result shows both halves of that at once: more reward for less estimated cost, from a harness that is smaller, not larger.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.