Skip to main content
Start with a specific subsystem or concept, then narrow your investigation. A compact query is usually more useful to an assistant than the whole architecture report.

Gather context with query

query finds relevant starting nodes and traverses their relationships. Breadth-first traversal gathers a broader neighborhood. --dfs follows a deeper chain:

Inspect one concept with explain

Take a label or node ID from the query results:
Look at its source, community, and incoming and outgoing relationships. Inspect the source itself when a precise implementation detail matters.

Trace a relationship with path

This uses the tutorial’s example project. In your project, replace the labels with real nodes. Stored direction is respected; add --undirected when you want connectivity rather than a directional path.

Ask the assistant to preserve uncertainty

Use Graphify to trace how a request reaches persistence. Show the path and source references. Flag inferred or ambiguous edges, and tell me if the graph is missing evidence.
The tool supplies context, and the assistant interprets it. Ask for evidence and avoid treating an absent path as proof that two systems are independent.

Run it on a real repository

These examples come from a code-only graph of the open-source httpx repository, built with Graphify Local 0.9.97. Your counts will differ.
The header tells you where the traversal started and how much it found. When the output is truncated, Graphify prints the exact budget that would return everything. Raise --budget, or narrow the question. To start from a node you already know, pass --seed. To follow only one kind of edge, pass --context:
path and explain show the confidence of each edge:

Flags

Exit codes and troubleshooting

query, path and explain exit with 0 when they return an answer, 3 when a name is ambiguous, and 4 when no node matches. Scripts can branch on these codes.
Retry with one of the listed IDs, or a path::symbol form. If you get No node matching '...' found. (exit 4), check the spelling or run graphify god-nodes to see the main labels.

FAQ

Does querying call an LLM? No. query, path and explain read graph.json locally. What does INFERRED mean? The edge came from a resolution step, not a direct syntax match. EXTRACTED edges were read straight from the source. Check INFERRED edges before you rely on them.

Next steps

Try it in Graphify

We build and host the graph for you. Start with a 14-day Pro trial, then keep up to 3 repositories on Free. No card required.

Trace who calls this

Follow calls across repositories in the console.

graphify query

Flags and output for query.