Skip to main content

Archon

AI-powered project architecture specification generator for agentic development workflows.

Archon interviews you about your project, then generates a .architect/ directory of structured, AI-agent-friendly specification files — including usage-limit-aware checkpoints and multi-agent task assignments.

archon init

→ produces .architect/SPEC.md, ARCHITECTURE.md, ROADMAP.md, DECISIONS.md, AGENTS.md, CLAUDE.md


Why Archon?

Current agentic tools (Claude Code, Codex, Kiro, Cursor) accept project instructions but don't help you write them. You either spend hours crafting a CLAUDE.md by hand, or your agent starts coding without sufficient context.

Archon solves this with a two-phase approach:

  1. Structured intake — 8 questions about project type, scale, tools, and expertise
  2. AI interview — Claude asks adaptive follow-up questions about your tech stack, features, and constraints

The result is a complete .architect/ directory that any agentic tool can consume — with two differentiating features no other tool provides:

  • Agent assignment matrix — tasks distributed across your tools based on each tool's strengths
  • Checkpoint markers — natural pause points with copy-pasteable resume prompts, calibrated to your subscription tier

Installation

pip install archon
# or
uv add archon

Requires Python 3.11+.

Set your Anthropic API key:

export ANTHROPIC_API_KEY=sk-ant-...

Quickstart

# Run the full interview (Phase 1 + Phase 2 + synthesis)
archon init

# View the generated spec in your terminal
archon show

# Re-export a specific file after editing spec.json
archon export --format agents-md

# Re-run the interview to update the spec
archon update

# Validate the spec against the current schema
archon validate

Output: .architect/ Directory

File Purpose
SPEC.md Human-readable project overview — goals, features, constraints, magic moment
ARCHITECTURE.md Technical architecture — components, data model, API design, security
ROADMAP.md Development phases with agent assignments and checkpoint markers
DECISIONS.md Architecture Decision Records (ADRs) — why decisions were made
AGENTS.md Cross-tool agent instructions (AGENTS.md standard)
CLAUDE.md Claude Code native format
spec.json Machine-readable source of truth (all generators read from this)

Example checkpoint in ROADMAP.md

> ⚠️ **CHECKPOINT — Claude Code Pro**
> ~8 turns used. Suggested pause point before beginning the API layer.
>
> **Resume prompt:**
> Continue taskflow project. Phase 1 complete (DB schema + migrations passing).
> Begin Phase 2: API Layer. Full context: .architect/ARCHITECTURE.md

CLI Reference

archon init       [--output-dir PATH] [--model MODEL] [--skip-phase2]
archon show       [--output-dir PATH]
archon update     [--output-dir PATH] [--model MODEL]
archon export     [--output-dir PATH] --format {spec-md,architecture-md,roadmap-md,decisions-md,agents-md,claude-md,all}
archon validate   [--output-dir PATH]

Python API

import asyncio
from archon.interviewer import run_phase1, run_phase2
from archon.synthesizer import synthesize
from archon.generators import all_generators
from archon.llm import get_client
from pathlib import Path

async def main():
    config = run_phase1()                     # CLI intake
    llm = get_client("claude-sonnet-4-5")
    phase2 = await run_phase2(config, llm)    # AI interview
    spec = await synthesize(config, phase2, llm)

    for gen in all_generators(spec):
        gen.write(Path(".architect"))

asyncio.run(main())

Supported Agentic Tools & Plans

Archon knows the usage limits for the following tools and calibrates checkpoint frequency accordingly:

Tool Tiers
Claude Code Free, Pro, Max, Team, Enterprise, API
Codex / ChatGPT Free, Pro, API
Cursor Free, Pro, Team
Kiro (Amazon) Free, Pro
Antigravity Free, Pro
Windsurf Free, Pro
GitHub Copilot Free, Pro

Contributing

git clone https://github.com/archon-ai/archon
cd archon
uv sync --dev
uv run pytest

PRs welcome. Please open an issue before starting large changes.


License

MIT — see LICENSE.


Part of the Archon project. The Python library is open source. The hosted product with web UI and team features is available at archon.dev.

Metadata

Release files for archon-arch-ai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for archon-arch-ai 0.1.0
File Size Uploaded Provenance Actions
archon_arch_ai-0.1.0.tar.gz 39.4 kB With provenance Details for archon_arch_ai-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for archon-arch-ai 0.1.0
File Interpreter ABI Platform Actions
archon_arch_ai-0.1.0-py3-none-any.whl Python 3 none any Details for archon_arch_ai-0.1.0-py3-none-any.whl

Total release size: 82.7 kB

Release files / archon_arch_ai-0.1.0.tar.gz

Download URL archon_arch_ai-0.1.0.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d5b3c03af150e9ca574d39c1a9f0c86822fadeda4b1160f6380a79cf9cbdcc09
BLAKE2b-256 checksum
How to use checksums
87e67e075f1b4912abbe718c61e62fb85e0082d8705deaf831ca9e16968fe3aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

Release files / archon_arch_ai-0.1.0-py3-none-any.whl

Download URL archon_arch_ai-0.1.0-py3-none-any.whl
Size 43.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fcac61d0f083804ea9b0e8e1a68d075c86db9462c3073bdf8994d59d54a8867
BLAKE2b-256 checksum
How to use checksums
ea79ea8e5a2dd1955d77ed654d2c269661e85f1cb7743a63059a28f608899269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

Security for archon-arch-ai 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for archon_arch_ai-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page