Enable coding agents to understand code structure with local indexing
Coding agents can answer questions like 'who calls this function' without directly tracking function call relationships or dependencies. GitNexus is a tool that indexes codebases as knowledge graphs composed of symbols, calls, dependencies, and execution flows. It runs locally and allows you to grasp the structural context of code without a server.
Local indexing and agent integration
GitNexus runs in environments with Node.js 22.18 or higher, or 24.11 or higher. Running the npx gitnexus analyze command creates an index of the current repository, installs agent skills, and registers Claude Code hooks. During this process, context files such as AGENTS.md and CLAUDE.md are also written. Running npx gitnexus setup automatically applies MCP settings to your editor. If you want to perform indexing only without generating repository integration files, you can use the --index-only option.
Graph-based code exploration tools
You can query the structural relationships of code in various ways through the indexed graph.
- Structural queries Check the call relationships and dependencies of symbols based on the graph.
- Impact analysis Determine the scope of code changes in advance.
- Path tracing Trace the execution flow between two code elements.
Supported languages and editor integration
Language support varies depending on syntax structure, and specific measurement results and exclusions should be referenced in the language list documentation. Editors such as Claude Code, Cursor, Codex, Antigravity, Factory Droid, OpenCode, CodeBuddy, and Qoder are auto-detected. Windsurf requires manual MCP configuration.
Web UI and deployment options
You can explore repositories and use AI chat by connecting to the backend at gitnexus.vercel.app. Since existing indexes are reused, re-uploading or re-indexing is not required. Refer to the deployment documentation for Docker or hosting deployment, image verification, and local frontend configuration. To allow multiple agents to use it simultaneously, run a single server with gitnexus mcp --http --port 3111 and connect clients to that address.
License and pre-use considerations
GitNexus is licensed under the PolyForm Noncommercial 1.0.0 license. Commercial use requires purchasing a license through akonlabs.com. The enterprise version is available as SaaS or self-hosted and includes PR review automation, automatic code wiki updates, multi-repo support, and OCaml support. The CLI does not use an LLM when indexing code locally, but remote embedding, wiki generation, and AI chat use the provider configured by the user. You should review the security guide and deployment authentication before exposing the index to other users.