GitLab Duo
GitLab Duo is a suite of AI-native 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 Duo language models
The language models that are the source for GitLab Duo depend on where you’re using it.
On GitLab.com: GitLab hosts the models and connects to them through the cloud-based AI gateway.
On GitLab Self-Managed, two options exist:
- GitLab can host the models and the cloud-based AI gateway.
- Your organization can use GitLab Duo Self-Hosted, which means you host the AI gateway and language models. You can use GitLab AI vendor models or the other supported language models. Watch overview
Working across the entire software development lifecycle
To improve your workflow across the entire software development lifecycle, try these features:
- GitLab Duo Chat: Write and understand code, get up to speed on the status of projects, and learn about GitLab by asking your questions in a chat window. Watch overview
- GitLab Duo Workflow: Automate tasks and help increase productivity in your development workflow.
- AI Impact Dashboard: Measure the AI effectiveness and impact on SDLC metrics.
Planning work
To improve your workflow while planning work, try these features:
- Issue Description Generation: Generate a more in-depth issue description based on a short summary. Watch overview
- Discussion Summary: Summarize lengthy conversations in an issue. Watch overview
Authoring code
To improve your workflow while authoring code, try these features:
Code Suggestions: Generate code and show suggestions as you type. Watch overview
Code Explanation: Have code explained. View docs for explaining code in:
Test Generation: Test your code by generating tests. Watch overview
Refactor Code: Improve or refactor the selected code. Watch overview
Fix Code: Fix quality problems, like bugs or typos, in the selected code.
GitLab Duo for the CLI: Discover or recall
git
commands.
Reviewing code
To improve your workflow while reviewing code in merge requests, try these features:
- Merge Request Summary: Generate a description based on the code changes. Watch overview
- Code Review: Review proposed code changes.
- Code Review Summary: Summarize all the comments in a review. Watch overview
- Merge Commit Message Generation: Generate commit messages. Watch overview
Testing and deploying code
To improve your testing and deployment workflow, try these features:
- Root Cause Analysis: Research the root cause for a CI/CD job failure by analyzing the logs. Watch overview
Securing code
To improve your security, try these features:
- Vulnerability Explanation: Learn more about vulnerabilities, how they can be exploited, and how to fix them. Watch overview
- Vulnerability Resolution: Generate a merge request that addresses a vulnerability. Watch overview
Summary of GitLab Duo features
The following features are generally available on GitLab.com, GitLab Self-Managed, and GitLab Dedicated.
They require a Premium or Ultimate subscription and one of the available add-ons.
Feature | GitLab Duo Core | GitLab Duo Pro | GitLab Duo Enterprise |
---|---|---|---|
Code Suggestions | Yes | Yes | Yes |
GitLab Duo Chat in IDEs | Yes | Yes | Yes |
Code Explanation in IDEs | Yes | Yes | Yes |
Refactor Code in IDEs | Yes | Yes | Yes |
Fix Code in IDEs | Yes | Yes | Yes |
Test Generation in IDEs | Yes | Yes | Yes |
GitLab Duo Chat in GitLab UI | No | Yes | Yes |
Code Explanation in GitLab UI | No | Yes | Yes |
Discussion Summary | No | No | Yes |
GitLab Duo for the CLI | No | No | Yes |
Merge Commit Message Generation | No | No | Yes |
Root Cause Analysis | No | No | Yes |
Vulnerability Explanation | No | No | Yes |
Vulnerability Resolution | No | No | Yes |
AI Impact Dashboard | No | No | Yes |
Features available in GitLab Duo Self-Hosted
Your organization can use GitLab Duo Self-Hosted to self-host the AI gateway and language models if you:
- Have the GitLab Duo Enterprise add-on.
- Are a GitLab Self-Managed customer.
To check which GitLab Duo features are available for use with GitLab Duo Self-Hosted, and the status of those features, see the supported GitLab Duo features for GitLab Duo Self-Hosted.
Beta and experimental features
The following features are not generally available.
They require a Premium or Ultimate subscription and one of the available add-ons.
Feature | GitLab Duo Core | GitLab Duo Pro | GitLab Duo Enterprise | GitLab.com | GitLab Self-Managed | GitLab Dedicated | GitLab Duo Self-Hosted |
---|---|---|---|---|---|---|---|
Code Review Summary | No | No | Yes | Experiment | Experiment | No | Experiment |
Issue Description Generation | No | No | Yes | Experiment | No | No | N/A |
Code Review | No | No | Yes | Beta | Beta | Beta | N/A |
Merge Request Summary | No | No | Yes | Beta | Beta | No | Beta |
GitLab Duo Workflow is in private beta, does not require an add-on, and is not supported for GitLab Duo Self-Hosted.
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