Agentwake

Open beta for macOS

Agentwake knows when your unattended work is done.

It watches your AI coding agents, Claude Code, Cursor, Codex, Gemini and more, and keeps your Mac awake, lid closed if you want, only while they are working. The moment the last one finishes it can notify you, run your Shortcut, and put the Mac to sleep. And it locks your keyboard so you can clean it. That part is free.

Become a beta tester
Agentwake knows when your unattended work is done.

The three-hour run that died at minute four

You kick off a three-hour agent run, close the lid, and the Mac goes to sleep at minute four. So you prop the lid open with a book and leave the machine running warm all night for a job that finished at 1 AM. Keep-awake apps hold the Mac awake; none of them knows when the work is done.

How it knows: hooks, a process fallback, and a fail-safe

Agentwake installs a tiny activity hook into each coding tool with one click (nine tools built in, custom agents supported), and falls back to process detection for tools without hooks. Every session reports a heartbeat; when the last one goes quiet, the work is done. The design is fail-safe: a missed signal lets the Mac sleep. It never gets stuck awake.

A first look

AI coding mode
Stay awake while Claude Code or Codex works, then sleep after it goes idle. One paste wires the hook, and Agentwake detects the tool.
End-of-session automations
When a session ends, run a sequence you pick: notify, run a Shortcut, lock, sleep. Choose it per trigger: AI idle, time limit, schedule end.
Keep Awake
Stop system and display sleep, cap it with an auto-off, and keep running with the lid closed through a signed helper.
Glance and know
The menu-bar icon shows the state at a glance: off, keeping awake with a sun, or an unread alert.

From overnight Claude Code runs to a clean keyboard

Agents overnight

Start Claude Code or Codex before bed and close the lid. Agentwake holds the Mac awake exactly as long as the run lasts, then notifies you, runs your Shortcut, and lets it sleep.

Renders and backups

Long exports, builds, and backup jobs get a timed or scheduled hold with battery and thermal guards, and the lid-open summary tells you how it went.

Presentations

A quick menu-bar hold keeps the display awake through a talk or a screen share, then expires on its own. No trip to System Settings.

Cleaning the keyboard

Lock the keyboard and trackpad for a set time, wipe everything down, and triple-press Escape if you need out early. That part is free.

The Amphetamine alternative for AI agents, compared honestly

Amphetamine is excellent and free, and it deserves its reputation. But like every mainstream keep-awake app it has no idea what your agents are doing. Two newer tools do: Adrafinil (free, macOS 26.4+ only) and Agent Caffeine ($9). A third, Vigil (free, macOS 13+), does not detect agents either, but it goes further than Amphetamine on scheduling, profiles, and session history. Here is the honest picture, feature by feature, sources checked July 2026. If you're looking at Agentwake as an Adrafinil alternative, an Agent Caffeine alternative, or a Vigil alternative, the table below has the facts, not the pitch.

Feature comparison between Agentwake, Amphetamine, Adrafinil, Agent Caffeine, and Vigil
FeatureAgentwakeAmphetamineAdrafinilAgent CaffeineVigil
PriceFree for beta testers (lifetime); €3.99 Sept 2026, then €7.99FreeFree (MIT)$9 one-timeFree
macOS required14+10.13+26.4+13+13+
Detects AI coding agentsYes(hooks + process fallback)NoYes(hooks + process fallback)Yes(process polling, 5 s)No
Agent tools covered9 built-in + custom UIn/a9 hooks + custom via CLI40+ allowlist, editablen/a
Awake only while agents workYesNoYesYesNo
End-of-session action chain (notify, Shortcut, lock, sleep)Yes(cancellable countdown)No(AppleScript for external automation)NoNoPartial (lock on end only)
Agent notifications (idle / unexpected end / long-run)YesNoNoNoNo
Clamshell: lid closed, no external displayYes(built-in helper)Partial (separate Enhancer app)YesPartial (one-time sudo setup on battery)Partial (AC power only)
Lid-close chime + pre-sleep soundsYes(chime + 4 motifs)NoPartial (chime)NoPartial (session start/end sound)
Lid-open summaryYesNoYesNoNo
Thermal guardYes(pause + auto-resume, configurable)NoPartial (force-release)NoNo
Battery guards (cutoff %, only-while-charging)Yes(both)Partial (low-battery auto-end)NoNoPartial (fixed 20% cutoff)
Native scheduling (one-shot + weekly)YesPartial (clock-time triggers)NoNoYes(schedule + profiles)
SSH-reachable CLIYesNoYesNoYes(Terminal, Shortcuts, CI)
MCP tool for agentsYesNoYesNoNo
Timed holds from the menuYes(presets + readout)Yes(durations)Yes(time-boxed)NoYes(5 min to 4h + custom, countdown)
Session history, metrics, billing, token costYesNoNoPartial (reads Claude session files)Partial (last 100 sessions, weekly total)
In-app alerts logYesNoNoNoNo
Keyboard/trackpad cleaning lockYes(free)NoNoNoNo

The mainstream field, briefly: KeepingYouAwake (free, MIT), Caffeinated ($3.99), and Lungo ($4) are manual on/off tools. None of the three detects agents, schedules natively, runs end-of-session actions, or supports a closed lid without an external display.

Where Agentwake stands alone in this table: end-of-session action chains, the agent notifications suite, the dashboard with billing and token cost, an alerts log tied to AI-agent events, a thermal guard that pauses and resumes, configurable battery guards (cutoff percentage and only-while-charging, not a fixed threshold), and the free cleaning lock.

What to tell us, and how

The whole point of this beta is making Agentwake stable and complete before launch. You do not need to write a formal report, a couple of sentences is plenty. What helps most:

GitHub Issues

The preferred channel: issues are trackable, and you see when a fix ships. No template required.

Email

For anything private, or if you just prefer it: reply to your beta invite email, or write directly. I read every message myself.

Why become a beta tester

Your email is stored only for the Agentwake beta and never shared. You get the invite email with your download and Pro activation, and nothing else. No newsletter.

Frequently asked questions

What is the Agentwake beta program?

Sign up with your email before 31 August 2026 and you get the current Agentwake build plus a free lifetime copy of Pro, delivered by email right after signup. In exchange, you tell us what breaks, what is confusing, and what is missing. After the beta closes, Agentwake Pro costs €3.99 during September 2026 and €7.99 one-time from 1 October 2026.

Is the beta stable enough for daily use?

Yes. Agentwake has been in development and testing for about six months and is already used daily on real overnight agent runs. Beta here means your feedback shapes the final release, not that the app crashes on you.

What happens after the beta ends?

Beta testers keep Pro free for life, updates included. New users pay €3.99 during September 2026, then €7.99 one-time from 1 October 2026. No subscription either way.

Does it really keep the Mac awake with the lid closed?

Yes, with no external display, through a privileged helper you approve on first use. The helper holds a lease that the app renews every few seconds; if Agentwake ever crashes, the lease expires and the Mac sleeps normally. It cannot get stuck awake.

Why does Agentwake need the Accessibility permission?

The keyboard lock swallows input events system-wide, which macOS only allows to apps you trust in System Settings, Privacy & Security, Accessibility. The keep-awake side does not use it.

Does Agentwake read my code or my conversations?

No. The agent hooks report only 'this session is alive' heartbeats. The optional token-cost estimate reads usage and model fields from local Claude Code session files, only after you opt in, and never the conversation content. There is no telemetry.

What happens if an agent hangs or a hook misses?

The Mac sleeps. Every detection path fails toward sleep, never toward stuck-awake. Battery cutoff and thermal pause add two more layers of protection.

Why is Agentwake not on the Mac App Store?

The App Store sandbox forbids the two things Agentwake exists to do: suppressing input events and installing the lid-closed helper. The DMG is signed and notarized by Apple's process, and Sparkle keeps it updated.

Is it a subscription?

No. One payment through Polar, the license key is yours, and every update is included.

How do I get help?

Email stefferri@icloud.com and I will get back to you.