One local graph. Every useful question.
Compass turns a repository into an inspectable, evidence-backed graph, then gives you the smallest surface for exploring, querying, comparing, and sharing what you found.
Install CompassProduct surfaces
Move from shape to reason without changing tools.
Start with the question in front of you. Each surface uses the same graph model, so the context you discover in one place remains useful in the next.
Code graph
Explore the relationships before you edit.
The viewer keeps a fixed layout, searchable symbols, relationship types, and source anchors in the same working set. Try a real dotenv snapshot, then open the full source line when a node earns your attention.
Artifact lineage
Four boundaries, one publishable snapshot.
From source to snapshot
The build is a visible sequence, not a black box.
Discovery, extraction, resolution, and publication each have an owner, an artifact, and a failure mode you can reason about.
Evidence starts close to the source.
Resolution preserves ambiguity.
Incomplete artifacts do not publish.
Optional network work stays explicit.
Edge anatomy
A relationship is useful when it can answer follow-up questions.
The evidence contract
A relationship is a claim you can follow.
Compass keeps the useful details beside the line: what the relationship means, which direction it travels, where it appeared, and how the extractor knows about it.
A node means the same thing across the viewer, query output, and exports.
CALLS, IMPORTS, USES, and CONTAINS keep their direction and count.
Every useful relationship can lead back to the file and line that produced it.
Direct, inferred, unresolved, and ambiguous results stay distinguishable.
CompassQL
Ask structural questions with a contract.
CompassQL is a deterministic, bounded, read-only query surface for finding paths, relationships, and impact without inventing meaning.
Bounded traversal
Start at the changed symbol; keep the path visible.
Read the supported syntax, bounds, and diagnostics before you automate it.
Versioned history
Compare two code graphs, not just two source diffs.
Choose exact Git revisions, identify the immutable graph behind each one, and see the nodes, relationships, and evidence that changed.
Graph A → Graph B
Two code graphs. One explicit comparison.
Graph A
Baseline
Exact commit
a83f2c
4 nodes
3 relationships
Graph B
Current
Exact commit
f0b219
4 nodes
4 relationships
Exact graph identities stay attached
Revision review loop
From exact commits to an anchored explanation.
- 01
Select
Choose exact parent and current revisions.
- 02
Materialize
Build or reuse each compatible realization.
- 03
Compare
Classify topology and evidence changes.
- 04
Inspect
Jump from a changed edge to its source anchor.
Surfaces that fit the work
Use the graph where the next decision happens.
Keep exploration in the editor, automation in CI, focused context in MCP, and artifacts portable when the graph needs to travel.
A practical first move
Give the codebase a bearing.
Install Compass locally, build one graph, and answer a question you could not answer from a file tree alone.