# Jarvis: The AI Assistant That Runs My Homelab

Source: https://jackwent.co.uk/jarvis-ai-assistant-runs-my-homelab/
Published: 2026-10-17. Updated: 2026-11-14. By Jack Went.

> How I run Claude Code on a small VM to patch servers, check the fleet, ship code through GitLab and report back, and the rules that keep it safe.

My homelab has grown to a dozen servers, a Home Assistant install with a lot of moving parts, and a handful of side projects that all deploy through my own GitLab. Keeping on top of it was eating my evenings. So I built Jarvis: an AI assistant that lives on a small VM in the rack and does a lot of the work for me.

| At a glance | Answer |
|---|---|
| What it is | [Claude Code](https://www.anthropic.com/claude-code) running all the time on its own Ubuntu VM on my Proxmox host |
| How I talk to it | The Claude app on my PC or phone, or "Hey Jarvis" on [its own web page](/jarvis-talking-web-page/) or the office Voice PE speaker |
| What it does on its own | Patches servers (snapshot first), runs a morning fleet check, ships code through GitLab CI and checks it's live |
| What needs my OK | Rebooting Proxmox, Home Assistant, the router or the NAS, and anything to do with locks, the alarm or the garage. Never by voice |
| How it reports | Every maintenance job posts its result to Discord, failures included |

I set it up for three reasons at once. I wanted my evenings back, I wanted one place to run everything instead of a dozen tabs, and I wanted to see what an AI agent can really do when it's pointed at real infrastructure rather than a demo.

## What Jarvis actually is

Jarvis is [Claude Code](https://www.anthropic.com/claude-code) running on its own Ubuntu VM on my Proxmox host. One session stays running all the time, and I can talk to it from the Claude app on my PC or my phone, wherever I am. It has SSH access to the servers, a login to GitLab, and a set of small tools I've written for the jobs it does most.

It isn't magic, and it isn't a chatbot bolted onto a dashboard. It reads files, runs commands, writes code and checks its own work, the same way I would, just much faster and without getting bored. It's the same idea as [how AI helps me work smarter with dyslexia](/ai-helps-me-work-smarter-with-dyslexia/), applied to the whole homelab.

## What I use it for most

**Building and shipping code.** This website, my [SkillsLedger app](/building-skillsledger/) and my scripts all live in GitLab, and every push to the main branch deploys through CI. Jarvis writes the change, runs the build and tests, bumps the version the way each project expects, pushes it, waits for the pipeline and then checks the change is really live. If a pipeline fails for a reason that has nothing to do with the code, it says so and retries rather than "fixing" something that wasn't broken.

**Patching and server health.** Patching follows the same steps every time:

1. Take a Proxmox snapshot of the VM.
2. Install everything that's pending, including the phased and kept back updates Ubuntu holds back by default.
3. Check the server came back healthy.
4. Report the result, then remove the snapshot once all is well.

Every morning a fleet check runs on its own and only messages me when something actually needs attention: updates waiting, a failed service, a backup that didn't run, disk filling up.

Home Assistant keeps an eye on the same servers through my [MQTT monitoring agent](/monitor-ubuntu-servers-in-home-assistant-using-mqtt/), so I can see at a glance which ones are offline or waiting for updates.

## Talking to Jarvis

Typing to Jarvis in the Claude app works, but most of the time I'd rather just ask. The newest way is Jarvis's own web page: a dark screen with a glowing orb that I say "Hey Jarvis" to, and it answers out loud. It handles the audio both ways in the browser, and it can put images, camera snapshots and alerts on screen. It only works on my home network and over my VPN, so there's no link, but it has its own write-up: [Hey Jarvis: a web page I can talk to](/jarvis-talking-web-page/). There's also [a Windows app](/jarvis-ai-windows-app-tauri/) so the family can talk to it from their PCs.

The office speaker was the first way I could talk to it. Jarvis reads its replies out loud there through Home Assistant, which is more useful than it sounds when I'm across the room, and it works the other way too: I can ask it things out loud.

Image: A Home Assistant Voice Preview Edition in a square black and frosted 3D printed case with a glowing blue light ring, sitting in a black printed desk stand, shown from the front and from the side

My office Voice PE in a reprinted case and stand. The blue ring lights up when it hears "Hey Jarvis".

The speaker is a Home Assistant Voice Preview Edition on my office desk. I reprinted its case in black and frosted plastic using this [print-friendly Voice PE enclosure](https://www.printables.com/model/1110526-home-assistant-voice-preview-edition-enclosure), and it sits in this [stand for the Voice PE](https://www.printables.com/model/1142869-stylish-stand-for-nabu-casas-voice-assistant-previ). Both are free on Printables, and the credit goes to their designers, not me.

Its wake word is "Hey Jarvis", and it talks to the Claude conversation agent in Home Assistant. That agent handles the house: lights, heating and the calendar, the same as before. When I ask about the homelab, it hands my words to Jarvis instead:

1. Home Assistant runs a small script that fires an event with what I said.
2. A service on the Jarvis VM is listening for that event over Home Assistant's own connection. Jarvis reaches out to Home Assistant, so nothing new is open on the network.
3. Jarvis works on the request with the same tools and rules as when I type to it.
4. It says the answer on the same speaker, in the same Piper voice it uses for its replies.

A question like "Hey Jarvis, are any servers waiting for updates?" gets an answer in about ten seconds: "Two servers have updates waiting. The GitLab runner has three and Proxmox has one, and none of them need a reboot." It can do jobs too, like patching a server or running the fleet check and posting it to Discord, and it tells me how it went when it's finished.

The catch with voice, on the speaker or the web page, is that Jarvis can't be sure who's talking. A guest, or a film on the TV, could say "reboot the server" just as well as I can. So I started with voice as look-up only, and only let it do things once I'd tried it. Even now, the risky jobs never happen from voice: rebooting Proxmox, Home Assistant, the router or the NAS, and anything to do with locks, the alarm or the garage. For those, Jarvis says it needs my OK. The request turns up in the Jarvis session on my phone, marked as unverified, and nothing happens until I confirm it there.

## The rules that keep it safe

Giving an AI agent access to real servers needs clear rules. These are the ones that matter most to me:

- **It asks before anything risky.** Rebooting the Proxmox host, Home Assistant, the router or the NAS always needs my explicit OK, and so does anything touching locks, the alarm or the garage door. Approval only counts if I give it in the session doing the work, and never by voice.
- **Snapshots before changes.** Every patch starts with a snapshot it can roll back to.
- **Everything goes through git.** Jarvis doesn't edit my projects' code or config directly on a server. Every change is a commit that CI deploys, so there's always a history and a way back. The rare change that isn't in any repo, like a server's own system config, needs my OK first.
- **It tells me everything.** Every maintenance job reports its result to a Discord channel, failures included. I'd much rather read "this failed" than discover it a week later.

Rebooting the Proxmox host is a special case, because Jarvis lives on it. Before that kind of reboot it writes down what it did and what to check, schedules the reboot a couple of minutes out rather than doing it instantly, and picks up from its notes when it comes back.

## Real moments

A few things that happened while building things with it convinced me this was worth it.

**It caught a bug that could have deleted my email records.** While moving SkillsLedger to a new domain, the new homepage wouldn't load. Jarvis traced it to code that decided whether a DNS record "already existed" for a hostname. The new domain's root already had its Microsoft 365 mail records, so the code thought the website was already set up and skipped it. Fixing that turned up something worse: the code that *removes* a hostname deleted every record with that name, which on the root domain would have included the mail records. It fixed both, so now only the website's own record is ever touched.

**It didn't "fix" a build that wasn't broken.** One deploy failed with a 502 error from Docker Hub while pulling a base image. Rather than changing code to make the error go away, it read the logs, recognised a temporary problem on Docker Hub's side, retried the job, and it passed.

**Its first fleet check found a real problem.** On two servers log rotation had been failing quietly because of a duplicated config entry. Nobody had noticed. It found it on the first run, told me what it wanted to change and waited. That was the servers' own system config rather than one of my projects, so there was no repo for it to go through. Once I said yes, it made the fix on both servers.

The scripts, timers and runbooks behind it are on GitHub, with my own network details taken out: [Jarvis](https://github.com/JackWent/Jarvis).

## The honest verdict

Jarvis is great, but it needs care. It's fast, thorough and genuinely good at the boring parts of running a homelab. But it works best with clear rules, small steps and someone checking the important results. I added the guardrails above so that when something does go wrong on real systems, the mistake is cheap and easy to spot.

If you're thinking of trying something similar, my advice is to start small. Give it one job, like a daily health check that only reports, and write down your rules before you give it anything that can change things.
