GitNexus is a context engine designed to improve AI agent reliability in enterprise codebases by indexing repositories into a comprehensive knowledge graph. Unlike traditional Graph RAG, which provides raw edges to LLMs, GitNexus precomputes structural intelligence—including dependency clusters, call chains, execution flows, and impact analysis—to provide complete context in a single tool call. This approach enables smaller models to achieve architectural clarity and reduces token consumption by replacing multi-query chains with pre-structured responses. The system utilizes LadybugDB for persistent storage and supports various tree-sitter grammars for parsing, with optional support for embeddings via @huggingface/transformers and CUDA-accelerated binaries. It exposes its capabilities through Model Context Protocol (MCP) tools, making it compatible with editors like Cursor, Claude Code, and Windsurf, and provides specialized tools for tasks such as blast radius analysis, shortest-path tracing, and git-diff impact mapping. Users can index repositories via the `gitnexus analyze` command, which can be configured to include PDG (Program Dependence Graph) indexing for statement-level control and data-flow queries. For deployment, a Render-based Blueprint provides a web UI and a private server architecture, costing approximately $35/month for a standard setup.

Read original