Repo Aware Code RAG
Enhances code understanding by providing an AST-aware hybrid RAG system with precise `file:line` citations for codebase queries.
Repo-Aware Code RAG Assistant is a specialized retrieval-augmented generation (RAG) system designed to help developers navigate and understand large codebases. Unlike generic RAG solutions, it employs AST-aware chunking to maintain the integrity of code units like functions and classes, ensuring accurate and human-readable `file:line` citations. It combines BM25 and dense retrieval with advanced techniques like query expansion and reciprocal rank fusion to deliver highly relevant results. The system is exposed as a FastAPI service for direct queries and as an MCP server, allowing integration with AI agents and IDEs for iterative, context-aware code exploration.