GitLab Duo: Choose your path

GitLab Duo is a suite of AI-powered features that assist you while you work in GitLab.

Select the path that best matches what you want to do:

Perfect for: New users exploring GitLab Duo

Follow this path to learn how to:

  • Use the variety of GitLab Duo features
  • Get help from AI through GitLab Duo Chat
  • Generate and improve code

Start here: GitLab Duo →

Quick start

Want to start using GitLab Duo right now? Here’s how:

  1. Open GitLab Duo Chat by selecting GitLab Duo Chat in the upper-right corner of the GitLab UI.
  2. Ask a question about your project, code, or how to use GitLab.
  3. Try one of the AI-powered features like Code Suggestions in your IDE, or use Chat to summarize a bulky issue.

View all of the GitLab Duo possibilities →

Common tasks

Need to do something specific? Here are some common tasks:

TaskDescriptionQuick Guide
Get AI assistanceAsk GitLab Duo questions about code, projects, or GitLabGitLab Duo Chat →
Generate codeGet code suggestions as you type in your IDECode Suggestions →
Understand codeHave code explained in plain languageCode Explanation →
Fix CI/CD issuesAnalyze and fix failed jobsRoot Cause Analysis →
Summarize changesGenerate descriptions for merge requestsMerge Request Summary →

How GitLab Duo integrates with your workflow

GitLab Duo is integrated with your development processes and is available:

  • In the GitLab UI
  • Through GitLab Duo Chat
  • In IDE extensions
  • In the CLI

Experience levels

For beginners

If you’re new to GitLab Duo, start with these features:

For intermediate users

After you’re comfortable with the basics, try these more advanced features:

For advanced users

When you’re ready to maximize your productivity with GitLab Duo:

Best practices

Follow these tips for effective GitLab Duo usage:

  1. Be specific in your prompts

    • Provide clear context for better results
    • Include relevant details about your code and objectives
    • Use code task commands like /explain, /refactor, and /tests in Chat
  2. Improve code responsibly

    • Always review AI-generated code before using it
    • Test generated code to ensure it works as expected
    • Use vulnerability resolution with appropriate review
  3. Refine iteratively

    • If a response isn’t helpful, refine your question
    • Try breaking complex requests into smaller parts
    • Add more details for better context
  4. Leverage Chat for learning

    • Ask about GitLab features you’re not familiar with
    • Get explanations for error messages and problems
    • Learn best practices for your specific technology

Next steps

Ready to dive deeper? Try these resources:

Troubleshooting

Having issues? Check these common solutions:

Need more help? Search the GitLab documentation or ask the GitLab community.