Where should your agent run tonight?

Seven things you could run a long agent job on, line by line against a box.

From $5 a month · Docker and sudo included · Cancel from the dashboard any time

Against the cloud agents and hosted environments

Five alternatives, five questions that decide where a long agent job can live.

OptionHow long it stays ondocker composeWhat you pay forYour own Claude or ChatGPT planFrom your phone
GitHub CodespacesStops after an idle timeout of up to 4 hoursYes$0.18 an hour for 2 cores, plus storageYes, signed in by handVS Code in a mobile browser
Cursor background agentsOne task per cloud VMA snapshot or a Dockerfile in the environment fileModel usage at API rates, from your Cursor planNo, Cursor's own billingWeb and the iOS app
Claude Code on the webOne session, on a fresh machinePer session, gone afterIncluded in Claude Pro and MaxClaude onlyThe Claude apps
DevinPer session, on Devin's machineInside Devin's own machineFree, $20 or $200 a month; extra usage at API pricingNo, Devin's own plansWeb app
DIY VPS (Hetzner CX23)AlwaysYou install it€5.49 a month, plus the evening you spend setting it upYes, tokens copied by handAn SSH app
detachboxAlways, no hour capPreinstalled, runs your compose file$5, $12 or $24 a month per boxClaude and ChatGPT plans, connected onceThe dashboard in your phone's browser, plus Remote Control and Happy

Vendor pages and docs, checked 28–30 September 2026.

What else you could run tonight
OptionKeeps running when you leaveDockerTerminal tabs that persistAll limits on one boardSmallest always-on option, a month
Your laptopUntil the lid closesYesWhile it is awakeNoYour battery
Bare VPS (Hetzner CX23)YesYou install itYou set up tmuxNo€5.49, 40 GB
GitHub CodespacesStops when idleYesUntil it stopsNo2 cores, $0.18 an hour: about $131 a month left running
Terminalbox BaseYesNo1No€6, 50 GB
detachbox StartYes, around the clockYes, with composeUp to 10Yes$5, 50 GB

Prices from each vendor's pricing page, 28 September 2026.

Questions about this

What about caffeinate or keeping the lid open?

They keep the laptop awake at home. They fail on the train, in a backpack and when the battery runs out. A box stays on without any of that.

Is a VPS more powerful?

At the same size, a VPS gives you a full VM and a kernel of your own. A box gives you the same CPU and memory with everything an agent needs already set up, for a lower price.

Can I raise the Codespaces idle timeout?

Up to four hours. After that the codespace stops, and the agent with it.

Why does Docker matter for an agent?

Agents test against databases, queues and caches. Without Docker they test against mocks, and the bugs wait for staging.

Do I pay for the model twice?

No. Claude Code and Codex on the box run on the subscriptions you already pay for. The box costs $5, $12 or $24 a month for the machine.

Can I keep using Cursor with a box?

Yes. The box is a Linux machine you reach over SSH with your keys, so an editor that works over SSH can connect. The agents on the box keep running after the editor closes.

Is detachbox an agent like Devin?

detachbox is the machine. The agent is the one you choose: Claude Code, Codex, OpenCode or Gemini CLI, preinstalled and running with approvals off.

The box that stays on, from $5

Docker, sudo, ten persistent tabs, SSH, preview URLs and the limits board on every plan.

Start my box

Charged when the box starts · Cancel from the dashboard; the box runs to the end of the paid month