GitLab Duo

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

Tier: Premium with GitLab Duo Pro, Ultimate with GitLab Duo Pro or Enterprise - Start a trial 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.
  • Watch overview
  • View documentation.

Discussion Summary

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated
History
  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

Code Suggestions

Tier: Premium with GitLab Duo Pro, Ultimate with GitLab Duo Pro or Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated

Code Explanation

Tier: Premium with GitLab Duo Pro, Ultimate with GitLab Duo Pro or Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated
  • Helps you understand the selected code by explaining it more clearly.
  • View documentation for explaining code in:

Test Generation

Tier: Premium with GitLab Duo Pro, Ultimate with GitLab Duo Pro or Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated

Refactor Code

Tier: Premium with GitLab Duo Pro, Ultimate with GitLab Duo Pro or Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated

Fix Code

Tier: Premium with GitLab Duo Pro, Ultimate with GitLab Duo Pro or Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated

GitLab Duo for the CLI

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated
History
  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.
  • glab duo ask helps you discover or recall git commands when and where you need them.
  • View documentation.

Merge Commit Message Generation

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated
History
  • 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

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated
History

Vulnerability Explanation

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated
History
  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

AI Impact Dashboard

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com, Self-managed
History
  • 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

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: Self-managed Status: Beta
History

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

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Beta
History
  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

Vulnerability Resolution

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com, Self-managed, GitLab Dedicated Status: Beta
History
  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

Experimental features

Issue Description Generation

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Experiment
History
  • 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

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Experiment
History
  • 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

Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Experiment
History
  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

GitLab Duo Workflow

Tier: Ultimate Offering: GitLab.com Status: Experiment
  • 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.