Graphify Tested: 34 Seconds to a Semantic Code Graph, but the Docs Path Fails Quietly
Knowing which edges come from the AST and which from a model makes an impact analysis tool safe to act on; that explicit provenance is the pattern other tools should copy. The silent partial-results failure on the docs path shows why you cannot trust exit codes when a step depends on an LLM key.
Graphify turns a codebase into a graph that answers "who calls this?" and "what does this function affect?" without shipping code to a server. It parses files with tree-sitter into an AST, extracts semantic edges for calls, imports, inheritance and references, and lets you query that graph from the CLI. Running `graphify extract . --code-only` on TradingAgents, a 165-file Python project, took 34 seconds with 12 workers and produced 2,589 nodes, 5,919 edges, and 105 communities. A second project with 516 Python files finished in 33 seconds, so the scaling is linear when the directory is clean. The tool also reports a 70.6x reduction in tokens per query for an AI context, because a graph query costs about 2,444 tokens versus 172,600 for the naive text corpus.
The strongest design choice is honesty about edge provenance. The path query labels each hop as `[EXTRACTED]` when the AST confirms it and `[INFERRED]` with a confidence score when a model guessed it, and it names the weakest hop. That matters because most similar tools mix the two and force you to trust everything equally. The `query` command is BFS traversal, not an answer engine: it returns a list of nodes, truncated at a token budget, so you still have to read the code. And the non-code path is fragile: adding docs and images caused all 7 semantic chunks to fail with 400 and 429 errors from the Gemini backend, and 16 files silently dropped out, because the tool returns partial results without a nonzero exit.
The practical takeaway is to treat Graphify as a retrieval index, not a replacement for reading code. Use the three-command workflow: `extract --code-only` to build, `god-nodes` to see architecture hubs, and `affected` to get exact caller lists. Compare grep's 71 text matches for a symbol against Graphify's 13 semantic relations with line numbers: the counts measure different dimensions. The tool is overkill for a few-hundred-line project, and it will not answer "how are errors handled" directly. But for a large unfamiliar codebase, it compresses the search from hours to seconds, as long as you check the logs for silent drops.
Separating extracted from inferred edges is the feature that actually makes a graph tool trustworthy, because it tells you where a model's guess is the only basis for a relationship.
A silent partial-results failure for the docs path means exit code alone cannot verify a run; anyone using the non-code features has to inspect logs for dropped files.
The grep-vs-graphify count difference shows that comparing raw numbers from different tools is meaningless; the unit of measurement changes from textual occurrence to semantic relationship.
Linear scaling on clean directories is a reminder that performance claims for indexing tools depend on what you feed them; measuring input size, especially binary blobs, explains most 'slow' reports.
This trick hits me most — when taking over an unfamiliar project, seeing the skeleton in 30 seconds is far faster than flipping through files. Also keep in mind that the documentation leg can fail silently; without checking the logs you really can't tell something is missing.