Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

GitLab Duo agentic workflows let you hand GitLab a concrete software-development goal and have it plan, implement, verify, and—depending on the route—prepare or publish repository changes. The right setup depends on whether you want the local Software Development Flow in an IDE, the local GitLab Duo CLI /goal command, or the GitLab UI /goal Developer Flow.

Choose the route first, confirm your GitLab version, Duo entitlement, group settings, project role, and runner requirements, then write a goal with a measurable end state. Always inspect the generated plan, diff, verification output, and any Git or API actions before treating the work as ready.

Which GitLab agentic workflow should you use?

Use the IDE Software Development Flow when you want an interactive, local development experience; use the CLI /goal command for a locally running, long-lived implementation loop; and use the GitLab UI /goal Developer Flow when the work should run as a GitLab CI/CD pipeline with the ability to commit, push, open merge requests, or comment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Route Entry point Where it runs Typical authority Best fit
Software Development Flow GitLab extension or plugin in VS Code, Visual Studio, or a JetBrains IDE In the IDE/local project context Stages proposed changes for review; writes depend on the user’s permissions and approvals Complex work where you want to review a plan while the flow edits the project
CLI /goal GitLab Duo CLI Locally running CLI flow Implements and verifies against a goal; an independent judge decides whether the goal is met or iteration limits are reached Terminal-first work with a bounded, testable objective
UI /goal Developer Flow Agentic Chat in a GitLab project GitLab CI/CD pipeline Can use GitLab APIs and Git, commit and push, create merge requests, and post comments without Chat’s normal approval prompt Long-running work that should be visible and automated in GitLab

Details checked November 2026.

These are related experiences, not interchangeable switches. Their version requirements, execution locations, approval behavior, and billing implications differ, so do not assume that enabling one automatically enables the others.

Popular on Amazon
Silkland 40Gbps USB C 90 Degree Right Angle Adapter 2 Pack, 240W USB4 | Male to Female Extender, 8K@60Hz, Thunderbolt 4/3, Steam Deck, ROG Ally, MacBook, Switch 2, iPhone 18/17/16/15, Quest 3 VR
  • 【90 Degree Full Function USB C Adapter】Supports the latest USB4 standard for up to 40Gbps of bandwidth, 8K video support, and up to 240W Fast charging; Support USB PD 3.1 Extended Power Range (EPR) including 140W, 180W and 240W. Your productivity is easily doubled. *Warm Tip: For the best fit, please make sure the USB-C port is fully exposed; thick or bulky cases may affect compatibility.
  • 【Reliable Quality】Made from high-quality, scratch-resistant aluminum alloy, delicate metal frame. get excellent wear resistance and heat dissipation. Non-Slip Design for easier insertion and removal.
  • 【Small and portable】Ultra thin size, ultra compact design, a petite physique that matches the minimalist design of your modern laptops. Coming with a slim figure that won't block the port next to the one it's plugged into.
  • 【Compatibility】Widely work with most usb c, thunderbolt 4/3 devices. Compatibilit for ROG Ally, Steam Deck, Switch, MacBook Pro, Quest 3 VR headset, Surface Book 2, iPhone 18/17/16/15, Samsung Galaxy S23/S22/S21, Note 20/10, Google Pixel, ChromeBook, etc.
  • 【Excellence Customer Support】If you experience any issues or cable failure, simply reach out to our dedicated customer service team. We provide a prompt response within 18 hours, providing you with the necessary technical support to resolve any concerns.

What do I need before setting up GitLab Duo Agentic Workflows?

Before opening an agent, verify access at the instance, group, project, and local-tool levels. GitLab’s Agent Platform getting-started documentation is the authoritative checklist for your deployment and release.

Account, tier, and platform prerequisites

  • GitLab Duo must be enabled. If your organization does not have Duo Pro or Enterprise, GitLab Duo Core must be enabled for the top-level group or instance.
  • Agent Platform availability depends on version. GitLab documents the Agent Platform as available on GitLab 18.8 and later. Earlier releases use separate beta or experimental-feature conditions.
  • Self-Managed installations need instance configuration. Administrators must enable the relevant services and group settings. GitLab Duo Self-Hosted also requires a self-hosted AI Gateway with the Agent Platform service.
  • Check the entitlement and usage model. GitLab says generally available Agent Platform features consume GitLab Credits; Free-tier use requires purchasing credits. Confirm current plan, credit, and feature-flag rules for your instance rather than relying on a cloud-default assumption.

