Cursor & local vs. cloud agents
Does Cursor stop when your laptop sleeps?
Short answer: a Cursor agent running on your own machine pauses when the machine goes to sleep. Cursor's cloud agents run elsewhere and don't depend on your laptop.
Pick a duration and hit start.
Duration
- Stealth screen
- — covers the page with black (or your own wallpaper) so it looks like nothing is open.
- Fullscreen
- — the same cover, edge to edge. Press Esc to leave.
- Float window
- — a tiny always-on-top timer you can park in a corner while you work in other windows (Chrome, Edge, Brave, Opera only).
Ambient sound
Starts only when you press Play. It fades out on its own, when you stop the tool, and when you enter stealth screen (unless you tick the box above).
Local agents run on your machine
A Cursor agent you run in the editor does its work on your computer, so full system sleep pauses it. Cursor staff have said the app keeps the machine awake while an agent runs, but it can't override what the operating system does when you close the lid. For lid-closed work they point to cloud agents.
Users report that agents attached over Remote SSH are tied to the desktop client's connection, so a sleeping laptop or a dropped connection can stall them even when the remote machine stays up.
What a screen wake lock does and doesn't do
Screen lock or display sleep alone doesn't normally stop a local agent; system sleep does. A browser wake lock only holds the display, so it won't keep a closed lid or a sleeping machine awake. For keeping a local agent running, see our AI agent page.
Where this tool helps: if you want to watch a long response or run finish without your display locking partway through, it keeps the screen on for as long as you choose. It does not stop a closed lid or full system sleep, which no browser tab can prevent; see the screen-lock vs. system-sleep distinction.
Questions
- Does Cursor stop when the screen locks?
- Display sleep or a locked screen on its own generally doesn't stop a local agent; full system sleep does. Closing a laptop lid usually triggers system sleep.
- Will a cloud agent keep working with my laptop closed?
- Cursor staff point to cloud agents for lid-closed work, since they run on remote infrastructure rather than your computer.
- Can this site keep Cursor running?
- No. It only holds the display on. It can't prevent system sleep or a closed lid.
Related: ChatGPT · Claude Code · Gemini · Perplexity · GitHub Copilot · Any local agent · Wake lock not working?. Last checked October 2026; these products change often, so confirm against the vendor's current docs.
Running a long agent job on a Mac? Keep a Mac awake while Cursor or Claude Code runs.