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
DETAILS:
Tier: GitLab.com and Self-managed: For a limited time, Premium and Ultimate. In the future, GitLab Duo Pro or Enterprise.
GitLab Dedicated: GitLab Duo Pro or Enterprise.
Offering: GitLab.com, Self-managed, GitLab Dedicated
- 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.
Anthropic
claude-3-5-sonnet-20240620
, Anthropicclaude-3-haiku-20240307
, and Vertex AI Search. - Watch overview
- View documentation.
NOTE: The LLM for GitLab Duo Chat 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.
Code Suggestions
DETAILS: Tier: Premium and Ultimate with GitLab Duo Pro or Enterprise. Offering: GitLab.com, Self-managed, GitLab Dedicated
- Helps you write code more efficiently by generating code and showing suggestions as you type.
- Large language model (LLM) for code completion: Vertex AI Codey
code-gecko
- LLM for code generation: Anthropic
claude-3-5-sonnet-20240620
- Watch overview
- View documentation.
Code explanation in the IDE
DETAILS:
Tier: GitLab.com and Self-managed: For a limited time, Premium and Ultimate. In the future, GitLab Duo Pro or Enterprise.
GitLab Dedicated: GitLab Duo Pro or Enterprise.
Offering: GitLab.com, Self-managed, GitLab Dedicated
- Helps you understand the selected code by explaining it more clearly.
- LLM: Anthropic:
claude-3-haiku-20240307
- View documentation for explaining code in the IDE.
Test generation
DETAILS:
Tier: GitLab.com and Self-managed: For a limited time, Premium and Ultimate. In the future, GitLab Duo Pro or Enterprise.
GitLab Dedicated: GitLab Duo Pro or Enterprise.
Offering: GitLab.com, Self-managed, GitLab Dedicated
- 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
DETAILS: Tier: Ultimate with GitLab Duo Enterprise. Offering: GitLab.com Status: Experiment, Self-managed, GitLab Dedicated
-
glab duo ask
helps you discover or recallgit
commands when and where you need them. - LLM: Vertex AI Codey
codechat-bison
- View documentation.
Suggested Reviewers
DETAILS: Tier: Ultimate Offering: GitLab.com
- Helps create faster and higher-quality reviews by automatically suggesting reviewers for your merge request.
- LLM: GitLab creates a machine learning model for each project, which is used to generate reviewers. View the issue.
- Watch overview
- View documentation.
Merge commit message generation
DETAILS: Tier: Premium and Ultimate with GitLab Duo Enterprise. Offering: GitLab.com, Self-managed, GitLab Dedicated
- Helps you merge more quickly by generating meaningful commit messages.
- LLM: Vertex AI Codey
text-bison
. - View documentation.
Vulnerability explanation
DETAILS: Tier: Ultimate with GitLab Duo Enterprise Offering: GitLab.com, Self-managed, GitLab Dedicated
- Helps you understand vulnerabilities, how they can be exploited, and how to fix them.
- LLM: Anthropic's
claude-3-haiku
. - View documentation.
Vulnerability resolution
DETAILS: Tier: Ultimate with GitLab Duo Enterprise add-on Offering: GitLab.com, Self-managed, GitLab Dedicated
- Help resolve a vulnerability by generating a merge request that addresses it.
- LLM: Anthropic's
claude-3-haiku
. - View documentation.
Beta features
Merge request template population
DETAILS: Tier: For a limited time, Ultimate. In the future, GitLab Duo Enterprise. Offering: GitLab.com Status: Beta
- Helps populate a merge request more quickly by generating a description based on the contents of the template.
- LLM: Vertex AI Codey
text-bison
- View documentation.
Merge request summary
DETAILS: Tier: For a limited time, Ultimate. In the future, GitLab Duo Enterprise. Offering: GitLab.com Status: Beta
- Helps populate a merge request more quickly by generating a description based on the code changes.
- LLM: Vertex AI Codey
text-bison
- View documentation.
Experimental features
Issue description generation
DETAILS: Tier: For a limited time, Ultimate. In the future, GitLab Duo Enterprise. Offering: GitLab.com Status: Experiment
- Helps populate an issue more quickly by generating a more in-depth description, based on a short summary you provide.
- LLM: Anthropic
Claude-2.1
- View documentation.
Discussion summary
DETAILS: Tier: For a limited time, Ultimate. In the future, GitLab Duo Enterprise. Offering: GitLab.com Status: Experiment
- Helps everyone get up to speed by summarizing the lengthy conversations in an issue.
- LLM: Anthropic
Claude-2.1
- Watch overview
- View documentation.
Code explanation in a file or merge request
DETAILS: Tier: For a limited time, Premium and Ultimate. In the future, GitLab Duo Pro or Enterprise. Offering: GitLab.com Status: Experiment
- Helps you understand the selected code by explaining it more clearly.
- LLM: Anthropic:
claude-3-haiku-20240307
- View documentation for explaining code in:
Code review summary
DETAILS: Tier: For a limited time, Ultimate. In the future, GitLab Duo Enterprise. Offering: GitLab.com Status: Experiment
- 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.
Root cause analysis
DETAILS: Tier: For a limited time, Ultimate. In the future, GitLab Duo Enterprise. Offering: GitLab.com Status: Experiment
- Helps you determine the root cause for a CI/CD job failure by analyzing the logs.
- LLM: Vertex AI Codey
text-bison
- View documentation.
Product Analytics
DETAILS: Tier: For a limited time, Ultimate. In the future, GitLab Duo Enterprise. Offering: GitLab.com Status: Experiment
- Processes and responds to your questions about your application's usage data.
- LLM: Vertex AI Codey
codechat-bison
- View documentation.
Value stream forecasting
DETAILS:
Tier: GitLab.com and Self-managed: For a limited time, Ultimate. In the future, GitLab Duo Enterprise.
GitLab Dedicated: GitLab Duo Enterprise.
Offering: GitLab.com, Self-managed, GitLab Dedicated
Status: Experiment
- Helps you improve planning and decision-making by predicting productivity metrics and identifying anomalies across your software development lifecycle.
- LLM: Statistical forecasting
- Watch overview
- View documentation.
Disable GitLab Duo features for specific groups or projects or an entire instance
Disable GitLab Duo features by following these instructions.