Open source · Rust CLI
Find the code
that matters.
A ranked code map for your task, within a token budget.
See it work
Ranked map: each path: block lists signatures, best match first.
How it works
- Read tracked files
- Find definitions and uses
- Build a file graph
- Rank toward your focus
- Trim to the token budget
- Print the map
Use it with coding agents
- Pick focus words from the task.
- Run the map once at the start.
- Read the top files.
- Still search with
rg; the map can miss files.
Before exploring the repository, run:
npx symapper . --tokens 1500 --focus <word from the task> --focus <another word>
The map is a starting point: read what it points to, then still search the code (rg/grep).
It can miss files.
A focused view
Ranked around your focus
--focus path|wordFits your token budget
--tokens NLocal and read-only
No LLM. No daemon.
Six languages
TypeScript, JavaScript, Python, Go, Rust, Swift
Point it at your task
Paths, identifiers and plain words all work. Flags and focus →
symapper . --focus src/render.rs --focus render_prefix --tokens 1000
Local by design
No network while mapping. It never runs repository code or hooks. Cache and safety →