I was looking at hosted agent bots, and one design choice kept showing up. Each agent gets its own virtual machine. The model does the thinking, and the machine is where it works: files, tools, a shell.
That made sense to me. It also made me realize I already had the machine: a Mac mini that runs all day at home. So I built my own version, which I call Agent Harbor.
Part of it was control. I wanted to choose which agents run, Claude Code or a local model, and configure them exactly how I want. I wanted the files I send to stay on my own disk. The other part was a question I was curious about. I have two computers. Could I ask on one and execute on the other?
The architecture

The system has four layers.
Interface. One Telegram bot in a private chat. Each topic in that chat is a separate conversation. A project topic is bound to a folder, so every message there loads that project's context. The bot only answers my Telegram user ID. It uses long polling, so nothing on my network is open to the internet.
Coordination. The coordinator is one process on the mini. It receives every message, decides which machine does the work, schedules jobs and holds approvals. Most requests go to the mini. Heavy work, like local models, goes to the MacBook, and so does anything about the MacBook itself. Conversation runs in a separate chat lane so replies stream back quickly. Longer work becomes a task with its own record.
Agents. Each machine runs a worker. The worker starts Claude Code sessions, or a local model, with the tools enabled for that agent. If I ask the MacBook's agent for something that lives on the mini, like my email, it hands the request over, and the other agent answers in the same chat. I don't route anything myself.
Connection. The MacBook only connects outward. Its worker polls the coordinator over the home network first, and over Tailscale when I'm away. Each worker presents its own token. The coordinator accepts only local, Tailscale and localhost addresses, even with a valid token.
The decisions that shaped it
The coordinator owns the truth. Conversations, tasks, approvals and the audit trail live in a SQLite database on the mini. Telegram is only the interface. It holds nothing the system needs.
Offline is normal. The MacBook disappears every time I close the lid. When that happens, its running tasks are marked as reconciling, not failed. When it comes back, it reports what it finished, and the coordinator decides whether to accept the result, resume the work or ask me. Nothing that changes the outside world is retried blindly.
There is one Git authority, and it lives on the mini. The agents write code and review each other's work, with one rule: an agent cannot approve its own change. My first plan was GitHub branch protection. GitHub Free doesn't offer it on private repositories. Even with it, both agents would push under my one account, so GitHub couldn't tell the author from the reviewer.
So the authoritative repositories live on the mini, under a separate macOS user that no agent can act as. Each agent is identified by the SSH key it connects with, not by what it says about itself. Only that user can update main, and only after the other agent has reviewed the exact commit and the tests have passed. GitHub holds a mirror.
Storage is split by weight. The application and the database live on the mini's internal disk. Heavy data lives on the external drive: uploads, documents, voice notes and transcripts. Encrypted backups are pulled to the MacBook every hour and synced off the device from there.
Tools belong to the system, not to an agent. Email, calendar, reminders, messages, file storage and the rest sit in one shared catalog. An agent is a configuration: which tools it can use, and in which scope. Adding a capability means adding it to the catalog once.
From experiment to how I work
The model was never the hard part. The machine was.
Two days after I wrote the first spec, a repair job on the mini touched the external drive, and macOS raised a permission prompt. The mini runs headless, so nobody saw the prompt and nobody answered it. Every access to that drive hung until I rebooted. The agents were fine. The operating system had stopped and was waiting for a click that never came.
The fix had nothing to do with AI. I granted the permissions explicitly, put a timeout on every disk access, and added a small watcher that alerts me whenever macOS asks for a permission. That is the part hosted bots hide from you. When you own the machine, you also own everything the machine can do wrong.
Once the system was stable, the harder problem was getting it to stop handing its work back to me. In mid-November the morning summary asked me to clean up duplicate calendar events, close stale items and look into an incident. It was doing a good job of reporting its own mess. My reaction was simple: why is it asking me to fix stuff? It should fix them itself.
That changed how it works. Now it merges duplicates on its own, with an undo button. It closes items whose date has passed. When something breaks, it tries the fix first and only tells me after. It asks me when the decision is actually mine, not when the work is tedious.
That is when it stopped being an experiment. Today it is how I talk to my server. It triages my email, messages and calendar. It reaches every application I run there. One of them runs machine learning on my supermarket purchases and tells me what to buy. From a chat, I can remove something from the list or change the logic behind it. When something I'm building in Claude Code needs my approval, the message comes to my phone and I answer there.
It also answered the question I started with. I can ask on one computer and have the work done on the other, and I never have to think about which one.
The hosted bots gave each agent a machine. I wanted to see what it takes to give them mine. It takes more than I expected, and it was worth it. My agents run on two computers I own, with my rules and my files.
See how it works here.