GitLab launches agent orchestration: the /goal command drives a task to green CI

At its Transcend conference, GitLab introduced three agent orchestration features in Duo Agent Platform: goal-driven flows, GitLab for Slack and Custom Flows. The premise is that coding agents already write fixes in minutes, while delivery stalls on review, scan triage and manual handoffs. Now a developer sets a goal with the /goal command, and the flow works through tests, security checks and approvals on its own. Goal-driven flows require GitLab 19.3+ and Duo CLI 9.17.0+, on the Premium and Ultimate tiers. Custom Flows are already available, while the MCP server and the Slack integration reach GA later this month. • /goal drives a task to completion, and a separate model checks every step • @GitLab in Slack launches flows straight from a thread • All flows run under your identity and policies

AI-processed from GitLab Blog; edited by Hamidun News
GitLab launches agent orchestration: the /goal command drives a task to green CI
Source: GitLab Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceGitLab Blog ↗
Editor-in-Chief
Key metric #1/goal drives a task to completion, and a separate model checks every step
Key metric #2@GitLab in Slack launches flows straight from a thread
Key metric #3All flows run under your identity and policies

GitLab is trying to eliminate the waiting between stages of development. At its Transcend conference, the company announced three new agent orchestration features in Duo Agent Platform: goal-driven flows, the GitLab for Slack integration and Custom Flows. Goal-driven flows require GitLab 19.3 and Duo CLI 9.17.0 or newer. GitLab's argument is simple: AI has sped up writing code, but not delivering it. An agent produces a fix in minutes, and then the fix waits weeks for a reviewer's sign-off, for someone to work through pipeline alerts, for scan results to be triaged, and for yet another manual prompt.

A goal instead of steps: how /goal works

Goal-driven flows give an agent a finish line rather than the next action. The developer describes the task and the criterion for "done," and the flow keeps working until it reaches the result. Review, tests, security checks and approvals run as one connected chain, with no stops between steps.

Launching one looks like this: `/goal Fix the checkout timeout. Continue until tests pass and CI is green.` The command works in Duo CLI, in headless mode via `duo run --goal`, and in Agentic Chat. The headless form matters for automation: it can be called from scripts and pipelines without an interactive session.

Quality control gets its own mechanism. At every step, a separate model checks the work against the goal, so the agent does not grade itself. A run can be stopped or redirected at any moment.

Slack and Custom Flows: start where people ask

GitLab for Slack addresses the entry-point problem. Most tasks originate in a discussion, not in a tracker. You mention @GitLab in a channel or thread and write something like "fix the failing pipeline": a flow starts, and Duo streams progress straight into the thread. The same bot answers questions about the codebase and turns conversations into issues. The flow runs under the same identity and policies as any other flow in GitLab, so access control stays with the platform, not the chat.

Custom Flows cover the third scenario: a team defines its own multi-step sequence of agents and ties it to GitLab events such as a mention, an assignment or a pipeline. Flows execute in CI/CD. GitLab's example is a self-healing pipeline that analyzes a failed test, generates a fix, commits it and notifies the team. Sensitive steps can get human checkpoints.

All of this runs under a single governance model: identity, policies and the evidence chain are shared across all flows. For companies that face audits, this is arguably the main argument for a platform approach over a scatter of external agents. The set can be extended through the AI Catalog, which connects external agents and tools via the MCP client and MCP server. Built-in agents and flows already cover stages from planning to analysis in the GitLab interface, the IDE and Duo CLI.

Availability and first steps

Launch terms:

  • goal-driven flows: GitLab.com, Self-Managed and Dedicated, Premium and Ultimate tiers;
  • minimum versions: GitLab 19.3 and Duo CLI 9.17.0;
  • Custom Flows: already generally available (GA);
  • MCP server and GitLab for Slack: GA expected later this month;
  • billing: GitLab Credits, which are included in a Premium or Ultimate subscription.

It makes sense to start small. First check your GitLab and Duo CLI versions, enable Duo Agent Platform, and run `/goal` on a narrow task with an unambiguous completion criterion, such as a failing test with a reproducible error. The wording of the goal decides almost everything: "green CI" can be verified by a machine, "improve the code" cannot. Then move a repetitive manual process into a Custom Flow, keeping human checkpoints on merges and on anything involving secrets. It makes sense to plan the Slack connection for after GA, when the integration leaves early access.

The main question remains open: how reliably the checking model can tell a truly completed goal from a pipeline that is merely green on paper. That is worth measuring on your own repositories before flows are allowed to move code past review.

Story

Key Questions Answered

What are the key details on A goal instead of steps: how /goal works?

Goal-driven flows give an agent a finish line rather than the next action. The developer describes the task and the criterion for "done," and the flow keeps working until it reaches the result. Review, tests, security checks and approvals run as one connected chain, with no stops between steps. Launching one looks like this: `/goal Fix the checkout timeout. Continue until tests pass and CI is green.` The command works in Duo CLI, in headless mode via `duo run --goal`, and in Agentic Chat. The headless form matters for automation: it can be called from scripts and pipelines

What are the key details on Slack and Custom Flows: start where people ask?

GitLab for Slack addresses the entry-point problem. Most tasks originate in a discussion, not in a tracker. You mention @GitLab in a channel or thread and write something like "fix the failing pipeline": a flow starts, and Duo streams progress straight into the thread. The same bot answers questions about the codebase and turns conversations into issues. The flow runs under the same identity and policies as any other flow in GitLab, so access control stays with the platform, not the chat. Custom Flows cover the third scenario: a team defines its own multi-step sequence of a

What are the key details on Availability and first steps?

Launch terms: goal-driven flows: GitLab.com, Self-Managed and Dedicated, Premium and Ultimate tiers; minimum versions: GitLab 19.3 and Duo CLI 9.17.0; Custom Flows: already generally available (GA); MCP server and GitLab for Slack: GA expected later this month; billing: GitLab Credits, which are included in a Premium or Ultimate subscription. It makes sense to start small. First check your GitLab and Duo CLI versions, enable Duo Agent Platform, and run `/goal` on a narrow task with an unambiguous completion criterion, such as a failing test with a reproducible error. The wo

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Hands-On AI Engineering · Hamidun Academy

Build & Ship Production AI Agents Without Boilerplate Code

Start your free 72-hour trial at Hamidun Academy (academy.hamidun.com) — interactive lessons on Claude Code & Cursor, live Tech Radar, and production agent templates.

Start 72h Free Trial →Vibe-Coding Intensive
What do you think?
Loading comments…