Skip to content
Sleep Switch

Let the work finish.

Sleep Switch keeps your Mac awake while Codex, Claude Code, OpenCode, and other coding agents run. When the last session ends, macOS takes sleep control back.

macOS 13 or newer · Apple silicon and Intel

Free
Always
15
Agent harnesses
Local
No accounts or analytics
macOS 13+
Apple silicon and Intel

Awake while the agents are.

Automatic tracking is on from the start. Sleep Switch checks local activity every ten seconds and holds a temporary native macOS power assertion only while work is running.

01

Automatic

Codex, Claude Code, OpenCode, and twelve more agent harnesses are recognised locally. Quiet network waits stay covered.

02

Manual

Start a Caffeine-style session indefinitely or choose a duration. The display can sleep while the Mac keeps working.

03

Afterwards

Put the display to sleep now, or wake it once all running agent sessions have finished.

It stays on your Mac.

Sleep Switch has no accounts, analytics, network service, or privileged background helper. It is free and available under the MIT licence.