Back to docs

Local indexer + watch mode

AST + embeddings on-device, with incremental updates as files change.

What gets indexed

CodeFathom captures definitions, references, imports/exports, and embeddings so retrieval stays code-aware instead of keyword-only.

Incremental watch mode

File watchers update only the modules that changed, keeping the index fresh without full rebuilds.

Output budgets and chunking

Chunks align to functions and classes, and retrieval respects token budgets so the plan stays in the prompt.