Skip to main content

AI-powered project architecture specification generator for agentic development workflows

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archon_arch_ai-0.1.0.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

archon_arch_ai-0.1.0-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

Details for the file archon_arch_ai-0.1.0.tar.gz.

File metadata

  • Download URL: archon_arch_ai-0.1.0.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for archon_arch_ai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5b3c03af150e9ca574d39c1a9f0c86822fadeda4b1160f6380a79cf9cbdcc09
MD5 57ad249eb4d13f531d1accabaafd4eb0
BLAKE2b-256 87e67e075f1b4912abbe718c61e62fb85e0082d8705deaf831ca9e16968fe3aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for archon_arch_ai-0.1.0.tar.gz:

Publisher: publish.yml on Shivom2003/archon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file archon_arch_ai-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: archon_arch_ai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 43.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for archon_arch_ai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fcac61d0f083804ea9b0e8e1a68d075c86db9462c3073bdf8994d59d54a8867
MD5 274875577f372e1fcc114326913cb06a
BLAKE2b-256 ea79ea8e5a2dd1955d77ed654d2c269661e85f1cb7743a63059a28f608899269

See more details on using hashes here.

Provenance

The following attestation bundles were made for archon_arch_ai-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Shivom2003/archon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page