Install and scan
pip install Aletheore
aletheore scan .Builds .aletheore/air.json, .aletheore/air.toon, and history snapshots.
Three surfaces, one evidence file
Every surface below reads the exact same air.json. Nothing is re-derived, re-guessed, or inconsistent between them.
$ aletheore scan
Tree-sitter and git history produce air.json and air.toon. No LLM in the scan path and no account. A scan makes dependency advisory and license lookups and checks for a newer release, each of which can be turned off, and sends a crash report only if the CLI itself crashes.
aletheore scan .Scanning /path/to/repo...→ Detecting languages, frameworks, and build tools→ Building module dependency graph (parsing source with tree-sitter)→ Analyzing git history and ownership→ Scanning working tree for secrets→ Scanning git history for secrets (can be slow on large histories)→ Clustering modules and checking layer conventions→ Mapping API endpoints→ Detecting dead code→ Computing git hotspots→ Checking dependencies for known vulnerabilities (OSV.dev)→ Checking dependency licenses (one registry lookup per pinned dependency)→ Running static analysis scanners→ Checking dependency licenses: 1/196 ... 196/196✓ Scan completeEvidence written to .aletheore/air.json
on: pull_request
Automatic PR comments, branch-protection checks, and Flash reviews on every push: same evidence, hosted.
push to an open pull requestreview Flash review of the changed files, grounded in the evidencesecrets a new secret fails the branch-protection Check Runalerts Slack / Teams message on new findings (AIR)status live endpoint checks, each tied to its source handler
$ aletheore mcp .
Read-only tools over stdio, TOON-encoded: a coding agent gets exact answers instead of re-reading files on every lookup.
aletheore mcp .aletheore_overview Navigatealetheore_neighborhood Navigatealetheore_get_blast_radius Navigatealetheore_find_evidence_for_endpoint Evidencealetheore_ownership Historyaletheore_hotspots Historyaletheore_search_codebase Searchaletheore_symbol_source Searchaletheore_verify_citations Evidence... 35 more, all read-only
aletheore scan .Scanning /path/to/repo...→ Detecting languages, frameworks, and build tools→ Building module dependency graph (parsing source with tree-sitter)→ Analyzing git history and ownership→ Scanning working tree for secrets→ Scanning git history for secrets (can be slow on large histories)→ Clustering modules and checking layer conventions→ Mapping API endpoints→ Detecting dead code→ Computing git hotspots→ Checking dependencies for known vulnerabilities (OSV.dev)→ Checking dependency licenses (one registry lookup per pinned dependency)→ Running static analysis scanners→ Checking dependency licenses: 1/196 ... 196/196✓ Scan completeEvidence written to .aletheore/air.json
CLI workflow
pip install Aletheorealetheore scan .aletheore query endpointsaletheore dashboard
Real output from scanning the Aletheore repository itself. The path is shortened and the one-per-package licence progress lines are collapsed to one; nothing else is edited. The query kinds are the CLI's own listing for the released version.
pip install Aletheore
aletheore scan .Builds .aletheore/air.json, .aletheore/air.toon, and history snapshots.
aletheore audit .
aletheore audit . --managedUse your own provider locally, or run a managed audit with an Aletheore API token.
aletheore index .
aletheore query search-codebase "auth flow"
aletheore dashboard .Build a semantic index (on your machine by default), ask targeted questions, and inspect evidence visually.
MCP tools
aletheore_overview
A repo-level summary: languages, frameworks, monorepo structure, dependency-graph size, module/cluster counts, and git age/commit cadence/branch count.
44 tools are registered by default in aletheore 0.12.0. aletheore_answer is added when the server is started with --agent, and aletheore_managed_audit only with explicit consent to transmit evidence externally (ALETHEORE_MCP_ALLOW=...,external).
Evidence contract
.aletheore/
Canonical repository evidence: modules, symbols, dependencies, endpoints, architecture, security, ownership, and history.
TOON-encoded evidence for agent-facing and model-facing contexts where token cost matters.
Snapshots used for changes, drift, and continuity between scans.
Everything below reads it
Depth without mystery
AI-written subsystem pages and dependency diagrams grounded in deterministic architecture clusters.
Agents request focused evidence instead of dragging entire repositories into model context.
Secrets, vulnerabilities, dependencies, endpoints, and infrastructure findings trace back to source.
aletheore healthcheck runs GET-only checks against mapped API endpoints and saves the result locally.
The CLI scan runs locally. Managed and hosted flows use derived evidence according to the selected workflow.