TL;DR
Archon is an open-source workflow engine that wraps AI coding agents (Claude Code, Codex, etc.) inside deterministic, YAML-defined pipelines. Instead of hoping your AI agent remembers to plan, test, and review — Archon enforces a structured process every time. Key highlights:
- 17,300+ GitHub stars, MIT license, TypeScript, very active development (v0.3.6 released April 12, 2026)
- YAML workflow definitions — encode your entire dev process as portable, version-controlled pipelines
- Git worktree isolation — every workflow run gets its own branch. Run 5 fixes in parallel with zero conflicts
- 17 built-in workflows — from
archon-fix-github-issuetoarchon-smart-pr-reviewtoarchon-idea-to-pr - Multi-agent orchestration — mix Claude Code for architecture, Codex for boilerplate, deterministic bash nodes for tests
- Fire and forget — kick off a workflow, go do other work, come back to a finished PR
- Platform adapters — CLI, Web UI, Slack, Telegram, GitHub webhooks — same workflow everywhere
- Human approval gates — insert interactive checkpoints where the AI pauses and waits for your OK
Install in 30 seconds: curl -fsSL https://archon.diy/install | bash or brew install coleam00/archon/archon
Think n8n or GitHub Actions, but for AI coding workflows.
Quick Reference
| Detail | Value |
|---|---|
| Repo | coleam00/Archon |
| Stars | 17,364 |
| License | MIT |
| Language | TypeScript (Bun runtime) |
| Latest | v0.3.6 (April 12, 2026) |
| Install | curl -fsSL https://archon.diy/install | bash |
| Requires | Bun, Claude Code or Codex CLI, GitHub CLI |
| Website | archon.diy |
What Is Archon?
Archon is a workflow engine that sits between you and your AI coding agents. Instead of prompting Claude Code with “fix this bug” and getting unpredictable results every time, you define a structured workflow in YAML that specifies exactly what happens at each step: plan, implement, run tests, review, create PR.
The AI still does the intelligent work — writing code, reasoning about architecture, reviewing changes — but the structure is deterministic and owned by you. Same workflow, same sequence, every time.
Here’s the analogy that makes it click: Dockerfiles did this for infrastructure. GitHub Actions did this for CI/CD. Archon does this for AI coding.
The Problem It Solves
Anyone who’s used AI coding tools in production knows the frustration. You ask Claude Code to fix a bug, and:
- Run 1: It plans carefully, writes tests, creates a clean PR
- Run 2: It skips planning, touches 14 files you didn’t expect, forgets to run tests
- Run 3: It refactors half your codebase “while it was in there”
This non-determinism is fine for exploration. It’s terrible for teams, CI/CD, and production workflows. Archon constrains the chaos without removing the intelligence.
Why Archon Is Trending Now
Archon isn’t new — it was originally a Python-based AI agent builder with RAG capabilities (that version is preserved on an archive/v1-task-management-rag branch). But the recent complete rewrite to a TypeScript workflow engine (tracked in Issue #957) transformed it into something fundamentally different and much more useful.
The timing is perfect. The AI coding tool landscape has exploded — Claude Code, Codex CLI, Cursor, Windsurf, Cline — but there’s been no standardized way to orchestrate these tools into repeatable processes. Archon fills that gap just as teams are moving from “individual developer + AI assistant” to “automated AI coding pipelines.”
The rewrite to TypeScript + Bun also makes it significantly faster and easier to extend compared to the Python original.
Key Features
1. YAML Workflow Definitions
The core artifact is a .yaml file that defines your development process as a directed acyclic graph (DAG) of nodes:
# .archon/workflows/build-feature.yaml
nodes:
- id: plan
prompt: "Explore the codebase and create an implementation plan"
- id: implement
depends_on: [plan]
loop:
prompt: "Read the plan. Implement the next task. Run validation."
until: ALL_TASKS_COMPLETE
fresh_context: true
- id: run-tests
depends_on: [implement]
bash: "npm run test"
- id: review
depends_on: [run-tests]
prompt: "Review all changes against the plan. Fix any issues."
- id: approve
depends_on: [review]
loop:
prompt: "Present changes for review. Address any feedback."
until: APPROVED
interactive: true
- id: create-pr
depends_on: [approve]
prompt: "Push changes and create a pull request"
Each node can be an AI node (prompt-based), a deterministic node (bash scripts, git ops), or a loop node (iterate until a condition is met). This composability is where Archon shines — you mix human intelligence, AI intelligence, and deterministic automation in a single pipeline.
2. Git Worktree Isolation
Every workflow run gets its own git worktree on a dedicated branch. This means:
- Run 5 bug fixes in parallel without conflicts
- Each workflow operates in complete isolation
- Failed runs don’t pollute your main branch
- Successful runs produce clean PRs ready for review
This is a detail that sounds minor but is a game-changer in practice. No more “wait, which branch was that AI working on?“
3. 17 Built-In Workflows
Archon ships production-ready workflows for common development tasks:
| Workflow | What It Does |
|---|---|
archon-fix-github-issue | Classify → investigate → implement → validate → PR |
archon-idea-to-pr | Feature idea → plan → implement → 5 parallel reviews → self-fix |
archon-smart-pr-review | Classify PR complexity → targeted review agents → synthesis |
archon-comprehensive-pr-review | Multi-agent review (5 parallel reviewers) + auto-fixes |
archon-architect | Architectural sweep, complexity reduction, codebase health |
archon-refactor-safely | Safe refactoring with type-check hooks and behavior verification |
archon-resolve-conflicts | Detect merge conflicts → analyze both sides → resolve → validate |
The archon-idea-to-pr workflow is particularly impressive — it runs five parallel review agents that each analyze the PR from a different angle, then synthesizes their findings and auto-fixes issues before presenting the final PR.
4. Multi-Agent Orchestration
Different AI models are good at different things. Archon lets you use Claude Code for architecture-level reasoning and a lighter model for boilerplate generation in the same workflow. The agent field on each node controls which model handles that step.
nodes:
- id: architect
agent: claude-code
prompt: "Design the module architecture..."
- id: scaffold
agent: codex
prompt: "Generate boilerplate from the architecture..."
- id: lint
bash: "npm run lint && tsc --noEmit"
5. Platform Adapters
Archon workflows run identically from:
- CLI —
archon runfrom your terminal - Web UI — built-in dashboard with real-time streaming
- Slack — trigger workflows from a channel
- Telegram — remote access from your phone
- GitHub Webhooks — auto-trigger on issues/PRs
The Web UI doubles as a monitoring hub — it shows conversations from all platforms in one place, so you can track workflows triggered from Slack alongside ones started from CLI.
6. Human Approval Gates
Not everything should be fully automated. Archon supports interactive: true nodes that pause execution and wait for human input:
- id: approve
depends_on: [review]
loop:
prompt: "Present the changes for review. Address any feedback."
until: APPROVED
interactive: true # Pauses and waits for human OK
This gives you the best of both worlds: automation for the grunt work, human oversight for the decisions that matter.
Getting Started
Quick Install (30 seconds)
# macOS / Linux
curl -fsSL https://archon.diy/install | bash
# Homebrew
brew install coleam00/archon/archon
# Docker
docker run --rm -v "$PWD:/workspace" ghcr.io/coleam00/archon:latest workflow list
# Verify
archon version
Prerequisites
You’ll need:
- Bun —
curl -fsSL https://bun.sh/install | bash - Claude Code —
curl -fsSL https://claude.ai/install.sh | bash - GitHub CLI —
brew install gh
Full Setup (5 minutes)
git clone https://github.com/coleam00/Archon
cd Archon
bun install
claude # Then say: "Set up Archon"
The setup wizard walks through credentials, platform integrations, and copies the Archon skill into your target projects.
First Workflow
cd /path/to/your/project
claude
# Then tell it:
> Use archon to fix issue #42
Archon handles workflow selection, branch naming, worktree isolation, and PR creation. You can also be explicit:
> What archon workflows do I have? When would I use each one?
Who Should Use Archon
Great fit for:
- Teams that want repeatable AI coding processes across developers
- Solo developers running multiple AI tasks in parallel
- CI/CD enthusiasts who want to automate issue-to-PR pipelines
- Code reviewers who want multi-agent review perspectives
- Anyone frustrated by inconsistent AI coding agent behavior
Not ideal for:
- Quick one-off prompts — if you just need a fast answer, using Claude Code directly is simpler
- Non-coding workflows — Archon is built specifically for software development
- Teams without Claude Code/Codex — you need at least one supported AI coding tool
Archon vs Alternatives
| Feature | Archon | GitHub Actions + AI | Custom Scripts | Cursor/Windsurf |
|---|---|---|---|---|
| AI-native workflows | ✅ First-class | ❌ Bolted on | ⚠️ Manual | ❌ Interactive only |
| YAML definitions | ✅ | ✅ | ❌ | ❌ |
| Git worktree isolation | ✅ | ❌ | ❌ | ❌ |
| Multi-agent | ✅ | ❌ | ⚠️ Manual | ❌ |
| Human approval gates | ✅ | ✅ | ⚠️ Manual | ✅ (interactive) |
| Platform adapters | ✅ (CLI/Web/Slack/Telegram) | ❌ GitHub only | ❌ | ❌ Desktop only |
| Loop-until-pass | ✅ | ⚠️ Retry only | ⚠️ Manual | ✅ (manual) |
| Open source | ✅ MIT | ✅ | N/A | ❌ Proprietary |
The closest comparison is probably n8n (general workflow automation) combined with custom AI scripting — but Archon is purpose-built for coding workflows, with git primitives and agent adapters baked in.
Honest Limitations
- Claude Code dependency — while adapters exist for other agents, the project is heavily optimized for Claude Code. Codex support exists but is less mature
- Learning curve — YAML workflow authoring has its own learning curve. The built-in workflows are great starting points, but custom workflows require understanding the DAG model
- Early stage — at v0.3.6, expect rough edges. The complete rewrite means some features from the Python v1 era are still being ported
- Bun runtime — requires Bun instead of Node.js, which is another dependency to manage
- Token costs — multi-agent workflows with 5 parallel reviewers consume significant API tokens. The
archon-comprehensive-pr-reviewworkflow can easily burn through $5-10 per run - 122 open issues — active community but also active bug reports. Check the issues before committing to a workflow
What the Community Is Saying
The project has generated significant attention since the rewrite announcement. Key themes from GitHub Discussions and developer communities:
- “This is what GitHub Actions should have been for AI coding” — the workflow-as-code approach resonates with DevOps-minded developers
- “Finally, a way to make AI coding reproducible” — teams struggling with inconsistent AI outputs see immediate value
- “The worktree isolation alone is worth it” — parallel execution without branch conflicts is a frequently praised feature
- Concerns about vendor lock-in to Claude Code — the community wants broader agent support
- Requests for self-hosted LLM support — running workflows with Ollama/local models is a common ask
The rapid growth from the Python agent builder to a TypeScript workflow engine shows the team is responsive to what developers actually need.
FAQ
Is Archon free to use?
Yes. Archon itself is MIT-licensed and completely free. You’ll need API access to Claude Code, Codex, or another supported AI coding tool, which has its own costs.
Can I use Archon with local LLMs?
Not yet natively. Archon currently supports Claude Code and Codex CLI as agent backends. Local LLM support via Ollama or similar is a common community request but not yet implemented.
How does Archon compare to just using Claude Code directly?
Claude Code is the engine; Archon is the workflow orchestrator. Using Claude Code directly gives you maximum flexibility but no structure. Archon adds guardrails: enforced planning phases, test validation gates, human approval checkpoints, and parallel execution. The tradeoff is additional setup complexity.
Does Archon work with existing CI/CD pipelines?
Yes. Archon can be triggered from GitHub webhooks, making it possible to auto-run workflows when issues are created or PRs are opened. The CLI also works in any CI environment that has Bun and Claude Code installed.
What happens if a workflow step fails?
Failed steps are logged with full context. Loop nodes can retry automatically. The workflow execution view in the Web UI shows exactly which step failed and why, making debugging straightforward.
How much does it cost to run a typical workflow?
It depends on the workflow complexity and model used. A simple archon-fix-github-issue run might cost $1-3 in API tokens. The archon-comprehensive-pr-review with 5 parallel agents can cost $5-10+. Monitor your token usage, especially with loop nodes that iterate multiple times.
Bottom Line
Archon represents an important shift in how we think about AI coding tools. Instead of treating AI agents as interactive assistants you prompt one conversation at a time, Archon treats them as workflow components that can be orchestrated, parallelized, and validated programmatically.
The YAML-as-code approach means your development process is version-controlled, reviewable, and portable. The git worktree isolation means parallel execution without chaos. The multi-agent support means you can use the right model for each task.
At 17K+ stars and active development, Archon is quickly becoming the standard for teams that want to move beyond “developer + AI chatbot” toward “automated AI development pipelines.” If you’re running AI coding tools in any team setting, this deserves a serious look.
GitHub: coleam00/Archon — MIT License — TypeScript