The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.
Find a file
Rasmus Widing a581fdeea2 fix: address review findings for PR #1014
- Fix tier 2 case-insensitive match to use filter+length check
  (consistent with tiers 3/4, fulfils JSDoc ambiguity-throws contract)
- Add warn log on ambiguous match in command-handler catch block
- Add explicit WorkflowDefinition type annotation on let workflow
- Fix pre-existing parseWorkflowInvocation log event names to use
  domain prefix (workflow.invoke_case_insensitive_match, workflow.invoke_unknown)
- Update CLAUDE.md to reflect unified resolveWorkflowName() across all platforms
2026-04-06 19:56:36 +03:00
.agents/examples/codex-telegram-bot chore: Auto-commit workflow artifacts (archon-test-loop) 2026-02-16 09:26:09 -06:00
.archon fix: escape doc placeholders in workflow-builder YAML to pass DAG validation (#1000) 2026-04-06 17:52:42 +03:00
.claude Merge pull request #1001 from dynamous-community/feat/docs-dir-variable 2026-04-06 17:27:58 +03:00
.github refactor: move docs site to packages/docs-web as workspace member 2026-04-06 11:09:32 +03:00
.husky chore: Add pre-commit hook to prevent formatting drift (#226) (#229) 2026-01-14 13:54:20 +02:00
auth-service feat(web): make workflow builder Node Library panel resizable (#837) 2026-03-27 00:14:37 +02:00
deploy feat(config): add user-extensible Docker customization templates 2026-04-06 15:26:43 +03:00
homebrew feat: prepare for open-source migration to coleam00/Archon 2026-04-04 10:47:22 -05:00
migrations feat: per-project env var management via config and Web UI (#852) 2026-04-06 15:30:45 +03:00
packages fix: address review findings for PR #1014 2026-04-06 19:56:36 +03:00
scripts fix: address review findings for open-source migration PR 2026-04-06 10:04:51 +03:00
.dockerignore feat(config): add user-extensible Docker customization templates 2026-04-06 15:26:43 +03:00
.env.example fix: remove dead GITHUB_STREAMING_MODE config (#984) 2026-04-06 16:06:23 +03:00
.gitattributes fix(docker): CRLF entrypoint + Windows Docker Desktop docs 2026-04-06 15:21:03 +03:00
.gitignore feat(config): add user-extensible Docker customization templates 2026-04-06 15:26:43 +03:00
.lintstagedrc.json feat: Runtime loading of default commands/workflows (#324) 2026-01-21 23:08:23 +02:00
.prettierignore refactor: move docs site to packages/docs-web as workspace member 2026-04-06 11:09:32 +03:00
.prettierrc Unit test fixing for Windows and updated validate-2 command 2026-01-03 16:28:35 -06:00
bun.lock Merge pull request #778 from dynamous-community/archon/task-archon-ralph-dag-1774354600578 2026-04-06 14:28:24 +03:00
bunfig.toml feat: Phase 1 - Monorepo structure with @archon/core and @archon/server packages (#311) 2026-01-20 19:08:38 +02:00
Caddyfile.example feat(docker): complete Docker deployment setup (#756) 2026-03-26 15:02:04 +02:00
CHANGELOG.md Release 0.2.12 2026-03-20 10:28:26 -05:00
CLAUDE.md fix: address review findings for PR #1014 2026-04-06 19:56:36 +03:00
CONTRIBUTING.md feat: prepare for open-source migration to coleam00/Archon 2026-04-04 10:47:22 -05:00
docker-compose.override.example.yml fix(config): address review findings for Docker customization templates 2026-04-06 15:26:43 +03:00
docker-compose.yml fix(config): address review findings for Docker customization templates 2026-04-06 15:26:43 +03:00
docker-entrypoint.sh feat(docker): complete Docker deployment setup (#756) 2026-03-26 15:02:04 +02:00
Dockerfile fix(docker): CRLF entrypoint + Windows Docker Desktop docs 2026-04-06 15:21:03 +03:00
Dockerfile.user.example fix(config): address review findings for Docker customization templates 2026-04-06 15:26:43 +03:00
eslint.config.mjs refactor: move docs site to packages/docs-web as workspace member 2026-04-06 11:09:32 +03:00
LICENSE feat: prepare for open-source migration to coleam00/Archon 2026-04-04 10:47:22 -05:00
package-lock.json Fix: Status command displays isolation_env_id (#88) (#89) 2025-12-17 12:12:31 +02:00
package.json refactor: move docs site to packages/docs-web as workspace member 2026-04-06 11:09:32 +03:00
README.md feat: prepare for open-source migration to coleam00/Archon 2026-04-04 10:47:22 -05:00
SECURITY.md feat: prepare for open-source migration to coleam00/Archon 2026-04-04 10:47:22 -05:00
tsconfig.json feat: Phase 5 - CLI binary distribution (#325) 2026-01-21 23:51:51 +02:00

Archon

License: MIT CI Docs

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.

Think n8n, but for software development.

Install

macOS / Linux

curl -fsSL https://archon.diy/install | bash

Windows (PowerShell)

irm https://archon.diy/install.ps1 | iex

Homebrew

brew install coleam00/archon/archon

Docker

docker run --rm -v "$PWD:/workspace" ghcr.io/coleam00/archon:latest workflow list

See the Installation Guide for all options.

Why Archon?

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.

  • Repeatable — Same workflow, same sequence, every time. Plan, implement, validate, review, PR.
  • Isolated — Every workflow run gets its own git worktree. Run 5 fixes in parallel with no conflicts.
  • Fire and forget — Kick off a workflow, go do other work. Come back to a finished PR with review comments.
  • Composable — Mix deterministic nodes (bash scripts, tests, git ops) with AI nodes (planning, code generation, review). The AI only runs where it adds value.
  • Portable — Define workflows once in .archon/workflows/, commit them to your repo. They work the same from CLI, Web UI, Slack, Telegram, or GitHub.

What It Looks Like

# .archon/workflows/archon-idea-to-pr.yaml
name: archon-idea-to-pr
description: Take a feature idea from plan to merged PR

nodes:
  - id: plan
    command: create-plan
  - id: implement
    command: implement-tasks
    context: fresh
    depends_on: [plan]
  - id: validate
    command: validate
    depends_on: [implement]
  - id: create-pr
    command: create-pr
    context: fresh
    depends_on: [validate]
  - id: review-security
    command: review-security
    depends_on: [create-pr]
  - id: review-tests
    command: review-tests
    depends_on: [create-pr]
  - id: review-types
    command: review-types
    depends_on: [create-pr]
  - id: self-fix
    command: self-fix
    depends_on: [review-security, review-tests, review-types]
archon workflow run archon-idea-to-pr --branch feat/dark-mode "Add dark mode to settings"
# → Creates isolated worktree
# → Runs: plan → implement → validate → create PR → parallel reviews → self-fix
# → Result: PR ready for human review

Quickstart

Prerequisites — Node.js, Claude Code, and the GitHub CLI

Node.js (v18+) — nodejs.org

# macOS/Linux (via nvm, recommended)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
nvm install --lts

# Windows (via winget)
winget install OpenJS.NodeJS.LTS

GitHub CLIcli.github.com

# macOS
brew install gh

# Windows (via winget)
winget install GitHub.cli

# Linux (Debian/Ubuntu)
sudo apt install gh

Claude Codecode.claude.com

# macOS/Linux/WSL
curl -fsSL https://claude.ai/install.sh | bash

# Windows (PowerShell)
irm https://claude.ai/install.ps1 | iex

agent-browser (optional)vercel-labs/agent-browser

Only needed for E2E/UI testing workflows (archon-validate-pr). Core functionality works without it.

npm install -g agent-browser
agent-browser install

See the E2E Testing Guide for platform-specific setup.

Setup (2 min)

git clone https://github.com/coleam00/Archon
cd Archon
bun install
claude

Then 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.

Start Using Archon

Once setup is complete:

# 1. Exit Claude Code in the Archon repo (Ctrl+C or /exit)

# 2. Go to your project
cd /path/to/your/project

# 3. Open Claude Code from your project
claude

Then start working:

Use archon to fix issue #42
What 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.

Alternative setup paths

Web UI

Archon includes a web dashboard for chatting with your coding agent, running workflows, and monitoring activity. To start it, ask your coding agent to run the frontend from the Archon repo, or run bun run dev from the repo root yourself.

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:

  • Chat — Conversation interface with real-time streaming and tool call visualization
  • Dashboard — Mission Control for monitoring running workflows, with filterable history by project, status, and date
  • Workflow Builder — Visual drag-and-drop editor for creating DAG workflows with loop nodes
  • Workflow Execution — Step-by-step progress view for any running or completed workflow

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.

What Can You Automate?

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-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-issue-review-full Comprehensive fix + full multi-agent review pipeline for GitHub issues
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-create-issue Classify problem → gather context → investigate → create GitHub issue
archon-validate-pr Thorough PR validation testing both main and feature branches
archon-resolve-conflicts Detect merge conflicts → analyze both sides → resolve → validate → commit
archon-feature-development Implement feature from plan → validate → create PR
archon-architect Architectural sweep, complexity reduction, codebase health improvement
archon-refactor-safely Safe refactoring with type-check hooks and behavior verification
archon-ralph-dag PRD implementation loop — iterate through stories until done
archon-remotion-generate Generate or modify Remotion video compositions with AI
archon-test-loop-dag Loop node test workflow — iterative counter until completion
archon-piv-loop Guided Plan-Implement-Validate loop with human review between iterations

Archon ships 17 default workflows — run archon workflow list or describe what you want and the router picks the right one.

Or define your own. Default workflows are great starting points — copy one from .archon/workflows/defaults/ and customize it. Workflows are YAML files in .archon/workflows/, commands are markdown files in .archon/commands/. Same-named files in your repo override the bundled defaults. Commit them — your whole team runs the same process.

See Authoring Workflows and Authoring Commands.

Architecture

┌─────────────────────────────────────────────────────────┐
│  Platform Adapters (Web UI, CLI, Telegram, Slack,       │
│                    Discord, GitHub)                      │
└──────────────────────────┬──────────────────────────────┘
                           │
                           ▼
┌─────────────────────────────────────────────────────────┐
│                     Orchestrator                        │
│          (Message Routing & Context Management)         │
└─────────────┬───────────────────────────┬───────────────┘
              │                           │
      ┌───────┴────────┐          ┌───────┴────────┐
      │                │          │                │
      ▼                ▼          ▼                ▼
┌───────────┐  ┌────────────┐  ┌──────────────────────────┐
│  Command  │  │  Workflow  │  │    AI Assistant Clients  │
│  Handler  │  │  Executor  │  │      (Claude / Codex)    │
│  (Slash)  │  │  (YAML)    │  │                          │
└───────────┘  └────────────┘  └──────────────────────────┘
      │              │                      │
      └──────────────┴──────────────────────┘
                           │
                           ▼
┌─────────────────────────────────────────────────────────┐
│              SQLite / PostgreSQL (7 Tables)             │
│   Codebases • Conversations • Sessions • Workflow Runs  │
│    Isolation Environments • Messages • Workflow Events  │
└─────────────────────────────────────────────────────────┘

Add a Platform

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 docs/adapters/telegram.md
Slack 15 min docs/adapters/slack.md
GitHub Webhooks 15 min docs/adapters/github.md
Discord 5 min docs/adapters/discord.md

Documentation

Full documentation is available at archon.diy.

Topic Description
Getting Started Setup guide (Web UI or CLI)
CLI User Guide 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 and Codex setup details
Database SQLite, PostgreSQL, schema reference
Deployment Docker, VPS, production setup
Commands Reference All slash commands
Architecture System design and internals
Troubleshooting Common issues and fixes
E2E Testing agent-browser setup for E2E workflows
Windows Setup Windows and WSL2 guide

Contributing

Contributions welcome! See the open issues for things to work on.

Please read CONTRIBUTING.md before submitting a pull request.

License

MIT