Please check gitlab-tutorial

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.

{play} View a walkthrough of GitLab Duo Enterprise 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.
  • 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

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

  • Helps you write code more efficiently by generating code and showing suggestions as you type.
  • LLMs for code completion:
    • Vertex AI Codey code-gecko.
    • Vertex AI Codestral. Codestral does not involve any additional third-party LLM subprocessing because it is hosted entirely within Google Vertex AI.
  • LLM for code generation: Anthropic Claude 3.5 Sonnet.
  • Watch overview
  • View documentation.

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

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.

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.

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

Use your own language models to power AI features in GitLab. Code Suggestions and Duo Chat are supported.

You can use language model vendors provided by GitLab or fully manage 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.
  • LLM: Anthropic Claude 3 Haiku
  • 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.

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

Disable GitLab Duo features for specific groups or projects or an entire instance

Disable GitLab Duo features by following these instructions.