Skip to content
The Daily Repo

kageroumado / adrafinil

Keep your Mac awake only while AI coding agents are working

Why this job: says: coding agents, ai coding; topics: coding-agents, claude-code, codex

Adrafinil

What it does

  • Keep a closed-lid Mac running for the duration of agent work.
  • Track overlapping agents independently; sleep resumes after the last hold ends.
  • Limit unattended holds with a thermal cutout and abandoned-session cleanup.
  • Hooks for Claude Code, Codex, Cursor, Gemini CLI, Devin, Aider, Hermes, OpenCode, Cline, and Pi.
  • Per-session acquire/release, timed holds, and manual Let it sleep control.

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit 4 days ago
Stars
525
+3 this week
Licence
MIT
Allows business use
Downloads for
Mac
From the latest release
Latest version
v1.14.1
Released 6 days ago
Built with
Swift
100% of the code

Is it looked after?

Contributors
7
Last 90 days
Issues
95% closed
1 still open
Pull requests
9 merged
1 waiting
Releases
23
23 in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
st0012 / cctop16157 days agoMITMac
More: download files, languages, topics and project record

Download files, v1.14.1

  • Mac1 file, 921 downloads

All files on GitHub (opens in new tab)

Languages

  • Swift 100%
  • Shell <1%

Topics

  • ai-agents
  • amphetamine
  • caffeinate
  • caffeine
  • clamshell
  • claude-code
  • codex
  • coding-agents
  • keep-awake
  • macos
  • macos-app
  • menu-bar-app

Project record

  • JobCoding agents
  • StatusListed
  • Commits205
  • Forks26
  • Watching2
  • Stars in 28 days+21
  • CreatedJun 5, 2026
  • First seen by usNov 7, 2026
  • CheckedNov 7, 2026

Type to search.

Try