A checklist
Run coding agents overnight without waking up to a mess
A short checklist for safe unattended runs: git, jail, tasks, limit rules and undo.
Verify jailing in Settings › Machines first, or agents will stop to ask before every edit.
The short answer
myth/acc agents keep running with the browser closed and can wait out plan limits automatically. Safe overnight runs rely on a clean git tree, an active jail, a bounded checklist, blocked risky commands and per-turn undo. Your computer must stay awake until Max cloud machines open.
Before you leave
Keep the machine awake
Prevent sleep; agents stop when the computer sleeps.
Start with a clean git tree
Commit existing work so snapshots and rollbacks stay clean.
Confirm jailing is on
Check Settings › Machines so agents do not block on permission prompts.
Cable a task list
Agents work through checklist items one per turn and stop cleanly when done.
Set your limit rule
Choose "wait for the reset" or fallback model under On limit.
Tighten permissions
Block risky commands, protect
.env, and disable unneeded push/deploy logins in Settings › Permissions.
What can still stop it
- Waiting for your answer
Plan approvals or direct questions pause the agent (waiting time does not count on Free).
- Free hours run out
After 6 active agent hours/week, running turns finish and agents pause until Monday 00:00 UTC.
The Free plan’s week- Network drops
Transcripts stay on your machine and sync automatically when the connection returns.
In the morning
Open the canvas
Review progress from desktop or phone.
Check each diff
Click View on any turn that modified files.
Undo unwanted turns
Click Undo to restore files (pushes and API calls cannot be reverted).
Questions, answered
Can coding agents run while my laptop is closed?
Only if the machine stays awake. Always-on cloud machines are planned under Max (not open yet).
Do agents keep going when I close the browser?
Yes. Agents run locally and transcripts wait for you when you reopen.
What happens when a plan limit hits at 3 a.m.?
With "wait for the reset", the agent pauses and resumes automatically; or it switches to a fallback model.
Is it safe to leave an agent unattended?
Use a clean git repo, active jail, deny rules and minimal logins. The jail guards against accidents, not hostile code.
Keep reading
- Claude Code usage limitsHow the 5-hour and weekly limits work, and how to let agents recover automatically.
- Claude Code without permission promptsSkipping prompts is only as safe as the boundary around the process.
- Coding agents from your phoneAgents keep working on your machine; you read and answer them from any browser, with no port opened.
Sources
Facts on this page were checked on . Products change: check the vendor’s own page before you decide.