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.
View a walkthrough of GitLab Duo Enterprise 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.
- 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
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com, Self-managed, GitLab Dedicated
- 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
- 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.
- Vertex AI Codey
- LLM for code generation: Anthropic Claude 3.5 Sonnet.
- Watch overview
- View documentation.
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.
- LLM: Anthropic Claude 3.5 Sonnet
- 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
- Helps catch bugs early by generating tests for the selected code.
- LLM: Anthropic Claude 3.5 Sonnet
- Watch overview
- View documentation.
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
- Improve or refactor the selected code.
- LLM: Anthropic Claude 3.5 Sonnet
- Watch overview
- View documentation.
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
- Fix quality problems such as bugs or typos in the selected code.
- LLM: Anthropic Claude 3.5 Sonnet
- Watch overview
- View documentation.
GitLab Duo for the CLI
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com, Self-managed, GitLab Dedicated
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
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com, Self-managed, GitLab Dedicated
- Helps you merge more quickly by generating meaningful commit messages.
- LLM: Anthropic Claude 3.5 Sonnet
- View documentation.
Root Cause Analysis
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com, Self-managed, GitLab Dedicated
- 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
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com, Self-managed, GitLab Dedicated
- 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
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com, Self-managed
- 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
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
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- 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
- Watch overview
- View documentation.
Vulnerability Resolution
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com, Self-managed, GitLab Dedicated
- Status: Beta
- 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
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- 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 3 Haiku
- View documentation.
Code Review
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- Offering: GitLab.com
- Status: Experiment
- Automated code review of the proposed changes in your merge request.
- LLM: Anthropic Claude 3.5 Sonnet
- View documentation.
Code Review Summary
- Tier: Ultimate with GitLab Duo Enterprise - Start a trial
- 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.
GitLab Duo Workflow
- Tier: Ultimate
- Offering: GitLab.com
- Status: Experiment
- Automate tasks and help increase productivity in your development workflow.
- 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.
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support