# Supported Computer Drivers (https://www.agentenvframework.com/docs/environments/computers/supported-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](https://www.agentenvframework.com/docs/environments/computers/composing.md#the-parts) names one in
`driver`.

## Supported drivers

| Driver                                      | By          | Runs on                                                                                                                                                                                                                                                                              | Its own tools   |
| ------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------- |
| [`cua-driver`](#cua-driver)                 | trycua      | [`ubuntu-24.04`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#ubuntu)<br />[`omarchy-4.5`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#omarchy)<br />[`macos-26`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#macos)<br />[`windows-11`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#windows) | 62 to 66, by OS |
| [`aside`](#aside)                           | At Inc.     | [`macos-26`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#macos)                                                                                                                                                                                                                        | 1               |
| [`agent-desktop`](#agent-desktop)           | Vercel      | [`ubuntu-24.04`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#ubuntu)<br />[`macos-26`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#macos)<br />[`windows-11`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#windows)                                                                         | 67              |
| [`codex-computer-use`](#codex-computer-use) | OpenAI      | [`macos-26`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#macos)<br />[`windows-11`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#windows)                                                                                                                                                 | 2               |
| [`macos-harness`](#macos-harness)           | browser-use | [`macos-26`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#macos)                                                                                                                                                                                                                        | 1               |
| [`reference`](#reference)                   | AgentEnv    | [`ubuntu-24.04`](https://www.agentenvframework.com/docs/environments/computers/supported-os.md#ubuntu)                                                                                                                                                                                                                   | none            |

A driver that doesn't support the env's base is refused when the env is written.
[Swap one in](https://www.agentenvframework.com/docs/environments/computers/composing.md#swap-the-driver) for a run with
`--set envs/<name>.driver=<driver>`.

**Ubuntu 24.04 · cua-driver**: Adds a row in Calc.

[![LibreOffice Calc on figures.csv: an orange ring marks the click on A5, the labels type Q4, Tab, 165, Tab, 97, Enter and key Ctrl+S appear as the row is typed and saved, and Q4 165 97 sits under Q3](https://www.agentenvframework.com/environments/computers/office-agent-poster.jpg)](https://www.agentenvframework.com/environments/computers/office-agent.mp4)

**Windows 11 · cua-driver**: Saves a line in Notepad.

[![Notepad on Windows 11: labels show launch_app Notepad and the line Q3 revenue 150, costs 91 typed, a ring on the File menu, then key Ctrl+Shift+S opens Save As, type q3.txt and Enter saves it, and the tab is renamed q3](https://www.agentenvframework.com/environments/world/hq-windows-poster.jpg)](https://www.agentenvframework.com/environments/world/hq-windows.mp4)

**Omarchy 4.5 · cua-driver**: Writes a file from a terminal.

[![A terminal on Omarchy: the label key Meta+Enter as the terminal opens, then the typed command that writes Q3 revenue 150, costs 91 to ~/Documents/q3.txt and prints it back](https://www.agentenvframework.com/environments/world/hq-omarchy-poster.jpg)](https://www.agentenvframework.com/environments/world/hq-omarchy.mp4)

**macOS 26 · aside**: Saves a note in TextEdit.

[![TextEdit on macOS 26: the chip repl await computer.getApp TextEdit as TextEdit opens, the line Q3 revenue 150, costs 91 typed into an Untitled window, the save sheet in Documents, and the window renamed q3](https://www.agentenvframework.com/environments/computers/mac-aside-poster.jpg)](https://www.agentenvframework.com/environments/computers/mac-aside.mp4)

**macOS 26 · agent-desktop**: Computes 150 − 91 in Calculator.

[![Calculator on macOS 26: chips name desktop_launch and desktop_snapshot, then desktop_batch while the pointer presses AC, 1, 5, 0, minus, 9, 1 and equals, and the display builds 150-91, then 59](https://www.agentenvframework.com/environments/computers/mac-agent-desktop-poster.jpg)](https://www.agentenvframework.com/environments/computers/mac-agent-desktop.mp4)

## 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.

**cua-driver**

1. The agent lists 73 tools: the seven `computer_*` tools and the 66 that cua-driver 0.38.0 serves on X11.
2. `computer_click` runs on cua-driver’s desktop-scope click, so Chromium comes to the front and takes focus.
3. `click` presses Calc’s Sort Descending by its AT-SPI token, in the background: focus stays on Chromium.
4. The recording is captured at 10 fps unless the step asks, up to 15.

**aside**

1. The agent lists 15 tools: the 14 `computer_*` tools and Aside’s `repl`, which runs JavaScript against the `computer` global.
2. `MacOSDriver` clicks in the foreground, so Calendar comes to the front and takes focus.
3. `repl` opens TextEdit with `computer.getApp` and types into it in the background, behind Calendar.
4. `MacOSDriver` streams nothing, so the recording is captured at 10 fps unless the step asks, up to 15.

**agent-desktop**

1. The agent lists 81 tools: the 14 `computer_*` tools and agent-desktop 1.2.0’s 67 `desktop_*` tools.
2. Its `computer_*` tools are `X11Driver`’s, so XTEST clicks Chromium, which comes to the front and takes focus.
3. `desktop_click` presses Calc’s Sort Descending by its AT-SPI ref, with no physical input while `headed` is off.
4. On Linux the recording is streamed from `x11grab` at 10 fps unless the step asks, up to 30.

**codex-computer-use**

1. The agent lists 16 tools: the 14 `computer_*` tools, and `js` and `js_reset` from Codex’s server.
2. `MacOSDriver` clicks in the foreground, so Calendar comes to the front and takes focus.
3. `js` runs JavaScript against OpenAI’s `cua` API, which types into TextEdit in the background, as `allowed_apps` approves.
4. `MacOSDriver` streams nothing, so the recording is captured at 10 fps unless the step asks, up to 15.

**macos-harness**

1. The agent lists 15 tools: the 14 `computer_*` tools and `macos_harness`, which runs the harness’s command lines.
2. `MacOSDriver` clicks in the foreground, so Calendar comes to the front and takes focus.
3. `macos_harness` runs `type_text` on TextEdit, behind Calendar, in the background.
4. `MacOSDriver` streams nothing, so the recording is captured at 10 fps unless the step asks, up to 15.

Parts of the scene:

- **tools**: The env’s `tools` key: `both`, the default, gives every tool the driver serves. `standard` gives the `computer_*` tools alone, `driver` the driver’s own.
- **apps**: The office desktop’s apps: the `libreoffice` app and the shipped `chromium` browser.
- **The agent**: The default agent, Claude Code, reaching the computer at its `/mcp`. It sees what `tools` gives the `default` role.
- **computer_***: AgentEnv’s own tools, the same on every computer. Their input is always foreground.
- **deploy_env**: The step that deploys the computer env. Its `env_params.driver_settings` is checked before anything boots.
- **start_computer_recording**: The step that has the driver record the screen. `fps` unset takes 10; a value above the driver’s most is refused.
- **The recording**: MP4 segments, each uploaded as it closes. `end_computer_recording` stores them as a file artifact universe.
- **Recording, at most**: The most frames a second a recording takes: 30 streamed from `x11grab`, 15 from captured screenshots, 10 on a page.
- **ubuntu-24.04**: Ubuntu 24.04 with XFCE, here with LibreOffice Calc on `figures.csv` and Chromium on these docs. ▣ is the window in front, ▢ the one behind.
- **macos-26**: macOS 26 on Apple silicon, here with its own TextEdit and Calendar. ▣ is the window in front, ▢ the one behind.
- **driver = "cua-driver"**: trycua’s computer-use driver, pinned at 0.38.0 on `ubuntu-24.04`. It runs as a daemon with approvals, telemetry and update checks off.
- **cua-driver**: cua-driver serves the seven `computer_*` tools beside what its own MCP server serves: its instructions, tools and skill pack.
- **cua-driver’s own tools**: Its 66 tools on X11 read windows’ accessibility trees as element tokens and act by token or pixel. They default to background input.
- **73 tools with both**: 73 with `both`, 7 with `standard`, 66 with `driver`. Its own count is 66 on `omarchy-4.5` too, 62 on `macos-26` and 63 on `windows-11`.
- **driver = "aside"**: At Inc.’s Aside Computer Use, for `macos-26` alone, pinned at 1.26.1111.1046. It needs no Aside sign-in.
- **aside**: The driver starts one `aside mcp --computer-use` server per agent session. Its `computer_*` tools are `MacOSDriver`’s.
- **aside’s own tools**: `repl` runs the agent’s JavaScript in a QuickJS sandbox with no file system, network or shell. Start with `await computer.getApp('<app name>')`.
- **15 tools with both**: 15 with `both`, 14 with `standard`, 1 with `driver`.
- **driver_settings**: `allowed_apps`: the apps `computer.getApp` may open, every app when unset. An empty list is refused.
- **driver = "agent-desktop"**: Vercel’s desktop automation tool, pinned at 1.2.0 on `ubuntu-24.04`, `macos-26` and `windows-11`.
- **agent-desktop**: agent-desktop reads apps’ accessibility trees and acts on what it finds. Its `computer_*` tools are the protocol’s OS driver’s, `X11Driver` on Linux.
- **agent-desktop’s own tools**: 67 `desktop_*` tools from `agent-desktop mcp`, the same on every OS.
- **81 tools with both**: 81 with `both`, 14 with `standard`, 67 with `driver`, on every OS.
- **driver_settings**: `headed`: off, the default, it uses the accessibility API alone and refuses hovers and drags. On, it prefers physical input.
- **driver = "codex-computer-use"**: OpenAI’s Codex Computer Use, the ChatGPT app’s plugin, pinned at ChatGPT 26.930.51102 on `macos-26`. The app is unpacked and never run.
- **codex-computer-use**: The driver starts Codex’s MCP server once per agent session and answers Codex’s approvals itself. Its `computer_*` tools are `MacOSDriver`’s on macOS.
- **codex-computer-use’s own tools**: `js` runs the agent’s JavaScript against OpenAI’s `cua` API, in the background on macOS. `js_reset` discards its bindings.
- **16 tools with both**: 16 with `both`, 14 with `standard`, 2 with `driver`.
- **driver_settings**: `allowed_apps`: the apps whose approvals the driver gives Codex, every app when unset. `js_sandbox` says whether Codex’s sandbox holds the JavaScript.
- **driver = "macos-harness"**: browser-use’s macOS harness, pinned at 0.2.1, for `macos-26` alone.
- **macos-harness**: The harness reads an app as numbered text and acts on a number or a pixel in the background. Its `computer_*` tools are `MacOSDriver`’s.
- **macos-harness’s own tools**: `macos_harness` runs 1 to 20 command lines in order, stopping at the first that fails.
- **15 tools with both**: 15 with `both`, 14 with `standard`, 1 with `driver`.

| 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`](https://www.agentenvframework.com/docs/environments/computers/composing.md#screen-network-and-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](https://www.agentenvframework.com/docs/environments/rbac.md#disable-and-enable-tools) apply over it, and `--set` changes it for
one run:

```bash title="Terminal"
agent-env run desktop --task probe --set envs/desktop.tools=all --dry-run
```

```text title="Output"
Dry run: nothing is written or run.
Error: envs/desktop: env.toml: tools is 'standard', 'driver' or 'both', not 'all'
```

## The drivers

An [`add_skills`](https://www.agentenvframework.com/docs/agents/skills.md#skills-in-a-task) step with `env_ids` gives the agent the
computer's skill, led by the vendor's where one ships.

### cua-driver

```toml title="envs/desktop/env.toml"
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:

```bash title="Terminal"
agent-env run desktop --task agent --set envs/desktop.driver=cua-driver
```

trycua'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](https://github.com/scaleapi/agentenv-framework/tree/main/src/agent_env/drivers/envs/cua-driver)
covers the rest.

### aside

```toml title="envs/mac/env.toml"
type = "computer"
computer = "macos-26"
driver = "aside"
```

```json title="tasks/mac.json (the env step)"
{"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](https://github.com/scaleapi/agentenv-framework/tree/main/src/agent_env/drivers/envs/aside)
covers the rest.

### agent-desktop

To try it on the shipped `desktop` example:

```bash title="Terminal"
agent-env run desktop --task probe --set envs/desktop.driver=agent-desktop
```

```json title="A deploy_env step with agent-desktop's driver_settings"
{"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](https://github.com/scaleapi/agentenv-framework/tree/main/src/agent_env/drivers/envs/agent-desktop)
covers the rest.

### codex-computer-use

```toml title="envs/mac/env.toml"
type = "computer"
computer = "macos-26"
driver = "codex-computer-use"
```

```json title="tasks/mac.json (the env step)"
{"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](https://github.com/scaleapi/agentenv-framework/tree/main/src/agent_env/drivers/envs/codex-computer-use)
covers the rest.

### macos-harness

```toml title="envs/mac/env.toml"
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](https://github.com/scaleapi/agentenv-framework/tree/main/src/agent_env/drivers/envs/macos-harness)
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](https://github.com/scaleapi/agentenv-framework/tree/main/src/agent_env/drivers/envs/reference)
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:

```json title="A deploy_env step with driver_settings"
{"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 |