fathom
fathom indexes your repositories into a local evidence store and serves it to coding
agents through MCP tools and harness hooks. The store holds symbols, call edges, imports,
config references, plans and rules, and records how each fact was found. fathom's job is
proof more than search. It tells an agent what breaks if a file changes, which rules
govern the file it is about to edit, and whether a task it marked done is really done.
Answers carry each fact's evidence tier, and graph answers name the indexed commit. fathom
is one pure-Go binary that runs locally and makes no model calls by default.
Status: beta (current: the newest release). Build from source on macOS or Linux (Windows is untested).
Claude Code and Codex are the verified harnesses. Every push runs task validate on Linux
in CI (ci.yml). Licence: FSL-1.1-ALv2 (below).
The overview is a 15-minute tour of the design and its evidence.
What is different
- Done means proven.
fathom verify checks every [x] row of a Markdown plan
against the index: the symbol exists, a test statically reaches it, and for Go a
product entry point calls it through typed edges. A failed claim exits 1 with the
reason. Step 2 below shows it (usage/verify.md).
- Extraction quality is measured against independent oracles. Each language and
tool format is scored against an oracle fathom does not own (its own indexer or
compiler where one exists), on subjects chosen before the run. The board
is generated from the committed readings, and
TestLanguagesTrackerIsGenerated fails
if any row claims more than its reading shows. It tracks 45 languages and 74 tool
formats. Of these, 26 languages and 53 tool formats meet their targets. The board
lists missed targets, including Go's typed level.
- Every answer says how it knows. Each symbol and edge carries an evidence tier, and
call answers count typed and heuristic edges separately. A heuristic edge is served
with its label but never proves a plan row. Reports name the commit they were computed
at, and
fathom receipt verify re-checks a saved Go answer with only the Go toolchain
and git. Output is deterministic, and tests pin that (TestBlastRadius_Determinism).
Quick start
Measured on an Apple M4, cold Go cache: clone 6.8 s, build 28.6 s, daemon under 1 s,
fathom init on psf/requests (130 files) 0.55 s, answers
under 30 ms (reading). Builds with
go.mod's toolchain, Go 1.27.3 (Go 1.21 or later fetches it through GOTOOLCHAIN=auto). A Go 1.26
build with GOTOOLCHAIN=local compiles but cannot type-load Go 1.27 sources.
1. Install. Three ways; the first needs no Go.
Download a release archive (macOS and Linux, arm64 and amd64) from
the newest release:
V=$(curl -fsSL 'https://api.github.com/repos/GeoffMillerAZ/fathom/releases?per_page=1' | sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p' | head -n 1) # newest, prereleases included
OS=$(uname -s | tr A-Z a-z); ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')
curl -fsSLO "https://github.com/GeoffMillerAZ/fathom/releases/download/v$V/fathom_${V}_${OS}_${ARCH}.tar.gz"
curl -fsSL "https://github.com/GeoffMillerAZ/fathom/releases/download/v$V/checksums.txt" | grep "fathom_${V}_${OS}_${ARCH}.tar.gz" | shasum -a 256 -c -
mkdir -p ~/.local/bin && tar -xzf "fathom_${V}_${OS}_${ARCH}.tar.gz" -C ~/.local/bin fathom fathom-lang
export PATH="$HOME/.local/bin:$PATH" && fathom version # fathom v0.26.0 @ <commit>
The binaries are not signed or notarized, but each archive and checksums.txt carries a
build-provenance attestation, starting with v0.24.0. Verify a downloaded archive against this repository's release workflow:
gh attestation verify "fathom_${V}_${OS}_${ARCH}.tar.gz" --repo GeoffMillerAZ/fathom \
--signer-workflow GeoffMillerAZ/fathom/.github/workflows/release.yml
A macOS browser download carries a quarantine
flag (curl does not set it); clear it with xattr -d com.apple.quarantine fathom fathom-lang.
Or go install github.com/geoffmilleraz/fathom/cmd/fathom@latest, and .../cmd/fathom-lang@latest for the language library as a command (macOS needs the Xcode
Command Line Tools for cgo; read end to end against v0.13.0 in
the install-path reading).
Or build from source: