The purpose-built option
What AgentBarista does differently for Windsurf
Windsurf is already in AgentBarista's supported-agent list out of the box —
nothing to configure beyond turning it on.
Knows when Windsurf's agent is working
Watches Windsurf's process activity and on-screen status — not just raw CPU — so it stays awake through long "thinking" turns at 0% CPU, the exact case that trips up caffeinate's basic timers.
Lets go when it's done
When Windsurf's agent finishes, AgentBarista releases sleep prevention within your grace window — 90 seconds by default. No forgetting a Terminal window open, no battery held hostage overnight.
Has a safety net
A battery cutoff and an emergency restore mean it never gets permanently stuck keeping your Mac awake — the risk every manual keep-awake trick carries.
Windsurf
Claude Code
Cursor
Codex
Gemini CLI
Copilot CLI
OpenCode
VS Code
Zed
Antigravity
Claude
ChatGPT
+ more
It runs on your Mac. AgentBarista never opens your files. To tell a working agent from a finished one it looks at process command lines and CPU, at the names and modification times of your agents' session files, and — only if you grant macOS Accessibility permission — at the on-screen text of the agent apps you enable and of the terminals we support. Two of those can contain your own words: a command line includes any prompt you pass on it, and on-screen text includes whatever is visible in that window, your code included. Both are matched against status phrases on your Mac and discarded on the spot: never stored, never sent. Nothing about your work leaves your Mac — no file contents, no code, no prompts, no file names, no activity data. Your stats and settings stay on this Mac. The app contains no analytics or telemetry of any kind. Its one network call is license validation, sent to our payment provider, Lemon Squeezy: activating a license sends your license key and your Mac's name, and the routine check after that sends your license key and an anonymous instance id — nothing else.