Herdr is a terminal workspace manager for AI coding agents. This reference covers the core concepts, command groups, and keyboard.

Keyboard

Introduction

Herdr is a terminal workspace manager for AI coding agents: persistent sessions of workspaces, tabs, and panes, with agent detection built in.

Learn these first

ShortcutAction
prefix+cNew tab
prefix+v / prefix+minusSplit right / down
prefix+h/j/k/lMove between panes
prefix+wWorkspace navigation
prefix+qDetach; everything keeps running

The prefix is ctrl+b by default; prefix+? lists every active binding.

Getting started

Concepts

session
└── w1            workspace   project container (one repo or task)
    ├── w1:t1     tab         layout: agents, logs, server, review
    │   ├── w1:p1 pane        a real terminal; can host an agent
    │   └── w1:p2 pane
    └── w1:t2     tab

A pane is a real terminal, preserved across client detach. An agent is a process Herdr recognizes inside a pane. A session is a persistent server namespace; herdr attaches to the default session. Public IDs are opaque handles: w1, w1:t1, w1:p1.

herdr session list                 # persistent server namespaces
herdr workspace list               # w1, w2, ...
herdr tab list --workspace w1      # w1:t1, w1:t2, ...
herdr pane list --workspace w1     # w1:p1, w1:p2, ...
herdr pane current --current       # the calling pane's ID

Quick start

herdr

Launch or reattach to the default session.

claude

Run an agent in the focused pane; Herdr detects it automatically. Use the prefix keys to split a pane (prefix+v), open a tab (prefix+c), and detach (prefix+q) — panes and agents keep running.

Command map

Layout

Workspaces and tabs

CommandPurpose
herdr workspaceCreate, focus, rename, close workspaces
herdr tabManage tabs inside a workspace

Panes and worktrees

CommandPurpose
herdr paneSplit, run, read, move, close panes
herdr worktreeCreate and open git worktrees

Agents

CommandPurpose
herdr agentStart, prompt, wait on, read agents
herdr integrationInstall agent integrations
herdr pluginInstall and manage workflow plugins

Sessions and server

Sessions and machines

CommandPurpose
herdr sessionNamed sessions: list, attach, stop
herdr machineSaved SSH machines

Server

CommandPurpose
herdr serverStop or reload the running server
herdr statusShow client and server state

Utilities

CommandPurpose
herdr apiSocket API snapshot and schema
herdr notificationShow a notification
herdr updateUpdate a direct install
herdr channelChoose the stable or preview channel
herdr configValidate or reset config.toml
herdr completionGenerate shell completions

Also see

0 Comments for this cheatsheet. Write yours!