Adrafinil

Dev tools

agent sleep prevention

SHOW HN2026

124points
78comments
#529of 4,366 in 2026
Top 13%of 2026 by points

How HN took it

CuriousMostly questions and neutral comments

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 HN
    • Nice. 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 HN
    • I 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 HN
    • For 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

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
  • 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 HN
    • It 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 HN
    • 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 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 HN
    • Caffeinate doesn’t prevent sleep with the lid closed.
      kageroumado on HN
  • cc-caffeine

    From 1 comment
  • 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

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/48701512)