Cloud sandboxes vs. a runner on your machine
Every background coding tool has to answer one architectural question first: where does the code actually build, run, and get tested? Hosted cloud sandboxes and a runner on your own machine solve different constraints.
Side-by-side comparison
| Constraint | Hosted cloud sandbox | Docker runner on your machine |
|---|---|---|
| Initial setup | Zero local installation; vendor runs compute | Install Docker runner service on your machine or dedicated VM |
| Private Git / tracker networks | Requires opening or tunneling internal services to vendor cloud | Outbound-only connection; works with private GitLab or Jira Data Center |
| Repository & build caches | Cold clones and package downloads on ephemeral instances | Warm repository clones and dependency caches on local disk |
| Local test services | Must be mocked or recreated inside remote sandbox | Attach run containers to a local Docker network (DB, Redis, search) |
| AI credentials | Often held by or proxied through the vendor platform | Stay strictly on your runner; server never receives AI sign-in or keys |
| Hardware & availability | Vendor handles compute and 24/7 uptime | Runs on your hardware; queued tasks wait when runner is offline |
When a hosted cloud sandbox fits
Hosted cloud sandboxes execute agent tasks inside ephemeral virtual machines or containers operated by the tool vendor. Because the vendor runs the compute fleet, developers do not install a local service before starting a task.
That model fits well when repositories live on a public cloud code host, builds pull only from public package registries, test suites run self-contained without internal network services, and your security policy allows handing full repository clones and build secrets to a third-party execution cloud.
When a runner on your own machine fits better
Many engineering teams operate under network, caching, or credential constraints where a remote vendor VM creates friction. Mergehand pairs its web application with a Docker runner that runs on your computer or your own server (see how Mergehand works and supported integrations):
- Private infrastructure and internal networks. Teams working with your own GitLab or your own Jira Data Center on an internal network — alongside private package registries or internal staging services — keep repository clones, builds, and test runs inside their own environment instead of opening private networks to a cloud sandbox pool.
- Outbound-only connections. The runner connects outbound to
app.mergehand.com, so no inbound firewall port needs to be opened on your workstation or server. - Warm clones and build caches. Full repository clones and dependency caches stay warm on your runner's disk across runs rather than downloading gigabytes of git history and packages into cold cloud instances.
- Local development services. Run containers can attach to a local Docker network to execute integration tests against a real local database, cache, or search service.
- Your AI credentials stay on your runner. Each developer signs in to the AI coding agent on their own runner with their own AI subscription, token, or API key, paying their AI provider directly. Mergehand never receives your AI credentials and never bills tokens.
What running your own runner requires
Running execution containers on your own hardware has concrete requirements. A runner needs Linux on x86_64 with Docker Engine 26 or newer and Docker Compose 2.24 or newer, Windows through WSL2 and Docker Desktop, or macOS with Docker Desktop and at least 8 GB of memory for its virtual machine (native Linux ARM64 images also exist, though ARM64 has not been tested yet). Plan on about 4 vCPU, 8 GB RAM, and 40 GB of disk for one medium-sized project running one task at a time, and more for parallel runs or large repositories.
Each run starts in a fresh container as an unprivileged user without Docker access and is removed when the run ends. Outbound network is restricted to an allowlist — code host, tracker, AI provider, package registries, and project-allowed addresses — and if the firewall cannot be set up, the run does not start (filtering works on IP addresses with open DNS, so treat it as a strong barrier rather than an absolute guarantee). Because the runner service itself uses the Docker socket to start containers — which means root-level access to its machine — run it on a dedicated machine or virtual machine. When a runner is offline, queued work waits and starts once it reconnects. For the deeper security model, see prompt rules are not a security boundary.
Where data lives across runner and server
Separating orchestration from execution makes the data boundary between your hardware and Mergehand's server in the EU explicit (full retention and hosting details are on the security and data page):
| Location | What lives there |
|---|---|
| Your runner (your machine or server) | Full repository clones, build caches, isolated run containers, your AI sign-in or API key, and git pushes executed in a separate container without the agent on the server's instruction after you approve the first push. |
| Mergehand server (Falkenstein, Germany) | Projects, approvals, merge request coordination, tokens for your code host and tracker encrypted with AES-256-GCM, and run data (plans, reports, review drafts, and masked run logs, which can contain excerpts of your code and diffs). Reads what it needs through your code host's API. |