Code Knowledge Graph (CKG)
What it is
CKG is a structure-aware retrieval system that parses codebases into typed dependency graphs (imports, function calls, and co-edits). It injects these graph structures into an agent's system prompt to help coding agents navigate complex dependencies more efficiently.
The problem it solves
Coding agents often struggle to find the correct files or understand complex dependencies in large codebases, leading to inefficient tool calls and lower accuracy.
What you could use it for
- Improving file discovery for coding agents in large repositories
- Reducing tool call overhead for AI agents by providing structural context
- Enabling agents to understand cross-file dependencies in complex frameworks (e.g., Django, Flask)
Read the source ↗Back to the library →
Summary written by an AI model from the source; check the source before you rely on it.