Work Blog Contact
← Back to blog

My Laptop Went Dark, So My AI Assistants Moved to a Server

My Laptop Went Dark, So My AI Assistants Moved to a Server

11:52 on a Sunday, at an airport. I was staring at my laptop and doing the maths. Once this lid closes, it stays closed for days. And seven of my AI assistants live on it.

Seven helpers, one lid

Each of them has a job. One keeps my money in order. One drills my German every day. One runs the workshop, including the 3D printer. They talk to me in Telegram, they read my notes, and they remember what we agreed last week. That is the whole point of them: I say two words and they already know the context.

All seven ran on the laptop. At home that never mattered, because there the laptop simply never sleeps. Away from home, close the lid and every one of them goes silent mid-sentence.

Attempt one: moving house by hand

So I moved them from the departure gate. By 12:14 all seven were answering from a server instead. Twenty-two minutes, no drama.

It worked. It was also a one-way door. Bringing them back meant the same routine in reverse, by hand, and until then there were two copies of everything, with exactly one allowed to run.

Attempt two: a second household

Later that day the AI suggested the “proper” version: build a separate system on the server, with its own data, that takes over whenever I travel.

I stopped it there. “It feels like you’re building a completely parallel system,” I said. “I want the opposite. A symbiosis.”

If each copy keeps its own memory, within a week they remember different things. One learns that I paid a bill, the other doesn’t. One knows the meeting moved, the other reminds me of the old time. And from then on you never quite know which of them you are talking to.

Two ways to cover for a sleeping laptop: a parallel copy where laptop and server each keep their own memory, or one assistant that lives on both computers and shares one memory
Left: what the AI proposed. Right: what we built.

One assistant, two computers

What we built instead is simple to say. The same code runs on both machines. The same data is copied across. And one rule holds it all together: only one of them answers at a time.

While the laptop is awake, the laptop answers. If it goes quiet for about two minutes, the server picks up the conversation. If I shut the laptop down properly, the server takes over straight away. When the laptop wakes up and stays steady for a minute, the conversation goes back to it.

Flowchart: a message arrives; if the laptop is awake it answers; if it has been quiet for about two minutes or was shut down properly, the server answers; once the laptop is back and steady for a minute, it answers again
Who answers right now. Both computers read and write the same memory.

The AI built all of this in one evening. It started at 21:21, and at 00:25 the automatic switch was live. Then we ran a drill through the night, throwing the conversation from one computer to the other on purpose. Thirteen test messages. None got lost, none arrived twice.

Timeline of the day: 11:52 at the airport; 12:14 all seven assistants moved by hand; later the parallel system is rejected; 21:21 the build starts; 00:25 automatic switching is live; at night a drill with 13 test messages, none lost and none doubled
One day, two computers.

Why it holds

Because there are no longer two assistants. There is one, living in two places. Its memory and notes are shared, so a move is invisible to it. It picks up exactly where it stopped, with the same context, on whichever computer happens to be awake.

The next morning I made one exception. A single assistant now lives on the laptop only, so there is never any doubt about which computer answered. Messages to it simply wait until the laptop is back.

What broke instead

For the next ten days the laptop stayed dark, and the assistants were fine.

What broke was everything around them. A short voice note that took up to eleven minutes to come back as text. A dashboard that kept insisting the laptop was asleep, because half of its numbers only ever came from the laptop. That’s the next story.

So, a question for you: what stops working in your life the moment you close your laptop?

Stack: Claude Code · Telegram · Python

Questions about this post, or built something similar? Write to me →