GitLab
Follow
Agentic engineering with GitLab and your local agent: A walkthrough
An agentic engineering environment can automate workflows by connecting your local development harness to the GitLab Duo Agent Platform. This integration allows repository-aware workflows to run on GitLab while maintaining existing review, pipeline, scan, and approval processes for merge requests. The setup involves installing a GitLab Duo setup skill in your preferred local harness, such as Claude Code, which then configures your top-level group with necessary settings and flows.This environment supports four key use cases: picking up an assigned issue and opening a merge request, receiving automated code reviews, resolving merge conflicts, and repairing failed pipelines. For security findings, GitLab Ultimate users can also triage and fix issues once code lands. The setup skill automates the configuration of GitLab Duo Agent Platform, including turning on group-wide workflows and creating automations in every project.After setup, you can use your local harness to find assigned issues, hand them off to the Developer flow to create merge requests, and receive automated code reviews on every merge request. GitLab Duo acts as a reviewer, providing inline feedback and a summary, with optional automatic approvals or change requests. You can then iterate on the feedback locally, pushing changes that trigger further reviews.Merge conflicts can be resolved either locally within your harness or by assigning the task to the Duo Developer flow on GitLab. For pipeline failures, an automation proactively starts the Fix CI/CD Pipeline flow, often providing a fix before you even notice the failure. This integrated approach ensures that long-running agentic work and verification happen on the merge request, while quick iterations remain in your local checkout, streamlining the development process.