zterm

For agents

This page lists the facts a coding agent needs to work in zterm. The site's /llms.txt index reads it. Every page here is also served as plain markdown: add .md to its address.

zterm

  • zterm is a terminal for macOS, Linux and Windows. A window holds tabs, and a tab holds panes.
  • Install it on macOS with curl -fsSL https://zestful.dev/zterm/install.sh | sh, on Linux with wget -qO- https://zestful.dev/zterm/install.sh | sh, and on Windows with irm https://zestful.dev/zterm/install.ps1 | iex. See Install.
  • zterm config --path prints where the settings file lives. zterm config --init writes a copy with every key at its default, commented out. See Settings.
  • zterm locate $$ names the pane a shell is running in. zterm ls lists every pane as JSON. zterm focus <pane> brings a pane to the front. See Integrating.
  • A pane's id never changes. Use it rather than a window title or a tab position.
  • zterm perform <action> carries out one action, such as a split or a new tab. See Control actions.
  • zterm bindings prints every keyboard chord the installed build binds. See Keyboard shortcuts.

zspawn

  • zspawn starts a coding agent, such as Claude Code or Codex, in the pane it runs in. zspawn calls each agent program a harness.
  • Run it with exec, as in exec zspawn claude, so the pane runs the agent and nothing else.
  • zspawn --list shows every harness and where it is installed. zspawn --dry-run claude shows what a launch would do without doing it. See zspawn and Harnesses.
  • Squad demo is a prompt that has a leader agent run three more agents in zterm panes to build a small game.