Evidence-grounded repository intelligence
Code intelligence that has to show its work. A deterministic scanner reads your repo and
writes structured evidence β every downstream feature (AI audit, PR bot, MCP server,
dashboard) has to cite that evidence, or it doesn't get to make the claim.
Install the Aletheore GitHub App β hosted PR review, dashboard, and AIRview docs on top of the same evidence engine.
Prefer the free local CLI? Keep reading below.
$ pipx install aletheore
$ aletheore scan .
Scanning /path/to/your/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
β Checking dependencies for known vulnerabilities (OSV.dev)
β Mapping API endpoints
β Done
β Scan complete
Evidence written to /path/to/your/repo/.aletheore/air.json
No LLM call, no account, no network access beyond the vulnerability/license registry lookups
(turn those off too for a fully offline run). That one command gets you a real dependency
graph, secrets scan, git-history secret sweep, dependency-vulnerability/license check, and
static API endpoint map β for Python, JavaScript/JSX, TypeScript/TSX, Go, Rust, Java, Kotlin,
Ruby, PHP, C, C++, C#, and Swift.
Why
- Grounded, not vibes. Every AI-written claim (the
audit report, PR review comments, the
architecture wiki) is checked against the file:line it cites. A finding that can't be
verified against real evidence gets dropped or flagged, not shipped silently.
- The free tier is actually free.
scan, query, diff, the MCP server, and the local
dashboard need no account and no API key. Nothing leaves your machine, apart from a crash report
if the CLI itself crashes (on by default, one command to turn off; see
Crash reporting).
- Bring your own model, or don't use one at all.
audit works with six provider families
(Claude, OpenAI, Google, Mistral, xAI, or a local Ollama model) β your key, your cost, your
choice β or skip the LLM step entirely and just use the deterministic evidence.
- 1,600+ tests, real CI, and a GitHub Action that dogfoods itself on every PR to this repo.
- Benchmarked, not just claimed. aletheore-benchmarks
is the public harness we test review quality against β real open-source PRs, blind LLM
judging, and a published methodology, comparing Aletheore's evidence-grounded context
against raw-diff and full-file-context baselines.
What's actually shipped
aletheore scan β the deterministic scanner above. Safe to run in CI, on every commit.
aletheore audit β scans, then has a coding-agent CLI or API provider write a full
grounded markdown report, citing exact evidence fields throughout. Meant to be run by hand
against your own repo β see src/README.md for why it isn't wired into CI.
aletheore query / aletheore diff β answer a targeted question or compare two
scans from existing evidence, no re-scan or LLM call needed.
aletheore mcp β a stdio MCP server exposing 36 tools by default (37 with
ALETHEORE_MCP_ALLOW=external enabled) (module/symbol/dependency lookups,
ownership, clusters, dead code, hotspots, full-text and semantic search, scan and index
triggers) so a coding agent can query your repo's structure directly instead of shelling out
for every lookup; it re-scans in the background as files change unless started
with --no-watch. aletheore mcp-install wires it into Claude Code,
Cursor, VS Code, Kiro, Opencode, or Codex CLI automatically.
aletheore tokens β measures how many tokens your coding agent re-reads on every turn and, if you
choose, trims the built-in tools a project does not use (reversible, project-scoped, off by default).
Every repo-wide, no-target tool (dependency usage, environment variables, error handling, ...) caps
its result to a size budget by default β a result that already fits is untouched; an over-budget one
keeps its shape, says what was left out, and the same tool takes section/offset/limit/filter
to page through the rest losslessly.
aletheore dashboard β a live local web UI: dependency graph, an Obsidian-style cluster
graph, trend charts across scan history, and the MCP tool list.
- A GitHub Action (
action.yml, on the Marketplace as "Aletheore") β scans a PR's base and
head refs and posts a diff: new/resolved secrets, dependency vulnerabilities, and
layer-convention violations, as a PR comment, inline annotations, and the run's Step Summary.
CI only ever runs scan + diff β fast and deterministic, never the full agent-driven
audit.
- uses: Aletheore/Aletheore@v0.7.2
with:
fail-on-new-secrets: true
Full command reference, MCP tool list, per-language import-resolution details, and
configuration options: src/README.md.
Aletheore AIR (hosted GitHub App)
Everything above is the free, local-first CLI (Aletheore Community). Installing the
Aletheore GitHub App adds a hosted layer on top of the same
evidence β paid plans start at $29.99/mo for up to 3 team members (additional seats $6.99/mo each):
- Automated PR review β Flash reviews and managed audits comment directly on pull
requests, scoped to the changed hunks, citing file:line evidence. Blast-radius checks
trace a changed symbol to its real callers across the repo (or say plainly when no
caller could be confirmed, instead of guessing).
- AIRview β an AI-generated, always-current architecture map of the repo, rebuilt
from the same dependency-graph evidence
scan produces.
- AI-generated Docs β per-symbol descriptions written straight from real source,
drafted as PRs land and backfilled for a repo's existing public API, always marked
as AI-generated rather than presented as hand-written.
- Production monitoring β live endpoint reachability/latency checks mapped back to
the source handler that owns the route, with Slack/Teams alerts on state changes.
- Branch-protection checks and team seat management.
The GitHub App and dashboard code lives in github-app/; see its own
README for deployment and operations details.
Repository layout
src/ β the actual, working CLI code (see its README for everything above in detail).
github-app/ β the hosted GitHub App: FastAPI server, RQ workers, migrations. See
Aletheore AIR above for what it does.
site/ β the marketing site (Next.js).
docs/superpowers/ β design specs and implementation plans written during development.
docs/operations/ β current operational baselines: incident response, data handling, SLOs,
deployment verification, branch protection, support process.
SECURITY.md β vulnerability reporting and response targets.
Related, separate repo: aletheore-benchmarks β
the public PR-review benchmark harness and published results.
Licensing
Aletheore is licensed under the
PolyForm Noncommercial License 1.0.0, not an OSI-approved open-source license.
It's free for individuals: personal use, research, hobby projects, and evaluation. Any use
for or within a company or other organization β including internal tooling at a company you
work for β is a commercial use and requires a separate commercial license. Reach out at
arihantkaul@outlook.com for commercial licensing, or see
Aletheore AIR for the hosted, paid tier.
If it's useful to you personally, consider
sponsoring development β no accounts, no usage tracking,
and nothing leaves your machine when you run it except an optional crash report (see above).