colbymchenry/codegraph
Pre-indexed code graph · 100% local

One call
instead of
a crawl.

When an agent needs to understand code it greps, globs and reads one file at a time, rebuilding call paths by hand. CodeGraph hands it the relevant source, the call paths between those symbols, and the blast radius of a change in one call — from a local SQLite graph that re-syncs on every file change.

Install, wire your agents, index a project

codegraph install
cd your-project && codegraph init

Both are true at once

project’s own figures

Throughput

what it saves, per answer

62%fewer tokens processed, averaged across seven repos
44%lower cost on the same questions
0file reads, on all seven repos

Footprint

what it costs, per session

~80%more retrieval context still resident when a multi-turn session ends
67ktokens left resident on VS Code, against 18k for a file-reading agent
Budget for itif you run long sessions in a small window

The same dense payload that makes it fast is what stays in the window. The project prints this column itself — that is why it gets the accent here.

Tool calls to answer one architecture question

with vs without · median of 4 runs per arm
Codebase
Language
Calls: with → without
File reads
Excalidraw
TypeScript
243
0 vs 18
Alamofire
Swift
433
0 vs 16.5
Tokio
Rust
329
0 vs 19
VS Code
TypeScript
228
0 vs 12
Django
Python
314
0 vs 8.5
Gin
Go
17
0 vs 4
OkHttp
Java
16
0 vs 2

Black fill is the with-graph share of the without-graph call count. Figures are the project’s published re-measurement of 2026-08-05 on Claude Opus 4.8, on a harness that blocks the CLI in both arms; reproduced as stated, not re-run here. Cost savings vary far more than call counts — the project reports 13% on Django and roughly even on Gin.

01

Extract

A native Rust kernel parses source with tree-sitter grammars — functions, classes, calls, imports.

02

Store

Everything lands in a local SQLite database with FTS5 full-text search.

03

Resolve

Calls to definitions, imports to files, inheritance and framework patterns.

04

Auto-sync

OS file events, a two-second quiet window, incremental updates. Nothing to re-run.