Back to AI guides

Herdr Desktop: Persistent Terminals for Coding Agents

Stanley Ulili
Updated on November 23, 2026

Running several coding agents turns a terminal problem into an attention problem. One process is waiting for permission, another has finished a test, and a third is still working in a different repository. Separate windows preserve access to each process but do little to explain where attention is needed.

Herdr Desktop puts those terminals into a shared workspace and separates their lifetime from the application window. Its central architectural choice is that a terminal runtime owns the processes while the desktop app acts as a client. That supports persistent sessions, remote machines, and alternative layouts without requiring every agent to become a chat panel inside one editor.

A workspace organized around real terminal processes

A coding agent is still a program with a working directory, environment, input stream, and output stream. It may invoke a compiler, inspect a repository, or wait for a human response. A useful orchestration interface needs to preserve those properties rather than treating the process as a sequence of isolated chat messages.

Herdr organizes work into spaces and terminal panes. A repository can have its own space, while multiple terminals expose agents, development servers, and tests within it. The result is closer to a purpose-built terminal workspace than an interface that requires every tool to use one model provider's conversation format.

A workspace lists multiple terminal sessions and agent tasks together

That organization helps preserve context. A test process and the agent editing its code can remain adjacent. Switching repositories does not require reconstructing which window belongs to which task. The layout becomes a map of the active work rather than a collection of unrelated terminals.

The terminal boundary is also a compatibility advantage. Tools that already run in a terminal can continue to expose their own controls and output. Herdr does not need to replace their internal reasoning loop to make their sessions visible in one place.

However, grouping processes does not coordinate their changes automatically. Two agents can still edit the same file or make incompatible assumptions about a task. Repository isolation, ownership of changes, and review remain separate concerns from arranging the terminals that host the work.

Status should identify where attention is needed

A terminal's output can be busy without indicating useful progress. A process may print logs continuously while waiting on an external dependency, or remain silent while doing expensive work. Reading every pane repeatedly becomes costly when several agents are active.

Herdr's status model distinguishes working, done, and needs-you states. Its core documentation describes program-reported status through OSC 7501, the Program Status Protocol. This is a more explicit contract than inferring an agent's state by searching screen text for a few familiar phrases.

The desktop workspace preserves terminal output while exposing active agent sessions

The distinction matters for reliability. A program that reports it is blocked can direct attention immediately. An interface that guesses from output can confuse a printed example with a real request or miss a prompt after an upstream tool changes its wording.

There is still a limit to what a state label means. Done describes the process's reported state, not an independent review of its changes. Tests can pass while requirements remain incomplete, and an agent can declare success prematurely. The status helps decide what to inspect; it does not replace inspection.

Likewise, a needs-you indicator should lead back to the actual terminal context. A permission request, failed command, and ambiguous requirement require different responses. Preserving the original input and output helps the operator make that distinction without relying on a lossy summary.

The runtime outlives the window

The process owner is herdr-core, exposed through the hc command-line client. The desktop application renders a view of terminals managed by that runtime. Closing the desktop window therefore does not inherently terminate the programs running inside those terminals.

This separation creates a durable connection point. A client can detach, restart, or update while the runtime continues to host the process. Reattaching returns to the existing terminal rather than launching a second agent that happens to receive the same prompt.

For remote work, the process host becomes especially important. A laptop can connect to a Mac mini or another machine that keeps running independently. The remote machine hosts the runtime and agent, while the laptop supplies the interface.

The laptop connects to a separate machine that hosts the terminal runtime and coding processes

Persistence should be understood at the correct failure boundary. Keeping a process alive after the GUI closes does not make a sleeping or powered-off host continue computing. If the runtime and agent live on the laptop, closing the lid can still interrupt work when the operating system sleeps.

Moving the runtime to an always-on host addresses that particular problem. It does not establish automatic recovery after the host reboots, loses power, or exhausts memory. Those are operational concerns beyond the desktop client's lifetime.

This distinction prevents a common misunderstanding of persistent sessions. A session can survive loss of its viewer while still depending on the machine that actually runs it. The architecture makes that dependency visible rather than removing it.

SSH connects machines without moving execution to the client

Herdr can bring remote terminals into the workspace over SSH. The core's documented machine model allows a server, virtual machine, or another laptop to join the terminal list. The desktop client can then interact with work occurring on that host.

SSH links the desktop client to a runtime that executes commands on the remote machine

The connection is not equivalent to installing only a visual application on the laptop and leaving the remote machine untouched. The host still needs the appropriate runtime and programs. SSH provides access and transport; the terminal process needs a real execution environment at the other end.

A remote workspace inherits that host's filesystem, dependencies, credentials, and network reach. A command that succeeds there may fail locally because the environments differ. Conversely, the remote agent may have access to repositories or services unavailable on the laptop. Naming the host clearly is part of preventing accidental operations in the wrong environment.

