macOS CLI that keeps your Mac awake with the lid closed on battery, so a local Codex, Claude Code, or Cursor session keeps running.
Cost / License
- Free
- Open Source (MIT)
Application type
Platforms
- Mac
- Rust
Germany
EU

Adrafinil is described as 'Keep your Mac awake only while AI coding agents are working' and is a prevent sleep mode app in the os & utilities category. There are more than 50 alternatives to Adrafinil for a variety of platforms, including Mac, Windows, Linux, Android and Flathub apps. The best Adrafinil alternative is goguma app, which is both free and Open Source. Other great apps like Adrafinil are Amphetamine, Caffeine for Windows, Stimulator and PowerToys - Awake.
macOS CLI that keeps your Mac awake with the lid closed on battery, so a local Codex, Claude Code, or Cursor session keeps running.

Smart auto-sleep & power management for developers, laptops & AI agents (Claude Code, Cursor, Aider, VS Code). Automatically sleeps or shuts down when coding tasks finish, plus instant deep sleep on charger unplug. Lightweight (~62 KB) & offline. Built by GMK Solution.




Keep your Mac awake only when needed, with a minimal control surface built for focused workflows.




A tiny macOS menu-bar app that keeps your Mac running even with the lid closed — so coding agents (Claude Code, Codex, etc.) keep working while you move around.

Close the lid. Keep coding. Hold My Lid keeps your Mac awake while Claude Code, Codex, and your other agents finish the job — lid shut, in your bag.
