Local Code Index for Agents Resolves Imports Without a Language Server

Goldziher · reddit · 2026-08-08

The author introduces a local code index tool (Rust, MIT) designed for coding agents that resolves imports without a build step or language server (LSP). This is crucial when a repo doesn't compile because an agent is mid-edit.

While lacking LSP precision, it offers tiered resolution:

Supporting 371 grammars, the tool's key feature is refusing to over-claim: querying callers returns all name-scan hits, annotating which ones are proven, preventing agents from blindly trusting a small subset of results. It runs fully offline, scanning 81k TypeScript files in 18 seconds on an M4.

Original post →

More from coding & agent

coding & agent channel →