Spark

Hold the Door Lid.

HODL keeps your Mac awake so your AI agents keep working overnight, with the lid open or closed. From 10 PM it turns on by itself, so you don’t have to remember.

A night-time Mac desktop. The HODL moon is lit in the menu bar, its panel reads “Awake · 82% · 7h 42m” with Cursor, Claude Code, Codex, and Herdr working, and on the desk below a closed MacBook glows from under its lid in front of a window full of city lights.
Download for Mac

Free · macOS 14 Sonoma or later · Apple silicon and Intel

The problem

Your Mac naps. Your agents stop.

You start a long agent run, close the lid, and go to bed. A few minutes later macOS sleeps, and the run stops halfway. In the morning you find a frozen terminal and a half-finished branch.

How it works

Turn on. Close. Wake to done.

  1. An open MacBook on a dark desk at night in front of city lights, beside the HODL panel reading “Awake · 82% · 7h 42m”, with Cursor, Claude Code, Codex, and Herdr marked Active, and tiles for Power, Lid, Battery, and Heat.
    01

    Turn it on.

    From 10 PM, HODL turns on by itself as soon as an agent is working. Earlier, click the moon in the menu bar or press ⌥ ⌘ L.

  2. A closed MacBook on a desk in a dim room, screen light glowing from the gap under its lid, city lights in the window behind, and a pill reading “Awake · lid closed · 3 agents working”.
    02

    Close the lid.

    On AC or battery, the Mac stays awake with the lid closed. HODL can dim the screen, mute sound, and pause chat apps until you open it again.

  3. Sunrise over the city through the window, a closed MacBook and a steaming coffee mug on the desk, and two notifications: “Agents finished” at 6:12 AM, and “Keeping your Mac awake” from 11:48 PM the night before.
    03

    Wake to done.

    When your agents go quiet, HODL lets the Mac sleep and tells you why it stopped.

Features

Awake, and careful about it.

HODL lives in your menu bar and keeps the Mac awake only as long as your agents need it.

Turns on by itself

Nothing to remember. From 10 PM, HODL keeps the Mac awake the moment an agent starts working, and lets it sleep once your agents finish.

Lid open or closed

Keeps the Mac awake with the lid open, closed, or either. A closed lid on battery needs an optional helper, and HODL always undoes its change.

A battery floor

Lets the Mac sleep at 15% battery by default, and turns on Low Power Mode at 40% so the night lasts longer.

Lets a hot Mac rest

Eases off when macOS reports serious heat, and lets the Mac sleep at once if it becomes critical.

Always stops

Overnight, timed, until 7 AM, or while an app runs, never past a 12-hour maximum unless you allow it.

From the terminal

hodl-run -- ./job.sh keeps the Mac awake while a command runs. A URL scheme and a local API cover the rest.

Every change has an undo

Nothing stays changed.

Before HODL changes lid sleep, brightness, or sound, or pauses an app, it writes the change down. Turn it off, quit, crash, or force quit: HODL, its next launch, or a small launchd backstop puts it all back. It always says why it stopped.

  • Agents finished
  • Battery floor
  • Too hot
  • Unplugged
  • Timer
  • App quit
HODL’s history over a softly blurred night city: staying awake from 11:48 PM, Quiet Mode dimming the screen and keyboard light, muting, and pausing Slack at 12:03 AM, Low Power Mode at 2:41 AM, and at 6:12 AM sleep allowed because every agent finished, then a restore of apps, sound, and brightness.
One night, written down and put back

The menu bar

Every agent, at a glance.

Click the moon for Cursor, Claude Code, Codex, Herdr, and Pi, plus the battery, the lid, and the heat. For Herdr, HODL asks each terminal’s status, so it knows exactly when Herdr’s agents work. Round switches keep the Mac awake, limit that to while agents work, turn the display off, go quiet when you close the lid, and turn sounds on or off.

The HODL panel in light mode, over a blurred MacBook and city lights: “Awake · 82% · 7h 42m”, agent tiles for Cursor, Claude Code, Codex, and Herdr marked Active, tiles for Power, Lid, Battery, and Heat, and round switches for Stay Awake, Agents Only, Display Off, Quiet Mode, and Sounds.

Which switches to turn on

Pick your night.

Stay Awake is the main switch. Nothing else keeps the Mac awake on its own.

Default

Awake overnight while agents run, lid open or closed

The default. From 10 PM, Stay Awake turns on by itself when an agent works. Sleeps about 10 minutes after they finish.

  • Stay AwakeOn
  • Agents OnlyOn
  • Display OffOff
  • Quiet ModeOff

Same, but dark and quiet with the lid closed

Closing the lid dims the screen, mutes sound, and pauses chat apps. Opening it brings them back.

  • Stay AwakeOn
  • Agents OnlyOn
  • Display OffDoesn’t matter
  • Quiet ModeOn

Awake for 8 hours, agents or not

Stays awake for the whole session, even after your agents finish.

  • Stay AwakeOn
  • Agents OnlyOff
  • Display OffDoesn’t matter
  • Quiet ModeDoesn’t matter

A normal Mac

Sleeps as usual. Nothing else matters while Stay Awake is off.

  • Stay AwakeOff
  • Agents OnlyDoesn’t matter
  • Display OffDoesn’t matter
  • Quiet ModeDoesn’t matter

On is blue in the menu bar, Off is grey. Whatever you choose, the Mac still sleeps at 15% battery or if it gets too hot. On battery, macOS sleeps when you close the lid unless you click Allow in the menu bar once; plugged in, nothing else is needed.

Install

Up and running in a minute.

  1. Download HODL.zip and open it.

  2. Drag HODL.app into Applications.

  3. Open it. The first time, macOS may say it can’t verify the developer. Go to System Settings › Privacy & Security and click Open Anyway. You only do this once.

  4. That’s it. From 10 PM, Stay Awake turns on by itself when an agent is working. Before then, click the moon in the menu bar and turn it on.

  5. Tip: For a closed lid on battery, click Allow in the menu bar and enter your password once. It lets HODL run four pmset commands and nothing else.

Privacy

Your code stays yours.

HODL sees which agents are running, never what they do. Hooks send only a session ID to your own Mac.

No account
nothing to sign up for
No network
it talks only to your Mac
No analytics
nothing is tracked
Never reads code
or prompts, or terminal output
Made by 1xAISource code on GitHubMIT license