macOS caffeinate command keeps local AI agents running without sleep or lock

mohamedmansour · x · 2026-10-17

A handy macOS tip: the built-in caffeinate command prevents your Mac from sleeping, keeps the display on and avoids lock screens so locally running AI agents can continue working, even on battery. The author also used it to bypass a corporate policy that locks the machine after one minute of inactivity.

Original post →

More from coding & agent

coding & agent channel →