ZyVOP Logo
Content That Connects
SeriesAI NewsWhy ZyVOPJoin Discord
LoginGet Started
ZyVOP Logo
Content That Connects

The Developer Publishing Hub. Write once, cross-post to Dev.to, Medium, Hashnode, WordPress & Bluesky with automated canonical source tags and zero paywalls.

Content

  • Categories
  • Tags
  • Badges
  • Leaderboard
  • Write Article
  • Newsletter

Company

  • About Us
  • Why ZyVOP
  • Developer API & CLI
  • Write for Us
  • Contact

Connect

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DMCA Policy
  • Code of Conduct

ยฉ 2026 ZyVOP. Developer Publishing Hub.

Zero paywalls ยท Full content ownership
All systems operational
HomeTutorialThe overnight run didn't crash. The laptop went to sleep.
Tutorial

The overnight run didn't crash. The laptop went to sleep.

A practical checklist for agent jobs that vanish when the lid closes.

Igor Ganapolsky
Igor Ganapolsky
Founder
August 20, 2026
2 min read
The overnight run didn't crash. The laptop went to sleep.
#VPS#Agents#overnight#AI agents#laptop sleep
๐Ÿ‘1


You leave an agent running. You close the lid. In the morning the terminal is gone, the gateway is gone, and the last log line is from the second the machine slept.


This is not a model failure. The process was killed by sleep.


What actually dies


  • Anything bound to that user session: local gateways, in-memory pairing codes, open SSE streams, a "still running" UI that was just a live socket.

  • Files on disk usually survive. In-flight tool calls, browser-sidecar state, and one-shot pairing codes usually do not.


Checklist before you trust an overnight job


  1. Confirm the machine will not sleep. On macOS, caffeinate -dims for the run, or disable lid-sleep while plugged in. On Linux, wrap the process with systemd-inhibit --what=sleep. A closed lid is not "background."

  2. Do not put a long-lived key in a QR code or a screenshotable URL. Use a one-time pairing code, single use, short TTL, exchanged over a network you control.

  3. Keep the approval gate in a browser you can open from another machine. If the only place to say yes is the sleeping laptop, the run is already stuck.

  4. Log a heartbeat to disk every few minutes. If the heartbeat stops, you know it was the host, not the model.

  5. If the job has to outlive the laptop, run it on a host that does not sleep โ€” a fenced VPS, not the lid you closed.


If the laptop has to sleep


I run hosted Hermes that way: $10/mo on a fenced VPS, approvals stay in the browser at https://thumbgate.app. Cash from strangers is still $0 โ€” this is the checkout, not a customer-count claim. If your overnight job keeps dying on lid-close, that is the page.


Comments (0)

Login to post a comment.

Igor Ganapolsky
Igor Ganapolsky

Founder

Builder of AI agent governance and safety systems - such as ThumbGate.ai and ThumbGate.app

Subscribe to Igor Ganapolsky's Newsletter

More from Igor Ganapolsky

View profile

What AI Ad Automation Should Optimize For in a Paid Mobile App

An ad system can optimize perfectly for the wrong outcome. A view, a click, or a store-page visit may look like progress while producing zero paid installs and ...

3 minAug 25

9 Technical Backgrounds That Fit Paid AI Evaluation Work

AI evaluation is not only a software-engineering problem. Strong evaluation work also depends on people who can recognize subtle mistakes in mathematics, scienc...

2 minAug 15

Pair a Phone to a Mac AI Agent Without Putting the API Key in the QR Code

Pair a Phone to a Mac AI Agent Without Putting the API Key in the QR Code Remote control for a local AI agent creates an awkward setup problem. The phone needs ...

3 minAug 14

I skipped Linktree Pro. I shipped a ranked money funnel instead.

What I stole from Linktree's upsell email (priority links, free-to-paid dual CTA, first-party hub) and what I refused (unverified click claims, paid platform tax).

1 minAug 12

Approve risky agent tools before they run

Coding agents should not get a free pass on destructive tools. A product-true take on approval gates before risky tools run โ€” and a web control plane to do it from anywhere.

1 minAug 12