Who it is forA developer who has to change a function and needs to know how a caller reaches it, especially through interfaces or other files.
The problemGrep cannot see calls made through an interface, a subclass or a callback, so a search can miss the real route through the code.
The outcomeA numbered list of places along the call chain, each with the surrounding code and the line that matters, so you can see the full route before editing.
What you need first
- Node.js 22.13 or newer
- Python 3 (python3, or python or py on Windows)
- Git for Windows on Windows, since the CLI runs under its bash
- A supported AI agent or any MCP client, if you want agent use
Steps
- Install the engine with
npm i -g @axiomcode/code-graph. - Confirm the install with
axiomcode --version. - In your project folder, run
axiomcode path main Ledger.putwith your own caller and target names. - Read each numbered hop and its source line, checking that the chain matches the code you plan to change.
- Add
.axiomcode/to your.gitignoreso the graph folder stays out of version control.
Prompt for your agent
In the <repo> project, run `axiomcode path <caller> <target>` to list the call chain from <caller> to <target>. Report each hop with its file and line. Verify that every hop is marked resolved or one of a set, and say which hops are candidates rather than confirmed.
Caveat. The README benchmarks cover Java and TypeScript only, so Python, JavaScript and C# results are not measured there.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AxiomCodeAI/axiomcodegraph and "Trace the exact call path between two functions"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer