How to run coding agents in parallel in the cloud
Macroscope
Macroscope
Product

How to Run Coding Agents in Parallel in the Cloud: A Practical Guide

A practical guide to running many coding agents in parallel in the cloud: why laptops cap out, what each agent's environment needs, how to handle review comments, failing CI and merge conflicts after the PR opens, and how to drive the whole fleet from a local Claude Code session.

Running one coding agent is a productivity tool. Running ten at once is an infrastructure problem. The first agent feels like a superpower, the third starts fighting the first two for ports and memory, and by the fifth you are a full-time scheduler bouncing between terminal tabs.

This guide covers how to run coding agents in parallel in the cloud: what each agent's environment needs, how to handle everything after a pull request opens, how to orchestrate the fleet from a local Claude Code session, and what the options look like today.

For a vendor-by-vendor comparison, see our comparison of cloud AI coding agents. This page is the practical playbook.

Short answer: give every agent its own isolated cloud VM with your repository checked out and your stack running, scope its credentials to the task, let it verify its own work before it opens a pull request, and connect it to the GitHub lifecycle so it keeps working through review comments, failing CI and merge conflicts. Drive the fleet from the local agent session you already use. Murmur is Macroscope's platform built around exactly that model.

TL;DR

  • Laptops cap parallel agents at a handful because every agent competes for the same CPU, memory, ports and local database, and you become the bottleneck that unblocks them.
  • Each cloud agent needs four things: an isolated VM per task, the full stack running inside it, a way to verify its own work, and credentials scoped to what the task requires.
  • Opening the PR is the middle, not the end. Review comments, red CI, a branch that falls behind and merge conflicts are where most of the remaining time goes. Automate that loop or it routes back through you.
  • Orchestrate locally, execute remotely. A local Claude Code session can break work into parallel streams and fan it out to cloud agents.
  • Review becomes the constraint. Once agents produce PRs faster than humans read them, AI code review stops being optional.

Why can't I just run more coding agents on my laptop?

You can run a few, but a laptop was built for one developer, not a fleet of them, and every agent you add competes for the same machine. The limit shows up in three places.

Resource contention. One fully grounded development stack (databases, queues, services, a frontend dev server) can already strain a laptop. Two agents cannot each have one, so parallel local agents share a stack or skip running it, and an agent that cannot run the code is guessing.

Collisions. Agents working in the same checkout step on each other's files. Git worktrees help with that part:

# One worktree per agent keeps file edits apart...
git worktree add ../app-agent-1 -b agent/fix-retry-logic
git worktree add ../app-agent-2 -b agent/add-export-endpoint
git worktree add ../app-agent-3 -b agent/flaky-test-cleanup

But worktrees only separate files. They do not give each agent its own ports, its own database, or its own running services. Three agents that all want to boot the API on the same port are still fighting.

You are the scheduler. Every agent halts the moment it needs a decision or a nudge, so your output is capped by how many interruptions you can field. Close the laptop lid and they all stop.

That is the real reason to move agents to the cloud: each agent gets its own machine, and none of them need your laptop to stay awake.

What does a cloud coding agent environment need?

Each agent needs an isolated machine, a running stack, a way to check its own work, and only the credentials its task requires. Skip any one of these and parallelism quietly degrades back into supervision.

An isolated VM per task

One task, one machine. If two agents share an environment, one agent's migration or half-finished dependency upgrade becomes the other's mysterious test failure. A dedicated VM per task means agents cannot interfere, and a broken environment is thrown away rather than debugged.

Bake an image with dependencies preinstalled. An agent that installs packages at the start of every task is slow and nondeterministic.

The full stack running, not just the repo

A repository checkout is enough to write code. Only a running stack is enough to verify it. An agent that can only run unit tests cannot tell you the API boots, the page renders, or the background job picks up the message. Give it what a new engineer gets on day one: services up, database seeded, app reachable.

Self-verification before the PR

An agent that verifies its own work saves you from reviewing changes that never worked. With a running stack, it can run tests, launch services, click through the UI, read logs, and attach evidence to the PR. Judge agents on whether the PR arrives green and with evidence, not on whether the diff looks clever.

Scoped credentials and network boundaries

