Why it matters
Compass offers developers a powerful local tool for understanding complex codebases, improving code quality, and enhancing AI coding assistant capabilities. By providing a detailed, queryable graph of project artifacts, it allows for precise impact analysis and focused context generation for AI tools.

What changed

Crabbuild has introduced Compass, a new local-first knowledge graph engine designed to process code and project artifacts. Built entirely in Rust, Compass aims to provide developers and AI coding assistants with a comprehensive, queryable map of a codebase's structure, relationships, and history. Unlike solutions that rely on cloud processing, embeddings, or vector databases, Compass operates entirely locally. It transforms source code and project files into a directed graph, enabling functionalities such as architecture mapping, dependency path tracing, and impact analysis. The engine supports deterministic, read-only queries via CompassQL, outputting results in JSON and JSONL formats. It also preserves immutable graph snapshots for specific Git commits, allowing for historical analysis and version-to-version topology diffs. Compass is designed to integrate with various tools, offering exports in formats like GraphML, SVG, Wiki, Obsidian, and Neo4j, as well as providing a VS Code extension for interactive exploration.

Installation and Initialization

Installation is available via a shell script for macOS and Linux, or a PowerShell script for Windows, pulling from the latest release. Developers can also build from source using Rust 1.97.1 or newer, or use a make install command. Once installed, compass init can be run within a project directory to create an initial graph. This command scopes the project, saves configuration to .compass/config.toml, and generates an initial output in compass-out/, including graph.json, GRAPH_REPORT.md, and orientation.json for AI assistants. Users can specify include and exclude patterns during initialization for monorepos. The compass update and compass watch commands can then be used to keep the graph current as files change, with watch running in a separate terminal.

Querying and Exploration

Compass facilitates deep code understanding through its query capabilities. Developers can ask natural language questions using compass query "your_question_here", which leverages structured discovery within the graph. The --evidence flag provides full provenance, and results are paginated with a cursor for large outputs. Specific commands like compass explain TokenVerifier and compass path ApiHandler TokenVerifier allow for detailed symbol explanations and dependency path tracing. The --affected flag, with an optional depth, can identify components impacted by a change. For visualization, compass export html generates a self-contained HTML workbench, which can be customized to include code, architecture, call, and impact graphs for specific symbols. This workbench is also accessible via the Compass VS Code extension, allowing users to navigate from graph nodes directly to source code locations.

Why it matters for builders

Compass empowers builders by providing a local, efficient, and transparent way to understand and analyze their codebases. The ability to generate detailed knowledge graphs without external dependencies or complex setups democratizes deep code inspection. This is particularly valuable for onboarding new team members, refactoring large projects, or ensuring code quality through automated structural checks. Furthermore, Compass's focus on providing precise, bounded context for AI assistants can significantly enhance the reliability and accuracy of AI-driven coding tools.

Practical impact

Developers can immediately integrate Compass into their workflow by installing the CLI and running compass init in their projects. Experimenting with compass watch can provide real-time updates as code changes. For those working with AI assistants, exploring the orientation.json and GRAPH_REPORT.md files can reveal how to leverage Compass for more focused and accurate AI interactions. The compass export html command offers a quick way to generate shareable visualizations of code architecture and dependencies.

Caveats and source limits

The source material provides comprehensive details on Compass's features, installation, and usage. However, specific performance benchmarks comparing Compass to other knowledge graph engines or code analysis tools are not presented. Information regarding pricing, licensing details beyond 'Other', or specific support tiers is also absent. The release status is indicated as 'fresh release' with a specific version compass-v0.3.13, suggesting it is an actively developed project but potentially not yet at a mature, stable release for all enterprise use cases.

Sources

Written with AI assistance from the linked sources; every claim below was checked against them automatically. How we produce articles.

Claim check: 7/7 supported claims - 7 evidence links - 100% avg confidence
  • Compass is a local-first Rust workbench for architecture maps, dependency paths, impact analysis, and Git history.supported - github.com
  • Compass turns source code and project artifacts into a directed, queryable knowledge graph.supported - github.com
  • Structural extraction and graph queries run locally and do not require Python, embeddings, a vector database, model credentials, or runtime parser downloads.supported - github.com
  • Compass provides a VS Code extension for interactive exploration of code graphs.supported - github.com
  • Compass supports deterministic, read-only CompassQL queries with JSON and JSONL output.supported - github.com
  • Compass exports graphs in formats including GraphML, SVG, Wiki, Obsidian, and Neo4j.supported - github.com
  • The latest release is compass-v0.3.13.supported - github.com

Caveats

  • Single-source caution: verify critical details at the linked source.
Radar score 79/100 - how it was calculated
Reliability82
Freshness8
Novelty77
Technical87
Developer96
Ecosystem72
Confidence98
  • Reliability 82: GitHub metadata supports source trust
  • Freshness 8: Fresh GitHub release date
  • Novelty 77: Fresh GitHub release
  • Technical 87: Repository technical metadata
  • Developer 96: Developer tooling signals
  • Ecosystem 72: Fresh GitHub release
  • Confidence 98: Claims have reliable evidence
Share
XLinkedInHacker News

Discussion

Loading comments...

Related articles

AI Tools - Nov 12, 2026Lattice: Local-First LaTeX App for macOS with AI Agent IntegrationLattice is a new local-first LaTeX writing application for macOS that integrates AI agents directly into the writing workflow. It offers features like live PDF previews, annotation syncing, and Overleaf collaboration, aiming to streamline academic writing.Agents - Nov 6, 2026OpenAdapt v1.20.0: Local-First Automation for EHRs and PortalsOpenAdapt has released version 1.20.0, introducing a local-first automation system designed for applications like EHRs and payer portals. This system allows users or agents to demonstrate tasks, which OpenAdapt then translates into deterministic programs that execute without model calls and verify each step.AI Tools - Nov 19, 2026Moli: Rust-based Headless Browser for AI AgentsMoli is a production-ready, Rust-built headless browser designed for AI agents, offering a lightweight footprint with on-demand rendering. It supports CLI, CDP, and WebDriver protocols, running on Linux, macOS, and Windows.Agents - Nov 22, 2026Waku Agent: Open-Source AI Agent Harness with Local-First ArchitectureWaku Agent is an open-source AI agent harness designed for local-first operation, featuring a readable codebase that emphasizes core agent pillars: harness, loop, memory, eval/LLM-Ops, and an always-on layer. It offers local data storage, a straightforward Python loop, and integrated evaluation tools.AI Coding - Nov 19, 2026Lattice v0.16.14: Local-First LaTeX App for macOSLattice, a local-first, agent-first LaTeX writing application for macOS, has released version v0.16.14. This update brings live PDF previews, annotations, and Overleaf synchronization capabilities to academic writers.AI Tools - Nov 11, 2026ViralMint: Open-Source Local Video Pipeline for CreatorsViralMint is an open-source, local-first video pipeline designed for creators, offering features like trend scouting, video clipping, script-to-video generation, and motion graphics design. It emphasizes a "bring your own key" (BYOK) model, running entirely on the user's machine without SaaS intermediaries or telemetry.