Adrafinil
Dev tools
agent sleep prevention
SHOW HN2026
How HN took it
6 positive, 16 neutral or asking, 1 mixed, 8 critical, out of 31 comments about the project. Thread score -0.06.
Idea: 6 for, 5 againstExecution: 0 for, 2 againstPerformance: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful for keeping agents running overnight or on the move
From 2 comments
honestly this is the kind of boring tool that matters once agents run for hours. laptop sleep has killed more useful runs than bad prompts for me.
felixlu2026 on HNNice. I needed this yesterday, and will need it again today.
xbar on HN
Simple approach to an annoying problem
From 1 comment
This is exactly what the app does, except it ties it to agent activity and re-enables sleep once the turn ends, the laptop is close to overheating, the battery is low, or on a…
kageroumado on HN
Objections
Amphetamine already does this with existing features
From 2 comments
But Amphetamine has an option to end when an app closes. I’m just so confused why everyone using ai is reinventing solutions that already exist.
dawnerd on HNI am always baffled how many people does not know about Amphetamine.
strus on HN
Thermal risk when running a closed laptop in a bag
From 1 comment
What's old is new again, but I welcome this. I used to do this 15 years ago to keep listening to music from my laptop (one of the white chiclet ones) in my backpack, can't…
moralestapia on HN
Reimplements a one-line pmset command
From 2 comments
Um so it is ``` sudo bash -c 'touch KEEP_RUNNING; pmset -b sleep 0; pmset -b disablesleep 1; while [ -e KEEP_RUNNING ]; do sleep 1; done; pmset -b sleep 5; pmset -b disablesleep…
xlii on HNFor MacOS, keep awake with: sudo pmset -a disablesleep 1 Reset back: sudo pmset -a disablesleep 0
rancar2 on HN
Bloated for its purpose
From 2 comments
15k loc for this? holy cow
slopinthebag on HNRidiculous bloat.
cyclopeanutopia on HN
Requests
Track battery and token usage while agents run
From 1 comment
It would be great if adrafinil can also track the battery and token usage while agents are working
tam159 on HN
Questions
How it differs from existing sleep-prevention apps like cc-caffeine
From 1 comment
How does this differ from https://github.com/samber/cc-caffeine?
AussieWog93 on HN
Whether closed-lid operation throttles M-series CPUs
From 2 comments
Does closing the M-series laptop lid no longer throttle the CPU like it did on the Intel ones?
dcan on HNIt is supported https://support.apple.com/en-us/102555 but thermal throttling reduces performance…
Maxious on HN
Alternatives named
Amphetamine
From 2 comments
Amphetamine is what I use. It has a robust set of triggers, like if you ip address changes to a certain subnet (like private IPs on a work network)…
exabrial on HNBut Amphetamine has an option to end when an app closes. I’m just so confused why everyone using ai is reinventing solutions that already exist.
dawnerd on HN
caffeinate
From 2 comments
I have been using the builtin macOS `caffeinate` command for this. For example: caffeinate -dimsu That keeps the Mac awake so I can use Claude remotely from phone. You can also…
47 on HNCaffeinate doesn’t prevent sleep with the lid closed.
kageroumado on HN
cc-caffeine
From 1 comment
How does this differ from https://github.com/samber/cc-caffeine?
AussieWog93 on HN
modafinil status bar app
From 1 comment
This works great. Only downside is display doesn't turn off when you close the lid. Made a little status bar utility to wrap the disablesleep command and address that downside:…
hamza_q_ on HN