Your Mac falls asleep the second you shut the lid — and your agent dies mid-task, dropping the connection and torching your tokens. agentaurine keeps the machine awake only while an agent is actually working, then lets it sleep the instant things go idle.
Clamshell sleep doesn't care that Claude was 40 minutes into a refactor. It pulls the plug — connection dropped, session gone, inference billed for nothing.
macOS forces the Mac to sleep the moment the lid closes. Your long-running agent loses its connection, the tool call never returns, and you come back to a dead terminal and a wasted bill.
A tightly-scoped power assertion (and optional lid-closed mode) keeps the machine alive only while an agent is working. It runs to completion, then everything sleeps. Battery saved, build finished.
agentaurine doesn't blindly hog your battery. It reads what Claude Code is doing and holds the line only when there's real work in flight.
Every few seconds it tails your Claude Code sessions in ~/.claude/projects and tells a running tool apart from a session that's just waiting on you.
It matches each working session to a real claude process by directory — so a crashed or finished agent can never hold your Mac hostage.
While work is in flight it holds an IOPMAssertion (plus optional lid-closed mode). The instant everything goes idle, it releases and your Mac sleeps.
Holds a power assertion strictly while an agent is mid-task. Idle? It steps back and lets you sleep.
Optional clamshell support so it keeps running with the lid shut — and always resets when it goes idle.
No telemetry, no calls home. It only reads local transcripts, process names, and your power source.
A featherweight Swift + AppKit menu-bar app. No Electron, no bloat — light as air.
Click the ⚡ for a tidy split of who's keeping awake vs. sitting idle, right now.
Choose whether to keep awake on battery. Off by default on the road, full power on the plug.
Set it once and forget it. Starts with your Mac and lives quietly in the menu bar.
It understands the transcript format natively — no guessing, no config, no allowlist babysitting.
Yes. macOS normally forces sleep on lid-close, which a plain power assertion can't override. Enable the optional lid-closed helper and agentaurine keeps the Mac awake in clamshell — and always resets the moment work finishes or you quit.
Only if you want it to. agentaurine holds the line strictly while an agent is working, then releases. You can also tell it to never keep awake on battery — so on the road it behaves like a normal Mac.
Never. There are no network calls and no telemetry. It only reads local Claude Code transcripts, the names of running processes, and your power source. That's the entire footprint.
It reads the tail of each Claude Code transcript to tell "a tool is running" from "waiting for your input," then confirms a live claude process is in that session's directory. No false positives from a crashed or finished session.
Just read access to your local transcript folder. Lid-closed mode installs one tightly-scoped sudoers rule that lets it toggle pmset disablesleep and nothing else — removable from the menu anytime.
macOS 14 and up, on both Apple Silicon and Intel. It's a tiny native Swift menu-bar app — no Electron, no background bloat.
Stop babysitting your battery and losing builds to clamshell sleep. Six-ninety, one time, forever.
Get agentaurine — $6.90