Adrafinil – keep a lid-closed Mac awake only while agents work
A month ago there was a wave of posts and tweets about engineers walking around cafes and parks with their MacBooks propped half-open, as fully closing the lid forces sleep that stops their AI agents. Some people made snarky comments about using tmux or Amphetamine, and some defended their choice with “but I only need it sometimes, and forgetting to disable Amphetamine and finding my laptop discharged in my bag is worse.” This is a solution to this problem. Unlike caffeinate, it will prevent your MacBook from sleeping even with the lid closed, with no external power or display, using pmset…
Adrafinil – keep a lid-closed Mac awake only while agents work launched on June 27, 2026 with 124 votes, #288 of 22,647 launches that month and more than 95% of that year's launches.
In plain words
Adrafinil is a macOS utility that keeps a laptop awake when the lid is closed, but only while AI agents are actively working. Unlike general sleep-prevention tools, it automatically detects when agents in Claude Code and similar applications are running and activates accordingly, then allows the computer to sleep normally when they stop. This prevents the need to prop open laptops or manually manage sleep settings.
written from the facts on this page · September 2026
From the sources
Keep your Mac awake only while AI coding agents are working - kageroumado/adrafinil
In the maker’s words, at launch
A month ago there was a wave of posts and tweets about engineers walking around cafes and parks with their MacBooks propped half-open, as fully closing the lid forces sleep that stops their AI agents. Some people made snarky comments about using tmux or Amphetamine, and some defended their choice with “but I only…
Does a similar job
all alternatives →


Agents Never SleepAug 2026 · agentsneversleep.app · ▲90Got tired of reaching for the terminal to caffeinate my mac and tweaking system settings Now got a new friend in my menubar Enjoy!
Modafinil - Let agents continue running while MacBook lid is closedMay 2026 · github.com · ▲15Let your agents run while your MacBook lid is closed - narcotic-sh/modafinil

More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 21d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 30d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part
Launched alongside, June 2026
the whole month →
Fundraisly▲1,537AI fundraising agent that finds investors and books meetings
AI · Jun 2026 · fundraisly.com
Homebrew 6.0.0▲1,481Today, I’m proud to announce Homebrew 6.0.0. The most significant changes since 5.1.0 are a new tap trust security mechanism, the new faster, smaller, default internal Homebrew JSON API, sandboxing on Linux, better defaults informed by our user survey, many brew bundle improvements, improved performance and initial support for macOS 27 (Golden Gate). Happy to discuss any questions here!
Dev tools · Jun 2026 · brew.sh

Hi HN! I was super frustrated at apps like tiktok and wechat preventing me from saving or downloading the animated gifs, so I made a little tool to turn a screen recording into a slack-sized emoji. Hope you get some value from this!
Life & fun · Jun 2026 · vorpus.github.io



Search 18 years of Hacker News and chart how any topic, tool, or person trended. Overlay terms to compare their rise and fall across 45M posts and comments.
Life & fun · Jun 2026 · hackernewstrends.com