Close the lid.
Your agent keeps coding.

Maben Awake keeps your Mac awake while Claude Code, Codex, Cursor, Copilot or any script is working, freezes the apps the agent isn't using, and lets the Mac sleep the moment the work is done.

> Move billing to the new invoices API and get the test suite green

✻ Reading 23 files in src/billing and src/api…
✻ Rewriting InvoiceService to use the v2 client
✻ Updating 41 call sites
✻ Running npm test
  612 passing, 9 failing
✻ Fixing date handling in the proration tests
✻ Running npm test
  621 passing (4m 50s)

The lid has been closed for 1h 12m. The Mac is still awake.
0%CPU for an app while it's frozen
20%battery, below which the Mac sleeps anyway
1 clickto connect each agent you use
1.1 MBdownload, free, no account

Works with what you already run.

No new workflow. Connect an agent once and Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and five more keep the Mac awake on their own, at about 8 ms per hook call. Everything else uses one command.

Claude CodeSettings → Agents → Install
CodexSettings → Agents → Install
Scriptsawake run build -- make
By handawake hold deploy 30

Freezes what the agent doesn't need.

With the lid closed, every app no agent is using is paused, helper processes included. A paused app uses no CPU, so the battery and the fans go to the work. When the agent needs a browser it wakes it, and freezes it again afterwards.

  • Three modes per app: always on, while AI works, when AI asks
  • Terminals, editors, calls, music and VPNs are never frozen
  • Opening the lid wakes everything at once

Made for a laptop in a bag.

macOS ignores keep-awake requests once the lid closes. Maben Awake blocks closed-lid sleep only while an agent is working, turns the screen down to zero, keeps it from locking so the agent can still click, and hands sleep back the moment the work stops.

  • Sleeps anyway below 20% battery
  • Sleeps to cool down if the Mac gets seriously hot
  • Nothing changes with an external display connected

One command for everything else.

$   214 passing (6m 12s)$ claude-3f2a91c4  14 min leftneed-Dia-4411  7 min left  (app: Dia)$ 
  • Builds and test suites that run longer than your screen stays on.
  • Overnight jobs like backups, data exports and model runs.
  • Big downloads and uploads you don't want cut off by sleep.
  • Agents without hooks wrapped in awake run.

Every hold has an end time, so it can't outlive a crashed script. awake log explains every sleep and wake.

It always gives your Mac back.

Pausing apps and turning the screen off is only fine if it can always be undone. Three separate things make sure it is.

If it crashes

macOS restarts it within seconds. The new copy wakes every paused app and restores sleep and brightness.

If it hangs

A small separate service watches the lid. Open it and within 6 seconds the screen comes back and apps wake, whatever the app is doing.

If you quit

Every app is woken and normal sleep is restored before it exits.

Your laptop sleeps
when your agent does.

Free, notarized by Apple. Open the disk image, drag it to Applications, click Install in Settings, close the lid.