Herdr keeps agent terminals and workspace layouts available after a client detaches, and can restore saved layouts after a restart. It manages the runtime around coding agents rather than replacing or verifying them.
A coding agent can keep working after you close a terminal, but reconnecting to the right session can be awkward. Herdr is a terminal workspace manager built around that problem: it tracks panes, tabs, workspaces, and agent state in a persistent server.
Close the client or lose an SSH connection, and Herdr says it can keep terminals running in the background. After a server or machine restart, it can restore the saved layout and resume supported agent sessions. The original running processes do not survive a machine restart.
Herdr labels panes as working, blocked, or idle so you can see which agent needs attention. It can group work across local and saved remote machines, and exposes a CLI and socket API that agents can use to create panes or coordinate workflows.
The project does not wrap or replace the coding agent. It owns the terminal environment around tools such as Claude Code, Codex, Cursor, and OpenCode. Whether a specific agent resumes cleanly depends on that agent’s support and configuration.
Herdr is not a model, IDE, or correctness checker. A persistent terminal can preserve a process and its output, but it cannot tell whether the code change is right. Review the diff and test the result before merging.
Herdr can help when you routinely leave long-running agent work across sessions, SSH connections, or several projects. For a short task in one terminal, adding another runtime may not help.
Check supported-agent behavior and remote setup in the current documentation before depending on session restoration. The project is licensed under Apache 2.0.
Sources: Herdr repository, Herdr documentation.