AI & Machine Learning

Adrafinil

Keep your Mac awake only while AI coding agents are working

By kageroumado. Free and open source for macOS. Latest version v1.14.1, released 2026-11-03.

Is Adrafinil safe?

Trust score 62/100: Good. A solid project with a few gaps. Download from the official release and keep it updated.

Things to watch:

531 GitHub stars · 7.7k downloads.

Download Adrafinil

brew install --cask adrafinil

Downloads come straight from github.com/kageroumado/adrafinil.

About Adrafinil

Adrafinil keeps a Mac awake through a closed lid while a coding agent works, then releases the hold when the turn ends. Hooks track active work across agents; a thermal cutout and automatic release of abandoned holds limit unattended runs.

• Keep a closed-lid Mac running for the duration of agent work. • Track overlapping agents independently; sleep resumes after the last hold ends. • Limit unattended holds with a thermal cutout and abandoned-session cleanup.

Full feature list • Hooks for Claude Code, Codex, Cursor, Gemini CLI, Devin, Aider, Hermes, OpenCode, Cline, and Pi. • Per-session acquire/release, timed holds, and manual Let it sleep control. • Closed-lid sleep control through a privileged helper. • CLI and MCP access; custom integrations through hooks or command wrappers. • Thermal cutout and automatic release of abandoned holds. • Optional detection of running agent processes, lid-close audio confirmation, and a lid-open activity/temperature summary. • Hook removal during uninstall.

Nothing is sent unless you say so. The menu asks once; Settings › General holds the choice. If you count yourself in, Adrafinil sends one anonymous check-in on each day you use it: its own and macOS's versions, the chip family and memory size, the language and the date, how many of the last 7 days you used it, whether this Mac has a lid, and how many kinds of agent it kept awake in the last week. It never includes which agents you run, what you work on, or anything that names you. Turning it off deletes everything this Mac sent. What is kept, for how long, and how an install proves itself.

Similar apps

Questions

Is Adrafinil safe to download?

Adrafinil has an OpenShelf trust score of 62/100 (Good). A solid project with a few gaps. Download from the official release and keep it updated. Main thing to watch: No OpenSSF Scorecard report yet, so security practices are unverified.

Is Adrafinil free?

Yes. Adrafinil is free and open source under the MIT license. The source code is public at github.com/kageroumado/adrafinil.

Does Adrafinil work on macOS?

Adrafinil is available for macOS. Ready-made downloads exist for macOS.

How do I install Adrafinil?

Download the official file from the project's GitHub releases (for example Adrafinil-1.14.1.dmg) and run it. Or install it with: brew install --cask adrafinil.

What are alternatives to Adrafinil?

Similar open-source apps: Lockpaw (trust 57/100), Munder Difflin (trust 64/100), Insomnia (trust 64/100), Spectra (trust 59/100).