Hi HN. Lantern Lattice answers who calls a function, what it calls, and who uses a type or a field, for Rust, TypeScript, JavaScript, Python, Go, C and C++. The answers come from each language's own tools (rust-analyzer, tsrs, pyrefly, gopls, clangd), so x.get() links to the get of x's type. A text search finds every get. It is built for coding agents. Through MCP an agent gets trace, impact (what your uncommitted changes touch and what depends on them) and edits by symbol, along with tools that replace Grep, Read, Edit and Write, so the graph stays current while the agent works. Every language after Rust was built largely through its own Claude Code plugin, with these tools in place of the standard ones. Renaming a function in its own code takes two calls: trace names the 3 callers with their files and lines (550 bytes), and one replace_text changes all 4 files together (375 bytes). The usual way: grep -w gives 26 lines in 23 files, and reading the 4 files before editing them is 51 KB. - A call it cannot be sure of is left out, never guessed. - On a Rust project with 20k symbols, a query takes 0.01 to 0.02 s, and the first answer after an edit about 1 s. - latt view shows the graph in the browser and lights up what an agent reads or edits. The project's own graph is at https://lanternlattice.com Accuracy numbers for each language and the known limits are in the README. It has only been used with Claude Code so far; the configs for other agents are untested. brew install julymetodiev/tap/lantern-lattice (MIT, Rust).
Repository
julymetodiev/lantern-lattice
Lantern Lattice
julymetodiev/lantern-lattice
Lantern Lattice
A tool that extracts call graphs from compilers and type checkers (rust-analyzer, tsrs, pyrefly, clangd, etc.) for humans and coding agents. Provides symbol-level navigation, impact analysis, and agent-friendly commands.
Visit project- First shared
- Nov 5, 2026
- HN activity
- 21
Show HN@juliusmlNov 5, 2026
Show HN: Lantern Lattice – the call graph from your compiler, for coding agents
Community