- 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.
Starting October 17, 2024, customers with a Premium or Ultimate subscription must have a GitLab Duo add-on to access AI-powered features. For details, see Changes to GitLab Duo Pro and GitLab Duo Enterprise access.
View a walkthrough of GitLab Duo Enterprise 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.
- LLMs: Anthropic Claude 3.5 Sonnet, Anthropic Claude 3 Haiku, and Vertex AI Search. The LLM depends on the question asked. For more information, see the Duo Chat examples. For self-managed, the models also depend on your GitLab version. For the most benefit, use the latest GitLab version whenever possible.
- Watch overview
- View documentation.
Discussion Summary
- Helps everyone get up to speed by summarizing the lengthy conversations in an issue.
- LLM: Anthropic Claude 3.5 Sonnet
- Watch overview
- View documentation.
Code Suggestions
- Helps you write code more efficiently by generating code and showing suggestions as you type.
- LLM for code completion: Vertex AI Codey
code-gecko
- LLM for code generation: Anthropic Claude 3.5 Sonnet
- Watch overview
- View documentation.
Code Explanation
- Helps you understand the selected code by explaining it more clearly.
- LLM: Anthropic Claude 3.5 Sonnet
- View documentation for explaining code in:
Test Generation
- Helps catch bugs early by generating tests for the selected code.
- LLM: Anthropic Claude 2.1
- Watch overview
- View documentation.
GitLab Duo for the CLI
-
glab duo ask
helps you discover or recallgit
commands when and where you need them. - LLM: Anthropic Claude 3 Haiku
- View documentation.
Merge Commit Message Generation
- Helps you merge more quickly by generating meaningful commit messages.
- LLM: Anthropic Claude 3.5 Sonnet
- 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.
- Helps you determine the root cause for a CI/CD job failure by analyzing the logs.
- LLM: Anthropic Claude 3.5 Sonnet
- Watch overview
- View documentation.
Vulnerability Explanation
- Helps you understand vulnerabilities, how they can be exploited, and how to fix them.
- LLM: Anthropic Claude 3 Haiku
- Watch overview
- View documentation.
AI Impact Dashboard
- 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
- Host a GitLab-approved model that’s different from the default.
- View documentation.
Merge Request Summary
- Helps populate a merge request more quickly by generating a description based on the code changes.
- LLM: Vertex AI Codey
text-bison
- Watch overview
- View documentation.
Vulnerability Resolution
- Help resolve a vulnerability by generating a merge request that addresses it.
- LLM: Anthropic Claude 3.5 Sonnet
- Watch overview
- View documentation.
Experimental features
Issue Description Generation
- Helps populate an issue more quickly by generating a more in-depth description, based on a short summary you provide.
- LLM: Anthropic Claude 3 Haiku
- View documentation.
Code Review Summary
- Helps make merge request handover to reviewers easier by summarizing all the comments in a merge request review.
- LLM: Vertex AI Codey
text-bison
- Watch overview
- View documentation.
Product Analytics
- Processes and responds to your questions about your application’s usage data.
- LLM: Vertex AI Codey
codechat-bison
- View documentation.
GitLab Duo Workflow
- Automate tasks and help increase productivity in your development workflow.
- LLM: Anthropic Claude 3.5 Sonnet
- View documentation.
GitLab Duo Code Review
- Automated code review of the proposed changes in your merge request.
- LLM: Anthropic Claude 3.5 Sonnet
- View documentation.
Disable GitLab Duo features for specific groups or projects or an entire instance
Disable GitLab Duo features by following these instructions.