Adrafinil for MAC
Free, open-source Mac app that keeps your Mac awake, even with the lid closed, while AI coding agents work, then lets it sleep when they finish.
Adrafinil Overview
Adrafinil keeps a Mac awake while an AI coding agent is working, even with the lid closed, and lets it sleep again as soon as the work is done. Hooks tell it when agents such as Claude Code, Codex, Cursor, Gemini CLI, Aider, Cline and others start and finish a task. It tracks several agents at once, and your Mac only goes to sleep after the last one ends. You can also hold the Mac awake for a set time, or let it sleep at any moment.
Safety is built in: a heat cutout lets the Mac sleep if it gets too warm with the lid closed, and holds left behind by abandoned sessions are released automatically. Adrafinil can also show a summary of activity and temperature when you open the lid. Closed-lid operation needs a small helper that an administrator approves once. Adrafinil is made by Mado Kagerou, the maker of Phosphene, and is free and open source under the MIT license. Version 1.13.1 needs macOS 26.4 or later.
Key Features
Adrafinil lets AI agents finish their work while your Mac's lid is closed.
- Stays awake for agents: only while an agent is working.
- Closed lid: keeps running with the lid shut.
- Many agents: hooks for Claude Code, Codex, Cursor, Gemini CLI and more.
- Several at once: sleep resumes after the last agent finishes.
- Heat cutout: lets the Mac sleep if it gets too warm.
- Abandoned holds: released automatically.
- Timed holds: keep awake for a set time, or let it sleep now.
- Command line and MCP: control it from scripts and agents.
What’s New in Version 1.13.1
Adrafinil 1.13.1 improves updates.
- Update Now always installs the newest release
- Checks for updates every four hours, and when you open the menu or wake your Mac
Adrafinil FAQ
Is Adrafinil free?
Yes. Adrafinil is free and open source under the MIT license.
Which macOS version does Adrafinil need?
Adrafinil 1.13.1 needs macOS 26.4 or later. A separate backport for macOS 15 is maintained by another developer.
What does Adrafinil do?
It keeps your Mac awake, even with the lid closed, while an AI coding agent is working, and lets it sleep when the work ends.
Which AI agents does Adrafinil support?
It has hooks for Claude Code, Codex, Cursor, Gemini CLI, Devin, Aider, Hermes, OpenCode, Cline and Pi, and can be connected to others.
How do I connect my agents?
Install the agent hooks in Adrafinil's Settings.
Is it safe to run with the lid closed?
Adrafinil has a heat cutout that lets the Mac sleep if it gets too warm, and it releases holds from abandoned sessions automatically.
Why does Adrafinil need administrator approval?
Keeping a Mac awake with the lid closed needs a small privileged helper, which an administrator approves once.
Does Adrafinil send data?
Only if you agree. It asks once whether to send one anonymous check-in a day.
Can I install Adrafinil with Homebrew?
Yes. Run brew install --cask adrafinil.
Where does the Adrafinil download on adrafinil.FULLMAC.app come from?
The download button leads to the official Adrafinil website at https://kagerou.glass/adrafinil/. adrafinil.FULLMAC.app does not change or repackage the app.
Similar Apps
AmphetamineAmphetamine keeps your Mac awake. Start a session from the menu bar and your Mac won't go to sleep, indefinitely, for a set time, until a set time, while a file downloads or while a particular app is running. You can choose whether the display may sleep, whether the screen saver may start and whether the Mac stays awake with its lid closed. Amphetamine is made by William Gustafson and is completely free: no ads, no in-app purchases and no Pro version.System Utilities
MonitorControlMonitorControl is a free, open-source app that lets you control the brightness and volume of an external display from your Mac, just as you would on an Apple display. Use the brightness and volume keys on your Apple keyboard, your own keyboard shortcuts or sliders in the menu bar, and MonitorControl shows the familiar macOS on-screen indicator. It is made by the MonitorControl team and released under the MIT license.System Utilities
BetterDisplayBetterDisplay gives you control over your Mac's displays from the menu bar. It can make external monitors fully scalable with sharp HiDPI resolutions, adjust brightness, volume and input on monitors that support DDC, create virtual screens, and disconnect or reconnect displays without unplugging a cable. Some of these are Pro features. BetterDisplay is developed by waydabber at Kodeon Software.System Utilities
WhatCableUSB-C cables all look alike, but a charge-only USB 2.0 cable and a 240 W, 40 Gbps Thunderbolt cable are very different. WhatCable is a small menu bar app that tells you, in plain English, what each USB-C cable plugged into your Mac can actually do. For every port it shows a clear headline, such as Thunderbolt, display connected or charge-only cable, plus the cable's speed and power rating, the charger's power profiles and the connected device. When your Mac charges slowly, a banner points to the bottleneck, for example a cable rated below the charger.System Utilities- AlDenteAlDente lets you set a charge limit for your MacBook's battery. Instead of always charging to 100%, your MacBook stops at the level you choose, for example 80%, which can help the battery keep its capacity for longer when the Mac is plugged in most of the time. AlDente runs in the menu bar and works with most Apple Silicon and Intel MacBooks. It is made by AppHouseKitchen.System Utilities
DantroleneDantrolene is a menu bar app that stops your Mac's screen from locking while you are on your home Wi-Fi. You choose the home network once from the menu bar; in automatic mode the Mac stays unlocked there, and as soon as you join any other network, normal locking returns. The display still dims and goes dark after your usual idle time, and a touch of the mouse or keyboard brings it back without a password. Dantrolene steps aside when Zoom, a presentation or another app keeps the display awake.System Utilities
More from Mado Kagerou
ColuracetamColuracetam is a Markdown reader and editor for Mac that shows the same rendered preview everywhere. Press the spacebar on a .md file in Finder and Quick Look shows it rendered in color, and Finder shows generated thumbnails of your Markdown files. Open a file in the app and you get a live split: plain monospace source on one side and the rendered page on the other, with text selection and search that work across the whole rendered document.Productivity
DantroleneDantrolene is a menu bar app that stops your Mac's screen from locking while you are on your home Wi-Fi. You choose the home network once from the menu bar; in automatic mode the Mac stays unlocked there, and as soon as you join any other network, normal locking returns. The display still dims and goes dark after your usual idle time, and a touch of the mouse or keyboard brings it back without a password. Dantrolene steps aside when Zoom, a presentation or another app keeps the display awake.System Utilities
RilmazafoneRilmazafone is a Mac app for developers who ship their apps as disk images. You arrange the installer on a canvas that matches the Finder window: drag in your app, get an Applications shortcut and an arrow, add extra files, and place everything with guides. Backgrounds can be images, gradients or solid colors, with color adjustments, vignette, bloom, variable blur, styled text, SF Symbols and frosted panels behind icons. One click then builds the .dmg, with a choice of compression format and of APFS or HFS+, signed with an identity from your keychain.Developer Tools
PhosphenePhosphene lets you use your own videos as wallpapers on macOS. It adds them to System Settings → Wallpaper through the same system that plays Apple's Aerial wallpapers, so you pick a video there just like a built-in wallpaper, and macOS plays it on the desktop and the lock screen, even after you quit Phosphene. Drag a video into Phosphene's library or onto its menu bar icon, then choose it in System Settings. It plays MP4, MOV, HEVC, H.264, ProRes and other formats your Mac can decode, with gapless looping.Customization
FULLMAC.app does not host this app. Download buttons lead to the developer’s own pages.