Who it is forA developer or reviewer preparing a change that touches two parts of a system that may depend on each other.
The problemA change to one module can reach another through calls, imports, or inheritance that is not obvious from the file list.
The outcomeA printed path showing how the two things connect, which helps scope the change and the review.
What you need first
- Python 3.10 or newer
- uv (recommended) or pipx
- A supported AI coding assistant, such as Claude Code, Cursor, Codex, or Gemini CLI
- A local copy of the repository you want to map
Steps
- Make sure the graph is built by running
/graphify .in your assistant. - Run
graphify path A Bwith the names of the two concepts, replacing A and B. - Run
graphify explainon any intermediate node on the path to see its source location and connections. - Note which links are EXTRACTED and which are INFERRED before deciding how far the change reaches.
Prompt for your agent
In the Graphify-Labs/graphify repo, run `graphify path <node-a> <node-b>` against the graph in <project-path>/graphify-out/. Expected output is the chain of nodes connecting the two, with edge tags; verify each hop has a source location before listing it as a dependency.
Caveat. A path shows connections the graph resolved, so treat INFERRED hops as leads to confirm in the code rather than proof.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Graphify-Labs/graphify and "Trace how two components connect before a change"
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