Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axon

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

Repository layout

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

Quickstart (Docker, everything)

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/docs

Quickstart (API on host, Postgres in Docker)

docker 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 8000

Common commands

See the Makefilemake dev, make db, make api, make test, make revision m="...", make migrate.

Configuration

All settings are environment variables loaded by pydantic-settings; see apps/api/.env.example for the full list. Nothing is read from anywhere else.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages