Autonomous Home Labs is a private tool I use every day and don't sell. It is a phone app that runs AI coding agents on an always-on laptop at home. The agents can read code, plan changes and build them. They can't ship anything until I approve it with my fingerprint on the phone. This post covers the design at a high level. Hostnames and security details stay private.
The shape of it
- The phone app is a web app installed on Android, with chats, a bug bell, repositories and the server's status.
- A cloud relay on Cloudflare Workers keeps logins, devices, the audit log and backups. It is the only thing the phone ever talks to.
- The hub runs on the home laptop. It opens an outward connection to the relay, so the house has no open ports and nothing on the internet can dial in.
Three agents, kept on a lead
The hub runs three coding agents from different vendors. A routing table decides which agent, model and effort level takes each kind of task, with a backup when one is close to its usage limit. Each agent works in one of two modes. In Ask mode it can only read. In Change mode it can edit, but only on its own git branch.
Agents never push, deploy, delete or touch secrets. They don't get the hub's own credentials. Commands outside an allow-list are refused, and every refusal is logged with its reason. When two agents work at once, each one claims the files it is editing first, so they can't overwrite each other.
Where the fingerprint comes in
Signing in uses a passkey, so the fingerprint never leaves the phone. Opening the app is only the first step. Risky actions ask for the fingerprint again, every time:
- merging a pull request and deploying it;
- shipping or reverting a change requested from the phone;
- changing which agent handles which kind of work;
- revoking or locking a device.
A typical change goes like this. I describe it, an agent writes a plan, and I approve it. The agent builds on a branch, then the hub runs the build and the tests. If the change touches login, the relay or the agent rules, it is flagged as security-sensitive and needs an extra confirmation. Then one fingerprint ships it.
Deploying itself, and undoing itself
The hub can update itself. It refuses to start from a checkout with uncommitted changes. It then takes a snapshot, builds and tests, deploys the relay and restarts. A new version counts as live only after 60 seconds up with the relay connected. If it stops twice within 90 seconds, the hub restores the previous build and the previous relay version on its own. A manual revert does all three: a git revert, the snapshot and the relay rollback.
Learning from its own bugs
When an agent fixes a bug, it ends with a short lesson: cause, fix and the files involved. The hub saves these, and every new chat starts with the five lessons most relevant to that repository. Some lessons came from the server itself:
- Two git commands per repository made sending a message take about six seconds. A folder lookup brought it to about 20 ms.
- After one reboot the hub didn't start for three days. Its start task now runs every five minutes and waits for the data drive.
- A battery that ran flat put the laptop to sleep. The phone now gets power alerts at 25, 15, 10 and 7 percent.
The hub, the app and the relay have about 300 automated tests between them. The agents helped build those too, on their own branches, approved one fingerprint at a time.