DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to trace the exact call path between two functions with Axiomcodegraph

Show every hop from a caller to a target function, with source lines, before you change code.

Short answer: Install the engine with npm i -g @axiomcode/code-graph; then Confirm the install with axiomcode --version; in your project folder, run axiomcode path main Ledger.put with your own caller and target names. All steps.

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

  1. Install the engine with npm i -g @axiomcode/code-graph.
  2. Confirm the install with axiomcode --version.
  3. In your project folder, run axiomcode path main Ledger.put with your own caller and target names.
  4. Read each numbered hop and its source line, checking that the chain matches the code you plan to change.
  5. Add .axiomcode/ to your .gitignore so 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer