Supported Computer Drivers
The computer drivers that are supported out-of-the-box by AgentEnv
A driver runs inside the computer: it captures the screen, sends input and serves both to agents as
MCP tools. Every computer env names one in
driver.
Supported drivers
| Driver | By | Runs on | Its own tools |
|---|---|---|---|
cua-driver | trycua | ubuntu-24.04omarchy-4.5macos-26windows-11 | 62 to 66, by OS |
aside | At Inc. | macos-26 | 1 |
agent-desktop | Vercel | ubuntu-24.04macos-26windows-11 | 67 |
codex-computer-use | OpenAI | macos-26windows-11 | 2 |
macos-harness | browser-use | macos-26 | 1 |
reference | AgentEnv | ubuntu-24.04 | none |
A driver that doesn't support the env's base is refused when the env is written.
Swap one in for a run with
--set envs/<name>.driver=<driver>.
Clips 1 and 2 of 5
The computer tools
Every driver serves AgentEnv's computer_* tools, with the same names, parameters and results on
every computer:
| Group | Tools | What they do |
|---|---|---|
| the seven | computer_screenshot, computer_click, computer_drag, computer_scroll, computer_type, computer_key, computer_wait | Capture the screen; click, drag or scroll at a point; type; press a key chord; wait |
| pointer | computer_pointer_move, computer_pointer_down, computer_pointer_up, computer_pointer_position, computer_pointer_list | Hover, press and release buttons, read the pointer |
| keyboard | computer_keyboard_down, computer_keyboard_up | Hold keys down and release them |
A screenshot returns a frame with a frame_id, and tools that act at a point take it in a frame:
| Parameter | Default | Meaning |
|---|---|---|
frame_id | your latest frame | The frame the point refers to |
space | frame | frame for the image's pixels, norm for 0 to norm_scale |
norm_scale | 1000 | The norm grid's size |
button | the primary | The button to press |
modifiers | none | W3C key names held for the action, such as ["Shift"] |
screenshot | false | Return a fresh frame after acting |
Keys are W3C key values, such as ["Control", "s"]. An error names its code and a hint:
invalid_argument: 'Return' is not a W3C key value (did you mean Enter?).
computer_* input is always foreground: it moves the one pointer and goes to what has focus.
Background input comes only from a driver's own tools, as each tab below shows.
| Driver | computer_* tools | Groups | Recording, at most |
|---|---|---|---|
cua-driver | 7 | the seven | 15 fps, captured |
aside | 14 | the seven, pointer, keyboard | 15 fps, captured |
agent-desktop | 14 | the seven, pointer, keyboard | 30 fps on Linux, streamed; else 15, captured |
codex-computer-use | 14 | the seven, pointer, keyboard | 15 fps, captured |
macos-harness | 14 | the seven, pointer, keyboard | 15 fps, captured |
reference | 14 | the seven, pointer, keyboard | 30 fps, streamed from x11grab |
What an agent sees
The env's tools key decides
which tools agents get:
tools | The agent gets |
|---|---|
both (default) | The computer_* tools and the driver's own |
standard | The computer_* tools alone |
driver | The driver's own tools alone |
cua-driver on ubuntu-24.04 gives 73 tools with both, 7 with standard and 66 with driver.
tools sets the default role's access at each deploy and reset; a task's tool-access
changes apply over it, and --set changes it for
one run:
agent-env run desktop --task probe --set envs/desktop.tools=all --dry-runDry run: nothing is written or run.
Error: envs/desktop: env.toml: tools is 'standard', 'driver' or 'both', not 'all'The drivers
An add_skills step with env_ids gives the agent the
computer's skill, led by the vendor's where one ships.
cua-driver
type = "computer"
computer = "ubuntu-24.04"
driver = "cua-driver"
apps = [
{ env = "libreoffice", settings = { open = "figures.csv" } },
{ env = "chromium", settings = { start_urls = ["https://www.agentenvframework.com/docs"] } },
]To try it on the shipped desktop example:
agent-env run desktop --task agent --set envs/desktop.driver=cua-drivertrycua's computer-use driver, run as a daemon with approvals, telemetry and update checks off. Agents get its own MCP server's instructions, tools and skill pack, at the pinned version.
| Base | cua-driver | From | Its tools |
|---|---|---|---|
ubuntu-24.04 (amd64, arm64) | 0.38.0 | the cua-driver wheel on PyPI | 66, in mcp.json |
omarchy-4.5 (amd64) | 0.47.4 | the cua-driver-rs release's Linux tarball | 66, in mcp-hyprland.json |
macos-26 (arm64) | 0.47.10 | CuaDriver.app, from the cua-driver-rs release | 62, in mcp-macos.json |
windows-11 (amd64) | 0.38.0 | the cua-driver-rs release's zip | 63, in mcp-windows.json |
Its tools read a window's accessibility tree as element tokens (get_window_state), act by element
or pixel, drive browser pages and run scripts (run_script). They default to background input,
which never raises the window.
Its computer_* tools are the seven alone. On Omarchy, Super shortcuts go to Hyprland. The probe
records its known failures, P6 and P7 on macOS and P4 on Windows, without failing the build. The
cua-driver
folder
covers the rest.
aside
type = "computer"
computer = "macos-26"
driver = "aside"{"id": "env", "type": "deploy_env", "env_id": "mac", "env_params": {"driver_settings": {"allowed_apps": ["TextEdit"]}}}At Inc.'s Aside Computer Use, for macos-26 alone. The driver pins Aside's daemon and CLI at
1.26.1111.1046, checked by sha256, and needs no Aside sign-in. Each agent session gets its own
aside mcp --computer-use server, with one tool, repl.
repl runs the agent's JavaScript in a QuickJS sandbox with no file system, network or shell. Its
one API, the computer global, acts on apps' accessibility trees in the background; start with
await computer.getApp('<app name>'). allowed_apps limits the apps it opens. Its computer_*
tools are agent-desktop's, from MacOSDriver. The aside
folder
covers the rest.
agent-desktop
To try it on the shipped desktop example:
agent-env run desktop --task probe --set envs/desktop.driver=agent-desktop{"id": "env", "type": "deploy_env", "env_id": "desktop", "env_params": {"driver_settings": {"headed": true}}}Vercel's desktop automation tool, pinned at 1.2.0 on every OS. Agents get 67 desktop_* tools,
which read apps' accessibility trees and act on what they find.
With headed off, the default, it acts through the accessibility API alone and refuses double
clicks, hovers and drags. On, it prefers physical input, moving the pointer and focus. Its
computer_* tools are the protocol's OS drivers': X11Driver, MacOSDriver or WindowsDriver.
The agent-desktop
folder
covers the rest.
codex-computer-use
type = "computer"
computer = "macos-26"
driver = "codex-computer-use"{"id": "env", "type": "deploy_env", "env_id": "mac", "env_params": {"driver_settings": {"allowed_apps": ["TextEdit"]}}}OpenAI's Codex Computer Use: the ChatGPT app's plugin, whose MCP server runs the agent's JavaScript
against OpenAI's cua API. It acts in the background on macOS and in the foreground on Windows. The
driver pins ChatGPT 26.930.51102 on macOS and 26.1103.7773.0 on Windows, unpacked and never run, so
no sign-in is needed.
Agents get js and js_reset. The driver approves the apps allowed_apps names, or every app
when unset. js_sandbox holds the JavaScript in Codex's sandbox, on by default on macOS and off on
Windows. Its computer_* tools are agent-desktop's.
Warning: js can read files and run commands
Even sandboxed, the JavaScript can read the computer's files and run commands. On Windows, the pin breaks once OpenAI ships a newer MSIX, since it serves only its latest.
The codex-computer-use
folder
covers the rest.
macos-harness
type = "computer"
computer = "macos-26"
driver = "macos-harness"browser-use's macOS harness, pinned at 0.2.1, for macos-26 alone. It reads an app as numbered text
and acts on a number or a pixel in the background. Agents get one tool, macos_harness, which runs
1 to 20 command lines in order, such as [["get_app_state", "--app", "TextEdit"]], and stops at the
first that fails. Its computer_* tools are agent-desktop's. The macos-harness
folder
covers the rest.
reference
AgentEnv's own driver for an X11 desktop on Linux, and the shipped desktop example's. It is the
protocol's X11Driver: mss captures the screen and XTEST sends input, foreground only. It has no
tools of its own, so tools = "driver" leaves its agents none. The reference
folder
covers the rest.
Driver settings
A task gives driver settings in its deploy_env step's env_params.driver_settings; an env.toml
has no key for them. A key the driver doesn't take is refused before anything boots:
{"id": "env", "type": "deploy_env", "env_id": "desktop", "env_params": {"driver_settings": {"default_space": "norm"}}}| Field | Default | Meaning |
|---|---|---|
default_space | frame | The coordinate space when a call names none |
default_norm_scale | 1000 | The norm grid's size when a call names none |
queue_wait_s | 30 | How long input waits for earlier input before input_busy |
tap_hold_ms | 50 | How long a key is held; not on cua-driver or page |
type_delay_ms | 10 | The pause between typed characters; not on cua-driver or page |
max_hold_ms | 10000 | The longest hold_ms of computer_keyboard_down |
layout | us | The keyboard layout; every shipped driver types in us alone |
drag_duration_ms | 500 | A computer_drag's duration when the call gives none |
exec_output_bytes | 1048576 | The most output a command run inside the computer returns |
exec_timeout_s | 60 | Such a command's timeout when it gives none |
| Field | Default | Meaning |
|---|---|---|
headed (agent-desktop) | false | Allow physical input and prefer it |
allowed_apps (codex-computer-use) | every app | The apps whose approvals the driver gives Codex |
js_sandbox (codex-computer-use) | on for macOS, off for Windows | Whether Codex's sandbox holds the JavaScript |
allowed_apps (aside) | every app | The apps computer.getApp may open; never an empty list |
Last updated on