Tailscale can provide a private network path, and Tailscale SSH can be part of an access design. Those are connection choices rather than a new location for the model's computation. The coding agent still communicates with its configured provider unless it uses a local model.

That last boundary matters for privacy claims. A direct terminal connection can avoid sending terminal traffic through a separate application relay, but the agent may still transmit prompts, code, or tool results to a model service. Evaluating data handling requires tracing both the terminal transport and the agent's provider requests.

Layouts change the view; mods can change behavior

A desktop workspace can present the same underlying terminals in very different ways. Herdr's gallery includes layouts and modifications, ranging from conventional development workspaces to a deliberately nostalgic Herdr 98 interface.

Herdr 98 changes the desktop presentation while retaining access to real terminal sessions

The playful appearance is useful evidence of the architectural separation. The terminal runtime does not need to be rewritten because the client uses a different arrangement of panes, controls, or visual styling. The presentation is replaceable while sessions continue to have stable identities underneath.

More practical community layouts can add file views, terminal groups, task information, and other controls around the same work. A layout that surfaces the right information can reduce the cost of switching between agents and reviewing their output.

A community workspace combines a terminal with file and task-oriented panels

However, visual customization and behavioral modification deserve different treatment. Changing colors or pane arrangement affects presentation. A modification that starts agents, sends terminal input, reads files, or invokes runtime operations has authority over the work environment.

That means gallery content should be reviewed as software or executable instructions when it changes behavior. A polished interface is not evidence that the underlying actions are appropriate. The useful review questions concern what it can read, which processes it can control, and where it can send data.

Customization also creates a maintenance obligation. If a layout depends on a runtime API or a particular agent's output, changes upstream can affect it. A small, understandable modification is easier to evaluate and repair than a large opaque workspace generated once and then treated as permanent infrastructure.

Agent roles require a coordination contract

One customization organizes work around an assistant, workers, and a reviewer. The interface makes the roles visible and gives each a place in the workflow. That can help an operator distinguish task decomposition from implementation and review.

A role-based customization separates assistant, worker, and reviewer responsibilities

Roles are useful only when the underlying task boundaries are clear. A worker needs a defined scope, an expected output, and a way to report completion. A reviewer needs access to the actual changes and relevant checks. Giving three processes different names does not ensure that they will avoid duplicating work or accepting each other's unsupported claims.

The core supports running, reading, waiting for, and sending input to terminal processes. Those operations provide building blocks for coordination. The policy for when to start a helper, what authority to delegate, and how to resolve conflicting results belongs to the workflow built on top.

Shared files introduce an additional hazard. Parallel agents working in one checkout can overwrite assumptions about repository state. Separate worktrees or explicit file ownership can reduce collisions, while a single integration point can resolve changes before review. The exact approach depends on the project rather than on the terminal layout.

A board offers another way to expose attention. Grouping sessions into needs-you, working, and done columns makes the state of several tasks easier to scan than a wall of equal-sized terminals.

A Kanban-style board groups agent sessions by their reported attention state

The board should remain connected to evidence. A finished card needs a result that can be opened and checked, while a blocked card needs the specific question or permission request. Otherwise the board risks becoming a second source of task status that drifts away from the actual processes.

Mobile access is another client of the same work

Herdr's mobile interface extends the client model to a phone. It can expose an inbox of agent states and provide access to the relevant session. The computation continues on the host rather than moving the coding environment onto the phone.

The mobile client presents an agent inbox and the terminal context for a selected task

This can be useful for responding to a narrow question or checking whether a long-running task finished. It does not make a small screen an ideal environment for reviewing a large diff. Good mobile use depends on distinguishing brief steering from decisions that deserve a full inspection.

Remote access also makes interruption recovery part of the experience. A temporary connection failure should not create a second process or lose the identity of the existing one. Stable sessions make reconnecting more useful than simply replaying the last prompt.

The overall model is therefore less about making every screen equally powerful and more about letting several clients attach to the right work. The desktop can support detailed review, the phone can surface a blocked task, and the terminal can remain available to the agent that started it.

Final thoughts

Herdr Desktop separates terminal execution from the window used to observe it. That makes persistent sessions, remote hosts, and alternative desktop or mobile interfaces parts of the same architecture. Explicit program status can then help direct attention across several active agents.

Persistence and visibility improve orchestration, but they do not establish correctness or remove host dependencies. The strongest setup combines clear execution locations, bounded agent roles, reviewed customizations, and direct access to evidence. With those boundaries in place, the workspace becomes a useful control surface for real development processes rather than another layer of chat tabs.

Got an article suggestion? Let us know
Licensed under CC-BY-NC-SA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.