홈 › 하네스 › Archon Archon AI에게 매번 다르게 시키지 말고, '계획→구현→테스트→리뷰→PR' 순서를 파일 하나로 정해두면 그대로 똑같이 실행해 주는 도구. 작업마다 따로 떼어 진행해서 여러 개를 한꺼번에 돌릴 수 있다.
Pin your dev process (plan, build, test, review, PR) into one file so the AI runs the same steps every time, with each task isolated so several can run at once.
#harness #archon #workflow-engine #yaml #worktree #claude-code #codex #slack #github #telegram
사용법 How to use 설치 · Install
git clone https://github.com/coleam00/Archon && cd Archon && bun install && claude # then say: Set up Archon 복사
기반 · Base agent Claude Code SDK · OpenAI Codex SDK · Pi
언어 · Languages TypeScript Bun
플랫폼 · Platforms macOS Linux Windows Docker 작성자 · Author Cole Medin (coleam00) 라이선스 · License MIT
한 줄
AI가 작업할 때마다 계획·테스트·PR을 제멋대로 다르게 만드는 문제를, 순서를 적어둔 YAML(설정을 적는 텍스트 파일 형식) 파일 하나로 고정해 매번 똑같이 실행되게 만든다 — Dockerfile이 인프라를, GitHub Actions가 CI/CD(코드 통합·배포 자동화)를 고정해 준 것처럼.
EN: Locks the AI’s plan/test/PR steps into one file so they run the same way every time — like Dockerfile did for infra and GitHub Actions for CI/CD.
무엇이 가능한가
# .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 : "bun run validate"
- id : review
depends_on : [ run-tests ]
prompt : "Review all changes against the plan. Fix any issues."
- id : approve
depends_on : [ review ]
loop :
prompt : "Present the changes for review. Address any feedback."
until : APPROVED
interactive : true
- id : create-pr
depends_on : [ approve ]
prompt : "Push changes and create a pull request"
코딩 에이전트에게:
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 (1/4)...
→ Tests failing - iterating... → Tests passing after 2 iterations
→ Code review complete - 0 issues
→ PR ready: https://github.com/you/project/pull/47
핵심 특성
Repeatable — 같은 workflow, 같은 시퀀스, 매번
Isolated — workflow run마다 자체 git worktree. 5개 fix 병렬, 충돌 X
Fire and forget — kick off → 다른 일 → 끝난 PR + review comment 받기
Composable — deterministic node(bash/test/git) + AI node(plan/code/review) mix. AI는 가치 있는 곳에서만
Portable — .archon/workflows/에 정의 + commit. CLI · Web · Slack · Telegram · GitHub 모두 같은 동작
설치 (full setup — 권장 5분)
# 전제: Bun, Claude Code, GitHub CLI 설치
git clone https://github.com/coleam00/Archon
cd Archon
bun install
claude
# 그리고 말하기: "Set up Archon"
Setup wizard가 CLI install / auth / platform 선택 / target repo에 Archon skill 복사까지 처리.
Quick install (binary, 30초)
# macOS / Linux
curl -fsSL https://archon.diy/install | bash
# Windows PowerShell
irm https://archon.diy/install.ps1 | iex
# Homebrew
brew install coleam00/archon/archon
Binary는 Claude Code를 번들하지 않음 — 별도 install 후 CLAUDE_BIN_PATH 환경변수 또는 ~/.archon/config.yaml의 assistants.claude.claudeBinaryPath 설정.
사용 (target repo에서)
cd /path/to/your/project
claude
Use archon to fix issue #42
What archon workflows do I have? When would I use each one?
중요 : Claude Code를 항상 target repo에서 run, Archon repo에서 X. Setup wizard가 Archon skill을 프로젝트로 복사함.
17개 default workflow (대표)
Workflow 무엇 archon-assist일반 Q&A / debugging / exploration (full Claude Code) archon-fix-github-issueissue 분류 → investigate/plan → implement → validate → PR → smart review → self-fix archon-idea-to-prfeature 아이디어 → plan → implement → validate → PR → 5 parallel review → self-fix archon-plan-to-pr기존 plan 실행 → implement → validate → PR → review → self-fix archon-comprehensive-pr-review5 parallel reviewer multi-agent PR review + 자동 fix archon-resolve-conflictsmerge conflict 감지 → 양쪽 분석 → 해결 → validate → commit archon-architect아키텍처 sweep, complexity reduction, codebase health archon-refactor-safelytype-check hook + 동작 verification 안전 refactoring archon-validate-prmain · feature branch 양쪽 테스트로 thorough PR validation archon-ralph-dagPRD implementation loop — story 끝까지 반복
archon workflow list 또는 자연어로 describe → router가 선택. 자기만의 workflow도 정의 가능 — .archon/workflows/defaults/에서 복사해 customize.
Web UI
archon serve # binary: web UI 다운로드 + 시작
# source: bun run dev (Archon repo에서)
Chat — real-time streaming + tool call 시각화
Dashboard — running workflow 모니터링, project/status/date filter
Workflow Builder — visual drag-and-drop DAG editor + loop node
Workflow Execution — running/완료 workflow 단계별 progress
Sidebar에 모든 platform (CLI · Slack · Telegram · GitHub)의 대화가 한 곳에
플랫폼 어댑터 (옵션 — 원격 접근용)
Platform Setup time Telegram 5 min Slack 15 min GitHub Webhooks 15 min Discord 5 min
아키텍처
Platform Adapters (Web · CLI · Telegram · Slack · Discord · GitHub)
↓
Orchestrator (Message Routing + Context Management)
↓
Command Handler · Workflow Executor · AI Assistant Clients (Claude · Codex · Pi)
↓
SQLite / PostgreSQL (8 tables: codebases · conversations · sessions · workflow_runs · isolation_environments · messages · workflow_events · codebase_env_vars)
DB
기본 SQLite at ~/.archon/archon.db — 0 setup
PostgreSQL 옵션 — DATABASE_URL env var + psql $DATABASE_URL < migrations/000_combined.sql
텔레메트리
workflow_invoked 이벤트 하나만 anonymous로 전송 (workflow 이름·설명·platform·version·random install UUID). 코드 / prompt / message / git remote / file path / username / token / AI output 수집 안 함 . opt-out:
ARCHON_TELEMETRY_DISABLED = 1
DO_NOT_TRACK = 1 # de facto standard (Astro/Bun/Prisma/Nuxt가 honor)
함정
항상 target repo에서 Claude Code 실행 . Archon repo에서 X
Compiled binary는 Claude Code 별도 install + CLAUDE_BIN_PATH
v1 (Python + task management + RAG)은 archive/v1-task-management-rag 브랜치에 보존
참고
다음 · Next → oh-my-codex (OMX) ## 한 줄
AI가 작업할 때마다 계획·테스트·PR을 제멋대로 다르게 만드는 문제를, 순서를 적어둔 YAML(설정을 적는 텍스트 파일 형식) 파일 하나로 고정해 매번 똑같이 실행되게 만든다 — Dockerfile이 인프라를, GitHub Actions가 CI/CD(코드 통합·배포 자동화)를 고정해 준 것처럼.
*EN: Locks the AI's plan/test/PR steps into one file so they run the same way every time — like Dockerfile did for infra and GitHub Actions for CI/CD.*
## 무엇이 가능한가
```yaml
# .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: "bun run validate"
- id: review
depends_on: [run-tests]
prompt: "Review all changes against the plan. Fix any issues."
- id: approve
depends_on: [review]
loop:
prompt: "Present the changes for review. Address any feedback."
until: APPROVED
interactive: true
- id: create-pr
depends_on: [approve]
prompt: "Push changes and create a pull request"
```
코딩 에이전트에게:
```
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 (1/4)...
→ Tests failing - iterating... → Tests passing after 2 iterations
→ Code review complete - 0 issues
→ PR ready: https://github.com/you/project/pull/47
```
## 핵심 특성
- **Repeatable** — 같은 workflow, 같은 시퀀스, 매번
- **Isolated** — workflow run마다 자체 git worktree. 5개 fix 병렬, 충돌 X
- **Fire and forget** — kick off → 다른 일 → 끝난 PR + review comment 받기
- **Composable** — deterministic node(bash/test/git) + AI node(plan/code/review) mix. AI는 가치 있는 곳에서만
- **Portable** — `.archon/workflows/`에 정의 + commit. CLI · Web · Slack · Telegram · GitHub 모두 같은 동작
## 설치 (full setup — 권장 5분)
```bash
# 전제: Bun, Claude Code, GitHub CLI 설치
git clone https://github.com/coleam00/Archon
cd Archon
bun install
claude
# 그리고 말하기: "Set up Archon"
```
Setup wizard가 CLI install / auth / platform 선택 / target repo에 Archon skill 복사까지 처리.
### Quick install (binary, 30초)
```bash
# macOS / Linux
curl -fsSL https://archon.diy/install | bash
# Windows PowerShell
irm https://archon.diy/install.ps1 | iex
# Homebrew
brew install coleam00/archon/archon
```
Binary는 Claude Code를 번들하지 않음 — 별도 install 후 `CLAUDE_BIN_PATH` 환경변수 또는 `~/.archon/config.yaml`의 `assistants.claude.claudeBinaryPath` 설정.
## 사용 (target repo에서)
```bash
cd /path/to/your/project
claude
Use archon to fix issue #42
What archon workflows do I have? When would I use each one?
```
**중요**: Claude Code를 항상 **target repo에서** run, Archon repo에서 X. Setup wizard가 Archon skill을 프로젝트로 복사함.
## 17개 default workflow (대표)
| Workflow | 무엇 |
|---|---|
| `archon-assist` | 일반 Q&A / debugging / exploration (full Claude Code) |
| `archon-fix-github-issue` | issue 분류 → investigate/plan → implement → validate → PR → smart review → self-fix |
| `archon-idea-to-pr` | feature 아이디어 → plan → implement → validate → PR → 5 parallel review → self-fix |
| `archon-plan-to-pr` | 기존 plan 실행 → implement → validate → PR → review → self-fix |
| `archon-comprehensive-pr-review` | 5 parallel reviewer multi-agent PR review + 자동 fix |
| `archon-resolve-conflicts` | merge conflict 감지 → 양쪽 분석 → 해결 → validate → commit |
| `archon-architect` | 아키텍처 sweep, complexity reduction, codebase health |
| `archon-refactor-safely` | type-check hook + 동작 verification 안전 refactoring |
| `archon-validate-pr` | main · feature branch 양쪽 테스트로 thorough PR validation |
| `archon-ralph-dag` | PRD implementation loop — story 끝까지 반복 |
`archon workflow list` 또는 자연어로 describe → router가 선택. **자기만의 workflow도 정의 가능** — `.archon/workflows/defaults/`에서 복사해 customize.
## Web UI
```bash
archon serve # binary: web UI 다운로드 + 시작
# source: bun run dev (Archon repo에서)
```
- **Chat** — real-time streaming + tool call 시각화
- **Dashboard** — running workflow 모니터링, project/status/date filter
- **Workflow Builder** — visual drag-and-drop DAG editor + loop node
- **Workflow Execution** — running/완료 workflow 단계별 progress
- Sidebar에 **모든 platform**(CLI · Slack · Telegram · GitHub)의 대화가 한 곳에
## 플랫폼 어댑터 (옵션 — 원격 접근용)
| Platform | Setup time |
|---|---|
| Telegram | 5 min |
| Slack | 15 min |
| GitHub Webhooks | 15 min |
| Discord | 5 min |
## 아키텍처
```
Platform Adapters (Web · CLI · Telegram · Slack · Discord · GitHub)
↓
Orchestrator (Message Routing + Context Management)
↓
Command Handler · Workflow Executor · AI Assistant Clients (Claude · Codex · Pi)
↓
SQLite / PostgreSQL (8 tables: codebases · conversations · sessions · workflow_runs · isolation_environments · messages · workflow_events · codebase_env_vars)
```
## DB
- **기본 SQLite** at `~/.archon/archon.db` — 0 setup
- **PostgreSQL** 옵션 — `DATABASE_URL` env var + `psql $DATABASE_URL < migrations/000_combined.sql`
## 텔레메트리
`workflow_invoked` 이벤트 하나만 anonymous로 전송 (workflow 이름·설명·platform·version·random install UUID). 코드 / prompt / message / git remote / file path / username / token / AI output **수집 안 함**. opt-out:
```bash
ARCHON_TELEMETRY_DISABLED=1
DO_NOT_TRACK=1 # de facto standard (Astro/Bun/Prisma/Nuxt가 honor)
```
## 함정
- **항상 target repo에서 Claude Code 실행**. Archon repo에서 X
- Compiled binary는 Claude Code 별도 install + `CLAUDE_BIN_PATH`
- v1 (Python + task management + RAG)은 [`archive/v1-task-management-rag`](https://github.com/coleam00/Archon/tree/archive/v1-task-management-rag) 브랜치에 보존
## 참고
- Docs: <https://archon.diy>
- Book of Archon: <https://archon.diy/book/>
- 10-chapter 내러티브 튜토리얼이 best 학습 경로