Skip to content

Archon ProtocolAI Architect Evolution Protocol

The operating system for AI agents — kernel, drivers, syscalls, filesystem. One protocol governs all.

What Is AAEP?

AAEP (AI Architect Evolution Protocol) defines how an AI agent evolves into a project's architect through continuous constraint → execution → evolution cycles.

AI coding tools provide capability — code generation, file operations, terminal execution. They don't provide methodology — workflow governance, quality assurance, experience accumulation.

AAEP is the methodology layer.

One Command to Start

bash
# Tell your AI tool:
curl -s https://aaep.site/init.md

The AI reads the init prompt, detects your environment, and deploys the protocol. That's it.

The Five Layers

LayerWhatHowEnforcement
ConstraintBoundaries that shape code generation prohibitions in constraint skills, injected into agent contextSHOULD (generative guidance)
WorkflowStandard delivery sequences/archon-demand pipeline with opt-out flagsSHOULD (procedural guidance)
EvolutionSystem that gets smarter with every taskStage 3.6 discovers patterns → staging → approved → constraint or testSHOULD → MUST
KnowledgeProject memory that persists across sessionsarchon.config.yaml, architecture docs, ADRsKnowledge base
EnforcementProcess-level compliance gatesLint rules + structural tests + CI pipelineMUST (unbypassable)

The Feedback Loop

Task 1 → Agent writes code under constraints
       → 6-dimension self-audit catches issue X
       → Proposes: ❌ prohibit X
       → User approves → constraint added

Task 2 → Agent cannot make mistake X (it's in the constraint set)
       → Audit catches issue Y → same cycle

Task N → Constraint system is comprehensive
       → Code quality monotonically increases
       → Fewer fixes → faster delivery

More tasks → better constraints → higher quality. This is directed evolution — always toward fewer bugs, better performance, more consistent architecture.

Why Not Just Use Linters?

DimensionLinters (ESLint, Ruff, etc.)AAEP
Type safety / syntax rules
File size / structure limits⚠️
Tests updated when signatures change
Error handling: structured patterns per layer
Cross-boundary contract enforcement
Self-evolution: learns from every task

Linters catch syntax. AAEP catches architecture. Documents achieve SHOULD (generative guidance). Lint and tests achieve MUST (process enforcement). AAEP is the complete OS — not just documents, but documents + lint + tests + CI as an integrated system. See ADR-003.

Cross-Tool Compatibility

ToolAgentsSkillsConstraints
Cursor✅ (primary)✅ (preloaded)
Claude Code✅ (primary)✅ (preloaded)
Codex
Copilot
Windsurf
Gemini CLI
20+ others

One protocol, every tool. Agent-first where supported, skill-fallback everywhere else.

Powered by AAEP (AI Architect Evolution Protocol)