Guides & comparisons
Running coding agents on a Mac.
How to keep long Claude Code, Codex and Grok runs alive, and how Latte compares with caffeinate, Amphetamine and Claude Code's own keep-awake.
Guides
- GuideWhy your Mac stops long AI agent runsIdle sleep, the lock screen, a closed lid, update restarts and a prompt nobody answers: the five ways a run dies, and the fix for each.Read the guide
- GuideHow to approve Claude Code prompts from your phoneYour agent is waiting on “Can I run this?” and you're not at your desk. The options for answering from your phone, compared.Read the guide
- GuideKeep Codex CLI running when your Mac sleepsHow to check whether your Mac is holding off sleep for Codex, and how to keep long Codex runs alive, lid open or closed.Read the guide
- GuideHow to run Claude Code overnight on a MacA practical checklist for leaving Claude Code working while you sleep: power, sleep settings, permissions, prompts and a safe place to work.Read the guide
- Guidepmset disablesleep: what it does and how to undo itThe one macOS setting that keeps a MacBook awake with the lid closed: how to turn it on, check it, turn it off, and what can go wrong.Read the guide
- GuideDoes tmux keep Claude Code running when your Mac sleeps?No. tmux survives a closed terminal window, not a sleeping Mac. What tmux does protect you from, and what to pair it with.Read the guide
Compare
- ComparisonClaude Code's built-in keep-awake vs LatteClaude Code already holds off idle sleep while it works. Here's what that covers, what it doesn't, and when you don't need Latte.Read the comparison
- Comparisoncaffeinate vs Latte for coding agentsmacOS's built-in caffeinate command is great at one job. Where it fits for Claude Code and Codex, and where it runs out.Read the comparison
- ComparisonAmphetamine vs LatteAmphetamine is one of the best keep-awake apps on the Mac. An honest look at when it's enough for coding agents, and when it isn't.Read the comparison