Documentation your agent can query locally.
Aemon keeps versioned documentation for hundreds of libraries in a single SQLite file with an FTS5 index. Queries run locally in about 10 ms; a decision model picks the library from your stack; a scheduled crawler keeps sources current without spending tokens.
~950 versioned docsets
DevDocs, docs.rs rustdoc JSON, git repos, llms.txt sites, registry READMEs and Apple Developer frameworks — every corpus records its source and licence.
BM25 first, models optional
Two stages, and only the first is mandatory. Expansion and listwise reranking are cached, fused with the lexical order, and judged in evals you can rerun.
No tokens, runs on a timer
A crawl is HTTP, HTML-to-text and FTS inserts. Incremental by ETag and content hash; unseen URLs before indexed ones, deepest pages first.
# Download a binary, or build it.
Download the archive for your platform from the Aemon release page on GitHub ↗, and take its sha256 file from the same release. Each archive holds aemon, LICENSE and NOTICE.
- macOS Apple Silicon macOS 11 or newer · ad-hoc signed install image
- Linux x86_64 glibc 2.17 or newer
- Linux aarch64 glibc 2.17 or newer
macOS is Apple Silicon only. There is no Intel build. Release images are ad-hoc signed rather than notarized, so macOS asks for approval on first run: clear the quarantine bit or allow it in System Settings → Privacy & Security. The install guide has the exact commands.
# Linux x86_64. Get the checksums file without a version lookup: curl -LO https://github.com/cloudflavor/aemon/releases/latest/download/aemon-x86_64-unknown-linux-gnu-checksums.txt # Download the archive named on the release page, then: sha256sum -c aemon-x86_64-unknown-linux-gnu-checksums.txt tar -xzf aemon-v<version>-x86_64-unknown-linux-gnu.tar.gz install -m755 aemon ~/.local/bin/
From source it needs a stable Rust toolchain and a C toolchain for the bundled SQLite and zstd: cargo install --path .. Either way, aemon doctor is the first command to run. Install guide →
# Build the corpus, ask it questions.
aemon devdocs add --all # ~840 versioned corpora (~4 GB) aemon crate serde@0.9 # rustdoc JSON from docs.rs aemon search "select_related" -l django aemon search "why is my build slow" --auto --rerank
Everything runs on your machine. The corpus is never redistributed: the sources/ recipe lists every corpus with its upstream source and licence, so you rebuild it locally under your own legal judgement.
# Ingest, query, decide, keep current.
# Ingest once
Load DevDocs docsets, docs.rs rustdoc JSON, git repositories, llms.txt sites, registry READMEs, Dash/Zeal docsets, and the Apple Developer JSON API into one SQLite corpus.
Open docs →# Query in milliseconds
BM25 with kind, title, symbol and exact-match re-scoring answers most questions in about 10 ms. Optional expansion and listwise rerank fuse with that order instead of replacing it.
Open docs →# Let the decider pick the library
--auto reads your stack file and the whole library catalog, then returns a plan: which libraries the question is about, whether to expand, whether to rerank. A preference, never a filter.
Open docs →# Keep sources current
Register any documentation site and a scheduled pass crawls it: sitemap discovery, robots.txt honoured, ETag-based incrementality, deepest pages first. No model, no tokens.
Open docs →# Built for agents, not just terminals.
An outline → get flow with token budgets keeps context small; --json gives scripts a stable outer object; the MCP stdio bridge in deploy/aemon-mcp exposes docs_search, docs_outline and docs_get to MCP clients; and the SQL schema is documented, so reading the database directly is a supported interface.
Aemon documentation guides
Build and query a local documentation corpus with Aemon. Browse guides to ingestion, retrieval and the decider, scheduled crawling, the SQL schema, and the JSON API.
Aemon Documentation →
Aemon builds a local documentation corpus for coding agents: versioned docs for hundreds of libraries in one SQLite file with an FTS5 index, queried in about 10 ms, with a decision model that picks the library and a…
Install →
Download from the release page. Take the archive and its sha256 file from the same release; the URL carries the version, so nothing here has to.
Retrieval and the Decider →
Two stages, and only the first one is mandatory.
Ingestion and Sources →
Eight source types feed one corpus: DevDocs docsets, docs.rs rustdoc JSON, git repositories, llms.txt sites, npm and PyPI READMEs, Dash/Zeal docsets, the Apple Developer JSON API, and crawled documentation sites.
Crawling and Scheduling →
A crawl is HTTP, HTML-to-text and FTS inserts — no model, no tokens. That is the point: the model is spent when you ask a question; the crawler runs on a timer.
Schema and SQL Access →
The schema is not embedded in the binary: it lives in numbered files under migrations/, applied in order by a pragma user_version runner. Adding a column means adding migrations/0002_*.sql, never editing shipped SQL.
Providers and Model Roles →
Models are optional. Ingestion, crawling, search without --rerank/--auto, get, outline, ls, stats and audit never call one.
JSON API and Remote Access →
Reporting commands emit a common envelope on stdout.
Documentation snapshot from https://github.com/cloudflavor/aemon at revision a85ee1d024b8, not a current-release selector.