repo2kg is an open-source CLI tool that builds code knowledge graphs from repositories in multiple languages, optimizing token usage for AI agent context. It supports various output formats and is designed for developers working with retrieval-augmented generation and code analysis.
In the RAG, search & retrieval space, repo2kg takes a focused approach. It focuses on automating the creation of code knowledge graphs for efficient AI agent context and retrieval. repo2kg is an open-source project aimed at AI developers and data engineers. The project is open source (MIT). It runs on the command line.
repo2kg first shipped in 2026. Across PulseGate's embedding index, repo2kg has few near neighbours, marking it as relatively distinct. Among its 5 catalogued features are knowledge graph generation, repository analysis, and token optimization.
Latest indexed changes and source events
Other apps tracked under the same category.