# getting started

## install

macOS or Linux, plus at least one agent CLI on your PATH: codex, claude, pi or zot.

Update any time with hrdx update.

## run

# start
$ hrdx
 
# open several projects at once
$ hrdx --cwd ~/Developer/api --cwd ~/Developer/web
 
# pick your default agent
$ hrdx --agent claude
 
# resume each project's latest session
$ hrdx --continue

## flags

flagpurpose
--cwd PATHopen a project as a workspace, repeatable
--agent IDdefault agent for new panes: zot, pi, claude, codex (default zot)
--provider IDpass a provider to every zot pane (zot only)
--model IDpass a model to every zot pane (zot only)
--reasoning LEVELset the reasoning level (zot only)
--continueresume each project's latest session
--codex-bin PATHuse a specific codex binary
--claude-bin PATHuse a specific claude binary
--pi-bin PATHuse a specific pi binary
--zot-bin PATHuse a specific zot binary
--shell PATHshell for shell panes (default $SHELL)
--state PATHstate file for workspace persistence (empty disables)
--freshignore saved workspaces and start clean
--apiserve the control API on a unix socket (default on, --api=false disables)
--persistkeep pane processes alive across restarts via the session holder (default on)

## persistence

Quitting hrdx does not kill your sessions. Pane processes live in a small background session holder. Close the TUI, reopen it, and every shell and agent reattaches exactly where it was: running commands keep running, scrollback and screen state are replayed, nothing restarts. If a held session is truly gone, agent panes relaunch resuming their latest conversation from the agent's own session store.