Barista

Barista is a menu bar app for macOS. It keeps the Mac awake while Claude Code, Codex or another coding agent is working. Ten minutes after the last one stops to wait for you, it lets the Mac sleep.
It installs no hooks and asks for no password. It reads the process list and the transcripts the agents already write, then makes the same system call caffeinate makes. When an agent that worked for a minute or more stops, Barista sends a notification.
Barista started as a fork of Karan Bansal’s Crema, which gave it its power engine and turn detection.