Free · macOS & Windows

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.

No account, fully local Open source Battery-safe
Awake — lid can stay closed
An AI agent is working
Mode
Auto
Battery
86%
Temp
Normal
Agent
Working
Claude Code · running
Watches your agents
Claude Code Codex Cursor Ollama Builds
The thing other apps miss

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.

caffeinate ✕ dies on lid close

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.

agent working ✓ stays awake, lid shut
How a run survives the night

Work starts, you walk away, it finishes — safely.

Working
Agent is running
Lid closed
You leave — it keeps going
Guarded
Battery & heat watched
Done → sleep
Run ends, Mac rests
Built for long, unattended runs

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 Қазақша.

Set up in a minute

Install once. It handles the rest.

01

Install Lumen

Open the app once; it sets up a small background helper with a single system prompt. That's the only setup.

02

It watches your agents

Lumen quietly detects when Claude Code, Codex or a build is working — no configuration required.

03

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.