What is a desktop sandbox?

A desktop sandbox is a sandbox with a graphical Linux desktop. An agent sees the screen in screenshots and controls it with mouse and keyboard events. A person can watch the desktop through VNC or a browser view.

Updated

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.

Providers that offer a desktop

6 of 40
All sandboxes with a desktop
  • Agent37 CloudPersistent Linux sandboxes and VMs for code and agents.
    Isolation
    gVisor
    vCPU / hr
    $0.001
    Free tier
    $5 credit
  • ZipboxLong-lived Firecracker microVMs for AI agents, each with its own desktop.
    Isolation
    Firecracker
    vCPU / hr
    $0.007
    Free tier
    $25 credit
  • Lizard SandboxesFirecracker microVM sandboxes for AI agents.
    Isolation
    Firecracker
    vCPU / hr
    $0.008
    Free tier
    7-day trial
  • boatPersistent Ubuntu VMs with SSH, Docker and a desktop.
    Isolation
    Full VM
    vCPU / hr
    $0.009
    Free tier
    7-day free trial with 25 hours of compute
  • tamaLinux VMs with GPUs, billed by the second.
    Isolation
    Full VM
    vCPU / hr
    $0.012
    Free tier
    Not listed
  • Celesto CloudCloud computers for AI agents, each in a microVM.
    Isolation
    MicroVM
    vCPU / hr
    $0.015
    Free tier
    $5 credit

Related terms

All glossary terms

Related