Project and local-environment prerequisites

  • Use a project in a group namespace, not a project outside a group.
  • For local IDE use, install the GitLab extension or IDE plugin, authenticate with GitLab, open the project, and confirm you have the Developer, Maintainer, or Owner role.
  • For UI and CI/CD flows, ensure foundational flows are allowed for the top-level group, configure push rules to allow the required service account, and provide a project runner—either a self-managed runner or a GitLab-hosted runner.
  • Consider adding an agent configuration file that describes the project’s toolchain, dependencies, commands, and conventions. This gives a flow a predictable way to build and verify the project.

If any one of these controls is missing, the flow may be hidden, fail before execution, or be unable to complete verification even though the chat interface itself is available.

How do I set up the Software Development Flow in an IDE?

The Software Development Flow is GitLab’s foundational IDE workflow for complex development tasks. It creates a plan from your prompt, works through tasks methodically, and stages proposed changes in the repository so you can accept, modify, or reject them.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Enable Duo and Agent Platform access. Confirm the organization’s Duo entitlement, Agent Platform setting, and group permissions. On Self-Managed, ask an administrator to verify the instance configuration.
  2. Install and authenticate the IDE integration. Install the GitLab extension for VS Code or the GitLab plugin for Visual Studio or a JetBrains IDE. Sign in with the GitLab account that has access to the project.
  3. Open the correct project. Check out the branch and open the project in the IDE. The flow is designed for a project in a group namespace, and your role must be Developer, Maintainer, or Owner.
  4. Open the Agent Platform panel. Choose Flows, enter a detailed development task, and select Start.
  5. Inspect the plan before allowing execution. Check the files, modules, commands, and acceptance conditions it proposes. Ask it to adjust the plan if the scope is too broad or a required constraint is missing.
  6. Let the flow work, or pause it. You can pause the flow and ask for a revised plan. Keep the task on a branch where proposed edits can be reviewed safely.
  7. Review and apply the result. Inspect the diff, generated tests, command output, and any files the flow touched. Accept only the changes that meet your project’s standards.

What the IDE flow can and cannot see

The IDE flow understands the project structure, codebase, and history and can use relevant issues or merge requests that you provide as context. GitLab documents support for CSS, Go, HTML, Java, JavaScript, Markdown, Python, Ruby, and TypeScript; that is documented support, not a guarantee that other languages will fail.

The flow is aware of files available to Git in the project branch. GitLab’s documentation also warns that it can access local project files that are not tracked by Git or excluded by .gitignore, including files such as .env that may contain credentials. It cannot access external sources or the web, so a goal that depends on current online documentation must include the needed information in the project or prompt.

The integration receives a time-limited OAuth token associated with your identity and the ai_workflows scope. GitLab describes default operations as read-only unless explicit approval is given, but writes remain possible within your permissions. Do not put secrets, tokens, private keys, or production credentials in a goal or chat message. See GitLab’s Software Development Flow documentation for the current access model.

Also popular on Amazon
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

How do I use the GitLab Duo CLI /goal command?

The CLI route is a locally running, governed workflow for a concrete objective. GitLab’s 19.4 release notes list GitLab 19.3 or later and GitLab Duo CLI 9.17.0 or later as requirements; verify those versions again because both products change independently.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Confirm the version pair. Check that the GitLab instance meets the documented minimum and that the installed Duo CLI is at least 9.17.0.
  2. Authenticate the CLI to the intended project. Use the account and repository context that contain the code, tests, and permissions needed for the goal.
  3. Start with a bounded command. Enter /goal <task>. For example: /goal Fix the failing authentication tests in tests/auth and update the implementation so the full test command passes.
  4. Watch the implementation and verification loop. The flow handles implementation and verification and uses an independent judge to decide whether the goal is achieved or an iteration limit is reached.
  5. Pause or redirect when the scope changes. You can pause the agent, update the goal, or redirect it. Do not silently broaden a task from one defect to an unrelated refactor.
  6. Validate independently. Read the diff and test output yourself. The judge’s completion decision is a workflow signal, not proof that the code is correct, secure, or suitable for production.

