An AI-powered documentation linter backed by a Truth Maintenance System.
Axon continuously verifies your repository's documentation against its source code, surfacing drift in a live feed and generating pull requests to fix it. Documentation contains beliefs. Code represents reality. Axon detects when knowledge becomes false.
Core loop: Belief → Verify → Detect Drift → Act
apps/api FastAPI backend (API server + background worker share this code)
apps/web Next.js frontend (scaffolded in T0.3)
scripts Demo seeding / reset utilities
cp apps/api/.env.example apps/api/.env
# Open apps/api/.env and add your OPENAI_API_KEY (and ANTHROPIC_API_KEY if desired)
docker compose up --build
# API: http://localhost:8000
# Health: http://localhost:8000/healthz
# OpenAPI: http://localhost:8000/docsdocker compose up -d db
cd apps/api
python -m venv .venv
source .venv/bin/activate # Windows Git Bash: source .venv/Scripts/activate
pip install -r requirements.txt -r requirements-dev.txt
cp .env.example .env # then fill in secrets as needed
uvicorn axon.main:app --reload --port 8000See the Makefile — make dev, make db, make api, make test,
make revision m="...", make migrate.
All settings are environment variables loaded by pydantic-settings; see
apps/api/.env.example for the full list. Nothing is
read from anywhere else.