keepscreenunlocked.

AI tools compared

Which AI tools keep working when your laptop sleeps?

The rule of thumb: anything that runs on a company's servers keeps going; anything that runs on your own machine pauses when the machine sleeps. Here is the split for the tools people ask about most.

Inactive

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.
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).

Feedback

The comparison

ToolRuns onIf your laptop sleeps
ChatGPT (chat)OpenAI's serversKeeps working; you lose the live view
Claude (chat)Anthropic's serversKeeps working; you lose the live view
GeminiGoogle's serversKeeps working; you lose the live view
GrokxAI's serversKeeps working; you lose the live view
PerplexityPerplexity's serversKeeps working; you lose the live view
DeepSeek (hosted chat)DeepSeek's serversKeeps working; you lose the live view
DeepSeek or other local model (Ollama, LM Studio)Your machinePaused while asleep
Claude Code (CLI)Your terminalPaused while asleep
Claude Code on the webCloud environmentKeeps working
Codex cloud tasksOpenAI's sandboxKeep working
Codex CLI / local IDE modeYour machinePaused while asleep
Cursor (local agent)Your machinePaused while asleep
Cursor (cloud agent)Cursor's cloudKeeps working
GitHub Copilot coding agentGitHub's cloudKeeps working
Copilot agent mode in VS CodeYour machinePaused while asleep
WindsurfYour machinePaused while asleep
ClineYour machine + model APIPaused while asleep

“Keeps working; you lose the live view” means the request continues on the provider's side, but your browser disconnects, so you may need to reload to see the result and a reply cut off mid-stream isn't guaranteed to be saved.

How to read it

Cloud tools do their computing on the provider's servers, so your laptop is only a window. Sleeping or closing the lid ends your connection, not the job.

Local tools run commands and edit files on your computer, so full system sleep suspends them until you wake the machine. A locked screen on its own doesn't, because the CPU keeps running. Agents in a remote workspace can still stall if your editor disconnects.

A browser screen wake lock, like the tool above, keeps the display on. It can't stop a closed lid or full system sleep; for that, change your OS power settings or use caffeinate -s on a Mac. See the AI agent page.

Questions

Which AI tools stop when I close my laptop?
The ones that run locally: command-line agents, local editor agents and models you run yourself with Ollama or LM Studio.
Which keep running?
Hosted chat apps and cloud agents, because the work happens on the provider's servers. You just lose your live view until you reconnect.
Can a website stop my laptop sleeping?
No. The browser's Screen Wake Lock only keeps the display on. See how the Wake Lock API works.

Last checked October 2026. Products change often, so confirm against each vendor's current documentation.