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

More from Mado Kagerou

FULLMAC.app does not host this app. Download buttons lead to the developer’s own pages.