What is CodeGraph?
mainCodeGraph is a local-first code-intelligence tool designed to provide AI coding agents (such as Claude Code, Cursor, and GitHub Copilot) with semantic structural knowledge of a codebase.
Instead of agents using grep or glob to scan files to understand code structure, CodeGraph parses the codebase using tree-sitter and stores the resulting knowledge graph in a local SQLite database. This allows agents to answer structural questions (like symbol relationships or call graphs) via a queryable index, significantly reducing tool calls and file reads.