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.
Prerequisites
Section titled “Prerequisites”Before you start, make sure you have:
- Git installed (
git --versionshould work) - Bun installed — get it at bun.sh if you don’t have it (
bun --version) - Claude Code installed and authenticated — run
claude /loginif 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.
Install Archon (60 seconds)
Section titled “Install Archon (60 seconds)”# Clone and installgit clone https://github.com/coleam00/Archon.gitcd Archonbun install
# Register the archon command globallycd packages/cli && bun link && cd ../..
# Verify it workedarchon versionYou should see something like archon v0.2.12. That’s it — Archon is installed.
If
archonisn’t found afterbun link: Your shell may need to reload. Runsource ~/.zshrc(or~/.bashrc), then try again. Alternatively, usebun run clifrom inside theArchondirectory 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:
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-assistworks for any question. “How does auth work?”, “Where is the database configured?”, “What does this function do?” — it’s your always-available codebase expert.
Your Second Win: Fix an Issue (2 minutes)
Section titled “Your Second Win: Fix an Issue (2 minutes)”If your repository has a GitHub issue open, try this:
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:
- Investigate — Archon reads the issue, explores relevant code, and documents its findings
- Implement — It makes the fix based on the investigation
- Validate — It runs your tests to confirm nothing broke
- 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.
What Just Happened?
Section titled “What Just Happened?”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.