macOS menu bar utility · open source

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

WakeUp Samurai app icon — a neon cyberpunk samurai helmet
MEM 15%CPU 19%
Sun
Codex is coding
Keep Mac awake while agents run
Open WakeUp Samurai at login

Detected agents

CodexCursorJetBrains AI

// 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.

01

Detects coding agents

Watches locally for processes like Codex and Claude Code starting up.

agent: codex
02

Holds a power assertion

Asks macOS to prevent idle sleep while the agent is actively running.

sleep: blocked
03

Releases 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

● detected

Claude Code

● detected

Cursor

● detected

Gemini

● detected

Copilot

● detected

Kimi

● detected

Zed

● detected

OpenCode

● detected
Show all supported tools
AlibabaAlibaba TokenAntigravityDroidDevinz.aiMiniMaxKimi K2KiloKiroVertex AIAugmentAmpOllamaSyntheticJetBrains AIWarpElevenLabsOpenRouterLiteLLMPerplexityAbacus AIMistralDeepSeekT3 ChatCodebuffPoeChutes

// 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.

$ open -a "WakeUp Samurai"_

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