Build a Code Graph Before Agents Read a Single File, Says Limestone

alex_verem · x · 2026-10-15

LimestoneHQ shares a workflow to make coding agents far more efficient: instead of rereading the codebase on every ticket, pre-build a code graph where files, functions, classes and types become nodes and calls/imports/references become edges, clustered into modules via community detection.

Key details: fix the seed and pin tool versions for reproducible graphs; keep AI out of the build (use a model only to name modules); map code only, not docs; the full build takes 16 seconds. Then add agent rules: query the graph before reading any source, ask "what breaks if I change this?" before every change, and rebuild after each merge to main.

Related event: Code graphs cut coding agent token costs by ~25%(2 posts)→

Original post →

More from coding & agent

coding & agent channel →