Archon vs. phax
A side-by-side comparison, last checked on 2026-11-25 against Archon v0.14.0 (2026-11-07) — its website (archon.diy), and the README and docs of
coleam00/Archonat that tag — and phax 0.43.0.
The one-line difference
Archon is a workflow engine: you write your process as a YAML graph of agent prompts, shell commands, loops and waits for a person, and Archon runs that graph with the checks you put in it. phax is verified delegation: one fixed process, in which an approved plan runs phase by phase, each phase in its own Git worktree, committed only when your project's commands exit green and its files are reconciled with the plan. Archon gives you the means to build a process; phax is one process, with its checks built in and its evidence kept in Git.
What Archon is, concretely
You install a binary (curl -fsSL https://archon.diy/install | bash, a
PowerShell installer on Windows, Homebrew or Docker), add the agent runtimes you
use (archon provider add claude), and run a workflow in any Git repository:
Its README calls it "a factory builder. You describe how work should get done as YAML workflows, and Archon runs them with AI agents, scripts and your decisions in the places that need them", and states the split: "The workflow fixes the steps, the checks and the gates. The agent supplies the judgment inside each step."
A workflow is a YAML file in .archon/workflows/ that lists nodes and their
dependencies; nodes with no dependency between them normally run in parallel. A
node is an agent prompt: or command:, bash: or script: code ("No agent,
no model cost"), a loop:, a wait: for a time, an event or a person, a child
workflow:, or cancel:. Each agent node can name its own provider, model
and effort, and nodes hand each other files through $ARTIFACTS_DIR. The
checks are the ones the workflow declares:
- A loop ends on
until_bash, which the README example glosses as "your test command; code decides when it is done", bounded bymax_iterations. - An approval gate or a
wait: attentionnode pauses the run as one attention item, answered from the CLI, the web console or a chat platform. - The bundled
sdlcpack takes an issue to a merged pull request:archon-shipplans, implements, reviews the pull request "through specialist lenses", fixes the findings and waits for CI, andarchon-merge-queuemerges through "a gate that checks the review verdict and CI at the head commit and that the base branch is not red".
"Repository runs get their own git worktree by default, so several can work on
one repository at once." The docs add that a worktree "is not an execution or
security sandbox"
(worktrees)
and that "Archon runs the Claude Code SDK in bypassPermissions mode"
(security);
a node can narrow its tools with allowed_tools and denied_tools. A folder
project, which has no Git machinery, can run in a Docker container over a
read-only mount, with an approval before anything is written back.
Runs start by hand, detached, from a schedule, a GitHub event or a webhook, or
from Slack, Telegram or Discord. archon serve gives a web console and a REST
API with an OpenAPI spec, and archon skill add installs a skill so that your
coding agent can drive Archon. The README lists what is kept: "Approval gates,
a full event log and transcript for every run, and the cost of every run, all
stored in your own database" (SQLite by default, PostgreSQL if you want it).
It is MIT-licensed, free and self-hosted ("One install on your machine or server"), with anonymous telemetry on by default and an opt-out. It runs Claude Code, Codex and Pi. The repository has 23,995 stars and 3,545 forks; its docs say the current 0.x series is a rewrite of an earlier, different product. Its README states that Archon runs built 363 of the 524 pull requests merged into the repository between 1 and 19 October 2026: that figure is the project's own.
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 — with the bundled skills, or headlessly with phax artifact new spec|plan --headless --brief — decide their open questions on the record 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 your gate profile
(your typecheck, tests, lint) after each phase with a same-session fix loop, and
reconciles the planned files against the actual diff. A plan can put
acceptance tests first: one phase writes them, and a
later phase must pass them unchanged. The run stops at review_open with a
review handoff, an optional compliance review and code review whose
findings each get an id and a fate, and an optional GitHub PR.
With records on, every phase leaves its gate results, reconciliation, diff and
handoff 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, in the foreground, one phase after another.
Side-by-side
The key distinction
Both put a deterministic program, not the agent, in charge of the sequence, and both can make a shell command the judge of "done". The difference is where the checks come from:
- Archon: from the workflow you write.
until_bashlets your test command end a loop, await:puts a person at a gate, and the bundled pack adds review, CI and a merge gate. The engine enforces what the workflow declares; in exchange it runs any process, with triggers, queues, chat, parallel nodes and work that is not code. - phax: from the tool. Every phase of every run passes the project's gate profile, is reconciled file by file with the plan and leaves a record, and a plan that was not approved, or changed since its approval, does not run. In exchange there is one process, for one kind of work: an approved change to a repository.
So Archon is closer to a workflow language and runtime for agent work, with which you build your own process; phax is verified delegation, closer to a build system with CI-style gates for an approved plan.
Where Archon is ahead today
- Detached runs.
archon workflow run … --detachreturns at once andarchon workflow wait <run-id>blocks until the run finishes or needs you.phax runstays in the foreground. - Parallel nodes. Nodes with no dependency between them run in parallel. phax phases run one after another.
- Triggers. Schedules, GitHub events and webhooks start runs. Every phax run is started by a person or a calling agent.
- Issue in, merged pull request out. The
sdlcpack triages issues, builds them and merges through a queue. phax starts from a spec and a plan and stops at an open pull request. - An attention queue.
archon workflow attentionlists every paused run with its question and choices. phax has no such list. - A web console and chat.
archon serve, and adapters for Slack, Telegram, Discord and GitHub webhooks. phax has no UI and no chat surface. - Workflows you write. Any process with steps, checks and decisions, including work that is not code. phax's sequence is not configurable.
- One task, no plan.
archon workflow run <workflow> "<message>"is enough. phax runs only an approved plan. - Spend ceilings. A
budget:block (max_spend_usd) per run andmaxBudgetUsdper node. phax estimates and records cost, with no ceiling. - Waiting out a usage limit. A run that hits a provider usage limit retries by itself at the reset time. phax stops (exit 8) until someone resumes it.
- Container isolation. Folder projects can run in a Docker container with a
write-back approval. phax's
isolatedmode is refused today. - Windows and servers. A Windows installer, Docker and VPS deployment, PostgreSQL, user roles. phax runs locally on macOS and Linux.
- A REST API. With an OpenAPI spec. phax's interface is its CLI and the JSON it answers.
- Adoption. 23,995 stars and 3,545 forks. phax has a single maintainer.
When each fits
- Archon if you want to write your own process once — issue triage, queues, review, merge, or work that is not code — and have runs start from triggers or chat, run in parallel, and come to you only for the decisions you own.
- phax if you want each step of an approved change to pass your own commands before the next one starts, with a file-by-file account of plan against diff and a history in Git — i.e., you trade triggers, parallelism and a console for a gate and a reconciliation on every phase, and for records.
Two things worth noting
- They are composable in one direction. An Archon
bash:node runs any command, so a workflow can callphax run --plan <plan> --jsonand read its exit code and JSON answer: Archon would bring the trigger, the queue and the attention item, phax the per-phase gates, the reconciliation and the records. No such workflow ships with either tool. - Relative to Spec Kit and OpenSpec (see
spec-kit-vs-phax.mdandopenspec-vs-phax.md): Spec Kit's workflow runner (YAML pipelines of command, prompt, shell and gate steps) is the nearest relative of Archon's workflows. Archon goes further on the run side (a worktree per run, detached runs, triggers, stored transcripts and cost); Spec Kit and OpenSpec go further on the spec side, where Archon has no artifact.