Code Knowledge Graph
Indexes codebases into a structured graph, enabling AI agents to instantly understand projects and significantly reduce token usage.
The Code Knowledge Graph (GKG) provides a pre-indexed intelligence layer for AI agents, transforming complex codebases into a rich semantic network of classes, functions, and dependencies. This innovative approach drastically reduces the context window tax for agents like Claude Code, Cursor, and Codex, allowing them to understand projects instantly and operate with significantly fewer tokens. By providing surgical code snippets instead of full-file dumps, GKG accelerates development, enhances AI agent reliability, and ensures privacy with 100% local processing.
Key Features
01Graph-Based Indexing: Transforms flat files into a rich semantic network.
02Agent Ready: Native support for Claude Code, Codex, Cursor, OpenCode, and Hermes Agent.
03Token Optimization: Drastically reduces context window token usage for AI agents.
0410 GitHub stars
05Zero Latency: 100% local processing with no external API calls for indexing.
06Privacy First: Ensures code never leaves your local machine.
Use Cases
01Optimizing AI agent interaction with large codebases.
02Reducing token consumption for AI-powered code analysis and generation.
03Accelerating AI agent understanding of project structure and dependencies.