DEV Community

Sandscale
Sandscale

Posted on Originally published at sandscale.dev

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

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. 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.

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 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 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. The 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.

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
Enter fullscreen mode Exit fullscreen mode

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.

Originally published on the Sandscale blog.

Top comments (0)