GitLab Duo Code Suggestions is an AI coding assistant built directly into GitLab. It helps developers write code faster and with fewer mistakes without leaving their usual workflow.
Faster coding with context-aware suggestions
Code Suggestions analyzes your project context and proposes relevant code, from small snippets to larger blocks. It can help reduce repetitive work and speed up common implementation tasks.
- Complete and extend code blocks as you type
- Suggest function logic and common patterns
- Generate templates, regular expressions, and tests
Privacy-first by design
GitLab positions Code Suggestions around privacy and security: private, non-public code stored in GitLab is not used to train the models. This is especially important for teams working in closed repositories and confidential projects.
Works inside the GitLab ecosystem
Because it runs in the same environment where you manage repositories and write code, teams can adopt AI assistance without switching IDEs or relying on extra plugins.

