FreeDouble Shot is a free, open-source macOS menu bar app that keeps your Mac awake, with the lid closed too, and for as long as your AI coding agents are working.
- Detects when Claude Code, Codex, Gemini CLI, Cursor Agent, Copilot CLI, OpenCode, Amp or Aider are actually working, not just open.
- Lid closed mode uses pmset disablesleep, with a one-time password prompt that adds a sudoers rule.
- Stops at the first warm level, turns the dark display off, switches on Low Power Mode on battery, and lets go when the battery gets low.
- Quick picks from 15 minutes to 5 hours, or until you turn it off.
- MIT licensed. Install with Homebrew or download from GitHub. Not notarized by Apple yet, and it needs macOS 14 or later.
Double Shot suits anyone who starts a long agent run, closes the lid and expects the work to carry on.