Isolation Is Not Coordination: Parallel Coding Agents in Cloud Sandboxes
In short
- Cloud sandboxes such as boat.dev and Vercel Sandbox give every coding agent its own VM, with Claude Code and Codex preinstalled.
- A machine per agent keeps environments apart, but two agents can still change the same lines, and nobody finds out until the merge.
- Neither platform offers file claims, a merge check, messages between agents or approvals; a coordination layer adds them on top.
Starting twenty coding agents used to mean twenty terminals on one laptop. Cloud sandboxes changed that: boat.dev and Vercel Sandbox will start a machine per agent in seconds, with Claude Code and Codex already installed. The pitch on both is isolation. Each agent gets its own computer, so none can break another's environment.
That solves a real problem, and it leaves the harder one where it was. Two agents in two perfect machines can still change the same function, and the first time anyone finds out is the merge, after both have stopped. This article sets out what the two platforms do for parallel agents, read from their own docs on 30 November 2026, what they leave out, and how to add the missing part.
What the platforms give you
boat.dev runs full Ubuntu VMs, billed per second, with root, Docker and nested virtualization, and preinstalls claude, codex, opencode, cursor-agent and others. Its documented recipe for parallel agents prepares one machine, stops it, forks it N times with a short pause between forks to stay under the start limit, and sends each fork a prompt. Agents reach model providers through a subscription connected on the dashboard, an API key per machine, or a credentials proxy that keeps real keys out of the VM.
Vercel Sandbox runs Firecracker microVMs. Its default image includes Claude Code and Codex, its CLI creates and forks machines with environment variables per machine, and its firewall can inject credentials into outbound requests so that a secret never enters the machine. The free Hobby plan allows ten machines at once and sessions of up to 45 minutes.
Both are good at what they promise: a clean, fast, disposable machine per agent.
What they leave out
Neither platform's docs describe any of the following:
- Who owns a file. Nothing stops two agents editing the same file in their separate machines.
- Whether the work will merge. Each agent finishes believing its change is fine. The conflict appears when someone merges the branches.
- Messages between agents. One agent cannot tell another "I changed the return line; build on mine", or hand it a patch.
- Approvals. A command that needs a person's yes has no shared place to go when twenty agents ask at once.
- A budget per run. Account-level spend limits exist, but not a dollar limit for one group of agents that stops them all.
Isolation makes these gaps larger, not smaller. The cheaper it is to start an agent, the more agents run against one repository, and the more of their work collides.
Adding coordination on top
Coordination does not need the machines to share anything but a network connection. In Forkit's model, each agent gets a short-lived key, and its hooks report to one place: claims on files, a merge check before the agent stops, messages and patches between agents, and permission requests that rules answer first. The machine stays isolated; the agents stop being strangers.
A local check with four scripted roles, standing in for four machines and run against Forkit's production service, behaves as intended:
- A claims
src/format.mjsand changes its return line. - B asks for the same file and is refused, with the holder named.
- A shares its change as a patch, and B applies it and adds its own change on another line.
- C and D change files of their own.
Every merge check is clean, and the four changes merge without a conflict. The same edits without Forkit conflict on B. These are scripted roles, not agents deciding for themselves, so they test the mechanics, not how well real agents coordinate. We have not yet run them in cloud machines; that is the next step.
The recipe for real agents on either platform has the same four steps:
npx forkit-cli init
forkit fanout create --name esm --agents 4 --ttl 2400 --max-cost 5 # one key per agent, printed once
# for each machine: pass one key as FORKIT_API_KEY, then inside it
npx -y forkit-cli init --sandbox --project && claude -p "your task"
forkit fanout collect FANOUT_ID --merge
Things to check before you scale up
- Outbound network. Both platforms allow all outbound traffic by default. If you lock it down, allow
forkit-mcp.com, the npm registry and your model provider. - Session limits. Vercel's Hobby plan ends a session at 45 minutes; long agents need the Pro plan.
- Start limits. boat.dev's smallest plan starts 12 machines a minute, so a fan-out of 50 takes about four minutes to start.
- Secrets. Prefer the platforms' brokering or proxies over passing model keys into machines, and keep Forkit's keys short-lived; a fan-out's keys stop working when it stops.
Frequently asked questions
Does running each coding agent in its own VM prevent merge conflicts?
No. A VM per agent keeps their environments apart, but two agents can still change the same lines in their own copies, and the conflict shows up at the merge.
Can Claude Code run in Vercel Sandbox?
Yes. Vercel Sandbox's default image includes Claude Code and Codex, and agents authenticate with an API key passed in as an environment variable or through the firewall's credentials brokering.
How does boat.dev run several agents in parallel?
Its documented recipe prepares one machine, stops it, forks it once per agent with a short pause between forks, and sends each fork a prompt.
What do cloud sandboxes not do for parallel agents?
Their docs describe no file claims, no check that work will merge, no messages between agents and no shared approvals. Those come from a coordination layer on top.
Is Vercel Sandbox free?
The Hobby plan is free with no card: ten machines at once, sessions of up to 45 minutes and five hours of active CPU a month. Beyond that, the Pro plan bills active CPU time.
Sources
- boat.dev docs: https://docs.boat.dev/llms.txt, https://docs.boat.dev/recipes/parallel-agents.md, https://docs.boat.dev/integrated-agents/keys.md, https://docs.boat.dev/free-trial.md
- Vercel Sandbox docs: https://vercel.com/docs/sandbox, https://vercel.com/docs/sandbox/cli-reference, https://vercel.com/docs/sandbox/concepts/firewall, https://vercel.com/docs/sandbox/pricing