GitLab Duo Workflow

History

The availability of this feature is controlled by a feature flag. For more information, see the history. This feature is available for internal GitLab team members for testing, but not ready for production use.

This feature is considered experimental and is not intended for customer usage outside of initial design partners. We expect major changes to this feature.

This page contains information related to upcoming products, features, and functionality. It is important to note that the information presented is for informational purposes only. Please do not rely on this information for purchasing or planning purposes. The development, release, and timing of any products, features, or functionality may be subject to change or delay and remain at the sole discretion of GitLab Inc.

GitLab Duo Workflow is an AI-powered coding agent in the Visual Studio Code (VS Code) IDE.

Workflow:

  • Is designed to help you solve junior-level coding tasks more quickly, such as drafting code for small features or bugs.
  • Works best in small or medium-sized repositories.

For more information, see:

Supported languages

Workflow officially supports the following languages:

  • CSS
  • Go
  • HTML
  • Java
  • JavaScript
  • Markdown
  • Python
  • Ruby
  • TypeScript

APIs that Workflow has access to

To create solutions and understand the context of the problem, Workflow accesses several GitLab APIs.

Specifically, an OAuth token with the ai_workflows scope has access to the following APIs:

Current limitations

Workflow has the following limitations:

  • Requires the workspace folder in VS Code to have a Git repository for a GitLab project.
  • Only runs workflows for the GitLab project that’s open in VS Code.
  • Only accesses files in the current branch and project.
  • Only accesses GitLab references in the GitLab instance of your project. For example, if your project is in GitLab.com, Workflow only accesses GitLab references in that instance. It cannot access external sources or the web.
  • Only reliably accesses GitLab references if provided with their IDs. For example, issue ID and not issue URL.
  • Can be slow or fail in large repositories.

Audit log

An audit event is created for each API request done by Workflow. On your GitLab Self-Managed instance, you can view these events on the instance audit events page.

Give feedback

Workflow is an experiment and your feedback is crucial to improve it for you and others. To report issues or suggest improvements, complete this survey.