# Supported OS (https://www.agentenvframework.com/docs/environments/computers/supported-os)

> The operating systems that are supported out-of-the-box by AgentEnv

## Supported OS

| Base                      | What it runs           | Arch         | Forms           | Boots on            | The host needs                 |
| ------------------------- | ---------------------- | ------------ | --------------- | ------------------- | ------------------------------ |
| [`ubuntu-24.04`](#ubuntu) | XFCE on X11            | amd64, arm64 | container, disk | `local`, `modal_vm` | Docker; KVM for the disk       |
| [`macos-26`](#macos)      | macOS 26               | arm64        | vm\_bundle      | `lume`              | An Apple-silicon Mac with Lume |
| [`windows-11`](#windows)  | Windows 11 evaluation  | amd64        | disk            | `local`, `modal_vm` | amd64 Linux with KVM           |
| [`omarchy-4.5`](#omarchy) | Arch Linux on Hyprland | amd64        | disk            | `local`             | amd64 Linux with KVM           |

Each provider boots the first [form](#forms) it runs natively ([Where it
boots](https://www.agentenvframework.com/docs/environments/computers/composing.md#where-it-boots)). Local disks need read-write
`/dev/kvm` and Docker's classic overlay2 image store. The drivers each base takes are on [Supported
Computer Drivers](https://www.agentenvframework.com/docs/environments/computers/supported-drivers.md).

### Ubuntu 24.04

![An Ubuntu 24.04 desktop at 1280x800 with LibreOffice Calc open on figures.csv on the left and Chromium on the AgentEnv Framework docs on the right](https://www.agentenvframework.com/environments/computers/office-desktop.png)

*An `ubuntu-24.04` computer with LibreOffice and Chromium, as `computer_screenshot` returns it
through 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"] } },
]
```

XFCE on Xvfb, with D-Bus and AT-SPI. The session user is `user` (uid 1000), with the usual home
folders. Releases publish both forms, so a run pulls the base by its digest instead of building it.
The disk boots in QEMU under KVM with 2 vCPUs, 4096 MB and 16 GB by default. On an
Apple-silicon Mac the amd64 build is emulated, and a disk builds but stays `unverified`.

### macOS 26

![The macOS 26 desktop with its lake wallpaper, the menu bar, desktop widgets and the Dock, and two plain windows open](https://www.agentenvframework.com/environments/computers/macos.jpg)

*macOS 26 as an agent saw it, from a recorded run.*

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

A whole saved VM in Lume's format, from Cua's public base
`ghcr.io/trycua/macos:26-20261021-fca2193`, pinned by its digest. Its user `lume` logs in at boot. The [`lume`](https://www.agentenvframework.com/docs/sandboxes.md#lume) provider
composes it on your Mac, installing the driver and apps as their `[install.macos]` says, and keeps
the result there. Pick it with `[sandbox] default = "lume"` in `.agentenv/config.toml`.

* **Host:** an Apple-silicon Mac with [Lume](https://cua.ai/docs/lume), room for 150 GB virtual
  disks, and agent-env running in a logged-in session. On a Mac nobody sits at, log the user in at
  boot and run agent-env there with `launchctl asuser`.
* **Limits:** a `network` that limits egress is refused. A Mac runs at most two macOS VMs, as
  Apple's licence allows. agent-env publishes no macOS image.

### Windows 11

![The Windows 11 desktop with its blue bloom wallpaper, the taskbar and the Enterprise Evaluation watermark, and two plain windows open](https://www.agentenvframework.com/environments/computers/windows.jpg)

*Windows 11 as an agent saw it, from a recorded run.*

```toml title="envs/windows/env.toml"
type = "computer"
computer = "windows-11"
driver = "cua-driver"
```

The first compose on a machine fetches Microsoft's evaluation ISO (about 7 GB) and installs it
unattended in about 15 minutes. Setup turns off updates, the lock screen, notifications and the
firewall. The base goes to the env's image store, so other machines on that store pull it. Each env
is a thin disk over it, booting with 4 vCPUs, 8192 MB and 64 GB.

Composing needs Docker with buildx and installs over ssh as the admin, `agentadmin`, so an app's
install step for the session user is refused. The display is `1920x1080` only.

> [!WARNING]
> **Windows runs under Microsoft's evaluation**
>
> agent-env publishes no Windows image. The evaluation runs 90 days from each install; with fewer
> than 7 days left, the next compose installs a fresh base. Whether its terms allow your use is yours
> to check.

### Omarchy 4.5

![The Omarchy 4.5 desktop on Hyprland: a rocket-launch wallpaper, the top bar with its workspaces and clock, Omarchy's welcome notifications on the right, and two plain windows open](https://www.agentenvframework.com/environments/computers/omarchy.jpg)

*Omarchy 4.5 as an agent saw it, from a recorded run.*

```toml title="envs/omarchy/env.toml"
type = "computer"
computer = "omarchy-4.5"
driver = "cua-driver"
```

A disk alone, since Hyprland needs a GPU that a container doesn't get. The base is built from
Omarchy's own VM image, checked by sha256, with cua-driver's Hyprland plugin added. The first build
needs Docker with buildx and fetches about 4 GB. Each env is a thin disk over it, booting with 4
vCPUs, 8192 MB and 40 GB.

Omarchy has no apt, so a Linux install that names apt packages is refused there; declare one for
`linux/omarchy`. After a Hyprland crash the computer fails for good.

## Settings

A base declares its settings in its `artifact.toml` under `[config.<name>]`:

```toml title="computers/artifacts/ubuntu-24.04/artifact.toml"
type = "computer"
description = "Ubuntu 24.04 with XFCE on Xvfb, D-Bus and AT-SPI, run by supervisord as the session user, on the universe clock"
arch = ["amd64", "arm64"]
os = { type = "linux", distribution = "ubuntu", version = "24.04", display = "x11" }
session = { user = "user" }

[forms.container]
image = { dockerfile = "Dockerfile" }
init = "supervisord"
input_channel = "env"
start_as = "root"

[forms.disk]
init = "supervisord"
input_channel = "nocloud"
firmware = ["efi"]
min_disk_gb = 16

[config.resolution]
default = "1280x800"
phase = "deploy"

[config.timezone]
default = "UTC"
phase = "deploy"
```

| Field      | Default  | Meaning                                                                          |
| ---------- | -------- | -------------------------------------------------------------------------------- |
| `default`  | required | The value when nothing sets one; a value given must have its type                |
| `phase`    | required | `deploy`, read at boot, so each deploy can set it; `build`, baked into the image |
| `secret`   | `false`  | Given only as a bare `secret:KEY` or `env:NAME` reference                        |
| `generate` | `false`  | A fresh random value for every deploy                                            |

| Base           | Setting      | Default     | Meaning                               |
| -------------- | ------------ | ----------- | ------------------------------------- |
| `ubuntu-24.04` | `resolution` | `1280x800`  | The screen's size, `<width>x<height>` |
| `ubuntu-24.04` | `timezone`   | `UTC`       | An IANA time zone                     |
| `macos-26`     | `resolution` | `1280x800`  | The VM's display size                 |
| `windows-11`   | `resolution` | `1920x1080` | No other value                        |
| `omarchy-4.5`  | `resolution` | `1920x1080` | Hyprland's display mode               |
| `omarchy-4.5`  | `timezone`   | `UTC`       | An IANA time zone                     |

Set them in the env's `env.toml`:

```toml title="envs/chicago/env.toml"
type = "computer"
computer = "ubuntu-24.04"
driver = "cua-driver"
computer_settings = { timezone = "America/Chicago" }
```

Or for one deploy:

```json title="tasks/paris.json"
[
  {"id": "env", "type": "deploy_env", "env_id": "desktop",
   "env_params": {"computer_settings": {"timezone": "Europe/Paris"}}}
]
```

Setting both `display` and `resolution` is refused, as is a bad value, such as
`computer_settings.timezone: 'Mars/Base' isn't an IANA time zone`. Programs read each deploy-phase
value as `AGENTENV_SETTING_<NAME>`, secrets included.

## Forms

A form is one shape of a base, built for each architecture. A run composes only the forms its
sandbox boots.

| Form        | What it is                                        | Settings arrive through     | Bases                                       |
| ----------- | ------------------------------------------------- | --------------------------- | ------------------------------------------- |
| `container` | An OCI image, its programs started by supervisord | the container's environment | `ubuntu-24.04`                              |
| `disk`      | A disk a VM boots from UEFI, in QEMU under KVM    | a NoCloud seed drive        | `ubuntu-24.04`, `windows-11`, `omarchy-4.5` |
| `vm_bundle` | A whole saved macOS VM in Lume's format           | a shared folder             | `macos-26`                                  |

| OS                        | Forms, in boot order     |
| ------------------------- | ------------------------ |
| Linux                     | `container`, then `disk` |
| Omarchy (`linux/omarchy`) | `disk`                   |
| macOS                     | `vm_bundle`              |
| Windows                   | `disk`                   |

A container deploys once `ready`; a disk or VM bundle also deploys while `unverified`. A disk's
size is fixed at its `min_disk_gb`.