codegraph

colbymchenry

A pre-indexed knowledge graph of your code that syncs automatically as files change, giving Claude Code, Codex, Cursor, Gemini and other agents fast semantic lookups instead of repeated file searches.

TypeScriptCreated

What is colbymchenry/codegraph?

CodeGraph builds a pre-indexed knowledge graph of your code, so coding agents can retrieve the right context without repeatedly searching the repository. It supports many agents, including Claude Code, Cursor, Codex, Copilot and Gemini, and the README says it runs locally on your machine and keeps the index up to date as code changes.

The core is written in Rust, and the project offers an upgrade command for existing installations, plus documentation and a website. The README emphasises that the graph is built for how agents actually work, giving them surgical context rather than whole files.

It suits developers who work in large codebases with agents and want faster, more precise context retrieval, and teams that want code intelligence that stays on their own machines.