Parallel agents with forks
Set up a machine once, then fork it into as many copies as you like and give an agent a different approach in each. Compare the results, keep the winner and delete the rest.
How it works
Prepare one sandbox: clone the repo, install dependencies, get the tests running. Then save that state under a name:
froog new base
froog exec base -- 'git clone https://github.com/you/app && cd app && npm ci'
froog snapshot base --name ready
Fork it into five sandboxes, try-1 to try-5, each with an identical disk:
froog fork base@ready try --count 5
Give each one a different approach, or the same task to different agents, all at once:
froog prompt try-1 "fix the memory leak by pooling connections" &
froog prompt try-2 "fix the memory leak by streaming the response" &
froog prompt try-3 "fix the memory leak" --agent codex &
froog prompt try-4 "fix the memory leak" --agent gemini &
froog prompt try-5 "fix the memory leak" --agent opencode &
wait
Compare, keep the best, delete the rest:
for i in 1 2 3 4 5; do froog exec try-$i -- 'cd app && npm test --silent' && echo "try-$i passes"; done
froog exec try-2 -- 'cd app && git diff'
froog delete try-1 --yes # and the others you don't keep
Templates for every run
A saved snapshot belongs to your account, not just its sandbox, and stays when the sandbox is deleted. Keep one per project (web-stack, ml-env) and start any number of sandboxes from it: froog new app --from web-stack --count 5. Snapshots are taken automatically every hour too, and froog restore NAME@LABEL rolls a sandbox back in place.
What it costs
Each fork is billed per second while it runs. Five default sandboxes (4 vCPU, 8 GB each) for an hour cost about 14 cents. The first 10 saved snapshots are included in every plan.
Questions
Do forks copy the running processes?
No. A fork copies the disk of a snapshot, so programs start fresh in each copy. Start servers from a setup script, or with froog exec NAME --detach.
How many sandboxes can run at once?
2, 5 or 10 depending on the plan ($10, $20 or $50 a month). Email hello@froog.tech for more.
Can parallel agents use the desktop?
Yes, but all agents on one sandbox share one screen, so give each GUI task its own sandbox, which forks make easy.
7 days free: 25 hours of running time, 2 sandboxes at once. Then from $0.0137 an hour, billed per second.