Wake the f*ck up, Samurai.
Your agent is still working.
WakeUp Samurai keeps your Mac awake while Codex, Claude Code, and other coding agents finish the job — then lets it sleep the moment they stop.
Open source · No telemetry · Not on the App Store
Detected agents
// the problem
Your agent should not lose to sleep mode.
Agents keep working after you walk away
Long-running coding agents continue editing, testing, and building long after you've left the keyboard.
Sleep mode interrupts everything
macOS sleep can kill tests, builds, edits, and live terminal sessions mid-run — wasting time and tokens.
Caffeine apps are dumb
Generic stay-awake apps keep everything awake manually. WakeUp Samurai reacts to your agents automatically.
// how it works
Three steps, zero babysitting.
Detects coding agents
Watches locally for processes like Codex and Claude Code starting up.
agent: codexHolds a power assertion
Asks macOS to prevent idle sleep while the agent is actively running.
sleep: blockedReleases when work stops
The moment the agent exits, the assertion drops and your Mac sleeps normally.
status: released// supported agents
Built for real workflows.
WakeUp Samurai detects Codex, Claude Code, Cursor, OpenCode, Gemini, Copilot, Kimi, Zed, and a wider set of AI coding tools.
Codex
● detectedClaude Code
● detectedCursor
● detectedGemini
● detectedCopilot
● detectedKimi
● detectedZed
● detectedOpenCode
● detectedShow all supported tools
// open-source principles
Privacy-first by design.
No telemetry
Nothing is tracked, logged, or phoned home.
No account
Download and run. No sign-up, ever.
Local-only detection
Agent detection happens entirely on your machine.
Transparent behavior
Open source — read exactly what it does.
Easy install
Distributed directly, outside the App Store.
Let the agent finish.
Install WakeUp Samurai, start Codex or Claude Code, and leave your Mac without babysitting sleep settings.
Requires macOS 14+ · Apple Silicon build available