Keepresso
Keepresso

Close the lid. Your Mac keeps working.

The keep-awake app that knows when to stop. Closed lid on battery, AI agents, Teams and Slack, and 20 smart triggers. Free and open source. No account, no trackers.

$brew install --cask gyorgysh/keepresso/keepresso

macOS 14+GPL-3.0signed + notarized7.6K downloadsProduct Hunt #14

Smart triggers

It knows when to stop

Choose your conditions. Keepresso holds the Mac awake while they are met, then allows normal sleep again.

  • Gaming

    Stay active in GeForce NOW

    The gaming trigger keeps the Mac awake. Keep me active can add small inputs; the cloud service’s own session rules still apply.

    Playing a game
  • Gaming

    Controller in hand, Mac awake

    The Mac stays awake while your selected controller is connected, even when you put it down.

    Game controller connected
  • AI and code

    Agents finish their run

    With the agent trigger and closed-display mode configured, Claude Code, Codex, or Cursor can keep working. Sleep is allowed again after the idle grace period.

    AI agent working
  • Meetings

    Stay awake through the call

    A camera or microphone in use keeps the Mac awake. Display behavior follows your session settings.

    Camera or microphone in use
  • Gaming

    Updates finish, then it sleeps

    The Steam trigger keeps the Mac awake during downloads, then allows sleep again.

    Steam is downloading
  • Creative

    Renders run to the last frame

    Select ffmpeg or another export process. The Mac stays awake until that process exits.

    Process running
  • Downloads

    Big downloads land

    Watch your download folder to keep the Mac awake during detected downloads.

    Download in a watched folder
  • Backups

    Time for backups

    The Mac stays awake while the selected backup drive is mounted. Eject it after the backup to end the condition.

    Volume mounted
  • At the desk

    Docked means awake

    The Mac stays awake while your selected external display is connected. Disconnect it to allow normal sleep again.

    External display connected
  • And more

    11 more conditions to mix

    • On AC power
    • Charging
    • On Wi-Fi network
    • VPN connected
    • Bluetooth device connected
    • Schedule
    • Calendar event in progress
    • Audio playing
    • Microphone in use by app
    • CPU above a threshold
    • Network activity
    All 20 conditions →

Built for the agentic era

Agents work through the night, the Mac sleeps when they finish

Keepresso detects active AI agents in your terminals and lets the Mac sleep after the last session has been idle for the grace period you choose. Connect Claude Code, Cursor, Codex, or Antigravity for per-session status. You can also choose to keep the Mac awake while an agent waits for your approval.

Leases, MCP, and the skill →
  • Claude Code
  • Codex
  • Cursor
  • Gemini
  • Grok
  • Antigravity
  • OpenCode
AI agentsMCPagent leaseKeepressoAwake

Keep me active

Green in Teams and Slack

Your presence dot stays Active instead of flipping to Away the second the mouse goes still, so people see you as around when you are at your desk but not typing.

  • Microsoft Teams
  • Slack
  • Remote Desktop
  • Citrix
  • GeForce NOW
Keep your status active →

Useful between sessions

Simple fixes for everyday Mac annoyances

Questions

Before you install

What is Keepresso?

A free menu-bar app for macOS that stops your Mac from going to sleep while you need it, then lets it sleep normally again.

Is it really free?

Yes. Keepresso is open source under GPL-3.0, with no account, no trial, no paid tier, and no trackers. Every feature on this page is in the free download.

Is it safe to install?

Each release is signed with a Developer ID certificate and notarized by Apple, and the full source is on GitHub. A plain keep-awake session needs no special permissions. Optional features ask for access only when you turn them on. Permissions, one by one →

How is it different from caffeinate or Amphetamine?

caffeinate keeps a Mac awake from Terminal until you stop it. Keepresso uses the same macOS power system from the menu bar, and adds triggers that hold the Mac awake only while something is running, closed-lid mode on battery, AI-agent detection, and a headless-Mac toolkit. It also gets regular updates. The full comparison →

Can it keep a MacBook awake with the lid closed?

Yes, on battery and without an external display. Closed-display mode changes a system power setting and requires administrator authorization. Approve the optional helper once for future use without password prompts; without it, authorization is needed again after restarting the app. Closed-lid setup →

Will it drain my battery?

An awake Mac uses more power than a sleeping one, so Keepresso keeps that time short. Triggers end the session when the work ends, timers end it on schedule, and it pauses on its own when the battery runs low or the Mac gets too hot.

Which Macs does it run on?

Any Mac on macOS 14 Sonoma or newer. A few hardware controls, such as the closed-lid fan minimum, only appear on Macs that support them.

Why is it not on the Mac App Store?

Closed-lid mode, AWDL control, and the other system features need a privileged helper, which the App Store sandbox does not allow. So Keepresso ships as a signed, notarized download from GitHub and Homebrew, and updates itself.

Read the full guides →

Install

One brew away

Whichever way you install it, Keepresso updates itself through Sparkle with digitally signed releases.

$brew install --cask gyorgysh/keepresso/keepresso

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.