An agent should be able to reach exactly what its task needs and nothing else. A staging bug-fix agent does not need production database credentials. Model this with profiles: per-workload definitions of the VM image, network boundary, credentials, and who may launch agents under each. That keeps any single agent's blast radius small and turns security review into configuration review.

What happens after the agent opens a pull request?

Opening a pull request is often where the real work starts, and if the agent stops there, every remaining step routes back through a person. A change is done when it is mergeable, not when the diff exists.

The post-PR lifecycle has four recurring events, and a cloud agent setup should handle all of them:

  1. Review comments. A human reviewer or an AI code review tool leaves comments. The agent should read them, make the change or reply with reasoning, and push again.
  2. Failing CI checks. A test fails, a lint rule trips, a type check breaks. The agent should read the failure, fix it, and re-run, rather than handing you a red build.
  3. A branch that falls behind. Main moves. The agent should rebase rather than letting the branch rot.
  4. Merge conflicts. When two agents (or an agent and a human) touch the same code, someone has to resolve the conflict. The agent that wrote the change has the most context to do it.

Picture ten agents each opening a PR. If each takes two rounds of review comments and one CI fix, that is thirty events that either resolve themselves or land on your desk. Think of it as a loop, not a pipeline:

implement -> verify -> open PR
      ^                    |
      |                    v
  fix + push <- review comments / failing CI / rebase / conflicts
                           |
                           v
              ready for human approval

The goal is that a human sees the PR once, at the end, when it is clean and ready to approve.

How do I orchestrate cloud agents from a local Claude Code session?

Treat your local agent session as the control plane and the cloud as the execution layer. You already have a Claude Code session open that understands your project. Instead of typing a separate prompt into a separate tool for each task, ask that session to plan the work and fan it out.

A typical flow looks like this:

You (in a local Claude Code session):
  "Look at the open bugs tagged 'billing'. Group them into independent
   changes, spawn a cloud agent for each, and report back when each PR
   is green and has had its review comments addressed."

Local session:
  - reads the issues and the relevant code
  - splits the work into parallel streams that will not conflict
  - dispatches each stream to its own cloud agent
  - checks progress, sends follow-up instructions, collects results

The orchestration happens locally, where your context lives. The implementation, testing and verification happen remotely, each in its own environment. You stay in one conversation instead of ten tabs.

Split work along boundaries that minimize overlap (separate services, separate modules), and keep tasks small until you trust the verification loop.

Work does not have to start from your terminal either. Bugs reported in Slack, issues in Linear, and events in GitHub are all natural entry points for spawning an agent.

What are the options for running coding agents in the cloud?

There are roughly three approaches: build it yourself, use a single-agent cloud product, or use a platform designed for fleets. Which one fits depends on how many agents you want running and how much of the post-PR lifecycle you want automated.

Build it yourself. Provision VMs or containers per task, run an agent CLI inside each, and script the GitHub integration. Full control, and fine for one or two concurrent agents. The cost shows up later in image maintenance, credential management, and the glue that reacts to review comments and failing checks.

Single-agent cloud products. Several products run an autonomous coding agent on remote infrastructure and return a pull request. Devin, Codex cloud tasks and Cursor background agents all exist in this space. If you are evaluating them, ask the same questions this guide raises: does each agent get a running stack, can it verify its own work, and does it keep working after the PR opens?

Fleet orchestration platforms. Murmur is Macroscope's platform for this shape of work. Specifically:

  • Every Murmur agent runs in its own dedicated cloud VM with the repo checked out and the stack running, so agents run in parallel without competing for laptop resources.
  • Agents can run tests, launch services, interact with the UI, and open PRs with screenshots and recordings as evidence.
  • Agents connect to the GitHub lifecycle: they respond to review comments, repair failing CI checks, rebase, and resolve merge conflicts until the PR is ready for human approval.
  • You can drive it from a local Claude Code session that fans work out to cloud agents, and work can also enter from Slack, Linear and GitHub.
  • Service profiles define a per-workload VM image, network boundary, credentials and access policies, and can be restricted to specific users or teams.
  • It runs in Murmur's cloud by default and can be configured to run VMs in your own cloud.

