Docs menuAfter you close your laptop

Keep Claude Code running after you close your laptop

Agents on your laptop stop when the lid closes. Here is how to keep long tasks going and still answer them from anywhere.

Run on a cloud machine

Pro and Team come with hours on a cloud machine for your workspace. Pick it when you start a task, and the agent keeps working while your laptop sleeps. Tasks on your own computer never use those hours.

The machine menu under the new task composer: This Mac, Cloud, and Mac, then cloud.
Pick Cloud under the composer, or Mac, then cloud to fall back to it when your Mac is busy.

Bring your setup along

Bring your Mac's setup to the cloud machine: your instructions, memories, skills, MCP servers and variables, so tasks there work like they do on your Mac.

Settings, Cloud with Run tasks in Cloud on, its repos and environment files, and switches to bring your Mac's instructions and memory, skills and MCP servers to the cloud.
Settings, Cloud: your Mac’s instructions, memories, skills and MCP servers, on the cloud machine.

Or keep your own server running

On a Linux server, install the pogon command line tool and run pogon login. It keeps the runner going as a systemd user service, so tasks run there around the clock.

Answer from anywhere

Wherever the agent runs, its questions land in the same queue. Answer them from Pogon for iPhone, follow every run from your Lock Screen, or reply in Slack.

Pogon on iPhone: a task thread with a database migration waiting for approval.
The same approval on iPhone, wherever the task runs.