June 27, 2026
Pill for your overworked laptop
Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work
Your sleeping Mac has a night shift now, and the comments are losing it
TLDR: Adrafinil is a Mac app that keeps a closed laptop awake only while an AI tool is still working, then lets it sleep normally afterward. Commenters were split between calling it genuinely handy and roasting it as a glorified old-school hack with a very dramatic drug name.
A new app called Adrafinil promises something weirdly specific and instantly relatable: let your Mac keep working with the lid closed only while an AI helper is still busy, then let it go back to sleep when the job is done. In plain English, it’s a smarter version of those apps that keep laptops awake nonstop. This one is supposed to wake up only for the robot coworker, not for nothing. And yes, the internet immediately turned that into a personality test.
The strongest reaction was a split between “finally, useful!” and “isn’t this just a fancy hack with better branding?” One commenter basically reduced the whole thing to a crude little script and a note saying, more or less, “Agent, delete this file when you’re done.” That sparked the classic maker-world tension: is this a polished tool solving a real annoyance, or an overdesigned wrapper around an old trick? Meanwhile, others loved it because they’ve been cobbling together cursed workarounds for years, from dummy monitor plugs to backpack music-era sleep hacks.
And the jokes? Oh, they came fast. One person asked, “Does it also make my Mac irritable?” because the app is named after a stimulant-like drug. Another side-eyed the whole naming trend: we’re naming software after obscure pharmaceutical compounds now? Add in warnings about laptops overheating in bags and you’ve got the full comment-section cocktail: nostalgia, skepticism, practical fear, and very online humor.
Key Points
- •Adrafinil is a macOS menu bar app that keeps a Mac awake only while AI agent sessions are active, including when the lid is closed.
- •The app is positioned as an alternative to always-on wake tools by releasing sleep control immediately after the last active agent session ends.
- •Clamshell sleep override requires root privileges, which the article says are confined to a minimal helper while policy runs in an unprivileged daemon.
- •The app supports hook integration for nine agent tools and provides a sub-50ms CLI for acquire and release operations.
- •The stated requirements are macOS Tahoe 26.4, Xcode 26+, Swift 6 strict concurrency, and admin rights for the standard install path.