Code-Review-Graph Cuts Claude Token Usage 8.2x with Local Knowledge Graph
Dev.to AI
•
Generative AI
Open Source AI
AI Tools
A developer released 'code-review-graph,' an open-source tool that uses Tree-sitter to build a persistent structural map of a codebase. This allows Claude to read only relevant files, cutting average token usage by 8.2x across six real repositories. Code-Review-Graph Cuts Claude Token Usage 8.2x with Local Knowledge Graph A new open-source tool called code-review-graph promises to dramatically reduce the token consumption - and. therefore. the cost - of using AI coding assistants like Claude Code by building a local, persistent knowledge graph of a developer's entire codebase.