- Generally available features
- Beta features
- Experimental features
- Disable GitLab Duo features for specific groups or projects or an entire instance
GitLab Duo
- First GitLab Duo features introduced in GitLab 16.0.
- Removed third-party AI setting in GitLab 16.6.
- Removed support for OpenAI from all GitLab Duo features in GitLab 16.6.
GitLab Duo is a suite of AI-powered features that assist you while you work in GitLab. These features aim to help increase velocity and solve key pain points across the software development lifecycle.
GitLab Duo features are available in IDE extensions and the GitLab UI. Some features are also available as part of GitLab Duo Chat.
GitLab is transparent. As GitLab Duo features mature, the documentation will be updated to clearly state how and where you can access these features.
Generally available features
GitLab Duo Chat
- Help you write and understand code faster, get up to speed on the status of projects, and quickly learn about GitLab by answering your questions in a chat window.
- Watch overview
- View documentation.
Discussion Summary
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Helps everyone get up to speed by summarizing the lengthy conversations in an issue.
- Watch overview
- View documentation.
Code Suggestions
- Helps you write code more efficiently by generating code and showing suggestions as you type.
- Watch overview
- View documentation.
Code Explanation
- Helps you understand the selected code by explaining it more clearly.
- View documentation for explaining code in:
Test Generation
- Helps catch bugs early by generating tests for the selected code.
- Watch overview
- View documentation.
Refactor Code
- Improve or refactor the selected code.
- Watch overview
- View documentation.
Fix Code
- Fix quality problems such as bugs or typos in the selected code.
- Watch overview
- View documentation.
GitLab Duo for the CLI
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
-
glab duo ask
helps you discover or recallgit
commands when and where you need them. - View documentation.
Merge Commit Message Generation
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Helps you merge more quickly by generating meaningful commit messages.
- View documentation.
Root Cause Analysis
- Introduced in GitLab 16.2 as an experiment on GitLab.com.
- Generally available and moved to GitLab Duo Chat in GitLab 17.3.
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Helps you determine the root cause for a CI/CD job failure by analyzing the logs.
- Watch overview
- View documentation.
Vulnerability Explanation
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Helps you understand vulnerabilities, how they can be exploited, and how to fix them.
- Watch overview
- View documentation.
AI Impact Dashboard
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Measure the AI effectiveness and impact on SDLC metrics.
- Visualize which metrics improved as a result of investments in AI.
- Compare the performance of teams that are using AI against teams that are not using AI.
- Track the progress of AI adoption.
- View documentation.
Beta features
Self-Hosted Models
-
Introduced in GitLab 17.1 with a flag named
ai_custom_model
. Disabled by default. - Enabled on self-managed in GitLab 17.6.
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
Host the language models that power AI features in GitLab. Code Suggestions and Duo Chat are supported.
You can use language model vendors provided by GitLab or fully manage specific language models in your self-hosted environment.
- Use GitLab model vendors: Connect with default external model providers, like Google Vertex AI or Anthropic, by using the GitLab-managed AI gateway.
- Host your own models: Deploy and manage your own AI gateway and language models in your infrastructure, without depending on GitLab-provided external language providers.
- View documentation.
Merge Request Summary
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Helps populate a merge request more quickly by generating a description based on the code changes.
- Watch overview
- View documentation.
Vulnerability Resolution
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Help resolve a vulnerability by generating a merge request that addresses it.
- Watch overview
- View documentation.
Experimental features
Issue Description Generation
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Helps populate an issue more quickly by generating a more in-depth description, based on a short summary you provide.
- View documentation.
Code Review
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Automated code review of the proposed changes in your merge request.
- View documentation.
Code Review Summary
- Changed to require GitLab Duo add-on in GitLab 17.6 and later.
- Helps make merge request handover to reviewers easier by summarizing all the comments in a merge request review.
- Watch overview
- View documentation.
GitLab Duo Workflow
- Automate tasks and help increase productivity in your development workflow.
- View documentation.
Disable GitLab Duo features for specific groups or projects or an entire instance
Disable GitLab Duo features by following these instructions.