Coding agents have changed shape. They started as assistants that answered while I typed. Today Claude Code, Codex, Antigravity and their peers take a task, plan it, run commands and work through it for a long stretch without me. That changes what I need from the machine they run on. An assistant that answers while I type can live anywhere. An agent that is supposed to keep going while I am in a meeting, on a train or asleep needs a host that stays on for as long as the task takes.
A laptop is a poor fit for that job. It sleeps when I close the lid, it drops off the network when I move, and its battery runs out. Each of those events ends the agent’s work with it. So I separated the two roles: my laptop and my phone are where I look at agents, and a server is where they run.
The point of handing a task to an agent is that I can stop paying attention to it. If the agent only works while my laptop is open and connected, I have not handed anything off. I have tied myself to a machine and turned my availability into the agent’s uptime.
There is a second reason. My laptop is the device I take everywhere and close without thinking. Making it responsible for long-running work means every ordinary habit, like packing up to leave, can interrupt a job halfway through. I would rather keep that risk away from the work entirely than remember it every time I stand up.
Once the agents leave the laptop, the question is how I keep in touch with them. The answer does not depend on which agent or which tool I use. A good host for unattended agents has four properties.
It stays on. The host does not sleep, travel or run on a battery. A task that takes three hours gets three hours, whatever I do with my own devices in the meantime.
It is reachable from anywhere. I need to see and steer the agents from my laptop and from my phone, over whatever network I happen to be on. A host I can only reach from my desk brings back the problem I wanted to remove.
It tells me when an agent needs me. An unattended agent rarely fails loudly. More often it stops to ask a question or wait for an approval, and then it sits there until someone answers. The host has to surface that state, not hide it in one terminal among many.
It stays small. I do not want an orchestration platform to run or an agent framework between me and the CLIs I already use. A server, a set of terminals and a way to see which agent needs attention should be enough.
Claude Code, Antigravity and Codex run as ordinary command-line processes in terminals on a Linux server that does not sleep and does not travel. Nothing about the agents changes. Only their host does.
SSH and a terminal multiplexer cover the first two properties. They do not cover the third: tmux keeps a process alive, but it does not tell me which of ten panes is waiting for an approval, and answering one over SSH from a phone is no pleasure. That gap is why I use herdr to manage those terminals. It keeps the agents running on the server “while your laptop sleeps or the app is closed” (herdr.dev), and for the agents it supports, it shows whether each one is working, done or needs me (agents). I connect to it from the herdr desktop app and the herdr mobile app.
The phone is the part of this that matters most to me. If I can see on my phone that an agent is waiting, I can answer it wherever I am, and the agent does not have to wait until I am back at my desk. That is why I want a mobile client and not only a terminal session.
The setup also stays small. herdr sits next to the agents, not between them and me, so I keep using the CLIs exactly as I would on my laptop.
None of this depends on where the server stands. The server side runs on Linux, on x86_64 or arm64, and other machines “join over SSH, whatever they run” (herdr.dev). The apps add machines over SSH or Tailscale, and phones join as clients. A VM from any cloud provider would work the same way, and for many teams that is the sensible choice.
I run mine on a VPS at home, because I prefer self-hosting when the choice is mine. The agents work inside my repositories, with my credentials and my unfinished branches. I want that material on hardware I own and control, not on a machine I rent. The cost of that choice is that I am also the operator: updates, reboots and outages are my responsibility, not a provider’s.
herdr’s own design fits that preference: “Your phone and your computers talk straight to your machines. No account, and your terminals never pass through us.” I treat that as a statement about where my terminal traffic goes, not as a promise about telemetry.
Self-hosting the runtime also has a clear limit. Claude Code, Antigravity and Codex still send their prompts to the hosted models behind them. This setup changes where the agents live, not where the models run.
Moving agents to a server removes the most common way to interrupt them. It does not remove every way, and it adds a few responsibilities of its own.
A reboot still ends the work. If the machine reboots or the server stops, “the programs stop too. Their panes come back with a shell in the same folder, but Herdr doesn’t restart an agent or resume its work in progress” (herdr.dev). A kernel update on the server therefore ends every running agent, and restarting them is my job. That is why I treat a reboot like a deployment and schedule it for a time when no long task is running.
Idle is not the same as done. Antigravity can show as idle while its background tasks or subagents are still running (herdr’s agent guide). A quiet terminal does not prove that a job has finished, so the result needs checking, not the status.
The server holds the credentials. Authentication to the machine stays with OpenSSH, and herdr does not enable SSH agent forwarding for you (connecting machines). I consider that the right default. An agent on the server acts with whatever credentials live on the server, so I decide deliberately what those are.
I give the agents an identity of their own instead of lending them mine. They work with personal access tokens that have limited access, and with keys that exist only for that server. My own credentials stay off the always-on machine. The separation limits two things. An agent can only reach what its tokens allow, so a mistake stays inside that boundary. And if something goes wrong, I can revoke the server’s tokens and keys without touching the credentials I use every day. Whatever the agents do, they do under their own identity, never under mine.