The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.
The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.
The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.
Archon is a workflow engine for AI coding agents. Define your development processes as YAML workflows - planning, implementation, validation, code review, PR creation - and run them reliably across all your projects.
Like what Dockerfiles did for infrastructure and GitHub Actions did for CI/CD - Archon does for AI coding workflows. Think n8n, but for software development.
When you ask an AI agent to "fix this bug", what happens depends on the model's mood. It might skip planning. It might forget to run tests. It might write a PR description that ignores your template. Every run is different.
Archon fixes this. Encode your development process as a workflow. The workflow defines the phases, validation gates, and artifacts. The AI fills in the intelligence at each step, but the structure is deterministic and owned by you.
.archon/workflows/, commit them to your repo. They work the same from CLI, Web UI, Slack, Telegram, or GitHub.Here's an example of an Archon workflow that plans, implements in a loop until tests pass, gets your approval, then creates the PR:
…Tell your coding agent what you want, and Archon handles the rest:
You: Use archon to add dark mode to the settings page
Agent: I'll run the archon-idea-to-pr workflow for this.
→ Creating isolated worktree on branch archon/task-dark-mode...
→ Planning...
→ Implementing (task 1/4)...
→ Implementing (task 2/4)...
→ Tests failing - iterating...
→ Tests passing after 2 iterations
→ Code review complete - 0 issues
→ PR ready: https://github.com/you/project/pull/47Looking for the original Python-based Archon (task management + RAG)? It's fully preserved on the archive/v1-task-management-rag branch.
Most users should start with the Full Setup - it walks you through credentials, installs the Archon skill into your projects, and gives you the web dashboard.
Already have Claude Code and just want the CLI? Jump to the Quick Install.
Clone the repo and use the guided setup wizard. This configures credentials, platform integrations, and copies the Archon skill into your target projects.
Prerequisites - Bun, Claude Code, and the GitHub CLIBun - bun.sh
# macOS/Linux
curl -fsSL https://bun.sh/install | bash
# Windows (PowerShell)
irm bun.sh/install.ps1 | iexGitHub CLI - cli.github.com
# macOS
brew install gh
# Windows (via winget)
winget install GitHub.cli
# Linux (Debian/Ubuntu)
sudo apt install ghClaude Code - claude.ai/code
# macOS/Linux/WSL
curl -fsSL https://claude.ai/install.sh | bash
# Windows (PowerShell)
irm https://claude.ai/install.ps1 | iexgit clone https://github.com/coleam00/Archon
cd Archon
bun install
claudeThen say: "Set up Archon"
The setup wizard walks you through everything: CLI installation, authentication, platform selection, and copies the Archon skill to your target repo.
Already have Claude Code set up? Install the standalone CLI binary and skip the wizard.
macOS / Linux
curl -fsSL https://archon.diy/install | bashx64 compatibility: The macOS/Linux quick install requires AVX2 on x64 CPUs. Older Intel/AMD hardware and virtual machines that mask AVX2 should use the source installation guide. ARM64 quick installs are unaffected.
Windows (PowerShell)
irm https://archon.diy/install.ps1 | iexHomebrew
brew install coleam00/archon/archonCompiled binaries need a
CLAUDE_BIN_PATH. The quick-install binaries don't bundle Claude Code. Install it separately, then point Archon at it:# macOS / Linux / WSL curl -fsSL https://claude.ai/install.sh | bash export CLAUDE_BIN_PATH="$HOME/.local/bin/claude" # Windows (PowerShell) irm https://claude.ai/install.ps1 | iex $env:CLAUDE_BIN_PATH = "$env:USERPROFILE\.local\bin\claude.exe"Or set
assistants.claude.claudeBinaryPathin~/.archon/config.yaml. The Docker image ships Claude Code pre-installed. See AI Assistants → Binary path configuration for details.
Once you've completed either setup path, go to your project and start working:
cd /path/to/your/project
claudeUse archon to fix issue #42What archon workflows do I have? When would I use each one?The coding agent handles workflow selection, branch naming, and worktree isolation for you. Projects are registered automatically the first time they're used.
Important: Always run Claude Code from your target repo, not from the Archon repo. The setup wizard copies the Archon skill into your project so it works from there.
Archon includes a web dashboard for chatting with your coding agent, running workflows, and monitoring activity. Run archon serve to start it, whichever way you installed. A binary downloads the matching web UI on first run. A source checkout serves the copy you build: run bun run build:web once from the repo root, then archon serve.
Register a project by clicking + next to "Project" in the chat sidebar - enter a GitHub URL or local path. Then start a conversation, invoke workflows, and watch progress in real time.
Key pages:
Monitoring hub: The sidebar shows conversations from all platforms - not just the web. Workflows kicked off from the CLI, messages from Slack or Telegram, GitHub issue interactions - everything appears in one place.
See the Web UI Guide for full documentation.
Archon ships with workflows for common development tasks:
| Workflow | What it does |
|---|---|
archon-assist |
General Q&A, debugging, exploration - full Claude Code agent with all tools |
archon-fix-github-issue |
Classify issue → investigate/plan → implement → validate → PR → smart review → self-fix |
archon-create-issue |
Classify problem → gather context → investigate → create GitHub issue |
archon-issue-review-full |
Comprehensive fix + full multi-agent review pipeline for GitHub issues |
archon-piv-loop |
Guided Plan-Implement-Validate loop with human review between iterations |
archon-idea-to-pr |
Feature idea → plan → implement → validate → PR → 5 parallel reviews → self-fix |
archon-plan-to-pr |
Execute existing plan → implement → validate → PR → review → self-fix |
archon-feature-development |
Implement feature from plan → validate → create PR |
archon-adversarial-dev |
Build a complete application from scratch using adversarial development |
archon-smart-pr-review |
Classify PR complexity → run targeted review agents → synthesize findings |
archon-comprehensive-pr-review |
Multi-agent PR review (5 parallel reviewers) with automatic fixes |
archon-validate-pr |
Thorough PR validation testing both main and feature branches |
archon-architect |
Architectural sweep, complexity reduction, codebase health improvement |
archon-refactor-safely |
Safe refactoring with type-check hooks and behavior verification |
archon-interactive-prd |
Create a PRD through guided conversation |
archon-ralph-dag |
PRD implementation loop - iterate through stories until done |
archon-workflow-builder |
Generate a new Archon workflow YAML for your project |
archon-remotion-generate |
Generate or modify Remotion video compositions with AI |
archon-resolve-conflicts |
Detect merge conflicts → analyze both sides → resolve → validate → commit |
Archon ships 19 default workflows - run archon workflow list or describe what you want and the router picks the right one.
Or define your own. Keep a workflow copyable by placing its YAML, commands, and scripts together under .archon/workflows/<pack>/<workflow>/; both directory names are yours. The same tree works in target repos and under ~/.archon/workflows/. Existing flat workflows and shared .archon/commands/ / .archon/scripts/ remain supported. Same-named workflow files in your repo override bundled defaults.
See Authoring Workflows and Authoring Commands.
The Web UI and CLI work out of the box. Optionally connect a chat platform for remote access:
| Platform | Setup time | Guide |
|---|---|---|
| Telegram | 5 min | Telegram Guide |
| Slack | 15 min | Slack Guide |
| GitHub Webhooks | 15 min | GitHub Guide |
| Discord | 5 min | Discord Guide |
…Full documentation is available at archon.diy/docs.
| Topic | Description |
|---|---|
| Getting Started | Setup guide (Web UI or CLI) |
| The Book of Archon | 10-chapter narrative tutorial |
| CLI Reference | Full CLI reference |
| Authoring Workflows | Create custom YAML workflows |
| Authoring Commands | Create reusable AI commands |
| Configuration | All config options, env vars, YAML settings |
| AI Assistants | Claude, Codex, and Pi setup details |
| Deployment | Docker, VPS, production setup |
| Architecture | System design and internals |
| Troubleshooting | Common issues and fixes |
For AI tools: Point your LLM at /llms.txt for an index of all documentation, /llms-full.txt
Interrupted foreground run can leave bash child alive and duplicate side effects on resume
OpenCode provider: fail fast on permission events instead of hanging
bug(workflows): script node failures whose stderr mentions ENOENT are reported as 'executable not found in PATH'
bug(sdlc): archon-deliver's sync-pr-body can return its intent JSON-wrapped, and publish-pr-body then fails on resume too
fix(sdlc): distinguish locked environment restoration from scoped dependency changes
workflow status/get --verbose show a stage reset on resume as still completed
feat(cli): workflow runs --json --verbose should report each run's stages and attention
design(sdlc): archon-lifecycle composes ship, runtime and holdout verification, discoveries, merge and deploy into one unattended run
fix(sdlc): give the factory-pinned lifecycle a terminal delivery result on held and no-work paths
bug(providers): Pi sendQuery ignores persistSession and always writes a session JSONL