Close your lid Come back to finished work
Agent Caffeine keeps your Mac awake while your agents work, also with the lid closed. Then it lets your Mac sleep
- Free for 7 days
- No account, no card
It knows your agents
It finds more than 40 agents by itself, with no setup. You can add your own
- Claude Code
- Codex
- opencode
- Pi
- Cursor
- Antigravity
- Grok Build
- Gemini CLI
- Amp
- Goose
- Cline
- Windsurf
- OpenHands
- Junie
- Zencoder
- Trae
- Qwen Code
- Qoder
- CodeBuddy
- Mistral Vibe
- Devin
- Kilo Code
- Kiro CLI
- Hermes Agent
- OpenClaw
- Command Code
- GitHub Copilot
It lets your Mac sleep at the right time
It keeps your Mac awake for work, and for nothing else
Your Mac stays awakeClaude Code is waiting for you, for at least 1 more minute
Claude Code · wikiWaiting for your answer for44 minutesAn agent asks you something while you are away
Agent Caffeine keeps your Mac awake for 5 minutes, so you can answer. After that your Mac can sleep. You can change the time
34%34%
Agent CaffeineAgent Caffeine will let your Mac sleep because the battery is at 20%The lid is closed and your Mac runs on battery
Your agents keep working. Agent Caffeine lets your Mac sleep at 20% battery or when it gets too hot
- Claude Code
11 working- wiki-6eWorking for
66 minutes - 9 idle sessions
CodexIdle for66 minutes10 sessions are open and 1 is working
Only the session that works keeps your Mac awake
- wiki-6eWorking for
Your agent stays online when Wi-Fi drops
Your Mac joins your iPhone hotspot while an agent works, then goes back to your Wi-Fi when it returns
The details
Each one is in the menu or in Settings
Pause it for a while
Pause for 30 minutes, 1 hour or until tomorrow. Agent Caffeine starts again by itself
Your Mac stays awakeReachable until 11:41
Stay reachable from your phone
Your Mac stays awake for 1, 2 or 4 hours, so a message from your phone reaches your agent
The display dims as the lid closes
It dims from 45 degrees and is off with the lid closed, so it does not use battery or warm your Mac
- Play a sound when you close the lid and your Mac stays awakeSoundTinkPlay
A sound tells you your Mac stays awake
Close the lid while an agent works and you hear one short sound. No sound means your Mac goes to sleep. You can pick the sound or turn it off
Ask your agent to run any long job
A render, a training run or a test suite: your Mac stays awake until it ends, then sleeps
You ask Claude Code
Render the final animation and tell me when it is done
The Agent Caffeine menu shows
One click in Settings adds the skill, the command and the MCP server
Demo
Pick a situation and see what Agent Caffeine does
Try a situation
Claude Code asked you a question. Your Mac stays awake for 5 minutes, so you can answer. After that it can sleep
Or set it yourself
- Claude Code
- Codex
Time runs faster here. In the app an agent that waits for you keeps your Mac awake for 5 minutes, and you can change that time
Your Mac stays awake
Claude Code is waiting for you, for at least
- Claude Code · wikiAsked you a moment ago
- CodexIdle for
2525 minutes
Your Mac stays awake. Claude Code is waiting for you, for at least 5 more minutes
How it compares
Agent Caffeine follows what each agent is doing. Some of the other tools here are free
| Agent Caffeine | Adrafinil | Hold My Lid | LidRun | Clamshell | Amphetamine | |
|---|---|---|---|---|---|---|
| Price | $9 once | Free | $9.99 once | Free with the lid open | $9.99 once | Free |
| Lid closed on battery | Yes | Partly On battery: not stated | Yes | Yes | Yes | Partly On battery: not stated |
| Knows when an agent works | Yes | Yes | Yes | Partly Process check | No You arm it yourself | Partly |
| Sleeps when the work is done | Yes | Yes | Yes | Yes | Partly | Partly When the app quits |
| Joins your iPhone hotspot when Wi-Fi is lost | Yes | Not stated | Not stated | Not stated | Not stated | Not stated |
| Stops for low battery or heat | Yes | Yes | Partly Heat: not stated | Yes | Yes | Partly Heat: not stated |
Pricing
Free for 7 days, then
Full price $14Launch price $9
Pay once. Use it forever on 1 Mac
1 year of updates included. No subscription. Plus tax at checkout
Lost your key? Find it in your purchasesBought before? Check your email for a free new key
Questions
No. They keep your Mac awake for a set time or until you stop them. Agent Caffeine knows when an agent works, and lets your Mac sleep after.
No. When no agent works, your Mac sleeps as usual. On battery, Agent Caffeine also stops at 20%.
Only to stay awake with the lid closed on battery. You allow a small helper once in System Settings. Everything else works without it.
Claude Code, Codex and Cursor report their state. opencode, Pi and Droid do too, once you turn it on in Settings. For other agents it watches signs of work.
Yes. Choose Stay reachable, and your Mac stays awake for 1, 2 or 4 hours. With the lid closed on battery it needs the helper.
Yes. Lock your Mac the usual way: the power button, ⌃⌘Q or the lid. It stays awake while your agents work, and sleeps when they are done.
It sends anonymous feature counts and crash details to our server in Germany, never your projects or prompts. Turn it off in Settings. The privacy page has the details.
Your key is in your purchases on Polar. To move it to a new Mac, deactivate it on the old one, then enter it on the new one.
No, all sales are final after the 7-day free trial. One exception: if Agent Caffeine does not work for you and we cannot fix it, we refund you.


