# Laptop vs a machine per coding agent: which one to use

> When Claude Code, Codex or Cursor should stay on a laptop, and when each agent needs its own cloud machine. A short comparison, then a signup path to try the second option.

When Claude Code, Codex or Cursor should stay on a laptop, and when each agent needs its own cloud machine. A short comparison, then a signup path to try the second option.

December 3, 2026 · 2 min read · The Sandscale team

Most teams start Claude Code, Codex or Cursor on a laptop. That is the right default for one person, one agent, one short attended task. It stops being enough when you want more than one agent at a time, a run that continues after the lid closes, or a boundary between the agent’s commands and the developer’s account.

This is the short version of that choice. The longer mechanics are in [what running coding agents on a laptop costs the team](https://sandscale.dev/blog/coding-agents-on-your-laptop-what-it-costs-the-team). The three-way comparison with a Kubernetes cluster you run is in [laptop or a Kubernetes cluster you run, versus a machine per coding agent](https://sandscale.dev/blog/laptop-or-k8s-diy-vs-a-machine-per-agent).

## Stay on the laptop when

The task is short, you are watching it, and one working copy is enough. You can close the lid when you are done, and you do not need a shared record of what the agent ran. For that case, adding a cloud machine is extra movement for little gain.

## Move the agent to its own machine when

You want several agents at once without sharing a checkout, ports or CPU. You want the run to continue after the laptop sleeps. You want the agent’s commands off the developer’s account, on a disk the team can name, stop and inspect. You want CI to stay the merge gate, and the edit-test loop to run somewhere the agent already has a shell.

A Sandscale [workspace](https://sandscale.dev/workspaces) is built for that case: a persistent cloud computer for a coding agent, with its own disk. There is no control plane to write. The [workspaces docs](https://sandscale.dev/docs/concepts/workspaces) say its files survive, you open it in the browser or over SSH, and it stops when nobody is using it.

## Try it

[Sign up](https://cloud.sandscale.dev/auth/signup?utm_source=blog&utm_campaign=spike-3dec). The [Quickstart](https://sandscale.dev/docs/quickstart) says you start on the Free plan: 100 awake vCPU-hours a month, 3 boxes at once, and up to 2 vCPU per box. Free includes one workspace. That is enough to move one agent off one laptop and see whether the shape is right. A running machine counts toward the plan’s hours whether the agent is busy or waiting; paused time does not count, per the [pricing page](https://sandscale.dev/pricing).

```sh
curl -fsSL https://sandscale.dev/install | sh
sandscale login
sandscale workspace templates-list
sandscale workspace create --name agent-1 --template-id TEMPLATE_ID --ttl-seconds 28800
sandscale workspace ssh agent-1
```

Install the agent, clone the repo, and work as you would on a new laptop. Stop the workspace when you are done. If that is the shape you wanted, give the next agent its own machine too.

**On this page**

1. Stay on the laptop when
2. Move the agent to its own machine when
3. Try it

**Run your agents in a box of their own**

Each sandbox is a Firecracker microVM. Free includes 100 awake vCPU-hours a month.

[Start free](https://cloud.sandscale.dev/auth/signup)

## Keep reading

- [December 3, 2026 · **A cloud workspace for one developer vs a machine per coding agent** · Cloud IDEs were built around one person and their editor. A team running Claude Code, Codex or Cursor needs a machine per agent. A short contrast, then a signup path to try the second shape.](https://sandscale.dev/blog/a-cloud-ide-vs-a-machine-per-coding-agent)
- [December 3, 2026 · **CI vs the agent's own machine: where each kind of check belongs** · Keep CI as the merge gate. Put a coding agent's edit-test loop on a machine of its own. A short split, and a signup path to give Claude Code, Codex or Cursor that machine.](https://sandscale.dev/blog/ci-vs-the-agents-own-machine)

---
Source: https://sandscale.dev/blog/laptop-vs-a-machine-per-coding-agent
