A tiny macOS menu-bar app that keeps your Mac running even with the lid closed — so coding agents (Claude Code, Codex, etc.) keep working while you move around.

Amphetamine is described as 'Little app that lives in your menu bar which can effortlessly override your energy saver settings and keep your Mac awake' and is a popular prevent sleep mode app in the os & utilities category. There are more than 50 alternatives to Amphetamine for a variety of platforms, including Mac, Windows, Android, Linux and F-Droid apps. The best Amphetamine alternative is Caffeine for Windows, which is free. Other great apps like Amphetamine are PowerToys - Awake, Stimulator, KeepingYouAwake and Caffeine for Mac.
A tiny macOS menu-bar app that keeps your Mac running even with the lid closed — so coding agents (Claude Code, Codex, etc.) keep working while you move around.
