OpenMacApps

Adrafinil

Keep a Mac awake with the lid closed only while AI coding agents are working.

GetView Source
brew install --cask adrafinil

MIT · Free download · Downloads from github.com

License
MIT
Open source
Category
AI
Source
GitHub
kageroumado
Verified
2026

About Adrafinil

Adrafinil listens to hooks from coding agents such as Claude Code, Codex, Cursor and Gemini CLI and holds off sleep, even with the lid closed, while any of them is mid-task. When the last session finishes, normal sleep resumes; a thermal cutout and cleanup of abandoned sessions limit unattended runs.

The current release needs macOS 26.4 or later and administrator approval for a privileged helper; the README links a community backport for macOS 15. It is also available as a Homebrew cask.

Information

Source code
kageroumado/adrafinil
License
MIT
Website
kagerou.glass
Download
github.com
Homebrew
adrafinil
Category
AI
Topics
Menu bar apps
Evidence checked

OpenMacApps links to each project’s official download. Check its release notes for macOS version and Apple silicon support. The verification date records our license and source review, not a security audit.

Sources and image credits

License and artwork notices

Improve this listing
See All You Might Also Like