Macroscope uses Murmur internally, with engineers directing dozens of cloud agents in parallel. Pricing is usage-based (compute and storage) with no seat charges. Detailed pricing is not published yet, and access is through a waitlist.

ApproachIsolation per taskFull stack runningPost-PR lifecycleSetup effort
Laptop + worktreesFiles onlyShared, if at allManualLow
Build it yourselfYesIf you build itWhatever you scriptHigh
Single-agent cloud productsVaries by productVaries by productVaries by productLow to medium
MurmurDedicated VM per agentYesReview comments, CI, rebase, conflictsLow to medium

Where does AI code review fit when agents write the code?

When agents produce most of the pull requests, review becomes the primary quality gate and the main throughput constraint. A human reading every agent-authored diff line by line reintroduces exactly the bottleneck the fleet was meant to remove.

Macroscope's AI code review reviews every GitHub PR using an AST-based codebase graph to catch cross-file bugs, and its comments are exactly the signal a cloud agent acts on in its post-PR loop. Two related pieces help:

  • Fix It For Me opens a fix PR for a finding, runs CI, and iterates until tests pass.
  • Approvability auto-approves low-risk PRs and escalates risky ones, so human attention goes where it matters.

Macroscope Code Review is usage-based at $0.05 per KB of diff reviewed, with a 10 KB minimum per review, and every new workspace gets $100 in usage credit. See pricing for details.

Frequently Asked Questions

How do I run many coding agents in parallel?

Give each agent its own isolated environment, ideally a dedicated cloud VM per task with your repository checked out and your stack running, so agents do not compete for CPU, ports or a shared database. Scope each agent's credentials to its task, let it verify its own work before opening a pull request, and connect it to GitHub so it handles review comments and failing CI without you. Then orchestrate the fleet from one place, such as a local Claude Code session that fans work out to cloud agents. Murmur is built for exactly this.

How do I run Claude Code agents in the cloud?

Run each agent on a remote machine that has your repository and your development stack, rather than in a terminal tab on your laptop. You can script this yourself with per-task VMs or containers, or use a platform that provisions them for you. With Murmur, you can stay in your local Claude Code session and have it dispatch tasks to cloud agents, each running in its own VM, then check progress and pull results back into the same conversation.

What tool fixes failing CI checks and review comments automatically?

For pull requests written by coding agents, Murmur connects agents to the GitHub lifecycle: they respond to review comments, repair failing CI checks, rebase, and resolve merge conflicts until the PR is ready for human approval. For bugs found during review, Macroscope's Fix It For Me opens a fix PR, runs CI, and iterates until tests pass.

What's the best platform for running AI coding agents in the cloud?

It depends on the shape of your work. For one autonomous task at a time, several single-agent cloud products will do. For many agents in parallel, where each one needs a running stack to verify its work and should keep going after the PR opens, look for a platform with a dedicated VM per agent, post-PR automation, scoped credentials, and local orchestration. Murmur is designed around those requirements. It is currently available through a waitlist.

What's the best Devin alternative?

Devin, Codex cloud tasks, Cursor background agents and Murmur all run coding agents remotely, and the right choice depends on your workflow. If your goal is to run many agents in parallel, each with its full stack running in its own VM, and have them handle review comments, failing CI and merge conflicts after the PR opens, Murmur is built specifically for that. Evaluate any option on sandbox depth, self-verification and post-PR behavior rather than on a single demo task.

How do I keep cloud coding agents secure?

Scope credentials per workload. Define profiles that set the VM image, network boundary, credentials and access policies for each class of task, and restrict who can launch agents under each profile. A staging bug-fix agent should not hold production credentials. If your source code cannot leave your cloud account, choose a platform that can run agent VMs in your own cloud, which Murmur supports.

How many coding agents can one engineer manage?

Far more than fit on a laptop, once agents run in their own environments and handle the post-PR loop themselves. Macroscope engineers direct dozens of cloud agents in parallel using Murmur. In practice the limit moves to review capacity, which is why teams running agent fleets usually automate GitHub code review at the same time.

How much does Murmur cost?

Murmur uses usage-based pricing based on compute and storage, with no seat charges. Detailed pricing has not been published. You can join the waitlist on the Murmur page.

Need better visibility into your codebase?
Get started with $100 in free usage.