Should Agents Get Their Own Machine? When Isolation Beats Sharing Your Desktop

Doforu Team
Nov 15, 2026

The objection is legitimate

In 2026 a well-known developer commentator put the complaint plainly: he was increasingly annoyed by agents running locally, launching browser windows and apps while he was trying to work, interfering with his own desktop — and concluded that this stuff needs to live either in a VM, or probably the cloud.

That position is not reactionary and it is not wrong. It describes a real failure of the way most local agents shipped: they treat your desktop as an infinite resource, when in fact you have one screen, one cursor and one set of windows that are supposed to be where you left them. An agent that pops a window every four minutes is not doing work, it is doing damage.

So the "give the agent its own machine" camp — terminal-mac, Cua Spaces, wrapvm, and every cloud agent by construction — starts from a sound premise. The interesting question is what you give up by taking that route.

What an isolated agent machine actually buys you

Blast radius. If the agent deletes something, it deletes it in a machine that gets thrown away. This is the strongest argument, and it applies whether the machine is a local VM or a cloud sandbox.

Focus. Your desktop stays yours. Nothing spawns, nothing steals keyboard focus, nothing rearranges your windows.

Credential separation. A VM can be logged into a throwaway account, not your logged-in browser profile with every session cookie you own.

Reproducibility. A machine you can rebuild from an image is a machine you can debug. "It worked yesterday" stops being a mystery.

What it costs

Here is the part the isolation camp tends to leave out.

Setup friction. terminal-mac requires you to boot a real macOS guest via Apple's virtualization framework, wire an MCP server to it, and manage its lifecycle. Cua Spaces sells a per-desktop subscription (Pro around $18/month, Teams around $30/seat/month) precisely because running and orchestrating VMs is a product, not a setting. wrapvm is a wrapper around a desktop image, Xvfb and a browser you watch over VNC — powerful, and unmistakably a tool for people who enjoy this.

Your logins do not follow. The single most common reason a desktop agent is useful is that it is already signed into your tools. An isolated machine is not. Every session cookie, every SSO, every app that needs a license key has to be brought over — and the ones that cannot be brought over are exactly the ones that made the work worth automating.

The isolation is thinner than it sounds. terminal-mac's own README is commendably candid: the host home folder, project directories, clipboard, microphone and camera are not mounted — but the default NAT means the guest may reach host and LAN services, --offline is needed to remove network paths, and it explicitly is not a hardened sandbox for malicious code, nor a defense against an already-compromised host. Its releases are self-signed and un-notarized. That is an honest engineering boundary, and it should be read as one: you are isolating accidents, not adversaries.

Speed to first result. A local agent that is already installed and already signed in can be useful in ninety seconds. A fresh VM is useful after you have provisioned it.

When to use which

SituationGive the agent its own machine?
Running untrusted code, scraped scripts, or anything from the open internetYes — VM or cloud, no debate
Long unattended runs where you want your laptop freeYes — cloud VM
Work needs your logged-in browser, your licensed apps, your local filesNo — sharing with scoped permissions is the point
Work needs software with no API that only exists on your machineNo — isolation removes the only access path
You want to supervise and interrupt in real timeNo — you want it visible, not walled off
You are testing something destructiveYes — and never on the machine with your data

The pattern in that table is not "local good, VM bad". It is that isolation and sharing solve different problems: isolation bounds damage and removes distraction; sharing gives reach and removes setup. Products that pretend one answer covers both end up either uselessly sealed or dangerously loose.

The design that dissolves the tradeoff

There is a middle path, and it is the one worth demanding from any desktop agent you evaluate.

Do not take the cursor. An agent that acts on a window's controls through the accessibility layer never moves your pointer and never steals focus. You can keep typing in another window while it clicks through a form in the one behind yours. This is the single most important design decision for a shared-desktop agent, and it is why Doforu's computer use is built on the Accessibility API rather than synthetic mouse events.

Do not foreground windows. Work can happen in a window the agent raises without ever activating it, or on a virtual display you cannot see at all.

Ask before anything consequential. An approval card before an administrator-level action costs one click and removes an entire category of "the agent did what?" incidents.

Scope permissions per capability, not per app. Accessibility and Screen Recording for computer use; folder access for the folders you point at. Not a blanket grant at first launch.

Keep an escape hatch to isolation. If the work is untrusted, the answer should be a VM — and the orchestrator should be able to drive one when that is the right call, rather than forcing the choice at install time.

The honest summary

If your objection to local agents is "they interrupt me", the correct fix is not necessarily a VM — it is an agent that does not steal your cursor or your focus. If your objection is "they might destroy something", a VM is the right answer and no amount of careful design replaces it.

Most people need both, on different tasks, in the same week. Any product that only offers one is asking you to pick a side in an argument you should not have to have.

Download Doforu