pkg.soopen package index

cask

Install adrafinil with Homebrew Cask

Keep your computer awake while AI coding agents are working. Version 1.14.2 via Homebrew Cask; verified from local package data.

install

Additional install commands

macOS

Homebrew Caskverified · 100%
brew install --cask adrafinil

local Homebrew cask metadata

overview

Package summary

Keep your computer awake while AI coding agents are working

Commands and aliases

No executable aliases were found in the local package database.

history

Project history and usage

Adrafinil is an open-source macOS utility that keeps a Mac awake while AI coding agents are actively working and releases the hold when their work ends.

Project history

Adrafinil is an open-source macOS menu-bar application developed by Mado Kagerou. It was designed specifically to keep a Mac awake only while AI coding agents are actively working, including through lid-closed operation.

The project evolved into a multi-component system comprising a menu-bar interface, per-user daemon, privileged helper, CLI, agent hooks, and MCP access, with safeguards intended for unattended operation.

Adoption history

Adrafinil was created for the emerging workflow of leaving AI coding agents to work unattended on a Mac. Its integrations expanded across agent tools through lifecycle hooks, process detection, a command-line interface, and an MCP interface.

Homebrew cask distribution gives macOS users a package-managed route to the signed application and its privileged helper.

How it is used

Users install hooks from Adrafinil's settings so supported coding agents acquire a hold when work begins and release it when a turn or session ends. Concurrent agents are tracked independently.

The bundled CLI and MCP server support manual, scripted, and custom integrations. Lid-closed operation requires approval of a privileged helper; thermal, battery, timeout, and abandoned-session safeguards limit unattended holds.

Persistent preferences and daemon state are stored under `~/Library/Application Support/Adrafinil/`.

Why package nerds care

Adrafinil applies traditional Unix-style power management to agentic development: each active agent session acquires a reference-counted hold, and normal sleep resumes after the final session releases it.

It is technically notable for going beyond ordinary `caffeinate` assertions. A small privileged helper controls lid-closed sleep, while a user daemon supplies session tracking, crash recovery, low-battery protection, thermal cutouts, and cleanup of abandoned holds.

Timeline

  • 2026: The public release series established agent hooks, closed-lid operation, CLI and MCP control, and unattended-run safety mechanisms.
  • 2026: Subsequent releases expanded supported agents and refined automatic hold release, thermal protection, background-task handling, and updates.

Related projects

  • Apple's `caffeinate` command handles ordinary idle-sleep assertions but cannot by itself override lid-close sleep.
  • Adrafinil provides documented hooks for Claude Code, Codex, Cursor, Gemini CLI, Devin, Aider, Hermes, OpenCode, Cline, and Pi.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for adrafinil. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/Library/Application Support/Adrafinil/config.json

executables

Installed executables

CommandKindExposureNote
No executable data was present.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-15
manager version1.14.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/kageroumado/adrafinil

install metadata

Package metadata

Package keycask:adrafinil
Version1.14.2
Package managerHomebrew Cask
Package manager pagehttps://formulae.brew.sh/cask/adrafinil
Homepagehttps://kagerou.glass/adrafinil/
Repositoryhttps://github.com/kageroumado/adrafinil
Upstream docshttps://kagerou.glass/adrafinil/
Source archivehttps://github.com/kageroumado/adrafinil/releases/download/v1.14.2/Adrafinil-1.14.2.dmg
SHA-25699d6776a86ffd4ad313a3e8493e6f6369ca434007b380286f4e5fdbdb1bf72ad
Bottlenot recorded
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew cask API
Taphomebrew/cask
Full Tokenadrafinil
Names
  • Adrafinil
Depends On
Artifacts
Auto Updatesyes
Deprecatedno
Disabledno

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkgdb category and tag curation