Blog

Close the laptop and your AI stops. What people do to keep it working overnight.

, founder ·

A laptop seen from the side, its lid swinging shut. Beside it, a line marks a job starting at 22:00 and stopping dead at "23:47 lid closed". From there to 07:00 the line is only dots. Headline: "Close the lid and the work stops."

For a few weeks I’ve been reading how people use ChatGPT and Claude for real work: research, reports, the inbox, the jobs they hand to AI so they don’t have to sit and watch. One thing keeps coming up, in different words.

“closed my laptop. it did exactly zero work after that” (on X)

“I’m on vacation without my laptop” (r/codex)

“Shall I buy a Mac mini” (r/codex)

When the AI works on your own computer, with your files and your apps, it stops when the laptop does. On X I asked what people do about it. Here’s the longer answer.

There are two ways to solve it

Like a lot of things now that anyone can build their own tools with AI, it comes down to a choice: run it yourself, or hand it to something that just works. Both are fair choices, and they cost you different things.

Headline: "There are two ways to solve it." A line from "your AI" splits in two. The upper path, "Run it yourself", passes a laptop left open, a small always-on computer and a server box, each tagged with what you look after: "a laptop left open and plugged in", "a second computer to keep in step", "a rented server to keep running". The lower path, "Hand it off", leads to a cloud tagged "nothing to look after". Under the lower path, near the fork, a dashed stack of cards reads "your setup: files, logins, settings" and "stays behind".

  • Run it yourself: keep the laptop awake, buy a small computer that stays on (often a Mac mini), or rent a server online. Your setup comes with you. The machine is yours to look after.
  • Hand it off: use a cloud AI tool that runs the work on its own computers. There’s nothing to look after, but your files, your logins and the way you’ve set things up mostly stay behind.

First, why it stops at all.

Why it stops, and why everything runs at once in the morning

A sleeping laptop runs nothing. A task that was halfway done stops where it was. Anything scheduled for the night waits, and when you open the lid in the morning, everything that was missed starts at once.

A night timeline. Hourly jobs at 22:00 and 23:00 are filled dots. From 23:30 to 07:10 a dark band covers the line, and every job inside it is an empty dashed circle. At 07:10 all eight skipped jobs are stacked on top of each other in terracotta.

So the work is tied to a computer with a lid.

For the technical reader: on macOS, scheduled jobs usually run under launchd. A job whose time passes during sleep starts on the next wake, and several missed runs are merged into one (man launchd.plist); cron skips them. caffeinate -s keeps a Mac awake only while it’s plugged in, and a closed MacBook still sleeps unless it’s in clamshell mode, with power and an external display.

Way 1: run it yourself

Keep the laptop awake

A setting, or a small free app, stops the Mac from going to sleep. Most people start here, because it’s free and takes a minute.

What it fixes: the laptop stays awake, so a long task finishes and scheduled work runs on time.

What you’re left with: it only works while the lid is open and the laptop is plugged in. Close the lid and it sleeps anyway. So the laptop stays open and at home, and the work stops the day you take it with you.

A small computer that stays on 24/7

“Dedicated machine running my AI agent 24/7” (r/hermesagent)

That’s someone who bought a separate computer just for their AI, often a Mac mini.

What it fixes: the AI gets a machine that never closes. Of the options at home, it’s the one that holds up best.

What you’re left with: a second computer to buy, set up and keep updated. Everything you’ve set up on your laptop has to be copied over and kept in step: your files, your logins, your settings. Reaching it when you’re away from home needs a remote-access app, which is one more thing that can drop. A power cut or an update restart stops it the same way a closed lid does.

Rent a server online

“the box, the restarts, and the setup” (r/ChatGPTCoding)

That’s a developer listing what renting a server for their AI really costs: not the money, the looking after. “The box” is the server.

What it fixes: it’s on 24/7, it’s cheap, and you can reach it from anywhere.

What you’re left with: the server is yours now. Someone has to install the AI and its tools, move your files and passwords over, keep it updated, and restart it when it gets stuck. Most people who go this way are developers, and it’s still a job for them.

Two months in

Setting it up is the fun part, and usually takes a weekend. What’s easy to miss is everything after. Most weeks it’s a little work. Some mornings it isn’t:

“2 mornings in the first week where it was just down” (r/ChatGPTCoding)

And the question nobody likes to ask, about a server that holds everything:

“what happens if the box just disappears tomorrow?” (r/hermesagent)

Headline: "Two months in." Below it: "Nothing's wrong with what you built. It just needs looking after." A line runs from week 1 to week 8, with a terracotta mark at each week something needed doing: "the setup", "a restart", "an update", "lost the connection", "ran out of space", "the backup you meant to set up". The line ends at a server box with three green lights, labelled "still running".

None of this means you built it wrong. It means it’s yours to look after. Plenty of people would rather not take that on, so they stay on the laptop, even when the work matters.

Way 2: hand it off

“Does anyone use cloud agent exclusively?” (r/ClaudeAI)

That’s someone asking whether they could skip their own computer entirely and let the AI do everything in the cloud.

Some cloud AI tools run the work for you, on their own computers.

What it fixes: the work runs without your laptop, and there’s nothing to look after.

What you’re left with: it runs in their setup, not yours. That’s fine for a task that needs nothing from your computer. It’s a weaker fit when the work depends on your own files, the apps you’re logged in to, and the way you’ve set things up. Those stay on your laptop, or have to be set up again in the cloud, if they can be at all.

Which one fits

If you…WayWhat fitsWhat you end up looking after
Run a long task now and thenRun it yourselfKeep the laptop awakeA laptop that stays open and plugged in
Want AI working every day at homeRun it yourselfA small computer that stays onA second computer to keep in step
Want it on 24/7 and reachable anywhere, and don’t mind the technical sideRun it yourselfA rented serverThe server, the restarts, the setup
Have a task that needs nothing from your computerHand it offA cloud AI toolSetting up your files and logins again, where that’s possible

What I do

I have a few AI helpers that do research for me on a schedule, on my Mac. When the Mac sleeps they don’t run, and when I open the lid they all start at once.

I’ve tried keeping the Mac awake for them. It works, but then the laptop has to stay on so software can do my work, and that’s backwards. I haven’t moved them to a rented server, because then I’m the one keeping it running: its updates, its restarts, its bill. So for now, I live with the pile-up every morning.

Run it yourself and you keep your setup, but the machine is yours to look after. Hand it off and there’s no machine to worry about, but your setup stays behind. Nothing today lets me do both: hand it off and keep my files, my logins and the way I’ve set things up, on a computer that stays on. ChatGPT or Claude does the thinking. What’s missing is the computer it works on. That’s why I’m building.

If you’ve solved this a different way, I’d like to hear it. Tell me on X or write to hello@mymanagedagents.ai.