Skip to content
Agent CaffeineDownload

Agent Caffeine vs Amphetamine

Agent Caffeine keeps a Mac awake while AI coding agents work. Amphetamine is a free keep-awake app for every other reason, with many Triggers. Here is how they differ.

Checked on

Amphetamine and Agent Caffeine, feature by feature
FeatureAmphetamineAgent Caffeine
PriceFree, no in-app purchases$9 once for 1 Mac, after a 7-day free trial
Where to get itMac App Storecaffeinagent.com or Homebrew
NeedsmacOS 10.13 or latermacOS 13 or later, Apple silicon and Intel
Source codeNot statedClosed source
Timed sessionsIndefinitely, for a time, or until a timeAlways on, or awake for 1 hour to 1 day
Starts by itselfTriggers: an app that runs, a Wi-Fi network, a display, the charger, processor use and moreWhen an AI coding agent works
Knows when an AI agent worksNo. A Trigger can watch an app that runsYes. Claude Code, Codex and Grok Build report their state; more than 40 agents in all
Sleeps when the work is doneWhen the session ends or its Trigger no longer appliesYes, when every agent is idle or done
Lid closedClosed-display mode. Apple silicon laptops need Power Protect, a separate installYes. On battery, with a helper you allow once
Stops at a low batteryYesYes, at 20% by default
Stops when the Mac is too hotNot statedYes
AutomationAppleScript, hot keysCommand line tool, keyboard shortcuts
MCP serverNot statedYes
Last update5.3.2, November 10, 20231.2.12, December 1, 2026

The Agent Caffeine column comes from this site. The Amphetamine column comes from its own pages, read on the day above. "Not stated" means that the page does not say. It does not mean no.

When Amphetamine is the better choice

Pick Amphetamine if you keep a Mac awake for many reasons: a download, a presentation, a Mac that must stay awake on one Wi-Fi network or while a display is connected. Its Triggers do that, and it is free.

Its newest version is from 2023, so test closed-display mode on your macOS before you rely on it. Our guide to the Amphetamine app has a short test.

When Agent Caffeine fits

Pick Agent Caffeine if you keep a Mac awake for AI coding agents. It reads whether Claude Code, Codex and Grok Build work, wait for you or are idle, keeps the Mac awake while they work, and lets it sleep when they are done. You do not turn it on and off.

It holds a closed lid on battery with a helper you allow once, and it stops for a low battery or heat. Scripts and agents can ask for a hold with the agent-caffeine command or the MCP server. See how to keep a Mac awake for Claude Code and Codex.

Sources: Mac App Store, README.

Is a cell wrong or out of date? Write to hi@caffeinagent.com and we correct it.

See Agent Caffeine next to more tools