Agents

Run coding agents in cloud sandboxes

A cloud sandbox gives each coding agent task its own remote environment, so a runaway agent cannot reach files on your laptop. I ran 10 agents at once with Codex as the orchestrator.

9 min · 2026-09-07 · Watch on YouTube

The main idea

A cloud sandbox gives each task its own remote environment. I choose the coding agent, install the tools the task needs, and decide how the changes come back for review. Each agent installs packages and runs build scripts inside its own sandbox. Even if an agent goes off the rails, it cannot get to files on my computer. It sees only what I put in the box.

For the demo I used Upstash Box, which sponsored the video. I gave agents GitHub issues from open source projects and tasks from one of my own repositories. A controller and dashboard on my laptop launched the work and tracked it. Codex ran locally as the orchestrator and read logs from the boxes. The agents used DeepSeek models through OpenRouter. The boxes reached GitHub through attached headers and API keys.

Ten boxes ran at once. The setup requires human review, so nothing is committed blindly. One agent finished and I reviewed its branch. A few tasks were marked failed because they did not finish in the time I set. I traced part of that to how I worded my prompt. For my own repo, the agents opened pull requests, and I squash merged one. Then the controller cleaned up and no boxes were left.

The controller still runs on my laptop. Moving it to the cloud would let the whole workflow run with the laptop off.

Key points

Chapters

  1. 0:00Why cloud sandboxes for coding agents
  2. 1:02Launching 10 agents with Codex
  3. 2:11Watching agents run in parallel
  4. 3:16Reviewing branches and agent output
  5. 4:44Steering, stopping, and handling failures
  6. 7:08Reviewing PRs, merging, and cleanup
Free live lesson · Nov 24Stop Measuring AI by Tokens. Measure What It EarnsOne hour, live, with Saurav. Bring your own bill. Free.
Save my free seat →
Get new videos and tips by emailOne short email when there is something new. Unsubscribe any time.

More CloudYeti videos