The Factory Goes Home — Proxmox, Herdr, OpenBot, and Tickets That Work Themselves
Updated October 28, 2026: rewritten to cover the whole setup — the workboxes, Herdr, Tailscale, OpenBot, Reason Network, and the Mac I drive it all from.
The last post ended with a question: what is running without me, and which gate would I be ashamed to skip? I had an honest answer at the time. A Cursor Cloud Agent running Grok, a ticket in Linear, a PR on GitHub, and me in the middle clicking "go."
That last part bothered me. The factory still needed a foreman. I was the one noticing a ticket, picking an agent, kicking it off, noticing the PR, noticing the review comment, and kicking it off again. Every handoff was a human polling a queue.
So I took the human out of the polling. This post is how the factory grew from "cloud agents I dispatch" into "tickets that get picked up, worked, reviewed, and revised by agents I don't dispatch" — and why it now lives on a Proxmox box in my house, driven from a Mac on my desk.
Version one: Linear, Cursor, Grok
The first factory was three pieces of glue:
- Linear as the source of truth for what should exist.
- Cursor Cloud Agents (with Grok as the model) as the implementer. Mention
@cursoron an issue, get a branch and a PR. - GitHub as the place review happens.
It works. It's also a very polite way of doing everything by hand. Linear doesn't know a PR exists unless the integration tells it. The agent doesn't know a reviewer left a comment unless I go and say so. Each tool was good; the seams were me.
The failure mode wasn't bad code. It was latency. A PR would sit with a review comment for six hours because I was in a meeting, and the agent that could have fixed it in four minutes was idle.
The shift: events, not clicks
Every one of those seams is already an event. Linear fires a webhook when an issue is assigned, moves state, or gets a comment. GitHub fires one when a PR opens, when a review is submitted, when a comment lands, when a check fails. The information I was ferrying around by hand was already being published. I just wasn't listening.
So the new design is one rule: nothing starts because I clicked; everything starts because something happened.
Linear issue → "Ready for agent" ─┐
GitHub PR opened / review / comment ├─▶ receiver ─▶ OpenBot ─▶ Claude Code on the project's workbox
GitHub check failed │
Linear comment on an issue ─┘
That rule is the what. The rest of this post is the where: the machines, the network, and the desk it all gets steered from.
The whole setup on one page
┌──────────── Tailscale tailnet ────────────┐
│ │
Mac (controller) │ Proxmox host │
───────────────── │ ───────────────────────────────────── │
Crafted Herdr ──ssh───┼─▶ workbox: api herdr + Claude Code │
OpenBot app ────────┼─▶ workbox: web herdr + Claude Code │
Reason Network ◀──────▶┼─▶ workbox: infra herdr + Claude Code │
│ foreman VM OpenBot server │
│ webhook receiver ◀───┼── Tailscale Funnel ◀── GitHub / Linear
└───────────────────────────────────────────┘
Five moving parts, each with one job:
- Proxmox runs the machines: one persistent workbox VM per project, plus one VM for the foreman.
- Herdr runs the agents on each workbox, in terminals that survive everything.
- Tailscale is the only network any of it shares, and the only door in from the internet.
- OpenBot is the foreman: it takes events and turns them into work.
- Reason Network lets everything talk: the foreman to the CLIs, the CLIs to each other, and any of them to me.
And on my desk, a Mac running Crafted Herdr, the Herdr UI I built so I could see all of it in one window.
Proxmox: a workbox per project
The first version of this setup cloned a disposable VM for every task and destroyed it when the PR opened. It was clean on paper. In practice it threw away exactly what the review loop needs: the branch checked out, the dependencies installed, the agent's conversation about why it made the change. When a review comment came back two hours later, a fresh clone had to rediscover all of it.
So I moved to workboxes: one long-lived VM per project. The API has its own, the web app has its own, infra has its own.
- A golden template has the toolchain baked in: Node, Python, git, language servers, Herdr, Claude Code and the other agent CLIs, the Reason Network daemon, and Tailscale.
- A new project gets a full clone of the template (
qm clone <template> <id> --full). It lives for as long as the project does, so it shouldn't depend on the template's disk the way a linked clone would. - Each workbox holds one repo and one set of credentials: a fine-grained GitHub token scoped to that repo, a Linear key that can comment but not delete. Nothing production-adjacent ever enters one of these machines.
The isolation boundary moved from task to project, and that's the trade I made on purpose. An agent working on the web app can wreck the web app's workbox. It can't touch the API's code, the API's token, or anything else on my network.
Inside a workbox, parallel work is just git: each ticket gets its own worktree, and each worktree gets its own Herdr pane. Two tickets on the same repo don't step on each other's files, and the agent fixing a review comment is working in the same checkout it left.
Long-lived machines do collect cruft, so they're cheap to reset:
- Snapshot before anything risky. A dependency upgrade or a migration gets a Proxmox snapshot first. If the agent makes a mess, I roll back the VM, not the afternoon.
- Rebuild from the template, not by hand. If a workbox drifts too far, I clone a new one, clone the repo, and retire the old one. Nothing on a workbox is precious except the uncommitted work in progress, and agents push early.
Herdr: the agents' home on every workbox
Herdr is the piece that made persistent workboxes actually pleasant. It's a runtime for coding agents: a background server that owns the terminals, with the agents running inside them. Close the laptop, drop the SSH session, reboot the Mac — the panes keep running on the workbox, and when I come back they're where I left them. After a workbox restart, Herdr restores the layout and resumes the sessions.
Two things make it more than a fancy tmux:
- It knows what the agents are doing. Herdr reads each pane and labels the agent in it as working, blocked, idle, or done. "Blocked" is the one I care about: an agent waiting on an answer is the most expensive idle there is.
- It's scriptable from the inside. The CLI and the socket API are the same surface the agents drive, so an agent can split a pane, start another agent, and wait for it.
Every workbox runs its own Herdr server, and my Mac knows about all of them. Adding one is a single command over SSH:
herdr machine add api # 'api' is the workbox's Tailscale hostname
Claude Code is the main implementer
The agents in those panes are plain CLIs. Claude Code does most of the implementation: refactors, features, anything that needs reading a lot of code before touching it. It runs interactively in a Herdr pane, not headless, because the pane is the audit trail. If I want to know what it's doing, I attach and watch. If it's blocked on a question, I answer it right there.
Grok CLI and Codex sit in other panes as second-opinion reviewers, in read-only mode. Herdr detects all of them the same way, so the status picture doesn't care which model is behind a pane.
Tailscale: one network, one door
Everything above talks over a Tailscale tailnet: the Mac, the Proxmox host, every workbox, the foreman VM. Each one gets a stable MagicDNS name, so ssh api works from the Mac no matter where the Mac is: at home, at a café, on a phone hotspot. That's also why herdr machine add is so short: Herdr rides on plain OpenSSH, and Tailscale makes the hostnames resolve.
The tailnet also carries the rules about who can reach what, as ACLs:
- The Mac can SSH into every workbox and the foreman VM.
- Workboxes can't SSH into each other, and none of them can reach the rest of my LAN: not the NAS, not the router, not my other services.
- Outbound from a workbox is an allowlist: package registries, the git host, docs the model might need, and the model APIs.
Getting webhooks into a house
The awkward part of a homelab factory is that GitHub and Linear need a public URL, and my server sits behind a residential router. I don't want to forward ports to a network of machines that run agents with write access to my repos.
Tailscale Funnel solves it with the same tool that already wires everything together. Funnel publishes one local port on the foreman VM at a public https://<host>.<tailnet>.ts.net URL, and that port is a tiny webhook receiver. Nothing else on the tailnet is reachable from outside, and there's no inbound port open on the router.
The receiver does only three jobs, and it's deliberately boring:
- Verify the signature. GitHub signs payloads with
X-Hub-Signature-256; Linear signs with aLinear-Signatureheader. Unsigned or mismatched requests get a 401 and nothing else happens. This is the front door to a network that can run code. It's the one place I refuse to be clever. - Normalize the event into a small internal shape: source, repo, ticket id, PR number, what changed, who did it.
- Hand it to OpenBot and return 200 fast, so GitHub never retries into a duplicate.
OpenBot as the foreman
The foreman used to be OpenClaw. It's now OpenBot, running as a headless server on its own VM.
OpenBot is a workspace for persistent AI teammates. Each agent in it has a name, instructions, a workspace, and a conversation that survives restarts. It runs on the plans I already pay for (Claude Code, Codex, Grok and others), it keeps a queue per agent so events can pile up while one is busy, and if a plan hits its limit an agent can fall back to another model instead of stalling. I use it from the Mac desktop app and from my phone, both connected to the server on the foreman VM.
What I want from the foreman is simple to say: take an event, decide which agent should handle it, get the work to the right workbox, and report what happened where a human will see it. The foreman agent doesn't write the code itself. It dispatches, and the code gets written on the project's workbox, in a Herdr pane, by Claude Code.
It gets its own VM for a specific reason: OpenBot is a development preview, and its agents run with full access and no per-action approval. That's fine for a dispatcher, as long as the dispatcher's machine holds nothing worth stealing. The foreman VM has no repo checkouts and no GitHub write tokens. It can read events and send messages. That's it.
What the routing actually looks like
The rules are less magical than they sound:
| Event | What happens |
|---|---|
| Linear issue enters Ready for agent | Pick the project's workbox, create a worktree from main, start Claude Code on the ticket, open a PR, link it back on the issue |
| GitHub review requests changes | Message the same Claude Code session in the same worktree to address the comments and push |
| GitHub comment mentioning the bot | Treat it as an instruction scoped to that PR |
| CI check fails on an agent PR | Fetch the log, ask the implementer for a fix, push — bounded retries |
| PR opened by an agent | A different agent does a read-only review |
That last row is the gate from the last post, now automatic. The implementer never grades its own homework, and nobody has to remember to arrange that.
The "Ready for agent" state is deliberate. It's the single human decision left in the front half: this ticket is well-specified enough to hand off. If I write a vague ticket, I get a vague PR. The label is where my judgment goes now, not the keystrokes after it.
Reason Network: letting bots talk to CLIs
The question I kept running into: the foreman lives on one VM, the agents live in Herdr panes on other VMs, so how does a message from one actually reach the other? I didn't want to build an RPC layer between OpenBot and Herdr.
Reason Network answers it. It's one small daemon per machine, peer to peer and end-to-end encrypted, and it puts every coding agent session on every machine onto one network. Each session shows up by name, with its repo, its branch, and whether it's busy or idle. Agents get a handful of MCP tools: list_team to see who's there, send_message to talk to one of them, and ask_user to ask a human for a sign-off.
In my setup it does three jobs.
The foreman talks to the CLIs. When a review comes back on a PR, OpenBot doesn't SSH anywhere or poke at a terminal. It sends a message to the session that wrote the code, something like victor/api-claude, with the review attached. Claude Code receives messages mid-session, and an idle session wakes up for one, so the agent that wrote the branch is the agent that fixes it, with its whole context intact.
The CLIs talk to each other across workboxes. The workboxes can't SSH to each other, but their agents can still ask questions. When the web app's Claude Code needs to know whether an API response changed shape, it asks the API's session directly and gets an answer from the agent that has that code open. That's coordination without shared filesystems or shared credentials.
Approvals come to me. When an agent needs a decision only I can make, ask_user pops up on my Mac with Approve or Deny and a note. The answer goes back to the agent as mine: it's not a message anyone on the network could have sent. That's how "bounded retries" ends. When the cap trips, I get a question, not a silent fifth attempt.
Traffic goes directly between machines when it can, and through a relay that only sees encrypted bytes when it can't. Everything on the network belongs to my account, which matters, because a message is text that becomes instructions for a machine with a shell.
The controller: a Mac running Crafted Herdr
All of this ends up on one desk. The Mac is the controller: it holds the tailnet, the OpenBot app, the Reason Network menu bar, and a window into every workbox.
Herdr's own UI is great one machine at a time. But I have a workbox per project, and what I wanted at a glance was the question across all of them: which agent needs me right now? So I built Crafted Herdr, a native macOS app (Tauri 2, React, TypeScript) that puts every workbox and every agent in one window.
- A Dashboard that leads with "needs you." Blocked and done agents sit at the top, ahead of everything else, with how long they've been waiting. Below that, each workbox's health and what's working right now.
- One Open button. It attaches the agent's pane in a terminal tab inside the app —
ssh -tto the workbox andherdr terminal attachunder the hood — or in Ghostty, iTerm2, or whatever terminal I prefer. Closing a tab only detaches; the agent keeps running on the workbox. - Group by project, workbox, or status, with ⌘K to find anything and ⌘J to jump to the next agent that needs me.
- Live preview and reply. The inspector follows a pane's output and lets me answer an idle agent without attaching. A blocked agent is never answered for me.
- A menu bar count and notifications when an agent becomes blocked or done, so I don't have to keep the window open to know.
It doesn't talk to the workboxes on its own. It runs my installed herdr CLI and nothing else, and an activity drawer lists every command it ran. Over Tailscale, the workboxes are just hosts the CLI can reach, so the same window works from the couch or from a hotel.
brew install --cask valencar/tap/crafted-herdr
It's open source and unofficial: an independent community project, not affiliated with herdr.dev.
The loop, end to end
Here's one real-shaped ticket going through, with no one touching it:
- I write a ticket, tighten the acceptance criteria, move it to Ready for agent.
- Linear's webhook comes in through Tailscale Funnel. The receiver verifies it and hands it to OpenBot.
- The foreman picks the project's workbox, creates a worktree, and starts Claude Code in a new Herdr pane with the ticket.
- Claude Code plans, implements, runs the tests on the workbox, and opens a PR. The foreman links the PR on the Linear issue and moves it to In review.
- GitHub fires
pull_request. A different agent runs a read-only review and posts findings. - If CI or the reviewer complains, the foreman sends the findings over Reason Network to the same Claude Code session, which fixes and pushes. That's bounded: a few attempts, then an
ask_useron my Mac instead of looping forever. - When checks are green and the second-model review is clean, the ticket lands in my queue as Needs human review. That's when I look.
- I read the diff, leave a comment or merge. If I comment, step 6 starts again on its own.
Somewhere in there, the Crafted Herdr menu bar might tick up because an agent got blocked on a question. I click, answer, and go back to what I was doing.
What I get back isn't "agents write code." I already had that. It's that the waiting is gone. The time between a review comment and a fix is minutes, not the next time I check my phone.
What I'd tell you before you build it
The receiver is the security boundary, so make it small. Signature check, schema check, dedupe on delivery id, hand off. Every line of cleverness in that service is attack surface on a network that runs code. Funnel exactly one port, and make it that one.
Make everything idempotent. Webhooks get delivered twice. Sometimes three times. If receiving the same event twice starts two agents and opens two PRs, you'll learn that on a Monday morning. Key every job on the event's delivery id and the ticket.
Bound the loops. An agent that can fix its own CI failures can also fix them forever. Cap retries per PR and per ticket, and cap spend. When the cap trips, the right behavior is a loud question to a human, not a quiet fifth attempt.
Agents must not be able to merge. Same rule as before, and more important now that nobody's watching in real time. They open PRs, push fixes, comment, and review. A person merges. Branch protection enforces it, not a prompt.
Isolate by blast radius, not by convenience. One workbox per project means one compromised agent costs one project. The foreman, the one machine that talks to everything, holds no repo tokens at all.
Beware of prompt injection through tickets, comments, and messages. The webhook payload is text written by someone, and so is every message on the agent network. All of it becomes instructions for a machine with a shell. In my setup the only authors are me and a short allowlist of collaborators, events from anyone else are dropped at the receiver, and the only machines on the network are mine. If you run this against a public repo, that filter stops being optional.
Log everything, replayably. Store the raw event and the agent transcript for every job. Herdr's panes and OpenBot's conversations already keep most of it. When a PR comes out wrong, you want to replay the exact input, not reconstruct it from memory.
Why homelab, honestly
Part of it is cost and control. Heavy agent usage on someone else's cloud adds up, and a Proxmox box I already own turns parallelism into a power bill rather than a per-seat bill. Part of it is that the environment is mine: I can bake in whatever the project needs, and nothing leaves the network except model calls, git pushes, and encrypted agent messages.
Part of it is just that it's the best way to understand the thing. Cloud agent products hide the interesting questions behind a button. Running the VMs, the tailnet, and the foreman yourself forces you to answer them: what can this agent reach, what does it hold, who can talk to it, what happens when it's wrong, and how do I find out.
Where this leaves the foreman
The Fleet was me dispatching many agents. The Factory was agents implementing behind gates. This is the version where the loop closes: an event comes in, the foreman sends it to the right workbox, the work goes through review, and I'm pulled back in exactly once — at the end, with a diff and a green board.
I haven't removed myself from the system. I've moved myself to the two places that matter: deciding what's worth building, and deciding whether what came back is good enough to ship. Everything between those two is the factory's job now. The foreman's office, it turns out, is a menu bar icon on a Mac.