zterm

Harnesses

The agents zspawn knows how to launch. The id in the first column is what you type: zspawn claude.

id harness command model and effort
claude Claude Code claude --model <model>, --effort <level>
codex OpenAI Codex CLI codex -m <model>, -c model_reasoning_effort="<level>"
antigravity Antigravity CLI agy not configured
copilot GitHub Copilot CLI copilot not configured
cursor Cursor CLI cursor-agent not configured
grok Grok Build grok not configured
muse Muse Code muse not configured
opencode OpenCode opencode not configured
pi Pi pi --model <model>, --thinking <level>

The command column is what zspawn looks for on your PATH. It is not always the id: the Antigravity CLI installs as agy. zspawn --list prints the same table with this machine in it: which of these commands are here, and what to run for the ones that are not.

zspawn only sets a model and an effort level for the harnesses whose last column names the flags. On any other harness --model and --effort are refused rather than dropped, and the harness launches with whatever it decides for itself. You can still pass the harness its own flags after --.

Effort levels

The levels each harness documents. zspawn passes the level through as you typed it, so a harness that does not know a level says so in its own words.

  • Claude Code: low, medium, high, xhigh, max
  • OpenAI Codex CLI: minimal, low, medium, high, xhigh
  • Pi: off, minimal, low, medium, high, xhigh, max

Installing a harness

When a harness is not on your PATH, zspawn prints the command that installs it. zspawn <id> --install-harness runs that command and then looks again, because an installer exiting 0 is not evidence the command is there.

Claude Code

macOS, Linux and WSL:

curl -fsSL https://claude.ai/install.sh | bash

Windows:

irm https://claude.ai/install.ps1 | iex

OpenAI Codex CLI

macOS, Linux and WSL:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

Windows:

irm https://chatgpt.com/codex/install.ps1 | iex

Antigravity CLI

macOS, Linux and WSL:

curl -fsSL https://antigravity.google/cli/install.sh | bash

Windows:

irm https://antigravity.google/cli/install.ps1 | iex

GitHub Copilot CLI

macOS, Linux and WSL:

curl -fsSL https://gh.io/copilot-install | bash

Windows:

winget install --id GitHub.Copilot -e --accept-package-agreements --accept-source-agreements

Cursor CLI

macOS, Linux and WSL:

curl -fsSL https://cursor.com/install | bash

Windows:

irm 'https://cursor.com/install?win32=true' | iex

Grok Build

macOS, Linux and WSL:

curl -fsSL https://x.ai/cli/install.sh | bash

Windows:

irm https://x.ai/cli/install.ps1 | iex

Muse Code

macOS, Linux and WSL:

curl -fsSL https://dev.meta.ai/install.sh | sh

Windows: the vendor documents no installer, so zspawn has none to offer.

OpenCode

macOS, Linux and WSL:

curl -fsSL https://opencode.ai/install | bash

Windows:

winget install --id SST.opencode -e --accept-package-agreements --accept-source-agreements

Pi

macOS, Linux and WSL:

curl -fsSL https://pi.dev/install.sh | sh

Windows:

irm https://pi.dev/install.ps1 | iex

Pi reads skills from a project's .agents/skills and from ~/.agents/skills. In a git worktree, zspawn installs zc's and zterm's skills into the worktree at each launch, so when your home folder has them too, Pi finds each one twice. Pi uses the worktree's copy, which is the current one, and prints a collision notice for the other. Pi's quietStartup setting hides that notice. zspawn never changes your Pi settings.