Codebase Memory

•
8
•

Indexes codebases into a persistent knowledge graph with high-performance AST parsing and regex fallback, enabling sub-millisecond queries for AI coding agents.

This tool provides the fastest and smallest code intelligence engine specifically designed for AI coding agents. It efficiently indexes entire codebases into a persistent SQLite property-graph knowledge graph, utilizing tree-sitter AST parsing for over 30 languages and a robust regex fallback for universal coverage. Rewritten in Zig for extreme performance, it boasts a tiny 2.2 MB static binary, significantly reduced memory footprint, and dramatically faster indexing and startup times compared to its C predecessor, facilitating rapid and deep code understanding for advanced development workflows.

Key Features

01Persistent SQLite property-graph knowledge graph with Cypher-like queries
02Tree-sitter AST parsing for 30+ languages and regex fallback for universal coverage
03Single 2.2 MB static binary with zero runtime dependencies
04Comprehensive suite of 14 MCP tools for indexing, search, analysis, and metadata management
052 GitHub stars
06BM25 ranking with structural boosting and Leiden community detection for graph analysis

Use Cases

01Performing complex structural code analysis, call-chain tracing, and dependency mapping
02Empowering AI coding agents with deep code understanding and contextual awareness
03Identifying architectural patterns, hotspots, and tracking code changes or impacts