Keepresso
Keepresso

Caffeination with an off switch

Keepresso keeps your Mac awake, on your terms

Your Mac sleeps at the worst moments: mid-download, mid-render, mid-call, mid-agent-run. Keepresso keeps it awake exactly when it should be, then lets it rest. Free and open source, it lives in the menu bar with no account, no trackers, and no license fee.

$brew install --cask gyorgysh/keepresso/keepresso
macOS 14+Swift + SwiftUIGPL-3.0signed + notarized

Everything it does

Awake only when it should be

Every situation where a Mac should not doze off, covered. Browse by what starts a session, how you control it, what it changes, or how automation reaches it.

Closed-display mode

Close the lid, it keeps working

Downloads, builds, agents, SSH, and backups run to completion with the lid shut.

How it works →
Activeidle timeoutaway
the idle timer resets before it ever reaches away, no mouse to jiggle

Keep me active

Stay active, even when you step away

Remote-desktop sessions, VDI, and chat apps flip you to away the moment you stop typing, and some corporate systems log you out for it. Keep me active reports activity to macOS so you stay present while you read, watch, or think.

Keep your status active →
agent turnsbuild + testsresearchreportemailagent leaseasleeplease · heartbeatswake · 02:5722:0001:0004:0007:00ZZZ
an agent works on a lease, the mac sleeps, then a scheduled wake at 02:57 catches the 03:00 routine

Built for the agentic era

The quiet must-have for an always-on Mac

Leave an agent running overnight and your Mac stays up only while it works. The AI agent trigger watches claude, cursor, codex, gemini, and friends in your terminals, and stands down once the last session has been quiet for the grace period you set. Connect Claude Code, Cursor, Codex, or Antigravity and each session reports its own state, so a pause for a permission prompt still counts as working.

Leases, MCP, and the skill →
120FPSping (ms)52 msstutter11 mslocked, Keepresso onControllerAWDL pausedCPU boostKept awake
controller in hand, radio quieted, frames locked: Keepresso keeps the session smooth and awake

Gaming and streaming

Optimize gaming and prevent sleep

macOS shares your Wi-Fi radio with AWDL, the layer behind AirDrop and Handoff, and every scan for nearby devices is a latency spike. Keepresso spots the session and quiets the radio for it.

The AWDL deep-dive →
no displaymac-mini.local2560 × 1440 · HiDPI
no monitor on the mini; a crisp Retina desktop, streamed to wherever you sit

Headless Mac mini and Studio

Keep a headless Mac awake and remotely accessible

Tuck a Mac mini or Mac Studio away as a build machine, agent host, or home server. Keepresso walks you through making it stay awake, survive a power cut, and come back on its own, then serves a crisp Retina desktop over Screen Sharing, so checking logs or your MyAgens panel feels like sitting right in front of it.

The headless checklist →

Sessions & control

Keyboard Cleaner

Lock the keyboard while you wipe it, without typing into the frontmost app or accidentally opening Mission Control, Spotlight, or Dictation.

How it works →

Sessions & control

Public Wi-Fi tools

When a cafe or hotel login page refuses to appear, open the captive portal, flush DNS, or cycle Wi-Fi from one small recovery panel.

How it works →
General preferences: prevent display and system sleep, dim the display when idle, launch at login, a global keep-awake shortcut, and the app language
general
Trigger preferences: activate on any of AI agent working, on AC power, playing a game, or CPU above 50 percent, with Claude Code connected and conditions grouped under Power & Display, Network & Devices, and Apps & Activity
triggers
Activity preferences: live power assertions and a decision log of why each session started or stopped
activity
Display preferences with the experimental headless virtual display on: a 2560 x 1440 HiDPI Retina resolution
headless display

Preferences

Set it and forget it

Everything configurable lives in seven tabs, with the Gaming & Streaming tools in their own window. The menu stays a one-click affair.

what keeps it awake

Install

One brew away

Either way, Keepresso keeps itself up to date from there with signed Sparkle releases.

Homebrew

$brew install --cask gyorgysh/keepresso/keepresso

Installs the signed, notarized app straight from the tap, and puts the keepresso command on your PATH so scripts can reach it right away. Update along with the rest of your casks, or let the app update itself.

Manual

Download the latest DMG from Releases, drag Keepresso to Applications, and launch it. Click the cup in the menu bar and you are brewing.

Want the keepresso command too? A DMG install does not touch your PATH, so link it once.

Closed-display mode flips a system setting (pmset disablesleep), so it needs administrator approval. Approve the helper once under Login Items and it never asks again.

Works well with

tokenstat
Pairs well · tokenstat.ai

What would your night shift cost?

tokenstat turns every session from Claude Code, Codex, Cursor, and every other harness and agent on that Mac into one heatmap and dashboard. It prices everything at list rates, so you can see exactly what the work would cost if you paid the APIs yourself, and how much value your subscription already gives you. Local by default, with a free plan and source code available.

Claim your handle now
all your AI activity, every harness and agent, in one dashboard