BMad Loop vs. phax
A side-by-side comparison, last checked on 2026-11-25 against BMad Loop v0.13.2 (2026-10-10) and its
mainbranch (last pushed 2026-11-22) — its README, feature catalog, CLI, configuration and run-state references and CHANGELOG, and the BMAD-METHOD README (v6.12.4, 2026-10-14) — and phax 0.43.0.
The one-line difference
BMad Loop and phax are the same kind of program: plain code that starts a coding agent, runs your commands on what it left, and commits only then. BMad Loop does it for the stories of a BMAD project, one after another, across six agent CLIs; phax is verified delegation of one approved spec and plan, with every phase in its own worktree, the plan reconciled file by file against the diff, and the evidence kept on a Git branch. Same refusal to take a model's word; different unit of work, different defaults, different record.
What BMad Loop is, concretely
BMAD-METHOD is a set of skills
and workflows you install into your AI coding tool (npx bmad-method install)
and drive from inside it. Its README lists BMad Loop among its modules:
"Builds, verifies, and retros a whole epic unattended". BMad Loop is a
separate Python CLI and TUI, installed with uv tool install, which its own
README describes as "A deterministic ralph-loop orchestrator for the
BMAD-METHOD implementation phase". After bmad-loop init and validate,
bmad-loop run drives:
Stories come from the BMAD sprint board (sprint-status.yaml) or from a
stories.yaml breakdown. For each one it launches a fresh agent session in a
terminal multiplexer (tmux by default), and that session plans the story's
spec, implements it and reviews itself. Then the program takes over:
- What checks the work. "After each session the orchestrator checks the
spec status, the baseline commit, that code actually changed, and that the
board matches, then runs your
[verify]commands before it commits." A failure "feeds a fix session the output", and a session is complete "only on a completion event from the coding agent or the death of its session, never on model prose". - Review. A separate session "that never inherits the implementer's
context, optionally on a different CLI or model", at most
max_review_cyclestimes (3 by default). - When it does not converge. A story that exhausts
max_dev_attemptsis deferred and the run moves on (in place, it pauses for a manual rollback if the attempt left changes). A CRITICAL escalation pauses the run forbmad-loop resolve, and a gate (per-epicby default) pauses it for you. - Deferred work. Sessions append split-off goals and findings to
deferred-work.md(DW-<n>entries);bmad-loop sweeptriages them against the code and builds the buildable ones through the same loop. - Git and isolation. Work happens in place on your branch by default;
[scm] isolation = "worktree"gives each story a worktree and a branch, merged back locally, and "no PRs are opened". Sessions launch with their CLI's permission-bypass flags by default; asandboxedmode for claude and codex is onmain, not yet in a tagged release. - What it stores.
.bmad-loop/runs/<run-id>/holdsstate.json, an append-onlyjournal.jsonland session logs.initgitignores it.
It is MIT-licensed (© BMad Code, LLC) and free. Its README opens with a warning: "Early open beta — experimental, and moving fast", with "breaking changes in any pre-1.0 release". The repository dates from 2026-06-19 and has 193 stars; BMAD-METHOD has about 55,700.
What phax is, concretely
A compiled CLI (Node launcher + Deno-compiled binary, Effect / TypeScript)
that drives an AI coding agent (Claude Code by default; Codex and Mistral
Vibe once enabled) through isolated, gated phases. You write a spec and a
plan.md — by hand with the bundled skills, or headlessly with phax artifact new spec|plan --headless --brief — and approve them. phax run refuses a plan
that is not Approved or has gone Stale, then executes each phase in its own
git worktree, runs a mechanical gate profile after each phase with a
same-session fix loop, reconciles the planned files against the actual diff,
and stops at review_open with a review handoff, an optional compliance
review, an optional read-only code review and an optional GitHub PR. Every
review finding gets an id and a fate: fixed, dismissed or deferred. A plan can
put its acceptance tests first, judged by a provider you configure, and can
declare stops for a person's review. With records turned on, every phase
leaves its manifest, gate results, reconciliation, diff, handoff and transcript
on a phax/records/v1 branch; every run keeps a cost ledger, and phax plans estimate prices a plan before it runs. Every command answers JSON with a
schema under --json. phax is the runtime; it spawns the agent headlessly.
Side-by-side
The key distinction
The two agree on the main point: sequencing, retries and completion are code, and a commit waits for your own commands to exit green. The difference is what the work is checked against:
- BMad Loop checks the outcome of a story: something changed, the spec and the board say done, your verify commands pass, and a second session reviewed it. What should change is decided inside the dev session, which plans the story's spec as it goes. Worktrees and sandboxing are options.
- phax checks a change against a plan approved beforehand: each phase declares its files, its gate runs, and the plan is reconciled file by file against the diff, with every deviation surfaced. The worktree and the provider's sandbox are the default.
So BMad Loop is closer to an unattended sprint runner for a BMAD backlog: it works through stories, sets aside the one that does not converge and keeps a ledger of what is left; phax is verified delegation of one approved change, closer to a build system with CI-style gates for agent work.
Where BMad Loop is ahead today
- It drives six agent CLIs (claude, codex, gemini, copilot, antigravity, opencode) and takes a new one as a TOML profile; phax drives three.
- Runs launched from its TUI are detached processes that survive the TUI's
exit, and
bmad-loop attachjoins a live session;phax runholds the terminal. - It has a TUI dashboard (runs, board, ledger, journal, policy editor); phax has no UI.
- One run works through a backlog and can defer a story that exhausts its attempts; a phax run executes one plan and stops at the phase whose gate stays red.
- It builds deferred work:
sweepruns the buildable ledger entries through the same loop. phax records a deferred finding and stops there. - A token budget can end a runaway session (
session_budget_mode = "enforce"); phax measures and estimates cost, and enforces no budget. - A review session can run before every story's commit; phax's automated compliance and code reviews run once per run, at review.
- It documents Windows through WSL and an experimental native backend; phax ships macOS and Linux binaries only.
- It is an official module of BMAD-METHOD (about 55,700 stars); phax is a single-maintainer project.
When each fits
- BMad Loop if you already plan with BMAD-METHOD and want its sprint board built story by story while you are away, on the agent CLI of your choice, with your tests before each commit and a dashboard to watch it.
- phax if you want the change held to a plan you approved: isolation and a sandbox by default, files reconciled against the plan, findings with a fate, a pull request and records in Git — i.e., you trade agent breadth and backlog automation for a tighter contract per change.
Two things worth noting
- They are composable one level up, not side by side. BMad Loop and phax fill the same slot — the program that starts the agent and checks its work — so a given change goes through one or the other. BMAD-METHOD is the part that composes: its README says you can "carry its briefs, specifications, and architecture into your existing delivery workflow", and a BMAD brief can be the source of a phax spec and plan. phax does not read a BMAD sprint board or story file.
- Relative to Spec Kit and OpenSpec (see
spec-kit-vs-phax.mdandopenspec-vs-phax.md): BMAD-METHOD sits where they do — skills and artifacts driven from inside your agent. BMad Loop is a separate program that runs your own commands before each commit and never takes the model's word for "done": of the tools compared here, it is the nearest to phax.