The CLI is a better fit than an ordinary question-and-answer chat when the work has a clear end state and may require several implementation iterations. A vague request such as “make the code better” gives the agent no reliable stopping condition; name the behavior, files or subsystem, and verification command instead.

Do not merge the CLI’s version requirements with those of the UI command. GitLab documents them separately.

How do I start a goal from GitLab Agentic Chat?

The UI /goal command starts a Developer Flow inside a GitLab project. It is a CI/CD-backed flow with materially broader GitLab write capabilities than an ordinary Chat exchange.

  1. Enable Developer Flow for the top-level group. The command is not available outside a project, and the project must meet the Developer Flow prerequisites.
  2. Prepare CI/CD execution. Allow foundational flows for the top-level group, configure push rules to permit the required service account, and attach a project runner. A self-managed runner or GitLab-hosted runner can be used, subject to your organization’s policy.
  3. Open Agentic Chat in the project. Enter /goal, or choose More actions > Goal.
  4. Describe one concrete change. State the desired behavior, relevant scope, constraints, and how completion will be checked, then send the goal.
  5. Monitor the flow. Running UI flows appear under AI > Sessions. Use the session history and project activity to see what the flow attempted.
  6. Review every repository and API action. Check commits, pushes, merge requests, issue or merge-request comments, diffs, and pipeline output before approving the resulting work in your normal development process.

Why the UI route needs extra caution

GitLab documents that the UI Developer Flow can write to GitLab APIs and Git, commit and push changes, create merge requests, and post comments on issues and merge requests. It does not ask the user to approve those actions in the way ordinary Chat tool calls do; Chat approvals do not apply to the flow it starts.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Because the flow runs through CI/CD pipelines, it consumes compute minutes. Confirm runner availability and budget before starting a long task, particularly on shared or self-managed infrastructure. The UI command’s rollout and history are documented separately from the CLI command; GitLab’s current Agentic Chat documentation records UI /goal history beginning in GitLab 19.5, with feature-flag and rollout details that can change.

Also popular on Amazon
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

How should I write a goal that an agent can finish?

A strong goal names a code outcome, the scope of work, and an observable completion test. Treat it as an acceptance criterion, not as a general request for help.

Goal element Weak wording Useful wording
Outcome “Improve authentication.” “Reject expired session tokens with a 401 response.”
Scope “Update the app.” “Change the token middleware and the API tests under src/auth and tests/auth.”
Verification “Make sure it works.” “Add regression tests and run the project’s authentication test command.”
Constraints None “Do not change the public response schema or database migration format.”

Good examples include fixing named failures in a specific test file, adding a named behavior together with its tests, or updating identified files to meet a documented requirement. Include issue or merge-request context when it clarifies acceptance criteria, but do not paste confidential data into the prompt.

Use ordinary Chat for questions, explanations, design alternatives, or short back-and-forth advice. Use a goal flow when you want continued work toward a concrete change with a clear stopping condition.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What should I review before and after a workflow runs?

Review is part of the setup, not an optional final glance. Agentic workflows can make real repository or GitLab changes, and completion signals do not replace engineering judgment.

Before execution

  • Confirm the selected route and its execution location: local IDE/CLI or GitLab CI/CD.
  • Read the plan and narrow files, commands, and dependencies that are outside the requested scope.
  • Check whether the workflow can access untracked local files, GitLab APIs, pushes, merge requests, or comments.
  • Remove secrets from the workspace and prompt. Review ignored files and local environment files before starting an IDE flow.
  • Define the test, build, lint, or other verification command that proves the goal is complete.

After execution

  • Inspect the complete diff, including generated files and configuration changes.
  • Read test and build output rather than relying only on a green-looking status message.
  • Look for behavior changes outside the requested scope, dependency upgrades, weakened security checks, and missing error handling.
  • For UI goals, verify every commit, push, merge request, and comment in project history and in AI > Sessions.
  • Run your organization’s normal review, CI, security, and release controls before merging or deploying.

What are the main security and permission risks?

