Add option to disable computer sleep while an agent is running

Feature request for product/service

Cursor IDE

Describe the request

I find myself carrying my open laptop around all day because I don’t want to interrupt an agent while it’s running, rather than just being able to shut it and be confident it’ll keep chugging away at a long-running take. Thoughts on adding an option in the settings to disable computer sleep while an agent is working?

Hey @elijahcarrelgrailbio Thanks for the forum post! This is actually part of the reason why we created Cloud Agents! I encourage you to try them out https://cursor.com/agents

Once you get hooked on cloud agents they’ll be running in your sleep regardless of your Mac’s conditions and you won’t be able to stop :smiley:

Alternatively, I do understand the desire to have your Mac stay on so you can run things locally. While we don’t have an exact feature for that, you could always use something like this: https://www.caffeine-app.net/

One more thing to add is that Cursor does keep the system active when there’s an agent actively running (via an Electron wakelock) but it can’t override the Mac OS enforced behavior when you close your screenlid. Unfortunately, it also seems like Caffeine can’t override the default Mac OS enforced behavior regarding the lid closures… so, if you want your agents to work with the lid closed, cloud agents are a terrific option!

You’re right on both fronts— my proposal is the wrong solution. Thanks so much for your thoughtful response!