Dev builds a structural code graph over MCP so coding agents can query "blast radius" in under 100ms
Numerous_Beyond_2442 · reddit · 2026-10-25
A developer shares his hands-on attempt to close agents' biggest blind spot — "what breaks if I change this?" — and asks for better ideas.
- Grep/ripgrep: fast but structure-blind, falls apart on large repos
- Embeddings/RAG: finds similar code, not connected code
- LSP: needs a per-language server, breaks on polyglot repos
- His current bet: tree-sitter parses into nodes/edges stored in a single mmap'd file, served over MCP; queries like "callers of X" or "blast radius of Y" run via graph expansion — sub-100ms at 839k-node scale
Unsolved so far: codegen-heavy monorepos, tree-sitter grammar lag, cross-repo analysis, and runtime-aware blast radius.
More from coding & agent
- Harness for each codebase: the case for co-designing repos with their agent harness — hargup13 · 2026-10-25
- Microsoft's 24-lesson Web Dev for Beginners course notes land on ChapterPal — burkov · 2026-10-25
- POA chain restarts from checkpoint 44003 after overload and duplicate-transaction outage — adamamcbride · 2026-10-25
- Dev calls out Morph for fake waitlist tactics: call first, then demand billing info — arthurcolle · 2026-10-25
- Why Formal Verification Is Exploding Now: Proofs Get Cheaper, Exploits Costlier — burny_tech · 2026-10-25
- Codex roadmap leak: agent message board, artifacts, code mode and more coming soon — umeshonai · 2026-10-25