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