Skip to content

Adrafinil

@kageroumado · Keeps a Mac awake while AI agents work with the lid closed, then allows it to sleep when their sessions end.

CaskUtilitiesAuto-updates 535
Install command
brew install --cask adrafinil
30-day installs
60
#1302 in App
1-year installs
274
Last 365 days
Latest version
1.15.0
Download size
5.0MB
dmg
Release cadence
Weekly
5 releases in 30 days

About

Adrafinil is a macOS app that keeps a Mac awake while AI agents are working, even with the lid fully closed. It releases the wake hold when the last active session ends, allowing the Mac to sleep normally rather than staying awake indefinitely.

  • Agent activity can acquire and release wake assertions; overlapping sessions are counted so sleep resumes after the final session releases its hold.
  • The official site describes hook setup for Claude Code, Codex, Hermes, and other agents, plus time-limited holds for work that continues beyond an agent turn.
  • A chime confirms a hold when the lid is closed. The app also provides a morning activity summary and a thermal cutout that releases the hold if the Mac gets too hot.
  • The app uses pmset disablesleep while work is held, which also suppresses idle sleep during that time. A small privileged helper supports the closed-lid sleep override.

Install with brew install --cask adrafinil. The cask requires macOS Tahoe (macOS 26 or later) and installs Adrafinil.app in /Applications.

Official website · Homebrew cask

At a glance

Price
Free
System
macOS 26 or later
Chip
Apple silicon · Intel
Auto-updates
Yes
Repository
Open source · MIT · Updated 0 days ago★535
Developer
@kageroumado
Homebrew
Available; the app updates itself
Also known as
adrafinil
Homepage
kagerou.glass/adrafinil
Token
adrafinil

Checked

What’s new in 1.15.0

New OpenNavo editorial

  • AwakeNew off-by-default setting keeps a plugged-in MacBook awake with the lid closed
  • AntigravityThe Antigravity app and the agy CLI keep the Mac awake while they work
  • HoldsBackground holds now last their full TTL instead of ending after 90 seconds

How to install Adrafinil on Mac

Homebrew installs the app in your Applications folder.

Install without Homebrew

Download the same file Homebrew uses: Install Details

Uninstall Adrafinil and optional data cleanup

Uninstall command
brew uninstall --cask adrafinil

A regular uninstall removes the app and keeps its settings and caches.

Deep clean (optional)
Uninstall command
brew uninstall --zap --cask adrafinil

--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.

Questions about Adrafinil

Is Adrafinil safe?

Adrafinil is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 60 times through Homebrew in the last 30 days.

Is Adrafinil free?

Yes, Adrafinil is free to use. Source: kagerou.glass/adrafinil, checked Oct 18, 2026.

Is Adrafinil open source?

Adrafinil’s source code is public on GitHub (kageroumado/adrafinil) under the MIT license.

How do I completely uninstall Adrafinil on a Mac?

Run brew uninstall --cask adrafinil. It quits the app. To delete its settings and caches as well, run brew uninstall --zap --cask adrafinil. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 4 files and folders, including ~/Library/Application Support/Adrafinil.

Does Adrafinil run on Apple silicon (M1 and later) Macs?

Homebrew installs it on both Apple silicon and Intel Macs, from the same download. It needs macOS 26 or later.

Where does Adrafinil store its settings and data?

Its settings are in ~/Library/Preferences/glass.kagerou.adrafinil.plist. Its data is in ~/Library/Application Support/Adrafinil. These locations come from Homebrew’s clean-up list.

What is the latest version of Adrafinil?

The latest version is 1.15.0, added to Homebrew on Dec 1, 2026. Adrafinil updates itself; to update it with Homebrew, run brew upgrade --cask --greedy adrafinil.

Similar Apps

  • ClamshellKeeps a MacBook running with its lid closed and built-in display off, without an external monitor.
  • DocksideA macOS file shelf and Dock companion for drag-and-drop staging, recent files, folder monitoring, and configurable drop-zone workflows.
  • BlankieA macOS ambient-sound mixer for layering sounds, saving custom mixes, and setting a sleep timer.
  • Lingon XA macOS utility for creating and editing scheduled tasks that launch apps, scripts, shortcuts, or commands.
Browse all apps