Keep your Mac awake from the menu bar, even with the lid closed. A free, open source caffeine / Amphetamine alternative for macOS, built for developers running long jobs and AI agents.
-
Updated
Jun 17, 2026 - Swift
Keep your Mac awake from the menu bar, even with the lid closed. A free, open source caffeine / Amphetamine alternative for macOS, built for developers running long jobs and AI agents.
Keep your Mac awake while your AI coding agents work, and let it sleep when they are done. A caffeinate you can see: per-session working vs waiting for Claude Code, Codex, Gemini, Copilot and opencode. Amphetamine alternative for agent-heavy Macs.
MacAwake: keep your Mac awake from the menu bar. Free, open-source caffeinate and Amphetamine alternative for macOS. Prevent Mac sleep for 15 min to 4 hours, a custom time, or until you stop, with the screen on or off. Great for downloads, builds, and Claude Code / AI agents running overnight.
To associate your repository with the keep-mac-awake topic, visit your repo's landing page and select "manage topics."