SIAgentNews.com
← All news

Bulchimbeon keeps your Mac awake only while AI coding agents are working

A small Show HN menu bar app holds off Mac sleep during active agent runs, then lets go, so long jobs finish and the battery isn't drained overnight.

· First reported by github.com

5-minutegrace period before the Mac is handed back to sleep

The short version

  • It watches your own running processes and blocks idle sleep only while a supported agent looks busy
  • Works with Claude Code, Codex, Gemini CLI, Cursor Agent, Copilot CLI, Aider and OpenCode, plus custom agents
  • No hooks, no daemon and no root helper on the Mac; the only network call is a daily update check
  • Agents inside Docker or on a remote machine over SSH are not detected
  • A Linux build runs as a small daemon with a command line and tray icon

Why it matters

Long agent runs are becoming routine, and a laptop that dozes off halfway through wastes the job. The usual fixes are manual switches that are easy to forget. A tool that ties wakefulness to real work is a small but practical answer, and its design choices (what it inspects, what it sends) are worth knowing about.

A night watchman for your laptop

Anyone who starts a long job with an AI coding agent and walks away knows the problem. The Mac decides you are idle and goes to sleep, and the job stalls. As github.com reported on the project's page, a new Show HN tool called Bulchimbeon tries to fix that.

It is a menu bar app for macOS 13 and later. It keeps the Mac awake only while a supported agent is actually working. When the work stops, a small pixel-art soldier salutes with a "Shift over!" bubble and the Mac is free to sleep again.

The name is Korean. Bulchimbeon is the night-watch duty in the Korean army, where one person stays up so everyone else can sleep.

How it decides an agent is working

The app scans the processes run by your own user account and matches agents by executable name, install path or script path. It deliberately avoids loose text matching. The author gives an example: some Claude Code helper commands mention the tool's folder name, and a looser match would wrongly count them.

An open agent is not the same as a busy one. People often keep several Claude Code sessions open, so counting every open session would never let the Mac sleep. By default, an agent counts only when it shows recent activity of its own. The Linux status example shows one rule in action: CPU use of at least 2.0% on a 60-second average.

When the last agent goes quiet, there is a 5-minute grace period before handover. You can change that, or switch to the older behavior where any open agent keeps the machine awake. A --diagnose command shows what the app detects and which rule decided each case.

Supported agents are Claude Code, Codex, Gemini CLI, Cursor Agent, Copilot CLI, Aider and OpenCode. You can add your own with a settings command. Agents running inside Docker or on a remote host over SSH are not processes on your Mac, so they are not detected.

What it touches and what it sends

On the Mac the project says it needs no hooks (scripts added to an agent's own settings), no background daemon and no installed root helper. It is one app. Starting with version 0.12.6 it is signed with a Developer ID and notarized by Apple, which means macOS may ask only once whether to open a downloaded app. Earlier versions needed a manual override in System Settings.

On privacy, the author says the app reads only local process metadata and never stores or prints command lines or environment variables. Its only network request is a once-a-day check of GitHub for a newer release. That request carries just the app's version, and you can turn it off. GitHub will still see your IP address, as with any web request.

Nothing updates itself without a click. For zip installs, the app checks the download's checksum and code signature before replacing itself.

How it differs from caffeinate and its rival

The usual trick is the built-in caffeinate command, or another tool such as Amphetamine. The author calls those good for a manual, fixed wake lock. The trouble is forgetting to switch them off. A more drastic command that disables sleep entirely can leave a laptop running until the battery hits 0%. Bulchimbeon ties the lock to agent activity so it does not get left on overnight.

The page also points to an earlier tool, Adrafinil, and says the two take opposite approaches. It suggests Adrafinil if you are on macOS 26.4 or later and want hooks that track turns precisely. It suggests Bulchimbeon if you are on macOS 13 to 15, or do not want anything installed into your agent configs or system.

There is one catch with laptops. Keeping a closed lid awake is possible, but that mode needs administrator approval, and normal lid sleep returns when the watch ends or the app quits.

Linux, and where it stands

A Linux version runs as a small daemon with a command line and a tray icon. It uses the same decision logic as the Mac app, rewritten in Go and required to pass the same test cases. It was tested on Ubuntu 24.04 and needs systemd and logind, the standard Linux session and power services. Packages are listed for Homebrew, tarball, .deb and .rpm. Fedora and Arch repositories are marked as coming soon.

This is a small, practical project with a narrow job. The listing reads like careful work: it explains what it detects, what it sends and how to verify downloads. But it is a Show HN post, and the material does not show independent testing or wide use. Treat it as a useful idea worth trying, not a proven standard.

What to watch

  • Whether agents running in Docker or over SSH get detected in future releases
  • Whether the promised Fedora COPR and Arch AUR packages are published

Try it

Run pmset -g assertions in Terminal to see what is holding your Mac awake right now. If you install Bulchimbeon, add | grep -i bulchimbeon to check whether it is on watch.

Sources and links

First reported by github.com. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

More AI news