Skip to content

Your First Five Minutes

Let’s skip the theory and get you to a win. By the end of this chapter, you’ll have run two real Archon workflows against your own codebase.


Before you start, make sure you have:

  • Git installed (git --version should work)
  • Bun installed — get it at bun.sh if you don’t have it (bun --version)
  • Claude Code installed and authenticated — run claude /login if you haven’t
  • A git repository to run workflows against — any project works

Already using Claude Code? You’re already authenticated. No API keys or extra setup needed — Archon uses the same credentials.


Terminal window
# Clone and install
git clone https://github.com/coleam00/Archon.git
cd Archon
bun install
# Register the archon command globally
cd packages/cli && bun link && cd ../..
# Verify it worked
archon version

You should see something like archon v0.2.12. That’s it — Archon is installed.

If archon isn’t found after bun link: Your shell may need to reload. Run source ~/.zshrc (or ~/.bashrc), then try again. Alternatively, use bun run cli from inside the Archon directory for this session.


Your First Win: Ask a Question (90 seconds)

Section titled “Your First Win: Ask a Question (90 seconds)”

Navigate to any git repository on your machine, then run:

Terminal window
cd /path/to/your/project
archon workflow run archon-assist "What's the entry point for this application?"

Archon will analyze your codebase and answer the question with full context. You’ll see it thinking through your files in real time, streamed to your terminal.

You just ran your first Archon workflow. It’s a single-step workflow — one command, one AI call, one answer. Simple, but useful.

Tip: archon-assist works for any question. “How does auth work?”, “Where is the database configured?”, “What does this function do?” — it’s your always-available codebase expert.


If your repository has a GitHub issue open, try this:

Terminal window
archon workflow run archon-fix-github-issue --branch fix/my-first-run "Fix #<issue-number>"

Replace <issue-number> with a real issue number from your repo. Then watch what happens:

  1. Investigate — Archon reads the issue, explores relevant code, and documents its findings
  2. Implement — It makes the fix based on the investigation
  3. Validate — It runs your tests to confirm nothing broke
  4. Create PR — It opens a pull request with a full description

You just ran a four-step automated workflow. Each step ran a separate command, passing artifacts to the next step. The PR is ready for your review.

No GitHub issues handy? Try archon workflow run archon-feature-development --branch feat/test "Add a simple hello world endpoint" on any web project — it’ll implement and create a PR.


Those two commands did more than they appeared to. Archon loaded a workflow definition, created an isolated git workspace, ran multiple AI steps in sequence, and connected them through files called artifacts.

In Chapter 3: How Archon Actually Works →, we’ll trace exactly what happened — step by step, file by file — so you understand the system you’re working with.