Belay is a macOS menu bar app that keeps your Mac awake while coding agents work, and lets it sleep normally again when they're done.
Features
- Zero setup — Claude Code, Codex and Cline are detected automatically. Nothing to configure, no key to paste.
- More agents — Gemini CLI, Copilot CLI, OpenCode, Cline (VS Code), Aider and Pi ship as presets. For anything else, watch a folder or process, or connect it yourself in the direct build.
- Precise detection — In the direct build, all three built-in agents can report the exact moment work starts, finishes or waits for you.
- Safety limits — Normal holds expire after 120 seconds unless Belay renews them. If Belay disappears, the Mac goes back to normal by itself.
- Timed holds — Always On can run for a chosen time with the countdown in the panel and on the dimmed screen.
- Battery safety — Set a maximum awake time and a battery floor. Belay also lets go on sleep, quit and mode changes.
- Agent teams — Claude Code subagents and Cline teammate agents appear under their session in the panel.
- Night dimming — While holding at night, Belay can dim the display to a chosen level on your schedule.
- Closed-lid hold — Opt-in for the direct build: keep working with the lid closed.
- Time saved — Belay counts the time it kept your Mac awake while you were away.
- Stays local — Agent detection stays on your Mac. No account, analytics or telemetry.
- Multilingual — English, Русский, Deutsch, Español, Français, Italiano, 简体中文.
Availability
- macOS 14+
- Apple silicon & Intel
- Free and open source
- Available on Mac App Store and GitHub Releases
- Homebrew:
perfectoweb/tap







