A universal symbolic graph compiler for machine reasoning over software structure.
Canon parses source code across 11 languages and 120+ frameworks into a typed structural graph that agents can traverse, query, diff, and reason over without reading raw source.
Homebrew (macOS/Linux):
brew install hedgedesk/tap/canonInstall script:
curl -fsSL https://raw.githubusercontent.com/hedgedesk/canon-releases/main/install.sh | shDirect download:
Download the binary for your platform from the latest release, then:
chmod +x canon-*
sudo mv canon-* /usr/local/bin/canon# Initialize — scans repo, detects languages + frameworks, writes .canon config
canon init
# Full build — parses all languages into a structural graph
canon build
# Generate documentation skeletons
canon document
# Check version
canon versionPython, JavaScript, TypeScript, Java, Kotlin, C#, Go, Rust, C++, PHP, Ruby — with 120+ framework overlays.