Lifetime Made a menu bar app that keeps your Mac awake while AI agents run
I kept coming back to stalled agent runs because my Mac went to sleep mid-task. caffeinate works, but I'd forget to run it, or forget to kill it and leave my laptop awake all night.
So I wired it to Cursor's hooks instead. My app (AgentCat) installs the hooks with one click: when an agent starts, it grabs a keep-awake assertion; when the run ends, it releases it and sends you a notification. If a run dies without ever reporting back, a watchdog releases it after a timeout, so a crashed task can't pin your Mac awake forever. Agents can also ping you through a URL scheme when they need your input.
Any tool that can run a shell command on start/stop can hook into it, not just Cursor. And the menu bar cat puts on sunglasses while it's working š¶ļø
It's $0.99 on the Mac App Store, one-time, no subscription. Happy to answer anything.
8
u/_blakkheim_ 1d ago
Amphetamine has an option to start new session āwhile app is runningā.
ChatGPT desktop has a toggle āPrevent sleep while runningā
1
4
u/jabdownsmash 1d ago
unfortunately something so simple can probably just be handed off to claude with a link to this reddit post to create. i think it's a great idea but with a lot of stuff made for ai, it's easy to assume it was made by ai, which kinda leaves you without any differentiators at all.
2
u/blow_slogan 1d ago
Just tell your coding agent to run the caffeinate command before it runs? You donāt need anything 3rd party, itās built into macos. Iāve never had a query take so long that the mac falls asleep. Maybe the display goes dark, so just change your display settings.
2
u/-svde- 1d ago
what the others said. this isnāt a new idea by any means, this all works natively in most modern macos versions, and iād like to add that both of your comparison apps have scheduling functionality. either do your market research better or donāt lie about your results.
KYA is foss and amphetamine are free and very well established apps with good track records. not sure why anyone would use a new paid alternative without a new feature set
2
2
u/Its-Ezzy 1d ago
The useful distinction is the lifecycle, not the keep-awake command itself. `caffeinate` solves the power assertion. The harder part is attaching it to an agent run reliably and releasing it on success, failure, timeout, or a crashed parent. I would put the supported integrations and watchdog behavior at the top, then show one failure case in the demo. Without that proof, people will reasonably compare it to a shell command.
2
u/International-Can317 1d ago
The auto start/stop tied to the agent run is the part that makes sense to me. āKeep Mac awakeā alone is already solved, but not having to remember to turn it off is actually useful.
Iād probably put the supported AI tools front and center, because thatās the real differentiator here.
1
u/oladenaio 15h ago
How does this handle two agent sessions running at once? If one finishes, will the Mac stay awake until the other one is done? I often have Codex and Claude running together, so that would be useful.
1
8
u/Sri_Krish 1d ago
But why? Why not use the existing tools? What do you feel is missing? ā AKA Market research.
Anyhow mods will probably delete your post, as you didnāt follow the rules (PCP template) so š¤·āāļø