How the desktop runs
A desktop sandbox runs a graphical session with a screen, a mouse and a keyboard. The session uses X11 or Wayland as its display server. A window manager opens, moves and closes the windows. An agent can click through programs the way a person does.
How an agent controls the desktop
The agent gets screenshots of the screen. It sends mouse and keyboard events back. Computer use is the model tool that does this.
How a person watches
A person watches the desktop through VNC or a browser view. A browser view can use noVNC, a VNC client that runs in the browser. Check which view a provider offers before you choose one.
Why it needs isolation
An agent that browses the web can meet instructions planted on a page. Those instructions can override the user's instructions. Anthropic advises a dedicated virtual machine or container with minimal privileges. Anthropic's reference setup runs the desktop in a Docker container, with ports mapped for viewing.
What to check on a provider
- Whether you can limit internet access with an egress allowlist.
- Whether programs you install stay after the sandbox restarts.
- Whether a person can type into the desktop, or only watch it.
- How the provider bills time while the desktop waits for input.