Skip to content
Open console

Herdr

Herdr is a terminal workspace manager for running named Claude Code and Codex sessions over SSH. This image ships Herdr with the Claude Code and Codex command-line agents installed. The image contains no customer AI credentials.

ComponentVersion
Herdr0.9.5
Claude Code2.1.309
Codex0.166.0
Ubuntu26.04.1 LTS
ResourceMinimum
vCPU2
Memory4 GiB
Storage40 GiB

SSH is the intended external access method. The local firewall allows inbound SSH and denies other inbound traffic by default. Each SSH user keeps Herdr session state, agent resume references, and account credentials in that user’s home directory on the VM’s persistent disk.

The image contains no Claude or Codex credentials. Authenticate only with accounts you control.

Connect to the deployed VM over SSH as ubuntu. Confirm first boot completed and the Herdr CLI is available:

sudo systemctl status herdr-first-boot.service --no-pager
herdr --version

Start Herdr in your SSH session:

herdr

Use a named session when you want a separate workspace:

herdr session attach project-a

Initialize and authenticate each agent as your SSH user first:

claude
codex

Complete the authentication flows privately. Once each client has created its configuration directory, install the Herdr integration for that user:

herdr integration install claude
herdr integration install codex

The Claude integration requires ~/.claude and the Codex integration requires ~/.codex. Do not run either command as root. The image never preloads these directories, hooks, access tokens, API keys, or sessions.

For an ordinary SSH disconnection, the Herdr server keeps panes and their running processes alive. Reconnect and attach the same named session:

herdr session attach project-a

A VM reboot stops the server and every process running in its panes. The restore is not automatic on boot. Reconnect over SSH and run herdr session attach <name> to rebuild the saved workspace, tabs, panes, current directories, layout, and focus. Claude Code and Codex resume prior conversations through each agent’s own authenticated session restore.

Herdr image updates ship as a new immutable template. Do not use unattended in-application updates on a marketplace VM, because they would move the installed Herdr release outside the image lifecycle.

Before an operator upgrades, stop the source VM or take a consistent offline snapshot. Session state lives in each SSH user’s home directory. Preserve it by backing up /home or the data disk. Keep the source VM and backup until the replacement VM passes your validation.

Ask the ZCP docs

Type a question and pick an assistant. The assistant opens in a new tab and reads this page and the full ZCP documentation, so its answer comes from our docs.

Example questions

Ask with

Your question goes to the assistant you pick, under its own terms.