Installation
Install
With npm (recommended). The package is a small launcher (Node 22 or later) that downloads the binary for your platform on first run and caches it per version under ~/.phax/bin/<version>/:
As a binary. Download it with its checksum from GitHub Releases. Targets: phax-darwin-arm64, phax-darwin-x64, phax-linux-x64, phax-linux-arm64.
Two repositories. To keep specs and plans private and the code public, link the code repository checked out inside the process repository with "code": { "root": "code" }: see Process and code in two repositories.
Upgrading. See Upgrading phax for what to run after an upgrade, release by release.
An agent. phax drives an agent CLI that must be on your $PATH: claude (Claude Code), and optionally codex (OpenAI Codex) or vibe (Mistral Vibe). Keep claude installed even if you prefer another provider: phax falls back to it when the preferred one is missing or cannot meet the run's security mode.
The skills. phax ships the skills your agent uses to write its documents: phax-spec, phax-planning and phax-cli; phax-review, which phax review-code follows; and the three doctrine skills phax-decide-spec, phax-decide-plan and phax-decide-review. phax artifact decide follows the first two when it decides a spec's or plan's open questions.
Shell completions (optional). They need the usage CLI, both to generate the script and at Tab time. Run names complete live from your registry.
If zsh has no completions directory on its $fpath yet, create one once: