Keep working. Lid closed.
Lumen keeps your Mac or PC awake only while your AI coding agent is actually working — even with the lid shut. The moment the run finishes, it lets you sleep.
Closing the lid isn't the same as going idle.
Caffeine-style tools only hold off the idle timer. Shutting the lid is a deeper sleep request they can't stop — so the instant you close the lid, your overnight run dies. Lumen uses the one lever that actually works, and ties it to real activity.
Most keep-awake apps
Block idle sleep only. Great at your desk — useless the second the lid clicks shut.
Lumen
Holds the machine awake through a closed lid only while the agent is working, with a battery-and-thermal guard, then lets it sleep.
Work starts, you walk away, it finishes — safely.
Everything an overnight agent needs.
Session-aware
Watches Claude Code and Codex activity directly, so it stays awake while the agent thinks — not just when the CPU spikes.
Runs lid-closed
The real fix for clamshell sleep — your run keeps going with the laptop shut, on battery, no external display needed.
Battery & heat guard
Backs off automatically on low battery and lets the Mac cool down — so an unattended run can't cook your laptop.
Timed sessions
Keep awake for 15 minutes to 8 hours, then fall back to automatic. One click from the menu bar.
Remote-friendly
A mode that keeps the machine reachable while you steer a session from your phone. Keep it on the charger and go.
Local & private
No account, no telemetry, no cloud. Everything runs on your machine — in English, Русский and Қазақша.
Install once. It handles the rest.
Install Lumen
Open the app once; it sets up a small background helper with a single system prompt. That's the only setup.
It watches your agents
Lumen quietly detects when Claude Code, Codex or a build is working — no configuration required.
Close the lid
The run keeps going, safely. When it finishes, your Mac goes back to sleep and saves the battery.
Let your agent work while you're away.
Free, open source, for macOS 12+ and Windows 10/11. Grab it and close the lid with confidence.
Builds are unsigned for now — on macOS right-click → Open the first time, on Windows choose More info → Run anyway. All releases live on GitHub.