[go: up one dir, main page]

Skip to content

GitLab Knowledge Graph Feedback Issue

⚠️ Please read the Q&A section before commenting!

Please use this issue to provide any feedback on the GitLab Knowledge Graph. Any input is welcome! We recommend reading the Q&A section for maximal context.


Q&A

What Features are available in the 18.3 Release?

You can find more details under the async update here (gitlab-org&17514 (comment 2691448546)), but at a high level:

The 18.3 release provides a functional end-to-end version of the Knowledge Graph, allowing users to index their local repositories and leverage the generated graph through AI tools directly in their IDE.

  • Standalone Indexer (gkg) & Core Graph Features: The Rust-based gkg CLI can perform a complete index of large repositories, like the GitLab monolith (~54,000 files), in under 10 seconds. This release completes Phase 1 (Definitions & Imports) and Phase 2 (Intra-File References) for a core set of languages, including Ruby, Python, JavaScript/TypeScript, Java, and Kotlin.
  • IDE Integration: First-class integration with VS Code and JetBrains. The extension manages the gkg lifecycle, provides a webview panel for visualizing and exploring the graph, and directly adds capabilities to the Duo Agent Platform.
  • Powerful AI Agent Tooling: The Knowledge Graph exposes its understanding of a codebase as a set of tools for AI agents. As shown in the demo, this allows GitLab Duo to answer complex questions about refactoring impacts or identify potential security vulnerabilities with a deep, structural understanding of the code.
  • Simple & Secure Installation: We've provided a simple one-line installation script for macOS, Windows, and Linux. The distributed binaries are signed to ensure their integrity.
  • Documentation: You can find complete documentation and details on current capabilities at the documentation website https://gitlab-org.gitlab.io/rust/knowledge-graph/

You can get a deeper look with the demo video as well 👇

Knowledge Graph 18.3

Where is the documentation?

You can find in-depth documentation here https://gitlab-org.gitlab.io/rust/knowledge-graph/.

We also aim to add some of this documentation to https://docs.gitlab.com in the future.

How can I get started? How do I use it?

The best way to get started and use the knowledge graph is by following the documentation https://gitlab-org.gitlab.io/rust/knowledge-graph/.

Note: We will soon be adding prompt techniques and a prompt library, along with usage examples, so users can get the most out of the knowledge graph.

I found a Bug!

  • Congratulations! You've just made the Knowledge Graph better. Please follow troubleshooting section in the documentation.
  • If you are confident your experience is a bug, please submit an issue with our Bug Template!

Does the Graph Index GitLab Data?

Not yet. We are actively exploring this and aim to prioritize it soon.

Is the Knowledge Graph the Deep Research Agent?

The knowledge graph will act as a data store for things like the deep research agent. Currently, as of 18.3, we are only indexing code.

Here is a good mental model of how the GKG components work:


flowchart BT
    subgraph OS[" "]
        CGI["Code Graph Index<br/><small>• Local indexing engine</small><br/><small>• IDE Integration</small>"]
    end
    
    subgraph OC[" "]
        SDLC["SDLC Graph Index<br/><small>• GitLab platform connections</small><br/><small>• Multi-project queries</small>"]
    end
    
    subgraph Products[" "]
        Research["Deep Research Agent"]
        Security["SWE Agent"] 
        Review["Code Review Agent"]
        Other["+ More AI Agents"]
    end
    
    CGI --> SDLC
    SDLC --> Research
    SDLC --> Security  
    SDLC --> Review
    SDLC --> Other
    
    classDef codeGraph fill:#2d5a27,stroke:#4caf50,stroke-width:2px,color:#fff,stroke-dasharray: 0,rx:10,ry:10
    classDef sdlcGraph fill:#1a365d,stroke:#3182ce,stroke-width:2px,color:#fff,stroke-dasharray: 0,rx:10,ry:10
    classDef commercial fill:#742a2a,stroke:#e53e3e,stroke-width:2px,color:#fff,stroke-dasharray: 0,rx:10,ry:10
    
    class CGI codeGraph
    class SDLC sdlcGraph
    class Research,Security,Review,Other commercial
Edited by Michael Angelo Rivera