# Adrafinil

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

> This is the Markdown version of the Adrafinil page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/adrafinil>

- **Latest version**: `1.15.0`
- **Developer**: @kageroumado
- **Homepage**: <https://kagerou.glass/adrafinil/>
- **Categories**: [Utilities](https://opennavo.com/categories/utilities)
- **Install**: `brew install --cask adrafinil`
- **30-day installs**: 60
- **Homebrew**: Available; the app updates itself
- **Download URL**: <https://github.com/kageroumado/adrafinil/releases/download/v1.15.0/Adrafinil-1.15.0.dmg>
- **SHA-256**: `828f1146fcf937bcfc2163ad763ff87a5b4a3a195e2b526046365df2ae893149`

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "glass.kagerou.adrafinil"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "Adrafinil.app"
      ],
      "target": "/Applications/Adrafinil.app"
    },
    "phase": "install",
    "sources": [
      "Adrafinil.app"
    ],
    "target": "/Applications/Adrafinil.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/Adrafinil",
            "~/Library/Caches/glass.kagerou.adrafinil",
            "~/Library/Preferences/glass.kagerou.adrafinil.plist",
            "~/Library/Saved Application State/glass.kagerou.adrafinil.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 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](https://kagerou.glass/adrafinil/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/a/adrafinil.rb)

## System requirements

- macOS 26 or later · Version: 1.15.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/adrafinil.rb> · Checked 2026-12-02
  - <https://github.com/kageroumado/adrafinil/releases/download/v1.15.0/Adrafinil-1.15.0.dmg>
  - SHA-256: `828f1146fcf937bcfc2163ad763ff87a5b4a3a195e2b526046365df2ae893149`
- macOS 26 or later · Version: 1.15.0 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/adrafinil.rb> · Checked 2026-12-02
  - <https://github.com/kageroumado/adrafinil/releases/download/v1.15.0/Adrafinil-1.15.0.dmg>
  - SHA-256: `828f1146fcf937bcfc2163ad763ff87a5b4a3a195e2b526046365df2ae893149`

## Price

- Free — Official website: <https://kagerou.glass/adrafinil/> · <https://kagerou.glass/adrafinil/> · Checked 2026-10-18

## Adrafinil security facts

Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.

- <https://github.com/kageroumado/adrafinil> · Open source: Yes — <https://github.com/kageroumado/adrafinil> · Checked 2026-11-14

## Uninstall

- `brew uninstall --cask adrafinil`

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

### Deep clean (optional)

- `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`.

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

- Files and folders: `~/Library/Application Support/Adrafinil` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/adrafinil.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Caches/glass.kagerou.adrafinil` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/adrafinil.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/glass.kagerou.adrafinil.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/adrafinil.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Saved Application State/glass.kagerou.adrafinil.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/adrafinil.rb> · These entries come from the Homebrew definition, checked 2026-12-02. They say what it declares, not what is on your Mac.

## Latest release notes

### 1.15.0 (2026-12-01)

Adrafinil 1.15.0 adds an off-by-default setting that keeps a plugged-in MacBook awake with the lid closed, supports Google Antigravity and the agy CLI, and fixes background holds ending early. (GitHub Release v1.15.0, 2026-12-01) https://github.com/kageroumado/adrafinil/releases/tag/v1.15.0

**Awake**

- New off-by-default setting keeps a plugged-in MacBook awake with the lid closed

**Antigravity**

- The Antigravity app and the agy CLI keep the Mac awake while they work

**Holds**

- Background holds now last their full TTL instead of ending after 90 seconds

**Thermal**

- A thermal cutout now clears only after ten sustained cool minutes

**Sleep**

- After a safety cutout with the lid closed, asks the Mac to sleep outright

## Facts and sources

- <https://opennavo.com/apps/adrafinil>
- <https://opennavo.com/apps/adrafinil/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/adrafinil.rb> · Checked 2026-12-02
- <https://formulae.brew.sh/cask/adrafinil>
- <https://kagerou.glass/adrafinil/> · Checked 2026-10-18
- <https://github.com/kageroumado/adrafinil> · Checked 2026-11-14
