Desktop apps
Drive apps on a sandbox's screen, mix shell commands with clicks, and run Windows and Android apps
Written ahead of the API
Some calls on this page are written from Pod's design and are not in the API yet. Their paths and fields may change.
Not available yet Seeing and acting on a sandbox's screen is not offered yet. Commands, files and ports work today.
Not available yet Windows sandboxes are not offered yet. Linux sandboxes are.
Not available yet Android sandboxes are not offered yet. Linux sandboxes are.
A sandbox with a screen can run desktop apps, and an agent can see them and act on them: take a screenshot, then click, type or tap.
| Call | What it does |
|---|---|
GET /v1/sandboxes/{sandbox_id}/screen/screenshot | Answers what the screen shows now, as an image |
POST /v1/sandboxes/{sandbox_id}/screen/actions | Sends one action: a click, a key, typed text, a scroll or a tap |
Mix the shell and the screen
Commands and screen actions work on the same machine, so use each for what it does best: install and start apps from the shell, then drive them on the screen.
On the Linux desktop, a command started with DISPLAY=:0 opens its window on the sandbox's screen:
await sandbox.exec(["sh", "-c", "DISPLAY=:0 xdg-open https://example.com"], { detached: true });
// Then take a screenshot, and send the agent's clicks and keys as screen actions.Shell tools that act on windows, such as xdotool and wmctrl, work there too, for steps you want to script rather than leave to the agent.
Windows apps
Run Windows apps on a Windows sandbox: it is real Windows, so apps install and run as they do on a PC. Install them once, take a snapshot, and start every later sandbox from it, so an agent starts with its apps ready. Fork a sandbox with an app open to give several agents the same starting point.
A Linux sandbox is a whole virtual machine, so Wine runs there too. Pod keeps no list of apps that work under Wine: for an app that matters, use a Windows sandbox.
Sandboxes have no GPU. Apps draw on the CPU, which suits office apps, tools and simple 2D games; modern 3D games run too slowly to use.
Android apps
Run Android apps on an Android sandbox rather than in an emulator inside a Linux sandbox: it is Android itself, and its screen takes taps through the same action call.
Screens for reinforcement learning
A computer-use environment is a sandbox with a screen: the observation is a screenshot and the action is a screen action. Run each episode in a sandbox of its own, started from a snapshot of the environment, as Evals and RL environments describes.