Exact path, heading & line
Every snippet returns the repository-relative path, section heading, page number and start line so agents jump straight to context.
Every result says where it came from.
Library indexes the Markdown, text, Office documents (.docx, .pptx, .xlsx, .xls, .ods) and PDF files you allow, plus the documentation of the libraries your project uses. Your agent gets back the file, line, SHA-256 and whether it changed since.
runs on your machine · French and English
Every snippet returns the repository-relative path, section heading, page number and start line so agents jump straight to context.
Carries the cryptographic hash of the exact indexed bytes alongside a monotonic revision counter for every file.
Reports current, stale (modified since indexing) or missing_or_unreadable right in the MCP payload.
Agents can query and fetch only allowlisted roots—never modify source files—with every call appended to a tamper-evident audit log.
Index any local folder offline with footnote corpora index ./docs (or use the Launcher to index folders and import read-only .db / .fnbundle corpora). Want dependency docs? footnote docs ingest --project . (and automatic stack prompts via footnote docs auto) indexes your project's libraries, most-used first — or switch on strict offline mode with library.crawler_enabled = false to block every outbound crawl and live fetch. Safe cleanup via footnote corpora prune --missing drops only confirmed-gone registrations while keeping unplugged drives (Unreadable) untouched.
Normalized SHA-256 caching in embed-cache.db skips re-encoding unchanged docs across worktrees and framework upgrades while excluding personal and encrypted stores.
Discrete Vulkan GPUs can enable opt-in bulk embedding (ggml-vulkan.dll) directly in the Launcher without inflating the default CPU-only installer. Measured at 83.8–85.0 chunks/s warm (166 MiB VRAM) on a Radeon RX 6800 (jina-v5-nano).
Prebuilt remote docs bundles: CLI command exists; none are hosted yet.
| Check (20 Nov 2026) | Footnote | Grounded Docs 3.4.1 | Outcome & scope |
|---|---|---|---|
| Scrapy crawl + index (L6) | 10.1 s | 160.6 s | 15.9× faster |
| pytest crawl + index (L6) | 7.6 s | 121.8 s | 16.0× faster · 200 vs 95 pages |
| Median query (40 q, L6) | 1.15 s | 1.83 s | −37 % latency · 2 Sphinx sites |
| nDCG@5 (sealed 40 q, L7) | 0.768 | 0.721 | inconclusive · 95% CI [−0.054, +0.155] |
| nDCG@5 (earlier 59 q, L7) | 0.564 | 0.635 | Footnote scored lower |
nDCG@10 on official held-out test splits through the shipped binary over MCP (bekko-a8m + gte-small default pair, 14 Nov 2026 baseline with all 12/12 French comparisons re-verified 25 Nov 2026). Higher is better.
| Corpus | Footnote | mem0 | ICM | Cognee |
|---|---|---|---|---|
| Mixed FR + EN · 3,039 q | 0.489 | 0.343+42 % | 0.342+43 % | failed |
| Alloprof, French · 2,316 q | 0.478 | 0.360+33 % | 0.333+44 % | 0.305+57 % |
| Syntec, French · 100 q | 0.795 | 0.745+7 % | 0.657+21 % | 0.700+14 % |
| SciFact, English · 300 q | 0.747 | 0.729tie | 0.664+12 % | 0.719+4 % |
| NFCorpus, English · 323 q | 0.368 | 0.357tie | 0.307+20 % | 0.338+9 % |
25 Nov 2026 post-#681 re-check: Syntec FR 0.7952 (exact keep), Alloprof FR 0.4735 (all 12/12 French comparisons remained significantly in Footnote's favor; BEIR EN re-check blocked by upstream server timeout). BEIR published BM25 references: 0.665 SciFact, 0.325 NFCorpus.
| Model | Mixed FR+EN | French | English | Encode / Search p95 |
|---|---|---|---|---|
bekko-a8m + gte-small (default ONNX) | 0.489 | 0.473 / 0.795 | 0.747 | 17 ms enc / 42 ms search |
jina-v5-nano (Q8_0 GGUF) | 0.572+0.083 | 0.578+0.103 | — | 69 ms search |
jina-v5-small (Q8_0 GGUF) | 0.579+0.080 | 0.589+0.100 | — | 98 ms enc |
embeddinggemma-300m (ONNX / GGUF) | 0.562+0.063 | — | 0.786+0.040 | 61 ms enc |
French elision & caveats (LIB-45, 25 Nov 2026): Stripping 13 French elision prefixes before English stemming (footnote_subword_v2) raised Alloprof FR lexical nDCG@10 0.3261 → 0.3442 (+0.0181) and mix-fr-en 0.3454 → 0.3578 (+0.0124) while keeping English and code identifiers bit-exact. Caveats: mem0 ran without LLM extraction, Cognee on its chunk index, ICM keyword-only; public test sets may overlap upstream model training data.
Native document extraction and SIMD/parallel vector scans removed Python subprocess spawns from Office and digital PDFs and cut dense vector latency across 50k–250k chunks.
.docx)1.0000 recall · zero Python spawnsdot_i8 dense scan (INF-26, 50k × 768d)3.33× faster (2.78× at 384d) · bit-exact i32Dense::scan (INF-30, 250k × 768d)2.61× faster (2.23× at 384d) · NEON on ARM64footnote_recall(all: true) (INF-21)71 KB → 4.2 KB payload · 137 → 26 MB RAM unloaded| Scale check | Size | Latency | Note |
|---|---|---|---|
| MCP hybrid query (L3, real queries) | 5,183 chunks | 20 ms p50 | Real corpus vectors |
| MCP hybrid query (L3, random vectors) | 40,018 chunks | 45 ms p50 | Speed only (not precision) |
| MCP hybrid query (L3, random vectors) | 100,044 chunks | 52 ms p50 | p95 79 ms · speed only |
| Tantivy lexical vs SQLite FTS5 (L4) | 1,000,000 synthetic docs | 3.0 ms vs 423 ms | Synthetic speed-only comparison |
footnote_subword_v2); full Snowball French stemming was tested and rejected because it over-stemmed French suffixes and regressed English SciFact recall..docx, .pptx, .xlsx, .xls, .ods) extract purely in Rust; digital PDFs extract natively when a pdfium shared library is present and fall back to Python + rapidocr-onnxruntime on scanned pages or diagrams (< 80 chars or >= 25% image area).You need Footnote installed first: see install.
Index a local folder offline and register it cleanly.
footnote corpora index ./docsIndex the docs of the libraries this project imports.
footnote docs ingest --project .