The largest risks are over-broad local file visibility in IDE workflows and automatic GitLab write authority in UI goals. Select the least powerful route that can complete the task.

  • Protect local secrets. The IDE flow may read files outside Git tracking and files excluded by .gitignore. Keep credentials outside the opened project or use a sanitized workspace.
  • Understand identity-bound access. The IDE flow uses a time-limited OAuth token linked to your identity with the ai_workflows scope. Your role and project permissions affect what it can do.
  • Separate Chat from Developer Flow approvals. A normal Chat approval prompt does not govern actions taken by a UI Developer Flow it starts.
  • Limit service-account reach. For CI/CD flows, configure push rules and project permissions so the service account has only the access required for the intended repositories and branches.
  • Use protected branches and required reviews. Even when a flow can push or create a merge request, keep branch protection, code-owner review, and deployment gates enabled.

GitLab’s Agent Platform documentation and the Flows documentation describe the current permission and configuration model.

Also popular on Amazon
BENFEI USB C Hub 5-in-1 with 4K HDMI(Certified), 100W Power Delivery, 3 USB-A, Silicone Cable, Aluminum Case Compatible with MacBook Pro/Air, iPad Pro, iMac, iPhone 15 Pro/Pro Max, XPS, Thinkpad
  • Portable and powerful USB-C HUB: BENFEI USB Type-C HUB, with super-soft and knot-free silicone woven design cable, meets most mobile office needs. Compact, lightweight, stylish, and powerful portable USB C Hub equipped with 1 x HDMI port, 1 x 100W charging, and 3 x USB ports. 18-month warranty, 24-hour response, to ensure you feel at ease when using our product.
  • Design centered on comfort and reliability: Thanks to BENFEI's end-to-end in-house cable production capability, in-house PCBA and assembly capability, using the industry's most advanced silicone woven design and process, 20cm cable in length, no knots, super-soft, the HUB is easy to use in all scenarios: laptop, tablet, stand etc. Super-soft, 25000+ life cycles, to meet your daily carrying and office needs.
  • 100W Charging: Support up to 90W USB C pass-through charging via Type-C port to keep your laptop powered. 10W is reserved for other interface operations. No data and video function on the Type-C port.
  • 4K HDMI Display: The HDMI port supports media display at resolutions up to 4K 30Hz, keeping every incredible moment detailed and ultra vivid. Please note that the C port of the Host device needs to support video output.
  • Transfer Files in Seconds: Transfer files and from your laptop at speeds up to 10 Gbps with USB A 3.2 port. Extra 2 USB A 2.0 ports are perfectly for your keyboards and mouse.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How do I troubleshoot a missing command or a failed run?

Start by identifying which route you selected; a missing UI command and a failed local flow usually have different causes.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Flows panel or Software Development Flow is missing

  1. Confirm Duo and Agent Platform are enabled for the instance and top-level group.
  2. Check that the project belongs to a group namespace and that your role is Developer, Maintainer, or Owner.
  3. Update the IDE extension or plugin and re-authenticate with the account that can access the project.
  4. On Self-Managed, ask an administrator to verify the instance version, feature flags, and any self-hosted AI Gateway requirement.

CLI /goal is rejected

  1. Check the GitLab version against the documented 19.3-or-later requirement.
  2. Check the Duo CLI version against 9.17.0 or later.
  3. Verify the CLI is authenticated to the intended project and that the repository contains the files and commands named in the goal.
  4. Rewrite the goal with a narrower scope and a measurable verification step if the agent cannot determine when it is finished.

UI /goal is unavailable or stops before doing work

  1. Enable Developer Flow for the top-level group and confirm the project is eligible.
  2. Allow foundational flows, configure the required push rule and service account, and attach a working project runner.
  3. Check AI > Sessions and the pipeline logs for runner, permissions, or dependency failures.
  4. Confirm that the project’s agent configuration exposes the required toolchain and dependency commands.

The agent changes the wrong files or cannot verify

Pause the flow, restate the exact file scope and acceptance test, and remove unrelated context. If the route cannot access an external source, copy the relevant specification into the repository or prompt—without including confidential material. Then review the new plan before resuming.

How do versions, rollout, and GitLab Credits affect availability?

