[{"data":1,"prerenderedAt":815},["ShallowReactive",2],{"/en-us/blog/monitor-manage-automate-ai-workflows":3,"navigation-en-us":40,"banner-en-us":451,"footer-en-us":461,"blog-post-authors-en-us-Itzik Gan Baruch":703,"blog-related-posts-en-us-monitor-manage-automate-ai-workflows":717,"blog-promotions-en-us":753,"next-steps-en-us":805},{"id":4,"title":5,"authorSlugs":6,"authors":8,"body":10,"category":11,"categorySlug":11,"config":12,"content":16,"date":22,"description":25,"extension":26,"externalUrl":27,"featured":14,"heroImage":23,"isFeatured":14,"meta":28,"navigation":29,"path":30,"publishedDate":22,"rawbody":31,"seo":32,"slug":13,"stem":35,"tagSlugs":36,"tags":38,"template":15,"updatedDate":27,"__hash__":39},"blogPosts/en-us/blog/monitor-manage-automate-ai-workflows.yml","Monitor, manage, and automate AI workflows",[7],"itzik-gan-baruch",[9],"Itzik Gan Baruch","*Welcome to Part 6 of our eight-part guide, [Getting started with GitLab Duo Agent Platform](/blog/gitlab-duo-agent-platform-complete-getting-started-guide/), where you'll master building and deploying AI agents and workflows within your development lifecycle. Follow tutorials that take you from your first interaction to production-ready automation workflows with full customization.*\n\n**In this article:**\n\n- [Introduction to Automate capabilities](#introduction-to-the-automate-capabilities)\n- [Managing agents in your project](#managing-agents)\n- [Managing flows in your project](#managing-flows)\n- [Setting up event-driven triggers](#automating-with-triggers)\n- [Monitoring flows activity with sessions](#monitoring-with-sessions)\n\n> 🎯 Try [**GitLab Duo Agent Platform**](https://about.gitlab.com/gitlab-duo-agent-platform/) today!\n\n## Introduction to the Automate capabilities\n\nThe Automate capabilities are your central hub for managing AI workflows in GitLab. They provide visibility into [agent](/blog/understanding-agents-foundational-custom-external/) and [flow](/blog/understanding-flows-multi-agent-workflows/) activity, and enable event-driven automation.\n\nNavigate to **Project → Automate**.\n\nThe Automate menu provides these main sections:\n\n- **Agents**: View, create, and manage agents in your project\n- **Flows**: View, create, and manage flows in your project\n- **Triggers**: Configure event-based automation for flows\n- **Sessions**: Monitor agent and flow execution with detailed logs\n## Managing agents\n\nThe Agents section allows you to view, create, and manage agents in your project.\n\nNavigate to **Automate → Agents**.\n\nBoth Agents and Flows sections provide two tabs for organizing your resources:\n\n- **Enabled**: Agents/flows available to your project\n- **Managed**: Agents/flows created and owned by your project\n\n**To expand your available agents:**\n- Create new custom agents, enable at the top-level group, then enable them in your project.\n- Browse the AI Catalog and enable existing agents in your top-level group first, then in your project.\n\nFor details on creating custom agents, see [Part 3: Understanding agents](/blog/understanding-agents-foundational-custom-external/).\n\n## Managing flows\n\nThe Flows section allows you to view, create, and manage flows in your project.\n\nNavigate to **Automate → Flows**.\n\n**To expand your available flows:**\n- Create new custom flows, enable at the top level group, then enable them in your project.\n- Browse the AI Catalog and enable existing flows in your top-level group first, then in your project.\n\nFor details on creating custom flows, see [Part 4: Understanding flows](/blog/understanding-flows-multi-agent-workflows/).\n\n## Automating with triggers\n\n![Triggers](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618237/oakundtw3m4iksepxpen.png \"Overview of auto-created triggers\")\n\n\n\n\nTriggers enable event-driven automation by automatically executing agents or flows when specific GitLab SDLC events occur.\n\nNavigate to **Automate → Triggers**.\n\n**Available trigger event types:**\n\n- **Mention**: Mentioned in a comment, for example, `@ci-cd-optimizer`.\n- **Assign**: Assigned to an issue or MR, for example, in the UI or quick action `/assign @ci-cd-optimizer`.\n- **Assign Reviewer**: Assigned as MR reviewer, for example, in the UI or quick action `/assign_reviewer @ci-cd-optimizer`.\n\n\n**How triggers work:**\n\n1. Event occurs (e.g., `@ci-cd-optimizer` mentioned in MR comment)\n2. Trigger identifies the flow to execute\n3. Flow runs and starts a session\n4. Results posted back to the issue/MR\n\nFor setup instructions, see the [Triggers documentation](https://docs.gitlab.com/user/duo_agent_platform/triggers/).\n\n## Monitoring with sessions\n\nSessions provide transparency into agents and flows execution, including reasoning, executed tools, and outputs. Every run creates a session with an activity log.\n\n![Sessions monitoring](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/jpqv5frskvgzz6fnmvjl.png \"Sessions overview showing execution status and progress\")\n\n\n\nNavigate to **Automate → Sessions**.\n**Sessions show:**\n\n- Execution status (Created, Running, Finished, Failed, Input Required, and more)\n- Step-by-step progress and actions taken\n- Agent reasoning and decision-making process\n- Link to Runner job logs (Details tab)\n### Activity tab\nThe Activity tab displays the step-by-step execution flow, showing each action the agent took, the tools it used, and the results of those actions.\n\n![Session Activity](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/wb1szmr7spmtry5gztss.png \"Session activity showing step-by-step execution and agent actions\")\n\n### Details tab\nThe Details tab provides access to the complete runner job logs, allowing you to see the full execution context and any system-level information about the flow run.\n\n![Session Details](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/ovjxsugwor9nkfxsfpog.png \"Session details with runner job logs and execution context\")\n\n\n\n\nThe job logs contain the full execution output, including all system messages, tool invocations, and detailed information about what the flow executed.\n\n![Job Logs](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618237/kduex4pilullw2yzurky.png \"Complete runner job logs showing detailed execution output\")\n\n\n\n\nFor more details, see the [Sessions documentation](https://docs.gitlab.com/user/duo_agent_platform/sessions/).\n\n## What's next?\n\nYou now understand how to monitor agent and flow activity through sessions, set up event-driven automation with triggers, and manage your AI workflows from the Automate capabilities. Next, learn how to extend GitLab Duo with external tools and data sources in [Part 7: Model Context Protocol integration](/blog/duo-agent-platform-with-mcp/).\n\n## Resources\n- [Sessions documentation](https://docs.gitlab.com/user/duo_agent_platform/sessions/)\n- [Triggers documentation](https://docs.gitlab.com/user/duo_agent_platform/triggers/)\n- [Custom Flows documentation](https://docs.gitlab.com/user/duo_agent_platform/flows/custom/)\n- [Custom Agents documentation](https://docs.gitlab.com/user/duo_agent_platform/agents/custom/)\n\n---\n\n**Next:** [Part 7: Model Context Protocol integration](/blog/duo-agent-platform-with-mcp/)\n\n**Previous:** [Part 5: AI Catalog](/blog/ai-catalog-discover-and-share-agents/)","ai-ml",{"slug":13,"featured":14,"template":15},"monitor-manage-automate-ai-workflows",false,"BlogPost",{"tags":17,"category":11,"date":22,"heroImage":23,"authors":24,"description":25,"title":5,"body":10},[18,19,20,21],"AI/ML","product","features","tutorial","2026-01-14","https://res.cloudinary.com/about-gitlab-com/image/upload/v1765809212/noh0mdfn9o94ry9ykura.png",[9],"Explore the GitLab Duo Agent Platform Automate capabilities. Monitor activity through sessions, automate workflows with event-driven triggers, and manage your AI-powered development processes.","yml",null,{},true,"/en-us/blog/monitor-manage-automate-ai-workflows","seo:\n  noIndex: false\n  title: 'Monitor, manage, and automate AI workflows'\n  description: Explore the GitLab Duo Agent Platform Automate menu. Monitor activity through sessions, automate workflows with event-driven triggers, and manage your AI-powered development processes.\n  ogImage: https://res.cloudinary.com/about-gitlab-com/image/upload/v1752678395/impw8no5tbskr6k2afgu.jpg\ncontent:\n  tags:\n    - AI/ML\n    - product\n    - features\n    - tutorial\n  category: ai-ml\n  date: 2026-01-14\n  heroImage: https://res.cloudinary.com/about-gitlab-com/image/upload/v1765809212/noh0mdfn9o94ry9ykura.png\n  authors:\n    - Itzik Gan Baruch\n  description: Explore the GitLab Duo Agent Platform Automate capabilities. Monitor activity through sessions, automate workflows with event-driven triggers, and manage your AI-powered development processes.\n  title: 'Monitor, manage, and automate AI workflows'\n  body: >-\n    *Welcome to Part 6 of our eight-part guide, [Getting started with GitLab Duo Agent Platform](/blog/gitlab-duo-agent-platform-complete-getting-started-guide/), where you'll master building and deploying AI agents and workflows within your development lifecycle. Follow tutorials that take you from your first interaction to production-ready automation workflows with full customization.*\n\n\n    **In this article:**\n\n\n    - [Introduction to Automate capabilities](#introduction-to-the-automate-capabilities)\n\n    - [Managing agents in your project](#managing-agents)\n\n    - [Managing flows in your project](#managing-flows)\n\n    - [Setting up event-driven triggers](#automating-with-triggers)\n\n    - [Monitoring flows activity with sessions](#monitoring-with-sessions)\n\n\n    > 🎯 Try [**GitLab Duo Agent Platform**](https://about.gitlab.com/gitlab-duo-agent-platform/) today!\n\n\n    ## Introduction to the Automate capabilities\n\n\n    The Automate capabilities are your central hub for managing AI workflows in GitLab. They provide visibility into [agent](/blog/understanding-agents-foundational-custom-external/) and [flow](/blog/understanding-flows-multi-agent-workflows/) activity, and enable event-driven automation.\n\n\n    Navigate to **Project → Automate**.\n\n\n    The Automate menu provides these main sections:\n\n\n    - **Agents**: View, create, and manage agents in your project\n\n    - **Flows**: View, create, and manage flows in your project\n\n    - **Triggers**: Configure event-based automation for flows\n\n    - **Sessions**: Monitor agent and flow execution with detailed logs\n\n    ## Managing agents\n\n\n    The Agents section allows you to view, create, and manage agents in your project.\n\n\n    Navigate to **Automate → Agents**.\n\n\n    Both Agents and Flows sections provide two tabs for organizing your resources:\n\n\n    - **Enabled**: Agents/flows available to your project\n\n    - **Managed**: Agents/flows created and owned by your project\n\n\n    **To expand your available agents:**\n\n    - Create new custom agents, enable at the top-level group, then enable them in your project.\n\n    - Browse the AI Catalog and enable existing agents in your top-level group first, then in your project.\n\n\n    For details on creating custom agents, see [Part 3: Understanding agents](/blog/understanding-agents-foundational-custom-external/).\n\n\n    ## Managing flows\n\n\n    The Flows section allows you to view, create, and manage flows in your project.\n\n\n    Navigate to **Automate → Flows**.\n\n\n    **To expand your available flows:**\n\n    - Create new custom flows, enable at the top level group, then enable them in your project.\n\n    - Browse the AI Catalog and enable existing flows in your top-level group first, then in your project.\n\n\n    For details on creating custom flows, see [Part 4: Understanding flows](/blog/understanding-flows-multi-agent-workflows/).\n\n\n    ## Automating with triggers\n\n\n    ![Triggers](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618237/oakundtw3m4iksepxpen.png \"Overview of auto-created triggers\")\n\n\n\n\n\n    Triggers enable event-driven automation by automatically executing agents or flows when specific GitLab SDLC events occur.\n\n\n    Navigate to **Automate → Triggers**.\n\n\n    **Available trigger event types:**\n\n\n    - **Mention**: Mentioned in a comment, for example, `@ci-cd-optimizer`.\n\n    - **Assign**: Assigned to an issue or MR, for example, in the UI or quick action `/assign @ci-cd-optimizer`.\n\n    - **Assign Reviewer**: Assigned as MR reviewer, for example, in the UI or quick action `/assign_reviewer @ci-cd-optimizer`.\n\n\n\n    **How triggers work:**\n\n\n    1. Event occurs (e.g., `@ci-cd-optimizer` mentioned in MR comment)\n\n    2. Trigger identifies the flow to execute\n\n    3. Flow runs and starts a session\n\n    4. Results posted back to the issue/MR\n\n\n    For setup instructions, see the [Triggers documentation](https://docs.gitlab.com/user/duo_agent_platform/triggers/).\n\n\n    ## Monitoring with sessions\n\n\n    Sessions provide transparency into agents and flows execution, including reasoning, executed tools, and outputs. Every run creates a session with an activity log.\n\n\n    ![Sessions monitoring](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/jpqv5frskvgzz6fnmvjl.png \"Sessions overview showing execution status and progress\")\n\n\n\n\n    Navigate to **Automate → Sessions**.\n\n    **Sessions show:**\n\n\n    - Execution status (Created, Running, Finished, Failed, Input Required, and more)\n\n    - Step-by-step progress and actions taken\n\n    - Agent reasoning and decision-making process\n\n    - Link to Runner job logs (Details tab)\n\n    ### Activity tab\n\n    The Activity tab displays the step-by-step execution flow, showing each action the agent took, the tools it used, and the results of those actions.\n\n\n    ![Session Activity](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/wb1szmr7spmtry5gztss.png \"Session activity showing step-by-step execution and agent actions\")\n\n\n    ### Details tab\n\n    The Details tab provides access to the complete runner job logs, allowing you to see the full execution context and any system-level information about the flow run.\n\n\n    ![Session Details](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/ovjxsugwor9nkfxsfpog.png \"Session details with runner job logs and execution context\")\n\n\n\n\n\n    The job logs contain the full execution output, including all system messages, tool invocations, and detailed information about what the flow executed.\n\n\n    ![Job Logs](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618237/kduex4pilullw2yzurky.png \"Complete runner job logs showing detailed execution output\")\n\n\n\n\n\n    For more details, see the [Sessions documentation](https://docs.gitlab.com/user/duo_agent_platform/sessions/).\n\n\n    ## What's next?\n\n\n    You now understand how to monitor agent and flow activity through sessions, set up event-driven automation with triggers, and manage your AI workflows from the Automate capabilities. Next, learn how to extend GitLab Duo with external tools and data sources in [Part 7: Model Context Protocol integration](/blog/duo-agent-platform-with-mcp/).\n\n\n    ## Resources\n\n    - [Sessions documentation](https://docs.gitlab.com/user/duo_agent_platform/sessions/)\n\n    - [Triggers documentation](https://docs.gitlab.com/user/duo_agent_platform/triggers/)\n\n    - [Custom Flows documentation](https://docs.gitlab.com/user/duo_agent_platform/flows/custom/)\n\n    - [Custom Agents documentation](https://docs.gitlab.com/user/duo_agent_platform/agents/custom/)\n\n\n    ---\n\n\n    **Next:** [Part 7: Model Context Protocol integration](/blog/duo-agent-platform-with-mcp/)\n\n\n    **Previous:** [Part 5: AI Catalog](/blog/ai-catalog-discover-and-share-agents/)\n\nconfig:\n  slug: monitor-manage-automate-ai-workflows\n  featured: false\n  template: BlogPost\n",{"noIndex":14,"title":5,"description":33,"ogImage":34},"Explore the GitLab Duo Agent Platform Automate menu. Monitor activity through sessions, automate workflows with event-driven triggers, and manage your AI-powered development processes.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1752678395/impw8no5tbskr6k2afgu.jpg","en-us/blog/monitor-manage-automate-ai-workflows",[37,19,20,21],"aiml",[18,19,20,21],"VNylKhuVbjHyx8nfj0geTolX8IvhWa5Mqk16_uXdBw0",{"data":41},{"logo":42,"freeTrial":47,"sales":52,"login":57,"items":62,"search":371,"minimal":402,"duo":421,"switchNav":430,"pricingDeployment":441},{"config":43},{"href":44,"dataGaName":45,"dataGaLocation":46},"/","gitlab logo","header",{"text":48,"config":49},"Get free trial",{"href":50,"dataGaName":51,"dataGaLocation":46},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":53,"config":54},"Talk to sales",{"href":55,"dataGaName":56,"dataGaLocation":46},"/sales/","sales",{"text":58,"config":59},"Sign in",{"href":60,"dataGaName":61,"dataGaLocation":46},"https://gitlab.com/users/sign_in/","sign in",[63,90,185,190,292,352],{"text":64,"config":65,"cards":67},"Platform",{"dataNavLevelOne":66},"platform",[68,74,82],{"title":64,"description":69,"link":70},"The intelligent orchestration platform for DevSecOps",{"text":71,"config":72},"Explore our Platform",{"href":73,"dataGaName":66,"dataGaLocation":46},"/platform/",{"title":75,"description":76,"link":77},"GitLab Duo Agent Platform","Agentic AI for the entire software lifecycle",{"text":78,"config":79},"Meet GitLab Duo",{"href":80,"dataGaName":81,"dataGaLocation":46},"/gitlab-duo-agent-platform/","gitlab duo agent platform",{"title":83,"description":84,"link":85},"Why GitLab","See the top reasons enterprises choose GitLab",{"text":86,"config":87},"Learn more",{"href":88,"dataGaName":89,"dataGaLocation":46},"/why-gitlab/","why gitlab",{"text":91,"left":29,"config":92,"link":94,"lists":98,"footer":167},"Product",{"dataNavLevelOne":93},"solutions",{"text":95,"config":96},"View all Solutions",{"href":97,"dataGaName":93,"dataGaLocation":46},"/solutions/",[99,123,146],{"title":100,"description":101,"link":102,"items":107},"Automation","CI/CD and automation to accelerate deployment",{"config":103},{"icon":104,"href":105,"dataGaName":106,"dataGaLocation":46},"AutomatedCodeAlt","/solutions/delivery-automation/","automated software delivery",[108,112,115,119],{"text":109,"config":110},"CI/CD",{"href":111,"dataGaLocation":46,"dataGaName":109},"/solutions/continuous-integration/",{"text":75,"config":113},{"href":80,"dataGaLocation":46,"dataGaName":114},"gitlab duo agent platform - product menu",{"text":116,"config":117},"Source Code Management",{"href":118,"dataGaLocation":46,"dataGaName":116},"/solutions/source-code-management/",{"text":120,"config":121},"Automated Software Delivery",{"href":105,"dataGaLocation":46,"dataGaName":122},"Automated software delivery",{"title":124,"description":125,"link":126,"items":131},"Security","Deliver code faster without compromising security",{"config":127},{"href":128,"dataGaName":129,"dataGaLocation":46,"icon":130},"/solutions/application-security-testing/","security and compliance","ShieldCheckLight",[132,136,141],{"text":133,"config":134},"Application Security Testing",{"href":128,"dataGaName":135,"dataGaLocation":46},"Application security testing",{"text":137,"config":138},"Software Supply Chain Security",{"href":139,"dataGaLocation":46,"dataGaName":140},"/solutions/supply-chain/","Software supply chain security",{"text":142,"config":143},"Software Compliance",{"href":144,"dataGaName":145,"dataGaLocation":46},"/solutions/software-compliance/","software compliance",{"title":147,"link":148,"items":153},"Measurement",{"config":149},{"icon":150,"href":151,"dataGaName":152,"dataGaLocation":46},"DigitalTransformation","/solutions/visibility-measurement/","visibility and measurement",[154,158,162],{"text":155,"config":156},"Visibility & Measurement",{"href":151,"dataGaLocation":46,"dataGaName":157},"Visibility and Measurement",{"text":159,"config":160},"Value Stream Management",{"href":161,"dataGaLocation":46,"dataGaName":159},"/solutions/value-stream-management/",{"text":163,"config":164},"Analytics & Insights",{"href":165,"dataGaLocation":46,"dataGaName":166},"/solutions/analytics-and-insights/","Analytics and insights",{"title":168,"items":169},"GitLab for",[170,175,180],{"text":171,"config":172},"Enterprise",{"href":173,"dataGaLocation":46,"dataGaName":174},"/enterprise/","enterprise",{"text":176,"config":177},"Small Business",{"href":178,"dataGaLocation":46,"dataGaName":179},"/small-business/","small business",{"text":181,"config":182},"Public Sector",{"href":183,"dataGaLocation":46,"dataGaName":184},"/solutions/public-sector/","public sector",{"text":186,"config":187},"Pricing",{"href":188,"dataGaName":189,"dataGaLocation":46,"dataNavLevelOne":189},"/pricing/","pricing",{"text":191,"config":192,"link":194,"lists":198,"feature":283},"Resources",{"dataNavLevelOne":193},"resources",{"text":195,"config":196},"View all resources",{"href":197,"dataGaName":193,"dataGaLocation":46},"/resources/",[199,232,255],{"title":200,"items":201},"Getting started",[202,207,212,217,222,227],{"text":203,"config":204},"Install",{"href":205,"dataGaName":206,"dataGaLocation":46},"/install/","install",{"text":208,"config":209},"Quick start guides",{"href":210,"dataGaName":211,"dataGaLocation":46},"/get-started/","quick setup checklists",{"text":213,"config":214},"Learn",{"href":215,"dataGaLocation":46,"dataGaName":216},"https://university.gitlab.com/","learn",{"text":218,"config":219},"Product documentation",{"href":220,"dataGaName":221,"dataGaLocation":46},"https://docs.gitlab.com/","product documentation",{"text":223,"config":224},"Best practice videos",{"href":225,"dataGaName":226,"dataGaLocation":46},"/getting-started-videos/","best practice videos",{"text":228,"config":229},"Integrations",{"href":230,"dataGaName":231,"dataGaLocation":46},"/integrations/","integrations",{"title":233,"items":234},"Discover",[235,240,245,250],{"text":236,"config":237},"Customer success stories",{"href":238,"dataGaName":239,"dataGaLocation":46},"/customers/","customer success stories",{"text":241,"config":242},"Blog",{"href":243,"dataGaName":244,"dataGaLocation":46},"/blog/","blog",{"text":246,"config":247},"The Source",{"href":248,"dataGaName":249,"dataGaLocation":46},"/the-source/","the source",{"text":251,"config":252},"Remote",{"href":253,"dataGaName":254,"dataGaLocation":46},"https://handbook.gitlab.com/handbook/company/culture/all-remote/","remote",{"title":256,"items":257},"Connect",[258,263,268,273,278],{"text":259,"config":260},"GitLab Services",{"href":261,"dataGaName":262,"dataGaLocation":46},"/services/","services",{"text":264,"config":265},"Community",{"href":266,"dataGaName":267,"dataGaLocation":46},"/community/","community",{"text":269,"config":270},"Forum",{"href":271,"dataGaName":272,"dataGaLocation":46},"https://forum.gitlab.com/","forum",{"text":274,"config":275},"Events",{"href":276,"dataGaName":277,"dataGaLocation":46},"/events/","events",{"text":279,"config":280},"Partners",{"href":281,"dataGaName":282,"dataGaLocation":46},"/partners/","partners",{"textColor":284,"title":285,"text":286,"link":287},"#000","What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":288,"config":289},"Read the latest",{"href":290,"dataGaName":291,"dataGaLocation":46},"/releases/whats-new/","whats new",{"text":293,"config":294,"lists":296},"Company",{"dataNavLevelOne":295},"company",[297],{"items":298},[299,304,310,312,317,322,327,332,337,342,347],{"text":300,"config":301},"About",{"href":302,"dataGaName":303,"dataGaLocation":46},"/company/","about",{"text":305,"config":306,"footerGa":309},"Jobs",{"href":307,"dataGaName":308,"dataGaLocation":46},"/jobs/","jobs",{"dataGaName":308},{"text":274,"config":311},{"href":276,"dataGaName":277,"dataGaLocation":46},{"text":313,"config":314},"Leadership",{"href":315,"dataGaName":316,"dataGaLocation":46},"/company/team/e-group/","leadership",{"text":318,"config":319},"Team",{"href":320,"dataGaName":321,"dataGaLocation":46},"/company/team/","team",{"text":323,"config":324},"Handbook",{"href":325,"dataGaName":326,"dataGaLocation":46},"https://handbook.gitlab.com/","handbook",{"text":328,"config":329},"Investor relations",{"href":330,"dataGaName":331,"dataGaLocation":46},"https://ir.gitlab.com/","investor relations",{"text":333,"config":334},"Trust Center",{"href":335,"dataGaName":336,"dataGaLocation":46},"/security/","trust center",{"text":338,"config":339},"AI Transparency Center",{"href":340,"dataGaName":341,"dataGaLocation":46},"/ai-transparency-center/","ai transparency center",{"text":343,"config":344},"Newsletter",{"href":345,"dataGaName":346,"dataGaLocation":46},"/company/contact/#contact-forms","newsletter",{"text":348,"config":349},"Press",{"href":350,"dataGaName":351,"dataGaLocation":46},"/press/","press",{"text":353,"config":354,"lists":355},"Contact us",{"dataNavLevelOne":295},[356],{"items":357},[358,361,366],{"text":53,"config":359},{"href":55,"dataGaName":360,"dataGaLocation":46},"talk to sales",{"text":362,"config":363},"Support portal",{"href":364,"dataGaName":365,"dataGaLocation":46},"https://support.gitlab.com","support portal",{"text":367,"config":368},"Customer portal",{"href":369,"dataGaName":370,"dataGaLocation":46},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":372,"login":373,"suggestions":380},"Close",{"text":374,"link":375},"To search repositories and projects, login to",{"text":376,"config":377},"gitlab.com",{"href":60,"dataGaName":378,"dataGaLocation":379},"search login","search",{"text":381,"default":382},"Suggestions",[383,385,389,391,395,399],{"text":75,"config":384},{"href":80,"dataGaName":75,"dataGaLocation":379},{"text":386,"config":387},"Code Suggestions (AI)",{"href":388,"dataGaName":386,"dataGaLocation":379},"/solutions/code-suggestions/",{"text":109,"config":390},{"href":111,"dataGaName":109,"dataGaLocation":379},{"text":392,"config":393},"GitLab on AWS",{"href":394,"dataGaName":392,"dataGaLocation":379},"/partners/technology-partners/aws/",{"text":396,"config":397},"GitLab on Google Cloud",{"href":398,"dataGaName":396,"dataGaLocation":379},"/partners/technology-partners/google-cloud-platform/",{"text":400,"config":401},"Why GitLab?",{"href":88,"dataGaName":400,"dataGaLocation":379},{"freeTrial":403,"mobileIcon":408,"desktopIcon":413,"secondaryButton":416},{"text":404,"config":405},"Start free trial",{"href":406,"dataGaName":51,"dataGaLocation":407},"https://gitlab.com/-/trials/new/","nav",{"altText":409,"config":410},"Gitlab Icon",{"src":411,"dataGaName":412,"dataGaLocation":407},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":409,"config":414},{"src":415,"dataGaName":412,"dataGaLocation":407},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":417,"config":418},"Get Started",{"href":419,"dataGaName":420,"dataGaLocation":407},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":422,"mobileIcon":426,"desktopIcon":428},{"text":423,"config":424},"Learn more about GitLab Duo",{"href":80,"dataGaName":425,"dataGaLocation":407},"gitlab duo",{"altText":409,"config":427},{"src":411,"dataGaName":412,"dataGaLocation":407},{"altText":409,"config":429},{"src":415,"dataGaName":412,"dataGaLocation":407},{"button":431,"mobileIcon":436,"desktopIcon":438},{"text":432,"config":433},"/switch",{"href":434,"dataGaName":435,"dataGaLocation":407},"#contact","switch",{"altText":409,"config":437},{"src":411,"dataGaName":412,"dataGaLocation":407},{"altText":409,"config":439},{"src":440,"dataGaName":412,"dataGaLocation":407},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":442,"mobileIcon":447,"desktopIcon":449},{"text":443,"config":444},"Back to pricing",{"href":188,"dataGaName":445,"dataGaLocation":407,"icon":446},"back to pricing","GoBack",{"altText":409,"config":448},{"src":411,"dataGaName":412,"dataGaLocation":407},{"altText":409,"config":450},{"src":415,"dataGaName":412,"dataGaLocation":407},{"title":452,"button":453,"config":458},"See how agentic AI transforms software delivery",{"text":454,"config":455},"Watch GitLab Transcend now",{"href":456,"dataGaName":457,"dataGaLocation":46},"/events/transcend/virtual/","transcend event",{"layout":459,"icon":460,"disabled":29},"release","AiStar",{"data":462},{"text":463,"source":464,"edit":470,"contribute":475,"config":480,"items":485,"minimal":692},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"text":465,"config":466},"View page source",{"href":467,"dataGaName":468,"dataGaLocation":469},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/","page source","footer",{"text":471,"config":472},"Edit this page",{"href":473,"dataGaName":474,"dataGaLocation":469},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/content/","web ide",{"text":476,"config":477},"Please contribute",{"href":478,"dataGaName":479,"dataGaLocation":469},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/CONTRIBUTING.md/","please contribute",{"twitter":481,"facebook":482,"youtube":483,"linkedin":484},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[486,533,587,631,658],{"title":186,"links":487,"subMenu":502},[488,492,497],{"text":489,"config":490},"View plans",{"href":188,"dataGaName":491,"dataGaLocation":469},"view plans",{"text":493,"config":494},"Why Premium?",{"href":495,"dataGaName":496,"dataGaLocation":469},"/pricing/premium/","why premium",{"text":498,"config":499},"Why Ultimate?",{"href":500,"dataGaName":501,"dataGaLocation":469},"/pricing/ultimate/","why ultimate",[503],{"title":504,"links":505},"Contact Us",[506,509,511,513,518,523,528],{"text":507,"config":508},"Contact sales",{"href":55,"dataGaName":56,"dataGaLocation":469},{"text":362,"config":510},{"href":364,"dataGaName":365,"dataGaLocation":469},{"text":367,"config":512},{"href":369,"dataGaName":370,"dataGaLocation":469},{"text":514,"config":515},"Status",{"href":516,"dataGaName":517,"dataGaLocation":469},"https://status.gitlab.com/","status",{"text":519,"config":520},"Terms of use",{"href":521,"dataGaName":522,"dataGaLocation":469},"/terms/","terms of use",{"text":524,"config":525},"Privacy statement",{"href":526,"dataGaName":527,"dataGaLocation":469},"/privacy/","privacy statement",{"text":529,"config":530},"Cookie preferences",{"dataGaName":531,"dataGaLocation":469,"id":532,"isOneTrustButton":29},"cookie preferences","ot-sdk-btn",{"title":91,"links":534,"subMenu":543},[535,539],{"text":536,"config":537},"DevSecOps platform",{"href":73,"dataGaName":538,"dataGaLocation":469},"devsecops platform",{"text":540,"config":541},"AI-Assisted Development",{"href":80,"dataGaName":542,"dataGaLocation":469},"ai-assisted development",[544],{"title":545,"links":546},"Topics",[547,552,557,562,567,572,577,582],{"text":548,"config":549},"CICD",{"href":550,"dataGaName":551,"dataGaLocation":469},"/topics/ci-cd/","cicd",{"text":553,"config":554},"GitOps",{"href":555,"dataGaName":556,"dataGaLocation":469},"/topics/gitops/","gitops",{"text":558,"config":559},"DevOps",{"href":560,"dataGaName":561,"dataGaLocation":469},"/topics/devops/","devops",{"text":563,"config":564},"Version Control",{"href":565,"dataGaName":566,"dataGaLocation":469},"/topics/version-control/","version control",{"text":568,"config":569},"DevSecOps",{"href":570,"dataGaName":571,"dataGaLocation":469},"/topics/devsecops/","devsecops",{"text":573,"config":574},"Cloud Native",{"href":575,"dataGaName":576,"dataGaLocation":469},"/topics/cloud-native/","cloud native",{"text":578,"config":579},"AI for Coding",{"href":580,"dataGaName":581,"dataGaLocation":469},"/topics/devops/ai-for-coding/","ai for coding",{"text":583,"config":584},"Agentic AI",{"href":585,"dataGaName":586,"dataGaLocation":469},"/topics/agentic-ai/","agentic ai",{"title":588,"links":589},"Solutions",[590,592,594,599,603,606,610,613,615,618,621,626],{"text":133,"config":591},{"href":128,"dataGaName":133,"dataGaLocation":469},{"text":122,"config":593},{"href":105,"dataGaName":106,"dataGaLocation":469},{"text":595,"config":596},"Agile development",{"href":597,"dataGaName":598,"dataGaLocation":469},"/solutions/agile-delivery/","agile delivery",{"text":600,"config":601},"SCM",{"href":118,"dataGaName":602,"dataGaLocation":469},"source code management",{"text":548,"config":604},{"href":111,"dataGaName":605,"dataGaLocation":469},"continuous integration & delivery",{"text":607,"config":608},"Value stream management",{"href":161,"dataGaName":609,"dataGaLocation":469},"value stream management",{"text":553,"config":611},{"href":612,"dataGaName":556,"dataGaLocation":469},"/solutions/gitops/",{"text":171,"config":614},{"href":173,"dataGaName":174,"dataGaLocation":469},{"text":616,"config":617},"Small business",{"href":178,"dataGaName":179,"dataGaLocation":469},{"text":619,"config":620},"Public sector",{"href":183,"dataGaName":184,"dataGaLocation":469},{"text":622,"config":623},"Education",{"href":624,"dataGaName":625,"dataGaLocation":469},"/solutions/education/","education",{"text":627,"config":628},"Financial services",{"href":629,"dataGaName":630,"dataGaLocation":469},"/solutions/finance/","financial services",{"title":191,"links":632},[633,635,637,639,642,644,646,648,650,652,654,656],{"text":203,"config":634},{"href":205,"dataGaName":206,"dataGaLocation":469},{"text":208,"config":636},{"href":210,"dataGaName":211,"dataGaLocation":469},{"text":213,"config":638},{"href":215,"dataGaName":216,"dataGaLocation":469},{"text":218,"config":640},{"href":220,"dataGaName":641,"dataGaLocation":469},"docs",{"text":241,"config":643},{"href":243,"dataGaName":244,"dataGaLocation":469},{"text":236,"config":645},{"href":238,"dataGaName":239,"dataGaLocation":469},{"text":251,"config":647},{"href":253,"dataGaName":254,"dataGaLocation":469},{"text":259,"config":649},{"href":261,"dataGaName":262,"dataGaLocation":469},{"text":264,"config":651},{"href":266,"dataGaName":267,"dataGaLocation":469},{"text":269,"config":653},{"href":271,"dataGaName":272,"dataGaLocation":469},{"text":274,"config":655},{"href":276,"dataGaName":277,"dataGaLocation":469},{"text":279,"config":657},{"href":281,"dataGaName":282,"dataGaLocation":469},{"title":293,"links":659},[660,662,664,666,668,670,672,676,681,683,685,687],{"text":300,"config":661},{"href":302,"dataGaName":295,"dataGaLocation":469},{"text":305,"config":663},{"href":307,"dataGaName":308,"dataGaLocation":469},{"text":313,"config":665},{"href":315,"dataGaName":316,"dataGaLocation":469},{"text":318,"config":667},{"href":320,"dataGaName":321,"dataGaLocation":469},{"text":323,"config":669},{"href":325,"dataGaName":326,"dataGaLocation":469},{"text":328,"config":671},{"href":330,"dataGaName":331,"dataGaLocation":469},{"text":673,"config":674},"Sustainability",{"href":675,"dataGaName":673,"dataGaLocation":469},"/sustainability/",{"text":677,"config":678},"Diversity, inclusion and belonging (DIB)",{"href":679,"dataGaName":680,"dataGaLocation":469},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":333,"config":682},{"href":335,"dataGaName":336,"dataGaLocation":469},{"text":343,"config":684},{"href":345,"dataGaName":346,"dataGaLocation":469},{"text":348,"config":686},{"href":350,"dataGaName":351,"dataGaLocation":469},{"text":688,"config":689},"Modern Slavery Transparency Statement",{"href":690,"dataGaName":691,"dataGaLocation":469},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":693},[694,697,700],{"text":695,"config":696},"Terms",{"href":521,"dataGaName":522,"dataGaLocation":469},{"text":698,"config":699},"Cookies",{"dataGaName":531,"dataGaLocation":469,"id":532,"isOneTrustButton":29},{"text":701,"config":702},"Privacy",{"href":526,"dataGaName":527,"dataGaLocation":469},[704],{"id":705,"title":9,"body":27,"config":706,"content":708,"description":27,"extension":26,"meta":712,"navigation":29,"path":713,"seo":714,"stem":715,"__hash__":716},"blogAuthors/en-us/blog/authors/itzik-gan-baruch.yml",{"template":707},"BlogAuthor",{"name":9,"config":709},{"headshot":710,"ctfId":711},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749658921/Blog/Author%20Headshots/iganbaruch-headshot.jpg","iganbaruch",{},"/en-us/blog/authors/itzik-gan-baruch",{},"en-us/blog/authors/itzik-gan-baruch","bz9VMiTQ1ixvnoxUFk0jiUcnLG3oQsymgXNCqyRqfsk",[718,730,742],{"content":719,"config":728},{"title":720,"description":721,"authors":722,"heroImage":724,"date":725,"body":726,"category":11,"tags":727},"GitLab and Anthropic: Governed AI for enterprise development","GitLab deepens its Anthropic Claude integration, bringing governed AI, access to new models, and cloud flexibility to enterprise software development.",[723],"Stuart Moncada","https://res.cloudinary.com/about-gitlab-com/image/upload/v1776457632/llddiylsgwuze0u1rjks.png","2026-04-28","For enterprise and public sector leaders, the tension is familiar: Software teams need to move faster with AI, while security, compliance, and regulatory expectations only get more stringent. GitLab deepens its Anthropic Claude integration so organizations get access to newly released Claude models inside GitLab’s intelligent orchestration platform where governance, compliance, and auditability already run.\n\nClaude powers capabilities across GitLab Duo Agent Platform as the default model out of the box, across a variety of use cases from code generation and review to agentic chat and vulnerability resolution. If you've used GitLab Duo, you've already experienced how Duo agents automate workflows across the entire software development lifecycle (SDLC).\n\nThis accelerates the integration of Claude’s capabilities into GitLab, broadens how enterprises can deploy them, and reinforces what makes GitLab fundamentally different as a platform for software development and engineering: governance, compliance, and auditability built into every AI interaction.\n\n> \"GitLab Duo has accelerated how our teams plan, build, and ship software. The combination of Anthropic's Claude and GitLab's platform means we're getting more capable AI without changing how we work or how it is governed.\"\n>\n> – Mans Booijink, Operations Manager, Cube\n\n## The real differentiator: Governed AI\n\nWith GitLab, governance controls and auditing are built into the SDLC. When Claude suggests a code change through the GitLab Duo Agent Platform, that suggestion flows through the same merge request process, the same approval rules, the same security scanning, and the same audit trail as every other change. AI doesn't get a shortcut around your controls. It operates within them.\n\nAs GitLab moves deeper into agentic software development, where AI autonomously handles well-defined tasks, the governance layer becomes more important. An AI agent that can open a merge request, help resolve a vulnerability, or refactor a service needs to be auditable, attributable, and subject to the same policy enforcement as a human developer. That requirement is an architectural decision GitLab made from the start, and one that grows more consequential as AI agents take on broader responsibilities.\n\n## Enterprise deployment flexibility\n\nThis also expands how organizations access the latest Claude models through GitLab. Claude is available within GitLab through Google Cloud's Vertex AI and Amazon Bedrock, which means enterprises can route AI workloads through the hyperscaler commitments and cloud governance frameworks they already have in place. No separate vendor contract. No new data residency questions. Your existing Google Cloud or AWS relationship is the on-ramp. \n\nGitLab is now also available in the [Claude Marketplace](https://claude.com/platform/marketplace), allowing customers to purchase GitLab Credits and apply them toward existing Anthropic spending commitments – consolidating AI spend and simplifying how teams discover and procure GitLab alongside their Anthropic investments.\n\n## Advancing an agentic future\n\nGitLab's vision for agentic software development, where AI handles defined tasks autonomously across planning, coding, testing, securing, and deploying, requires models with strong reasoning, reliability, and safety characteristics. It also requires a platform where those autonomous actions are fully governed.\n\nAgentic workflows demand models with strong reasoning, reliability, and safety characteristics, criteria that guide how GitLab selects and integrates AI model partners. And GitLab's governance framework helps ensure that as AI agents assume more advanced development work, enterprises maintain full visibility and control over what those agents do, when they do it, and how changes are tracked.\n\n## What this means for GitLab customers\n\nIf you're already using GitLab Duo Agent Platform, you'll get access to Claude models and deeper AI assistance across your software development lifecycle, all within the governance framework you already rely on.\n\nIf you're evaluating AI-powered software development platforms, you shouldn't have to choose between advanced AI capabilities and enterprise control. This strategic integration is built to deliver both.\n\n> Want to learn more about GitLab Duo Agent Platform? [Get a demo or start a free trial today](https://about.gitlab.com/gitlab-duo-agent-platform/).",[18,19,282],{"featured":29,"template":15,"slug":729},"gitlab-and-anthropic-governed-ai-for-enterprise-development",{"content":731,"config":740},{"title":732,"description":733,"authors":734,"heroImage":736,"date":737,"body":738,"category":11,"tags":739},"Give your AI agent direct, structured GitLab access with glab CLI","The GitLab CLI (glab) provides AI agents structured, reliable access to projects via the MCP, eliminating friction. This tutorial shows how you can speed up code review and issue triage.",[735],"Kai Armstrong","https://res.cloudinary.com/about-gitlab-com/image/upload/v1776347152/unw3mzatkd5xyfbzcnni.png","2026-04-27","\nWhen teams use GitLab Duo, Claude, Cursor, and other AI assistants, more of the development workflow runs through an AI agent acting on your behalf — reading issues, reviewing merge requests, running pipelines, and helping you ship faster. Most developers are already using the GitLab CLI (`glab`) from the terminal to interact with GitLab. Combining the two is a natural next step.\n\n\nThe problem is that without the right tools, AI agents are essentially guessing when it comes to your GitLab projects. They might hallucinate the details of an issue they've never seen, summarize a merge request based on stale training data rather than its actual state, or require you to manually copy context from a browser tab and paste it into a chat window just to get started. Every one of those workarounds is friction: it slows you down, introduces the possibility of error, and puts a hard ceiling on what your agent can actually do on your behalf. `glab` changes that by giving agents a direct, reliable interface to your projects.\n\n\nWith `glab`, your agent fetches what it needs directly from GitLab, acts on it, and reports back — so you spend less time relaying information and more time on the work that matters.\n\n\nIn this tutorial, you'll learn how to use `glab` to give AI agents structured, reliable access to your GitLab projects. You'll also discover how that unlocks a faster, more capable development workflow.\n\n\n## How to connect your AI agent to GitLab through MCP\n\n\nThe most direct way to supercharge your AI workflow is to give your AI agent native access to `glab` through Model Context Protocol ([MCP](https://about.gitlab.com/topics/ai/model-context-protocol/)).\n\n\n MCP is an open standard that lets AI tools discover and use external capabilities at runtime. Once connected, your AI assistant can read issues, comment on merge requests, check pipeline status, and write back to GitLab, all without copying anything from the UI or writing a single API call yourself.\n\n\n To get started, run:\n\n\n ```shell\n # Start the glab MCP server\n glab mcp serve\n ```\n\n\n Once your MCP client is configured, your AI can answer questions like *\"What's the status of my open MRs?\"* or *\"Are there any failing pipelines on main?\"* by querying GitLab directly, not scraping the web UI, not relying on stale training data. See the [full setup docs](https://docs.gitlab.com/cli/) for configuration steps for Claude Code, Cursor, and other editors.\n\n\n One detail worth knowing: `glab` automatically adds `--output json` when invoked through MCP, for any command that supports it. Your agent gets clean, structured data without you needing to think about output formats. And because `glab` uses the official MCP SDK, it stays compatible as the\n protocol evolves.\n\n\n We've also been deliberate about *which* commands are exposed through MCP. Commands that require interactive terminal input are intentionally\n excluded, so your agent never gets stuck waiting for input that will never come. What's exposed is what actually works reliably in an agent context.\n\n\n ## Let your AI participate in code review\n\n\n Most developers have a backlog of MRs waiting for review. It's one of the most time-consuming parts of the job and one of the best places to put\n AI to work. With `glab`, your agent doesn't just observe your review queue, it can work through it with you.\n\n\n ### See exactly what still needs addressing\n\n\n Start with this:\n\n\n ```shell\n glab mr view 2677 --comments --unresolved --output json\n ```\n\n\n This input returns the full MR: metadata, description, and every\n unresolved discussion, as a single structured JSON payload. Hand that to\n your AI and it has everything it needs: which threads are open, what the\n reviewer asked for, and in what context. No tab-switching, no copy-pasting\n individual comments.\n\n\n \n ```json\n {\n   \"id\": 2677,\n   \"title\": \"feat: add OAuth2 support\",\n   \"state\": \"opened\",\n   \"author\": { \"username\": \"jdwick\" },\n   \"labels\": [\"backend\", \"needs-review\"],\n   \"blocking_discussions_resolved\": false,\n   \"discussions\": [\n     {\n       \"id\": \"3107030349\",\n       \"resolved\": false,\n       \"notes\": [\n         {\n           \"author\": { \"username\": \"dmurphy\" },\n           \"body\": \"This error handling will swallow panics — consider wrapping with recover()\",\n           \"created_at\": \"2026-03-14T09:23:11.000Z\"\n         }\n       ]\n     },\n     {\n       \"id\": \"3107030412\",\n       \"resolved\": false,\n       \"notes\": [\n         {\n           \"author\": { \"username\": \"sreeves\" },\n           \"body\": \"Token refresh logic needs a test for the expired token case\",\n           \"created_at\": \"2026-03-14T10:05:44.000Z\"\n         }\n       ]\n     }\n   ]\n }\n ```\n\n\n Instead of reading through every thread yourself, you ask your agent  *\"what do I still need to fix in MR 2677?\"* and get back a prioritized summary with suggested changes. This all happens from a single command.\n\n\n ### Close the loop programmatically\n\n\n Once your AI has helped you address the feedback, it can resolve\n discussions:\n\n\n ```shell\n # List all discussions — structured, ready for the agent to process\n glab mr note list 456 --output json\n\n # Resolve a discussion once the feedback is addressed\n glab mr note resolve 456 3107030349\n\n # Reopen if something needs another look\n glab mr note reopen 456 3107030349\n ```\n\n\n\n ```json\n [\n   {\n     \"id\": 3107030349,\n     \"body\": \"This error handling will swallow panics — consider wrapping with recover()\",\n     \"author\": { \"username\": \"dmurphy\" },\n     \"resolved\": false,\n     \"resolvable\": true\n   },\n   {\n     \"id\": 3107030412,\n     \"body\": \"Token refresh logic needs a test for the expired token case\",\n     \"author\": { \"username\": \"sreeves\" },\n     \"resolved\": false,\n     \"resolvable\": true\n   }\n ]\n ```\n\n\n\n Note IDs are visible directly in the GitLab UI and API, no extra lookup needed. Your agent can work through the full list, verify each fix, and\n resolve as it goes.\n\n\n ## Talk to your AI about your code more effectively\n\n\n Even if you're not running an MCP server, there's a simpler shift that makes a huge difference: using `glab` to feed your AI better information.\n\n\n Think about the last time you asked an AI assistant to help triage issues or debug a failing pipeline. You probably copied some text from the GitLab UI and pasted it into the chat. Here's what your agent is actually\n working with when you do that:\n\n\n ```text\n open issues: 12 • milestone: 17.10 • label: bug, needs-triage ...\n ```\n\n\n Compare that to what it gets with `glab`:\n\n\n \n ```json\n [\n   {\n     \"iid\": 902,\n     \"title\": \"Pipeline fails on merge to main\",\n     \"labels\": [\"bug\", \"needs-triage\"],\n     \"milestone\": { \"title\": \"17.10\" },\n     \"assignees\": []\n   },\n   ...\n ]\n ```\n\n\n Structured, typed, complete; no ambiguity, no parsing guesswork. That's the difference between an agent that can act and one that has to ask\n follow-up questions.\n\n\n If you're using the MCP server, you get this automatically: `glab` adds `--output json` for any command that supports it. If you're working directly\n from the terminal, just add the flag yourself:\n\n\n ```shell\n # Pull open issues for triage\n glab issue list --label \"needs-triage\" --output json\n\n # Check pipeline status\n glab ci status --output json\n\n # Get full MR details\n glab mr view 456 --output json\n ```\n\n\n We've significantly expanded JSON output support in recent releases. It now covers CI status, milestones, labels, releases, schedules, cluster agents, work items, MR approvers, repo contributors, and more. If `glab` can\n retrieve it, your AI can consume it cleanly.\n\n\n ### A real workflow\n\n\n ```shell\n $ glab issue list --label \"needs-triage\" --milestone \"17.10\"\n --output json\n ```\n\n\n ```text\n Agent: I found 2 unassigned bugs in the 17.10 milestone that need triage:\n 1. #902 — Pipeline fails on merge to main (opened 5 days ago)\n 2. #903 — Auth token not refreshing on expiry (opened 4 days ago)\n Both are unassigned. Want me to draft triage notes and suggest assignees based on recent commit history?\n ```\n\n\n ## Your agent is never limited to built-in commands\n\n\n `glab`'s first-class commands cover the most common workflows, but your agent is never limited to them. Through `glab api`, it has authenticated access to the full GitLab REST and GraphQL API surface, using the same session, with no extra credentials or configuration required.\n\n\n This is a meaningful differentiator. Most CLI tools stop at what their commands expose. With `glab`, if GitLab's API supports it, your agent can do it. It's always working from a trusted, authenticated context.\n\n\n A practical example: fetching just the list of changed files in an MR before deciding which diffs to pull in full:\n\n\n ```shell\n # Get changed file paths — lightweight, no diff content yet\n glab api \"/projects/$CI_PROJECT_ID/merge_requests/$CI_MERGE_REQUEST_IID/diffs?per_page=100\" \\\n | jq '.[].new_path'\n\n# Then fetch only the specific file your agent needs\nglab api \"/projects/$CI_PROJECT_ID/merge_requests/$CI_MERGE_REQUEST_IID/diffs?per_page=100\" \\\n| jq '.[] | select(.new_path == \"path/to/file.go\")'\n ```\n\n\n ```text\n \"internal/auth/token.go\"\n \"internal/auth/token_test.go\"\n \"internal/oauth/refresh.go\"\n ```\n\n\n For anything the REST API doesn't cover (epics, certain work item queries, complex cross-project data),  `glab api graphql` gives you the full\n GraphQL interface:\n\n\n ```shell\n   glab api graphql -f query='\n {\n   project(fullPath: \"gitlab-org/gitlab\") {\n     mergeRequest(iid: \"12345\") {\n       title\n       reviewers { nodes { username } }\n     }\n   }\n }'\n ```\n\n ```json\n{\n   \"data\": {\n     \"project\": {\n       \"mergeRequest\": {\n         \"title\": \"feat: add OAuth2 support\",\n         \"reviewers\": {\n           \"nodes\": [\n             { \"username\": \"dmurphy\" },\n             { \"username\": \"sreeves\" }\n           ]\n         }\n       }\n     }\n   }\n }\n\n ```\n\n\n Your agent has a single, authenticated entry point to everything GitLab exposes without the token juggling, separate API clients, or configuration\n overhead.\n\n\n ## What's coming and your feedback\n\n\n Two improvements we're actively working on will make `glab` even more useful for agent workflows:\n\n\n **Agent-aware help text.** Today, `--help` output is written for humansvat a terminal. We're updating it to surface the non-interactive alternative\n for every interactive command, flag which commands support `--output json`, and generally make help a useful resource for agents discovering\n capabilities at runtime — not just humans.\n\n\n **Better machine-readable errors.** When something goes wrong today, agents get the same human-readable error messages as terminal users. We're\n changing that so errors in JSON mode return structured output, giving your agent the information it needs to handle failures gracefully, retry intelligently, or surface the right context back to you.\n\n\n Both of these are in active development. If you're already using `glab` with an AI tool, you're exactly the audience we want feedback from.\n\n\n * **What friction are you hitting?** Commands that don't behave well in agent contexts, error messages that aren't actionable, gaps in JSON output\n coverage. We want to know.\n\n * **What workflows have you unlocked?** Real usage patterns help us prioritize what to build next.\n\n\n Join the discussion in [our feedback issue](https://gitlab.com/gitlab-org/cli/-/issues/8177) — that's where we're shaping the roadmap for agent-friendliness, and where your input will have the most direct impact. If you've found a specific gap, [open an issue](https://gitlab.com/gitlab-org/cli/-/issues/new). If you've got a fix in mind, contributions are welcome. Visit [CONTRIBUTING.md](https://gitlab.com/gitlab-org/cli/-/blob/main/CONTRIBUTING.md) to get started.\n\n\n The GitLab CLI has always been about giving developers more control over their workflow. As AI becomes a bigger part of how we all work, that means making `glab` the best possible interface between your AI tools and your GitLab projects. We're just getting started and we'd love to build the next part with you.\n",[18,19,21],{"featured":29,"template":15,"slug":741},"give-your-ai-agent-direct-structured-gitlab-access-with-glab-cli",{"content":743,"config":751},{"title":744,"description":745,"authors":746,"heroImage":736,"date":748,"body":749,"category":11,"tags":750},"GitHub Copilot's new policy for AI training is a governance wake-up call","Learn what GitHub's Copilot policy change means for regulated industries, and why GitLab's commitment to customer data privacy matters.",[747],"Allie Holland","2026-04-20","GitHub recently [announced](https://github.blog/news-insights/company-news/updates-to-github-copilot-interaction-data-usage-policy/) a significant change to how it handles data from Copilot users. Starting April 24, 2026, interaction data from Copilot Free, Pro, and Pro+ users, including inputs, outputs, code snippets, and associated context, will be used to train AI models by default, unless users actively opt out. Copilot Business and Enterprise customers are exempt under existing contract terms.\n\nFor organizations in regulated industries, including finance, healthcare, defense, and public sector, the policy shift raises questions that go beyond individual developer preferences. It forces a harder look at a question that engineering and security leaders should be asking every AI vendor in their stack: Do you train on our code? \n\nGitLab's answer is no. GitLab does not train AI models on customer code at any tier, and AI vendors are contractually prohibited from using customer inputs or outputs for their own purposes. The [GitLab AI Transparency Center](https://about.gitlab.com/ai-transparency-center/) makes that commitment auditable: a single location documenting which models power which features, how data is handled, subprocessor relationships, and data retention periods. The GitLab AI Transparency Center also lists the compliance status of each feature, including confirmation that GitLab's current AI features do not qualify as high-risk systems under the EU AI Act. It's a standard GitLab CEO Bill Staples has consistently [reiterated](https://www.linkedin.com/posts/williamstaples_gitlab-1810-agentic-ai-now-open-to-even-activity-7443280763715985408-aHxf?utm_source=share&utm_medium=member_desktop&rcm=ACoAABsu7EUBcb_a1-JHKS9RC0B5rf8Ye-5XM60) and one reflected in GitLab's mission and [Trust Center](https://trust.gitlab.com/).\n\n## What the policy change actually means\n\nGitHub's announcement also specifies that the data may be shared with GitHub affiliates, including Microsoft, for AI development purposes.\n\nA policy change of this nature forces organizations to re-examine their AI governance posture, audit their Copilot license tiers, and confirm that the right controls are configured across their teams.\n\n## Why AI governance matters in regulated environments\n\nSource code is often among an organization's most sensitive intellectual property. It may contain references to internal systems, reflect proprietary business logic, or touch data flows governed by strict retention and access policies. When that code passes through an AI assistant, questions about training data usage, model vendor relationships, and data residency become compliance concerns.\n\nThe exposure is particularly acute for financial services firms that have invested in proprietary algorithms, fraud detection logic, credit risk models, underwriting rules, trading strategies. When AI tooling processes that code and uses it to train models serving competitors, vendor data practices become an IP concern.\n\nFinancial institutions operating under [the Federal Reserve's Supervisory Guidance on Model Risk Management (SR 11-7) and the](https://www.federalreserve.gov/supervisionreg/srletters/sr1107.htm) [Digital Operational Resilience Act (DORA)](https://eur-lex.europa.eu/eli/reg/2022/2554/oj/eng) are required to maintain documented, auditable oversight of third-party technology providers, including understanding how those providers handle data. Third-party AI tools used in development workflows increasingly fall within the scope of model risk oversight, and material changes to vendor data practices require updated documentation. \n\nIn the public sector, [the National Institute of Standards and Technology Special Publication 800-53 (NIST 800-53)](https://csrc.nist.gov/publications/detail/sp/800-53/rev-5/final) and the [Federal Information Security Modernization Act (FISMA)](https://www.cisa.gov/topics/cyber-threats-and-advisories/federal-information-security-modernization-act) establish that sensitive or classified code must never leave a controlled boundary. For U.S. Department of Defense and intelligence community environments in particular, a vendor's default data posture is an operational concern. In healthcare, [the Health Insurance Portability and Accountability Act (HIPAA)](https://www.hhs.gov/hipaa/index.html) governs how patient-adjacent data is handled by third parties, and development environments that touch clinical systems increasingly fall within that scope.\n\nAcross all of these contexts, the common thread is the same: A vendor policy that changes data usage defaults, requires individual opt-out, and offers different protections depending on account tier introduces exactly the kind of uncontrolled variable that compliance teams cannot afford.\n\n## What regulated industries actually need from AI vendors\n\nRegulated organizations have largely moved past debating whether to adopt AI in development workflows. The focus now is on doing so in a way they can defend to regulators, boards, and customers. That shift has surfaced a consistent set of requirements regardless of sector.\n\n**Contractual certainty.** Regulated firms need to know, with specificity, what happens to their data. A clear, documented, unconditional commitment is what's required, not something that varies by plan or requires action before a deadline.\n\n**Auditability.** Model risk management frameworks require organizations to understand and validate the AI systems they deploy, including the training data behind those models and the third parties involved in their development. Vendors who cannot answer these questions create documentation risk for the organizations relying on them.\n\n**Separation from vendor incentives.** When an AI vendor trains models on customer usage data, code and workflows become inputs to a system that also serves competitors. For institutions with proprietary trading logic, underwriting models, or fraud detection systems, that's a genuine IP exposure.\n\n## GitLab's position on AI data governance\n\nGitLab does not use customer code to train AI models. This commitment applies at every tier, and AI vendors are contractually prohibited from using inputs or outputs associated with GitLab customers for their own purposes.\n\nThis is a deliberate architectural and policy choice, not a feature of a particular pricing tier. As GitLab's [post on enterprise independence](https://about.gitlab.com/blog/why-enterprise-independence-matters-more-than-ever-in-devsecops/) notes, data governance has become \"an increasingly critical factor in enterprise technology decisions, driven by a complex web of national and regional data protection laws and growing concern about control over sensitive intellectual property.\"\n\nGitLab is also cloud-neutral and model-neutral while supporting self-hosted deployments, not commercially tied to any single cloud provider or large language model (LLM). That i[ndependence matters](https://about.gitlab.com/blog/why-enterprise-independence-matters-more-than-ever-in-devsecops/) for regulated organizations evaluating vendor concentration risk. The [AI Continuity Plan](https://handbook.gitlab.com/handbook/product/ai/continuity-plan/) documents how vendor changes are managed, including material changes to how AI vendors treat customer data, a direct response to the governance requirements under frameworks like [DORA](https://handbook.gitlab.com/handbook/legal/dora/). \n\n## The governance gap AI teams need to close\n\nGitHub's policy update is a reminder that for organizations in regulated industries, understanding exactly how an AI tool handles data is a prerequisite for using it at all. That means asking vendors for clear, documented answers: Is our data used for model training? Who are your AI model subprocessors? What happens if a vendor changes its data practices? Can we deploy in a way that keeps all AI processing within our own infrastructure? What indemnification do you offer for AI-generated output?\n\nVendors who can answer those questions clearly, and document those answers in an auditable form, are vendors you can build on. **Those who cannot will create compliance debt every time they ship a policy update.** And when a vendor can change its data practices with 30 days notice, that's not a partnership built for regulated industries. That's a liability.\n\n> Learn more about GitLab's approach to AI governance at the [GitLab AI Transparency Center](https://about.gitlab.com/ai-transparency-center/).",[18,19],{"featured":14,"template":15,"slug":752},"github-copilots-new-policy-for-ai-training-is-a-governance-wake-up-call",{"promotions":754},[755,768,779,791],{"id":756,"categories":757,"header":758,"text":759,"button":760,"image":765},"ai-modernization",[11],"Is AI achieving its promise at scale?","Quiz will take 5 minutes or less",{"text":761,"config":762},"Get your AI maturity score",{"href":763,"dataGaName":764,"dataGaLocation":244},"/assessments/ai-modernization-assessment/","modernization assessment",{"config":766},{"src":767},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/qix0m7kwnd8x2fh1zq49.png",{"id":769,"categories":770,"header":771,"text":759,"button":772,"image":776},"devops-modernization",[19,571],"Are you just managing tools or shipping innovation?",{"text":773,"config":774},"Get your DevOps maturity score",{"href":775,"dataGaName":764,"dataGaLocation":244},"/assessments/devops-modernization-assessment/",{"config":777},{"src":778},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138785/eg818fmakweyuznttgid.png",{"id":780,"categories":781,"header":783,"text":759,"button":784,"image":788},"security-modernization",[782],"security","Are you trading speed for security?",{"text":785,"config":786},"Get your security maturity score",{"href":787,"dataGaName":764,"dataGaLocation":244},"/assessments/security-modernization-assessment/",{"config":789},{"src":790},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/p4pbqd9nnjejg5ds6mdk.png",{"id":792,"paths":793,"header":796,"text":797,"button":798,"image":803},"github-azure-migration",[794,795],"migration-from-azure-devops-to-gitlab","integrating-azure-devops-scm-and-gitlab","Is your team ready for GitHub's Azure move?","GitHub is already rebuilding around Azure. Find out what it means for you.",{"text":799,"config":800},"See how GitLab compares to GitHub",{"href":801,"dataGaName":802,"dataGaLocation":244},"/compare/gitlab-vs-github/github-azure-migration/","github azure migration",{"config":804},{"src":778},{"header":806,"blurb":807,"button":808,"secondaryButton":813},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":809,"config":810},"Get your free trial",{"href":811,"dataGaName":51,"dataGaLocation":812},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":507,"config":814},{"href":55,"dataGaName":56,"dataGaLocation":812},1777493601624]