For AI agents: the complete documentation index is available at https://docs.phax.run/llms.txt, the full documentation bundle is available at https://docs.phax.run/llms-full.txt, and this page is available as Markdown at https://docs.phax.run/index.md.
phax
The golden path, just facts.

phax is verified delegation for AI coding agents: hand work to Claude Code, OpenAI Codex or Mistral Vibe and get back facts, not claims. Every phase passed your checks, every file is accounted for, every finding has a fate, and the history stays in Git.

npm install -g @lbdremy/phax
phax · greetrun: review_open
  1. specCompleted
  2. planCompleted
  3. runreview_open
  4. reviewconformant
  5. propened
phase-01cleaned_up
phase-02cleaned_up
phase-03review_open
approvelint · approvegategategateverdictpublishspecplanphase-01phase-02phase-NNcompliancereviewpull requestone record per phase → phax/records/v1
author

Author

Specs and plans with a status and an approval, drafted headless from a brief, open questions decided with phax artifact decide, plans linted, estimated and checked for overlap.

run

Run

Each phase in its own worktree with the agent you pick; nothing moves until your gates pass; every file planned vs. done.

review

Review

A compliance verdict against the plan, a headless code review whose findings each get a fate, and a pull request that explains itself.

keep

Keep

Each phase's record on phax/records/v1 and a cost ledger per run.

phax

phax is verified delegation for AI coding agents: hand work to Claude Code, OpenAI Codex or Mistral Vibe and get back facts, not claims. Every phase passed your checks, every file is accounted for, every finding has a fate, and the history stays in Git.

Documentation: docs.phax.run · npm: @lbdremy/phax

You hand phax a change in two documents: what to build (a spec) and how, phase by phase (a plan). phax drives the agent you pick through the plan and gives you back a change whose every step a program checked, not one a model vouches for. Sequencing, gates, retries and state are plain code; the agent is the only non-deterministic part.

The one delegating can be a person or another agent. Every command answers JSON with a schema under --json, so an agent that hands a change to phax reads the outcome, the compliance verdict and each finding's fate instead of trusting another agent's "done": see Delegating from an agent.

spec ──decide, approve──▶ plan ──lint, approve──▶ run: phase-01 ─gate─▶ … ─gate─▶ review: compliance, findings ──▶ pull request

How phax compares. Spec-driven tools such as GitHub Spec Kit and OpenSpec share the spec → plan → implement idea and work with dozens of agents, but by default what checks the code there is a person's review or a model's judgment. phax is verified delegation instead: it starts the agent itself, runs each phase in an isolated worktree, moves on only when your real checks exit green, and reconciles the plan file by file against the diff. It trades breadth of agents for that enforcement. The comparisons go axis by axis: GitHub Spec Kit vs. phax and OpenSpec vs. phax. The same goes for the agents phax drives, used on their own (Claude Code, Codex), and for neighbouring tools: Kiro, BMad Loop, Archon, zeroshot, Fabro, Bernstein, Goose and Entire.

Quickstart

Install phax and its skills, then set up your repository:

npm install -g @lbdremy/phax
cd my-project
phax init                               # writes phax.json: project name, gate commands
phax skills install --target claude     # phax-spec, phax-planning, phax-cli, phax-review and the decide skills

Write a spec, then a plan, and approve each. artifact new creates the file with its name and status; you fill it in with your agent, which follows the phax-spec and phax-planning skills:

phax artifact new spec greet            # docs/specs/2610041200-greet.md, Draft
phax artifact approve docs/specs/2610041200-greet.md

phax artifact new plan greet --spec docs/specs/2610041200-greet.md --last
phax plans lint docs/plans/2610041201-greet-plan.md
phax artifact approve docs/plans/2610041201-greet-plan.md

Or let phax drive each authoring session from a short brief, and get a committed draft back — the spec, then the plan written from it:

phax artifact new spec greet --headless --brief spec-brief.md
phax artifact new plan greet --headless --brief plan-brief.md --spec docs/specs/2610041200-greet.md --last

Run the plan. Each phase runs, passes its gates and commits; the last one stays open for you:

phax run --plan docs/plans/2610041201-greet-plan.md
# Run: my-project.greet
# Run "my-project.greet" reached review — 3 phase(s) complete.

Review it, open the pull request, and put the run away once it is merged:

phax review-compliance greet            # check the work against the plan, phase by phase
phax review-code greet                  # an agent session primed to review the change with you
phax finding list greet                 # every finding of the reviews, with its fate
phax publish-pr greet                   # push the final branch, open the pull request
phax archive greet                      # after the merge