Flows

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

A flow is a combination of one or more agents working together to solve a complex problem.

GitLab provides two types of flows:

  • Foundational flows are pre-built, production-ready workflows created by GitLab for common development tasks.
  • Custom flows are workflows you create to automate your team’s specific processes. You define the workflow steps and agents, and define triggers to control when the flow runs.

Flows are available in the GitLab UI, the GitLab Duo CLI, and IDEs:

  • In the UI, flows run directly in GitLab CI/CD, so you can automate common development tasks in your browser.
  • In the GitLab Duo CLI, the Developer Flow runs where you run the CLI.
  • In IDEs, the Software Development Flow runs in VS Code, Visual Studio, and JetBrains.

To decide which flow to use for a coding task, see choose a flow for coding tasks.

For more information about how flows execute in CI/CD, see the flow execution documentation. For information about the security of flows, see the composite identity documentation.

Prerequisites

Monitor running flows in the GitLab UI

To view flows that are running for your project:

  1. In the top bar, select Search or go to and find your project.
  2. In the left sidebar, select AI > Sessions.

View flow history in the IDEs

Prerequisites:

To view a history of flows you’ve run in your project:

  • On the Flows tab, scroll down and view Recent agent sessions.

Customize flows with AGENTS.md

Use AGENTS.md files to provide context and instructions for GitLab Duo to follow while executing foundational and custom flows.

For more information, see AGENTS.md customization files.

Give feedback

Flows are part of GitLab AI-powered development platform. Your feedback helps us improve these workflows. To report issues or suggest improvements for flows, complete this survey.