Skip to content

5-Minute Quickstart

Shortest path from "I have a project" to "Archon is running in it." For the long-form reference, read Full Setup Guide; for the end-to-end story across the entire adopter lifecycle, read Complete Lifecycle.

Comic explainer: five-minute quickstart

Before you start, make sure you have:

  • Any AI pair-programming agent — see supported platforms below.
  • A git-tracked project (clean working tree).
  • Python 3 (for the portable governance check scripts/archon-check.py). Optional: Node ≥ 18 only if you want the optional CLI / dashboard modules.
  • ~10 minutes. The first 3 are the install. The next 7 are wiring + a real demand.

Step 1 — Install Archon (~3 min)

You have two equivalent paths. Pick A unless you're in CI.

Path A — Just talk to your agent (preferred)

The very first time, the local agent has no idea what Archon is, so the prompt must include a URL. After install, archon-wake.mdc (or its platform equivalent) loads automatically and subsequent prompts no longer need a URL.

The exact one-liner depends on your IDE — but the prompt itself is identical across all platforms; only the chat-panel location changes:

If you use Cursor

  1. Open the project in Cursor.
  2. Press Ctrl+L (or Cmd+L) to open the chat panel.
  3. Paste this and send:
text
read aaep.site/skill.md and install archon

Archon's bindings will land in .cursor/.

If you use Claude Code

  1. Open the project in your terminal.
  2. Run claude to start a Claude Code session.
  3. Paste this and send:
text
read aaep.site/skill.md and install archon

Archon's bindings will land in .claude/ and CLAUDE.md will reference the loaded rules.

If you use OpenAI Codex CLI

  1. Open the project in your terminal.
  2. Run codex to start a Codex session.
  3. Paste this and send:
text
read aaep.site/skill.md and install archon

Archon's bindings will land in .codex/ (or merge into your existing AGENTS.md).

If you use Continue

  1. Open the project in VS Code (or JetBrains) with Continue installed.
  2. Open the Continue chat panel.
  3. Paste this and send:
text
read aaep.site/skill.md and install archon

Archon's bindings will land in .continue/.

If you use Aider

  1. From the project root, run:
bash
aider --message "read aaep.site/skill.md and install archon"

Archon's bindings will land in .aider/.

If you use Windsurf

  1. Open the project in Windsurf.
  2. Open the Cascade chat panel.
  3. Paste this and send:
text
read aaep.site/skill.md and install archon

Archon's bindings will land in .windsurf/.

If you use any other coding agent

If your agent platform supports web-fetch + file-write tools, the same prompt works:

text
fetch aaep.site/skill.md and follow it to install archon in this project; if
you cannot infer my IDE platform, ask me which binding directory to use

The agent reads skill.md §3, asks for any platform info it can't detect, and writes bindings accordingly.

What the agent does, in order

Regardless of platform, the agent's protocol is identical:

  1. Fetch aaep.site/skill.md and route to install.
  2. Fetch aaep.site/manifest.json — the canonical file ledger (sha256 per file, module list, placeholders).
  3. Detect your IDE platform and binding directory (per skill.md §3).
  4. Inspect your projectpackage.json / pyproject.toml / go.mod, README, existing binding directory.
  5. Ask 3-4 questions — project name, tech stack, optional modules (CLI / dashboard / demand-pool), then show the plan.
  6. Fetch every required file in parallel — sha256-verify each one against the manifest before writing. Mid-download corruption is impossible.
  7. Substitute placeholders, , etc., filled with your answers.
  8. Write the tree.archon/ + <binding-root>/ + scripts/. Path prefixes auto-rewrite from .cursor/ to <binding-root>/ for non-Cursor platforms.
  9. Seed empty runtime ledgersdrift.md, debt.md, memos.md, etc.
  10. Log the install — append a record to .archon/drift.md.
  11. Report — concise summary + next steps.

The agent never writes a partial install. Either every file verifies and the whole tree lands, or nothing is written.

Path B — CLI (scripted, no conversation)

The CLI is optional and requires Node ≥ 18. Skip if your project is non-Node and you don't want a Node toolchain.

bash
# interactive: install into the current directory
npx @archon/cli@latest install

# non-interactive: install all modules including optional ones
npx @archon/cli@latest install ./my-project --with=all --yes

# preview-only: show the plan, don't write anything
npx @archon/cli@latest install --dry-run

The CLI consumes the same manifest as the agent and produces the same tree. Use whichever fits your environment.

Hosting a private mirror? Override the base URL with --base-url= or the ARCHON_BASE_URL environment variable. The manifest's per-file URLs will rewrite to your mirror.

After this step, your repo gains:

.archon/ <binding-root>/ scripts/

(<binding-root> is .cursor/ for Cursor, .claude/ for Claude Code, and so on — see the platform table above.)

Comic explainer: drop Archon into your project


Step 2 — Fill in your project manifest (~90 s)

The install seeded an empty .archon/manifest.md. Open it and fill at minimum:

  • §Platform path mappings — confirm which IDE binding folder this project uses (the agent already wrote it; just verify it matches reality).
  • §Tech Stack — your language / framework / package manager.
  • §Validation Command — the single command that runs lint + typecheck
    • test. This is what Archon's validate gate will invoke at every Close-Out. Examples: npm run validate (Node), pytest (Python), go test ./... (Go), cargo test (Rust), mvn verify (Java/JVM), swift test (Swift), make validate (anything).

