Skip to content

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

DETAILS: 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

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

  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

Code Suggestions

DETAILS: 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

DETAILS: 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

DETAILS: 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

DETAILS: 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

DETAILS: 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

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

  • 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

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

  • 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

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

Vulnerability Explanation

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

  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

AI Impact Dashboard

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

  • 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

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

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

DETAILS: Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Beta

  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

Vulnerability Resolution

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

  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

Experimental features

Issue Description Generation

DETAILS: Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Experiment

  • 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

DETAILS: Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Experiment

  • 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

DETAILS: Tier: Ultimate with GitLab Duo Enterprise - Start a trial Offering: GitLab.com Status: Experiment

  • Changed to require GitLab Duo add-on in GitLab 17.6 and later.

GitLab Duo Workflow

DETAILS: 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.