CLI tool
coleam00/Archon avatar
coleam00/Archon

Archon: A Workflow Engine That Puts Structure Around AI Coding Agents

The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.

23,466 stars3,477 forksTypeScriptMIT

At a glance

What is it?
Archon is an open-source TypeScript tool that turns AI coding sessions into repeatable YAML workflows with deterministic nodes, isolated worktrees, and a CLI, web UI, and chat integrations. It targets teams that want AI assistance without unpredictable behavior.
Who is it for?
Adopt Archon if you already use Claude Code and want to enforce a fixed sequence of planning, implementation, validation, and review across projects. Skip it if you need a model-agnostic tool or if your team cannot commit to the Bun, Claude Code, and GitHub CLI stack.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 1 day ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 14, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

The Problem: AI Coding That Changes Every Run

Ask an AI agent to fix a bug and you get a different process each time. One run skips planning, another forgets tests, and the PR description ignores your template. Archon addresses this by letting you define the development process as a YAML workflow. The workflow specifies phases, validation gates, and artifacts. The AI fills in the intelligence at each step, but the structure is deterministic and owned by you. That is the core pitch: repeatable outcomes without locking out the model's judgment. The intended user is a developer or team already using Claude Code who wants to standardize how AI work is done across repositories.

How Archon Works: Nodes, Loops, and Worktrees

Archon is a workflow engine for AI coding agents. You write workflows in YAML files under `.archon/workflows/`. Each workflow has nodes. A node can be an AI prompt, a bash command, or a git operation. The README shows a `build-feature.yaml` example with a `plan` node, an `implement` node that loops until `ALL_TASKS_COMPLETE`, a `run-tests` node that runs `bun run validate` with no AI, and a `review` node. The loop construct with `fresh_context: true` starts a new session each iteration, which prevents context bloat across repeated attempts. Deterministic nodes like bash scripts run exactly as written. The AI only runs where you put a prompt. Every workflow run gets its own git worktree, so parallel runs do not conflict. The agent handles branch naming and worktree isolation for you.

Getting Started: Full Setup vs Quick Install

There are two paths. The full setup takes about five minutes. You clone the repo, run `bun install`, then start Claude Code with `claude` and say "Set up Archon". A wizard configures credentials, platform integrations, and copies the Archon skill into your target projects. The quick install is a standalone binary. On macOS and Linux you run `curl -fsSL https://archon.diy/install | bash`. On Windows you use `irm https://archon.diy/install.ps1 | iex`. There is also a Homebrew formula: `brew install coleam00/archon/archon`. The quick-install binaries do not bundle Claude Code. You must install Claude Code separately and set `CLAUDE_BIN_PATH` or set `assistants.claude.claudeBinaryPath` in `~/.archon/config.yaml`. The Docker image ships with Claude Code pre-installed, according to the README.

The CLI and the Web Dashboard

The project includes a web dashboard for chatting with your coding agent, running workflows, and monitoring activity. Binary installs run `archon` to start it. The exact command for the dashboard is truncated in the README, so the full invocation is not confirmed here. The CLI itself is the primary interface. You run Claude Code from your target repo, not from the Archon repo, and you ask it to use Archon. For example, "Use archon to fix issue #42". The agent selects the appropriate workflow, creates a branch like `archon/task-dark-mode`, and runs the steps. The README shows an example interaction where the agent reports planning, implementation progress, test failures, and a final PR URL. That example is illustrative, not a recorded transcript.

A Real Limitation: Hardware and Model Lock-In

The quick install has a specific hardware requirement: x64 CPUs must support AVX2. Older Intel or AMD chips and virtual machines that mask AVX2 will fail. The README directs those users to the source installation guide. That is a genuine constraint for older CI runners or cloud VMs. The bigger limitation is the model lock-in. Archon appears to require Claude Code as the underlying agent. The setup wizard and the skill installation assume Claude Code. There is no mention of supporting other AI assistants in the provided material. If your team uses a different coding agent, Archon is not a drop-in tool. Also, the workflow definition is YAML, which is readable but not programmable. Complex logic beyond loops and dependencies must be expressed as bash nodes or multiple AI prompts.

Alternatives: n8n and GitHub Actions, With a Difference

The README explicitly compares Archon to n8n and GitHub Actions. n8n is a general workflow automation tool that can call AI models, but it is not designed for software development workflows with git worktrees and PR creation. GitHub Actions runs CI/CD pipelines defined in YAML, but it is not an interactive coding harness. The difference is that Archon combines deterministic steps (bash, tests, git) with AI nodes that can reason about the codebase and iterate. GitHub Actions does not have an AI node that reads your code and writes a plan. n8n can integrate with AI APIs, but it does not understand git branches or pull requests natively. Archon's worktree isolation is also specific to coding workflows. If you only need CI, GitHub Actions is simpler. If you need general automation, n8n is broader.

Maintenance, License, and Upgrade Considerations

The project is MIT licensed, which means you can use, modify, and distribute it without copyleft restrictions. The repository is under active development, with releases v0.7.1, v0.8.0, and v0.9.0 all in August 2026. That cadence suggests frequent changes. The default branch is `dev`, not `main`, which implies that stable releases may lag behind the development branch. The README mentions a previous Python-based version preserved on an archive branch, so the project has already undergone a major rewrite. That is a signal that the API and configuration may change between versions. You should pin your Archon version or monitor the changelog before upgrading. The setup wizard copies the Archon skill into your projects, so upgrades may require re-copying that skill if the skill format changes.

Editorial conclusion

Adopt Archon if you already use Claude Code and want to enforce a fixed sequence of planning, implementation, validation, and review across projects. Skip it if you need a model-agnostic tool or if your team cannot commit to the Bun, Claude Code, and GitHub CLI stack. Before adopting, verify that your x64 hardware supports AVX2 for the quick install, or plan to build from source, and confirm that your CI environment can handle the git worktree isolation model. The project is under active development with frequent releases, so check the changelog for breaking changes.

Official sources

  1. Official documentation
  2. Official README
  3. Project repository
  4. Release notes
Community notes

Community notes