Leave everything else blank for now. Archon grows these as you use it.

Comic explainer: project state files

Tip: after editing, ask your agent "is archon healthy?" — Archon's L3 hints layer flags any unfilled placeholders.


Step 3 — Wire the validate command (~60 s)

The validate gate is useless if it can't be invoked. Run your command from a clean shell and confirm it passes — use whatever your project's stack provides:

bash
# Node
npm run validate

# Python
pytest

# Go
go test ./...

# Rust
cargo test

# Java / JVM
mvn verify

# Anything (e.g. Make-based projects)
make validate

If your project doesn't yet have a single composite command, add one. For Node:

json
{
  "scripts": {
    "validate": "npm run lint && npm run typecheck && npm run test"
  }
}

For other stacks, add a Makefile target, a pyproject.toml script, etc.

Comic explainer: validation command

If it's red, fix the pre-existing errors first. Archon refuses to Close-Out on a red validate gate.


Step 4 — Pre-commit hook (~60 s)

Archon's portable pre-commit check (scripts/archon-check.py) blocks commits that skip Decision Gate or Close-Out. The shipped checker is Python (stdlib-only) — no Node required. Pick the wiring that fits your project's existing pre-commit infrastructure:

If your project already uses pre-commit, add a local hook to .pre-commit-config.yaml:

yaml
repos:
  - repo: local
    hooks:
      - id: archon-check
        name: archon-check
        entry: python3 scripts/archon-check.py --root .
        language: system
        pass_filenames: false
        stages: [pre-commit]

Then pre-commit install.

Option 2 — Plain git hook (works for any project)

bash
mkdir -p .git/hooks
cat > .git/hooks/pre-commit << 'EOF'
#!/bin/sh
exec python3 scripts/archon-check.py --root .
EOF
chmod +x .git/hooks/pre-commit

On Windows (Git Bash works the same; for native PowerShell, use):

powershell
@'
@echo off
py -3 scripts\archon-check.py --root .
'@ | Out-File -Encoding ascii .git\hooks\pre-commit.cmd

Option 3 — husky (only if you already use it on a Node project)

bash
npx husky install
echo 'sh scripts/archon-check.sh .' > .husky/pre-commit
chmod +x .husky/pre-commit

Do not add husky to a non-Node project just to install this hook — options 1 and 2 are lighter and avoid a Node dependency.

Comic explainer: pre-commit gates

Verify with git commit --dry-run — the hook fires and reports pass / fail.


Step 5 — Wake Archon and run your first demand (~2 min)

Reload your IDE chat pane (so the new bindings load) and say:

text
hi archon, run a plan for adding a health-check endpoint

No URL needed this time — archon-wake.mdc (or its platform equivalent) is now loaded into your agent's context on every session, so the wake phrase routes correctly without bootstrap fetch.

Archon will:

  1. Load soul.md + manifest.md, scan memos for relevant vetoes.
  2. Run the Decision Gate — probes Radius (blast radius), Soul-headroom (cognitive budget), Modularity (right-size). Verdict on should it / how big / who decides.
  3. Ask clarifying questions only if the gate cannot resolve automatically.
  4. Once you approve the plan, execute → run validate → reach Close-Out with a mirror-check on governance docs.

Comic explainer: run-state lifecycle

This first demand cycle is your "Boot" — read more about every stage in Complete Lifecycle.


You're done

At this point you have:

  • .archon/ with live state files and portable framework core.
  • IDE bindings in <binding-root>/ (.cursor/ / .claude/ / .codex/ / .continue/ / .aider/ / .windsurf/).
  • A validate command Archon's gate will invoke.
  • A Python-based pre-commit hook blocking skipped governance.
  • At least one delivery recorded in drift.md.

Common next steps

IntentPage
Understand what just happened10-Minute Overview
See the whole adopter lifecycleComplete Lifecycle
Dig into the architectureArchitecture Reference
Learn the 16 AI-coding pitfalls Archon solvesUser Journeys
Ship a domain lensFull Setup §Optional Enhancements
Eventually update / sync / uninstallLifecycle Commands

Troubleshooting

SymptomLikely causeFix
Agent says "I don't have web fetch"Your IDE doesn't have URL-fetch tools enabledUse Path B (CLI) instead, if you have Node ≥ 18
Agent installs to .cursor/ even though I'm on Claude CodeAgent skipped IDE detectionRe-run with explicit instruction: "install archon; my IDE is Claude Code so use .claude/"
Archon doesn't wake on "hi archon"IDE's rules/skills weren't installedRe-run install; verify <binding-root>/rules/archon-wake.mdc exists
Decision Gate complains about manifest.archon/manifest.md blankFill in the three required sections (Step 2)
Pre-commit hook never firesHook not installed or not executableSee Step 4 — pick the right option for your project's existing pre-commit infra
archon-check.py: command not foundPython 3 not on PATHInstall Python 3 (stdlib-only — no pip install needed); on Windows use the py launcher
Validate always redPre-existing lint/type/test errorsFix them first; Archon won't Close-Out on red
Install reports sha256 mismatchNetwork corruption or stale CDN cacheRe-run install; if it persists, file an issue with the manifest URL and offending file

Released under the Apache-2.0 License.