Blog

What a computer-use agent needs from its machine

What does a computer-use agent need from its machine?

A computer-use agent needs a machine with a screen it can read and input it can send: a screenshot to look at, and clicks, keystrokes and taps to act with. Around that loop it needs a shell for setup, state that survives between steps, a boundary around the whole machine, and a way for a person to step in.

Running code and handing back its output is one job. A computer-use agent does another: it works the way a person does, and looks, decides, and acts on what it sees. That asks more of the machine, and the gaps show up quickly when the machine was not built for it.

How does a computer-use agent work?

In a loop. The agent takes a screenshot, the model reads it and chooses one action, the machine performs it, and the agent takes another screenshot to see what changed. Pod's docs put it in one line: a computer-use environment is a sandbox with a screen, where the observation is a screenshot and the action is a screen action.

Two calls carry that loop. One answers what the screen shows now, as an image a model can take. The other sends an action: a click at a point, a key, typed text, a scroll or a tap. Models describe their actions in their own formats, so a good API converts them rather than making you translate each one.

The loop a computer-use agent runs, as Pod's docs set it out: look at the screen, send one action, look again. Pod's docs mark these screen calls as not offered yet.

Why does the agent need a whole machine, not just a browser?

If the whole job is the web, a browser is enough. Browserbase, for one, runs fleets of headless browsers in isolated sessions, with live view and session replays, and for a web-only agent that is the lighter choice.

Much of the work people hand to agents is not in a browser. It is a desktop app that has no web version, a file the agent has to open in the program that made it, an installer, a terminal beside a window. For that the agent needs a real desktop with its own display, and the operating system the app runs on.

What else does the machine have to give the agent?

The screen and the input are the start. These are the rest, and each is something an agent stalls without:

  • A shell beside the screen: install and start apps from the shell, then drive them on the screen. On a Linux desktop, a command started with DISPLAY=:0 opens its window where the agent can see it.
  • State that stays: apps installed once and saved as a snapshot, so every later machine starts with them ready, and a session that sleeps and wakes where it left off.
  • A boundary: a machine of its own for each user, never one shared machine with a login for each.
  • A network you decide: what the machine can reach, and which address it leaves from.
  • A record: what the agent saw and did, step by step, in order.
  • A person on call: at a login, a code or a payment, a way to put a person at the controls and hand back.
  • A cap on spend, so a looping agent stops at a number you chose.

Which operating system does a computer-use agent need?

The one the app runs on. Web apps and most developer tools are at home on Linux. Software that only runs on Windows needs Windows: Pod's docs note that Wine runs on a Linux sandbox, and advise real Windows for an app that matters. Tools made only for macOS need a Mac, and an app that exists only on a phone needs iOS or Android.

Graphics matter too. Pod's sandboxes have no GPU, so apps draw on the CPU: its docs say that suits office apps, tools and simple 2D games, and that modern 3D games run too slowly to use. For 3D and graphics work, Daytona's docs list GPU sandboxes.

Where to get a desktop today, from each provider's own docs: E2B Desktop gives a full Linux desktop with mouse, keyboard and screen capture. Daytona's computer use covers Linux and Windows, and it lists macOS sandboxes on dedicated Apple silicon. Cua gives isolated Linux, Windows and macOS desktops on machines you run yourself.

One Linux sandbox's states as Pod's docs set them out: running and billed by the second, asleep with its memory kept after its idle time, and saved as a snapshot.

How do you keep a computer-use agent safe?

Put the boundary around the machine, not inside it. Pod's docs say it plainly: each sandbox is a virtual machine of its own, but inside one sandbox nothing is kept apart, so every process, user and container in it shares that machine. Give each user a sandbox of their own, and start each from a clean snapshot rather than handing on a used one.

Treat what you put inside as readable by the agent. Any environment variable or file in a sandbox can be read by every process in it, so give it only the secrets the task needs, and a key with only the scopes it needs. When a browser has to open a command's stream, hand it a short-lived stream ticket, never your key.

Where does Mapier Pod fit?

Mapier Pod is built for this kind of work: each sandbox is a virtual machine of its own, with a shell, snapshots, forks, and sleep and wake. Its docs also set out a screenshot call that answers the screen as an image the way model APIs take one, and an action call for clicks, keys, typed text, scrolls and taps.

What runs today, plainly: Linux sandboxes run today; macOS, Windows, iOS and Android do not run yet. Pod's desktop apps guide documents the screen calls and marks them as not offered yet, so on a Linux sandbox today an agent has commands, files and ports. If your agent needs to drive a screen now, E2B Desktop on Linux, or Daytona on Linux and Windows, fits better.

For the wider field, our comparison of agent sandboxes sets them side by side, and Pod's use cases show the work it is built for.

Questions

What is a computer-use API?

An API that lets an agent see a machine's screen and act on it: one call returns a screenshot, another sends a click, a key, typed text, a scroll or a tap.

What is a computer-use sandbox?

A sandbox with a screen: an isolated machine where the observation is a screenshot and the action is a screen action, so an agent can use desktop apps the way a person does.

Can a computer-use agent run on a headless browser?

For web-only work, yes. For desktop apps, installers or files opened in the program that made them, it needs a whole desktop.

Does Mapier Pod support computer use today?

Not yet. Pod's docs describe its screenshot and action calls and mark them as not offered yet. Linux sandboxes run today with commands, files and ports.

Do computer-use agents need a GPU?

Not for office apps and tools. Pod's docs say apps drawn on the CPU suit office apps, tools and simple 2D games, while modern 3D games run too slowly. For 3D and graphics work, Daytona's docs list GPU sandboxes.

Sources

Blog

Notes from Mapier