Awake · Until agents finishLid open
Betav1.3.4-beta.1 · Free and open source

Full computer use. Lid closed.

Keep your Mac awake while Codex works across desktop apps, the browser and terminal—even with the lid closed.

Apple Silicon · macOS 13+

This beta isn’t notarized by Apple, so macOS asks you to confirm the first launch. Installation instructions

WakeGuard
Awake
Keeping your Mac awake until agents finish.
Agents
Codex2 working
Claude Code1 working
PowerAC power · 82%
Thermal statusNormal
Time limit1 h 14 min left
AC powerBattery
Battery limit 20% ⌄
Time limit 2 hours ⌄
Activity…
With the lid closed

Codex keeps working across your Mac.

Desktop apps

Let Codex inspect and interact with supported Mac apps through Computer Use.

Browser

Keep testing websites, checking pages and capturing browser screenshots.

Terminal

Keep builds, tests and SSH deployments running.

Start it, lock it, close it.

  1. 01

    Start your agent task

    Give Codex the task on your Mac.

  2. 02

    Start a WakeGuard session

    Choose Manual or Until agents finish in the menu bar.

  3. 03

    Lock, then close the lid

    Lock your Mac with Control–Command–Q, then close the lid.

  4. 04

    Follow along on your phone

    Follow progress and respond through Codex on your phone.

Deployments still need their normal network access.

Until agents finish

Awake while they work. Asleep when they’re done.

WakeGuard follows supported local Codex and Claude Code sessions. When every task has finished, it releases sleep prevention — and if the lid is closed, it requests system sleep.

Agents
Codex2 working
Claude Code1 working
Mac stays awakeSleep is prevented while any supported task is working.
Agents
Codex1 working
Claude Code1 waiting
Still awakeTasks waiting for input remain active, so your Mac is ready when you respond.
Agents
Codex0 working
Claude Code0 working
Sleep releasedWakeGuard steps aside. With the lid closed, it requests system sleep.
Closed-lid work

Close the lid. WakeGuard keeps watch.

While your Mac works with the lid closed, WakeGuard keeps checking its thermal status, battery level and time limit. If the Mac gets too warm, the battery drops below your threshold or time runs out, it stops keeping the Mac awake.

Closed-lid operation depends on your power settings and the power source you allow.

Safety checksMonitoring
Thermal statusNormalStops if the Mac gets too warm
Battery limit74% · stops at 20%Or allow AC power only
Time limit1 h 14 min leftStops when the limit expires
In your bag. Still at work. Close the lid and head out. WakeGuard keeps your agents running and lets the Mac sleep once they’re done. If it gets too warm in your bag, it stops.
Awake · Until agents finishLid closed · 42 min · Thermal status: Normal
Agents
Codex2 working
Claude Code1 waiting
Subject to power settings and safety limits
Plugins

Extend WakeGuard with plugins.

Add agent status, session notifications, or build your own integration.

Installed plugins stay disabled until you enable them. They don’t control sleep prevention. Optional integrations can make HTTPS requests.

Plugins
Agent statusNot installed
Requested permissions
Agent activityCounts only
Menu bar panelShow a status line
NetworkNone
Review the permissions, then install. It won’t run until you enable it.
For developers

Respond to WakeGuard events.

A plugin receives events and uses a small API to show status. Declare its permissions, then share it.

function onEvent(event, api) {api.setStatus(event.agents.working + " working");}
Session summary

Know what happened while the lid was closed.

When you reopen your Mac, WakeGuard shows how the time was spent. Unobserved time appears only when there’s a gap WakeGuard couldn’t see. Summaries cover only periods when WakeGuard was actively used.

Welcome backLid closed 16:40 – 19:52
Closed-lid duration3 h 12 min
Kept awake
2 h 38 min
WakeGuard inactive
0 min
System sleep
31 min
Unobserved time
3 min
Open source · Local · Private

Open source. Runs entirely on your Mac.

View source on GitHub →
  • Free and open source. No account and no subscription service.
  • Core monitoring stays local. Optional plugins can connect to services you approve.
  • Activity logs never contain prompts, responses or conversation content.
Get WakeGuard betaApple Silicon · macOS 13+v1.3.4-beta.1 · Not notarized · Release notes
Download for macOS