(beta)

GitLab Duo Code Suggestions

Accelerate coding

Code Suggestions helps developers stay in flow by predicting and completing blocks of code in the context, defining and generating logic for function declarations, generating tests, and suggesting common code like regex patterns. Code Suggestions helps teams create software faster and more efficiently.

  • translate.py
  • get_unique_int.go
  • numbersArray.js
1
2
3
4
5
6
7
8
9
10
11
12
languages = {
    'en': {
        'hello': 'Hello',
        'goodbye': 'Goodbye'
    },
    'es': {
        'hello': 'Hola',
        'goodbye': 'Adiós'
    }
}
Tanuki icon code suggestion

Does not use your proprietary code as training data

Code Suggestions is built with privacy as a critical foundation. Private, non-public customer code stored in GitLab is not used as training data. Learn about data usage when using Code Suggestions.

//images.ctfassets.net/xz1dnu24egyd/57Jbcoj57k1p6LyWZUU3xB/351c38f1e63056f23f58699ebe9e41af/secure-code.jpeg

Support in the language you need

AI-powered Code Suggestions that fit the way you work are available in 14 languages: C++, C#, Go, Google SQL, Java, JavaScript, Kotlin, PHP, Python, Ruby, Rust, Scala, Swift, TypeScript.

logologologologologologologologologologologologologologo

Meets you in your IDE of choice

You can find our GitLab extensions in popular IDE marketplaces. Support includes: GitLab Web IDE, VS Code, Visual Studio, Jetbrains-based IDEs, and NeoVIM. Learn more about IDE support for Code Suggestions.

  • translate.py
  • get_unique_int.go
  • numbersArray.js
1
2
3
4
5
6
7
8
9
10
11
12
languages = {
    'en': {
        'hello': 'Hello',
        'goodbye': 'Goodbye'
    },
    'es': {
        'hello': 'Hola',
        'goodbye': 'Adiós'
    }
}
Tanuki icon code suggestion

Available for self-managed instances

Code Suggestions is available to self-managed GitLab instances via a secure connection to GitLab.com. Learn more.

  • translate.py
  • get_unique_int.go
  • numbersArray.js
1
2
3
4
5
6
7
8
9
10
11
12
languages = {
    'en': {
        'hello': 'Hello',
        'goodbye': 'Goodbye'
    },
    'es': {
        'hello': 'Hola',
        'goodbye': 'Adiós'
    }
}
Tanuki icon code suggestion

What’s next for your AI pair programmer?

Improved Suggestion Quality

We’re continuously improving suggestion quality with new prompt engineering, intelligent model routing, and expanded contexts for inference windows, all in the works. You can follow our progress and even suggest ideas.

General Availability

We’re actively working on improved stability, performance, availability, and user experience improvements as we approach general availability of Code Suggestions. Learn about GitLab’s feature support matrix.

Take GitLab for a spin

See what your team could do with The DevSecOps Platform.

Get free trial
Headshots of three people

Have a question? We're here to help.

Talk to an Expert