Codegraph: Pre-indexed knowledge graph cuts Claude/Cursor tool calls by 94%

Colbymchenry released Codegraph, a tool that leverages Claude's Explore Agents to build and query a pre-indexed knowledge graph — containing symbol relationships, call graphs, and code structure — instead of scanning files repeatedly. According to the author, this reduces API tool calls by up to 94% and speeds up agent usage by roughly 77%.
Benchmark results
| Codebase | With CG | Without CG | Improvement |
|---|---|---|---|
| VS Code (TypeScript) | 3 calls, 17s | 52 calls, 1m 37s | 94% fewer, 82% faster |
| Excalidraw (TypeScript) | 3 calls, 29s | 47 calls, 1m 45s | 94% fewer, 72% faster |
| Claude Code (Python+Rust) | 3 calls, 39s | 40 calls, 1m 8s | 93% fewer, 43% faster |
| Claude Code (Java) | 1 call, 19s | 26 calls, 1m 22s | 96% fewer, 77% faster |
| Alamofire (Swift) | 3 calls, 22s | 32 calls, 1m 39s | 91% fewer, 78% faster |
| Swift Compiler (Swift/C++) | 6 calls, 35s | 37 calls, 2m 8s | 84% fewer, 73% faster |
The tool is open source and runs locally, meaning no code is sent to external APIs for indexing. For developers using Claude, Cursor, Codex, or OpenCode API agents, this directly reduces the number of tool calls — which is especially relevant given the recent Claude API pricing model.
Who it's for: Developers using AI coding agents on medium-to-large codebases who want to cut API costs and speed up agent response times.
📖 Read the full source: r/LocalLLaMA
👀 See Also

SecureCode Audit: A Linux Server Security Auditor Built with Claude Code
An indie dev built SecureCode Audit using Claude Code — run one SSH command, get a 22-check security report with prioritized fixes. First 30 signups get the full audit free.

Claude AI Ranks Every YC Spring 2026 Startup — Full Pipeline Details
A Reddit user ran Claude on every YC Spring 2026 startup, scraping LinkedIn and press to assign S-to-D tiers. Most landed B or C.
MartinLoop: Open-Source Control Plane for AI Coding Agents with Budget Stops and Audit Trails
MartinLoop is an open-source control plane that adds hard budget stops, JSONL audit trails, failure classification, and test-verified completion checks to AI coding agents.

LLM Agent Builds Complete Godot 4 Dungeon Crawler Using Visual Feedback
A developer connected an LLM agent to Godot 4 using an MCP tool and gave it a single prompt to build a dungeon crawler FPS. The agent created a complete prototype with 3 rooms, lighting, combat, enemies, and progression by running the game, taking screenshots, and fixing visual issues.