--- name: herdr-operations description: Use when inspecting or operating Herdr sessions, workspaces, tabs, panes, agents, terminal output, agent messaging, or waits. --- # Herdr Operations Inspect state before acting. Use the installed CLI help as the authority for the current version. ## Safe discovery ```bash herdr status herdr session list --json herdr workspace list herdr pane list herdr agent list ``` If one command fails, do not try invented alternatives. Run `herdr --help`, then the relevant command group's `--help`; if needed, use [the upstream docs fallback](references/upstream-docs.md). ## Choose the right target | Need | Use | | --- | --- | | Coding-agent state, output, or message | `herdr agent …` | | Server, test, shell, or low-level terminal control | `herdr pane …` | | Submit a shell command atomically | `herdr pane run ` | | Read logs without soft wrapping | `--source recent-unwrapped` | ## Common workflows Inspect an agent, then use the installed agent-message command: ```bash herdr agent list herdr agent get herdr agent read --source recent-unwrapped --lines 120 herdr agent --help herdr agent "" ``` For example, documented releases have used `agent send`; newer releases may expose another message command. Use the spelling and argument order from local help. Create an unfocused workspace or split pane so current work remains visible: ```bash herdr workspace create --cwd --label