Availability is instance-specific. The CLI compatibility facts documented in GitLab 19.4 release notes are GitLab 19.3 or later and Duo CLI 9.17.0 or later. The UI /goal command is documented separately, with Agentic Chat history beginning in GitLab 19.5 and rollout or feature-flag conditions that may differ by deployment.

GitLab’s plan documentation says generally available Agent Platform features consume GitLab Credits and that Free-tier use requires purchased credits. UI goals also consume CI/CD compute minutes because they run as pipelines. Confirm current entitlement, credit balance, runner limits, and feature flags in your own instance before scheduling long-running work.

For current prerequisites and changes, consult the GitLab 19.4 release notes, Agentic Chat documentation, and your instance’s administration settings.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What is a safe first workflow?

Start with a non-production branch and a goal whose completion can be checked by an existing test command. For example:

Also popular on Amazon
𝟒𝐏𝐚𝐜𝐤 𝐔𝐩𝐠𝐫𝐚𝐝𝐞𝐝 USB to USB C Adapter,Type-C Female to A Male Charger Converter for iPhone 18 Charger,iWatch Ultra SE 9 10,iPhone 17 Pro Max 16 15 14,Samsung S25,AirPods,iPad,Car,Xbox
  • 【Read before You Buy】 Note: This adapter is USB 2.0 version and cannot transmit HDM, VGA, or other video signals. Nevertheless, they are fully capable of charging devices,duplicating files, and can be seamlessly integrated with USB-C earphones, wireless network adapters, and SD card adapters.
  • 【Easy to Use and Safe】Thanks to modern manufacturing techniques, we've made these adapters sufficiently compact so that they can remain inserted in your device without noticeable protrusion or inconvenience. This means you don't have to constantly plug and unplug them, reducing the likelihood of wear and misalignment, and making them more convenient to carry around.
  • 【Reliable Quality】Engineered for enhanced durability, durable aluminum alloy shell material,get excellent wear resistance and heat dissipation,the male USB C and female USB connectors & the male USB and female USB C connectors are designed to be plugged and unplugged up to 20000 times. Provides data transfer, device charging, memory space expansion, and additional computer peripherals.
  • 【Think more for you】Do you need to connect a USB-C-enabled device to an odd device that only has USB-A ports? Then these USB-A male to USB-C female adapters are made for you.Simply insert the adapter into the USB-A port on the device, and you can instantly connect your USB-C device to the device that originally didn't have the correct connection port.
  • 【Trusted xiwxi Quality and Service】As a responsible brand seller, you will receive xiwxi's 12-month Quality assurance and lifetime friendly customer service, you're not just buying a product,you're investing in peace of mind with all-round quality and exceptional customer service.
/goal Fix the two failing tests in tests/parser/date_format.test.js, preserve the public parser API, add regression coverage for the failing inputs, and run the parser test command

For an IDE flow, inspect the plan and let it stage changes for review. For the CLI, monitor the implementation and verification loop, then inspect the final diff. For the UI route, confirm the runner and service-account permissions first, monitor AI > Sessions, and expect that the flow may create commits, push, open a merge request, or post comments without a separate Chat approval.

That sequence gives the agent a clear target while keeping branch protection, code review, and independent verification in place.

Frequently Asked Questions

Can GitLab Duo agentic workflows work on a project outside a group?

The documented local setup expects a project in a group namespace, and the UI Developer Flow is available only inside a project that meets its group-level prerequisites. If a personal or standalone project does not expose the feature, an administrator must move it into an eligible group or enable the required settings.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Does the Software Development Flow browse the internet for documentation?

No. GitLab documents that the IDE Software Development Flow cannot access external sources or the web. Put the relevant specification in the repository or provide it in the prompt, while removing credentials and other sensitive information.

Will a UI goal ask before it pushes code or opens a merge request?

Not through the ordinary Chat approval mechanism. The UI Developer Flow can commit, push, create merge requests, and post comments using its configured permissions, so protected branches, service-account limits, and post-run review are important safeguards.

How can I stop an agentic workflow that is taking the wrong approach?

Pause the IDE or CLI flow, then revise the goal with narrower files, explicit constraints, and a verification command. For a UI flow, use its session and pipeline controls, stop or cancel the run according to your project’s CI/CD procedures, and inspect any changes already written before restarting.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of December 6, 2026 10:01 am GMT.