[{"data":1,"prerenderedAt":825},["ShallowReactive",2],{"/en-us/blog/introduction-to-gitlab-duo-agent-platform":3,"navigation-en-us":39,"banner-en-us":460,"footer-en-us":470,"blog-post-authors-en-us-Itzik Gan Baruch":712,"blog-related-posts-en-us-introduction-to-gitlab-duo-agent-platform":726,"blog-promotions-en-us":763,"next-steps-en-us":815},{"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":34,"tagSlugs":35,"tags":37,"template":15,"updatedDate":27,"__hash__":38},"blogPosts/en-us/blog/introduction-to-gitlab-duo-agent-platform.yml","Introduction to GitLab Duo Agent Platform",[7],"itzik-gan-baruch",[9],"Itzik Gan Baruch","*Welcome to Part 1 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\nGitLab Duo Agent Platform represents a fundamental shift in how developers interact with AI during the software development lifecycle. Moving beyond code into full SDLC context, GitLab Duo Agent Platform enables multiple specialized AI agents to work alongside your team, handling complex tasks asynchronously while you focus on innovation and problem-solving.\n\nGitLab Duo Agent Platform transforms traditional linear development workflows into dynamic, multi-agent collaboration systems.\n\n## What is GitLab Duo Agent Platform?\n\n[GitLab Duo Agent Platform](https://about.gitlab.com/gitlab-duo-agent-platform/) is an AI orchestration layer that enables:\n\n- Asynchronous collaboration between developers and specialized AI agents\n- Full SDLC context across code, issues, epics, merge requests, CI/CD pipelines, wikis, analytics, and security scans\n- Multi-agent flows where many agents collaborate in parallel on complex tasks\n- Intelligent automation that understands your organization's standards, practices, and compliance requirements\n\nThink of it as adding AI team members who can take on entire workflows, from understanding requirements to creating merge requests, while you maintain full visibility and control.\n\n> 🎯 Try [**GitLab Duo Agent Platform**](https://about.gitlab.com/gitlab-duo-agent-platform/) today!\n## Platform architecture\n\nGitLab Duo Agent Platform consists of several interconnected components working together to provide comprehensive AI assistance. The diagram below shows the *user interaction methods* with GitLab Duo Agent Platform. It illustrates the four ways users can engage with agents:\n\n\n\n\n![GitLab Duo Agent Platform architecture diagram](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373441/k0ktrcnyuqbq3unbcvyp.png \"GitLab Duo Agent Platform architecture diagram\")\n\n### How teams interact with GitLab Duo Agent Platform\n\n**Four ways to use agents**\n\n1. **GitLab Duo Agentic Chat** — Open the chat panel in the GitLab UI or your IDE for interactive conversations with foundational and custom agents. Select from available AI models and get real-time help.\n\n2. **Trigger Custom Flows** — Mention flows in issue or merge request comments, or assign reviewers to automatically trigger Custom Flows. These run asynchronously via runner execution.\n\n3. **Trigger Foundational Flows** — Built and maintained by GitLab, including **[Developer](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/developer/)**, **[Code Review](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/code_review/)**, **[Fix CI/CD Pipeline](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/fix_pipeline/)**, **[Convert Jenkins to GitLab CI/CD](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/convert_to_gitlab_ci/)**, and **[Software Development Flow](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/convert_to_gitlab_ci/)**.\n4. **Trigger External Agents** — Assign or mention external AI agents (like Claude Code or OpenAI Codex) in issue or merge request comments to automatically trigger them. These run asynchronously via runner execution.\n\n**Where to manage and discover**\n\n- **AI Catalog** — Browse, create, and share agents and flows across your organization. Discover agents and flows created by GitLab and your team, then add them to your projects. You can also create and publish your own custom agents and flows for others to use.\n\n- **Automate Capabilities** — Your central hub for managing everything. View and manage your agents, configure and monitor flows, review all activity in sessions (including pipeline status), and set up triggers for event-based automation.\n\nLet's explore each component briefly (we'll dive deeper in subsequent posts):\n\n**GitLab Duo Agentic Chat**\n\nYour primary interface for interacting with agents. Available as a persistent panel in the GitLab UI and in your IDE. Learn more in [Part 2: Getting Started with GitLab Duo Agentic Chat](/blog/getting-started-with-gitlab-duo-agentic-chat/).\n\n![GitLab Duo Agentic Chat](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/gdkojstbdsruen4bo5fw.png \"GitLab Duo Agentic Chat panel in the web UI\")\n\n![GitLab Duo Agentic Chat IDE](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373438/gjojavrvjhhvglgkvxmw.png \"GitLab Duo Agentic Chat panel in VS Code\")\n\n**Agents**\n\nAgents are specialized AI-powered assistants designed to handle specific tasks throughout your development workflow. Think of them as team members with unique expertise and capabilities.\n\n| Type | Description | Where Used | Setup Required |\n|------|-------------|------------|----------------|\n| **[Foundational](https://docs.gitlab.com/user/duo_agent_platform/agents/foundational_agents/)** | Maintained by GitLab for common development workflows (Security Analyst, Planner, GitLab Duo), available by default in the chat of any project| GitLab Duo Chat | No |\n| **[Custom](https://docs.gitlab.com/user/duo_agent_platform/agents/custom/)** | Created by you for team-specific needs with custom prompts and tools | GitLab Duo Chat | Yes |\n| **[External](https://docs.gitlab.com/user/duo_agent_platform/agents/external/)** | External AI providers (Claude, OpenAI) triggered via mentions or assignments | @mentions, assignments | Optional |\n### About external agents\nExternal agents run in the background on GitLab platform compute when triggered by mentions (e.g., `@ai-codex`) or assignments in issues and merge requests. Unlike foundational and custom agents that use synchronous feedback loops, external agents execute asynchronously, enabling powerful automation with specialized AI providers.\n### What makes agents powerful\n- **Specialized prompts**: Each agent has a unique system prompt that defines its expertise, behavior, and communication style.\n- **Access to tools**: Agents can read files, access issues/MRs/epics, search code, analyze CI/CD job logs and vulnerability reports, and more based on their configuration.\n- **Project context:** Access to issues, merge requests, code, CI/CD pipelines, and security vulnerabilities.\n\nLearn more in [Part 3: Understanding agents](/blog/understanding-agents-foundational-custom-external/). Discover how to create custom agents, integrate external AI providers, and configure agent prompts and tools for your team's specific needs.\n\n**Flows**\n\nFlows are multi-step workflows that combine multiple actions to solve complex problems. Unlike agents that respond to questions, flows execute complete workflows autonomously via runner execution.\n\n| Type | Description | Where Triggered | Setup Required |\n|------|-------------|-----------------|----------------|\n| **[Foundational](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/)** | Maintained by GitLab for common development workflows (Developer, Fix Pipeline, Convert Jenkins to GitLab CI/CD, Software Development) | You invoke using dedicated UI action buttons, or using the IDE extension Flows tab| No |\n| **[Custom](https://docs.gitlab.com/user/duo_agent_platform/flows/custom/)** | User-defined workflows you create, tailored to your needs | Mentions in issues/MRs, assignment | Yes |\n### What makes flows powerful\n- **Multi-step execution**: Combine multiple operations into a single workflow\n- **Asynchronous processing**: Run in background while you continue working\n- **Full pipeline access**: Execute via runner execution with complete project context\n- **Event-driven**: Automatically triggered by GitLab events\n\nLearn more in [Part 4: Understanding flows](/blog/understanding-flows-multi-agent-workflows/), including multi-agent workflows.\n\n## Agents vs. flows: What's the difference?\n\nUnderstanding when to use an agent vs. a flow is key to working effectively with GitLab Duo Agent Platform.\n\n| Aspect | Agents (Interactive in Chat) | Flows (Automated on Platform) |\n|--------|------------------------------|-------------------------------|\n| **Purpose** | Interactive work, quick iterations, conversational guidance | Complex multi-step tasks, background automation, event-driven workflows |\n| **Where** | GitLab Duo Chat (Web UI, IDEs) | Issues, Merge Requests, UI action buttons |\n| **How** | Real-time conversation with ability to take actions | Triggered by events or button clicks |\n| **Execution** | Interactive, runs immediately in chat context | Asynchronous via runner execution |\n| **Example** | \"Refactor this function\" (agent modifies code), \"Create tests\" (agent generates test file) | \"Generate MR for issue #123\" (flow creates branch, commits, opens MR) |\n### Quick decision guide\n- Working interactively or want instant feedback? → Use chat\n- Need background automation, MR review, or complex multi-file tasks? → Use flow\n### Key insight\n\nBoth agents and flows can take actions and create code. The main difference is how they interact and run: Agents communicate interactively in your chat interface, while flows run asynchronously in the background on platform compute.\n\n#### AI Catalog\n\nA centralized library where you can browse, discover, create, and share agents and flows across your organization, detailed in [Part 5: AI Catalog](/blog/ai-catalog-discover-and-share-agents/).\n\n![AI Catalog](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618250/sdtnio4rrbmwlh4iia4l.png \"AI Catalog\")\n\n#### Automate capabilities\n\nYour hub for managing agent and flow workflows:\n\n- **Agents**: View and manage agents in your project, detailed in [Part 3](/blog/understanding-agents-foundational-custom-external/).\n- **Flows**: View, create, and manage flows in your project, detailed in [Part 4](/blog/understanding-flows-multi-agent-workflows/).\n- **Sessions**: Agent activity logs\n- **Triggers**: Event-based automation management for flows in your project\n\n## Understanding sessions\n\nEvery agent and flow execution creates a session that logs agentic activities. Sessions provide full transparency into what happened, including agent reasoning, execution details, tool calling, outputs, and the complete decision trail.\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\nTo view sessions: Navigate to your project > **Automate** > **Sessions**. From there, you can access the pipeline console to see detailed execution logs.\n\n## Model selection\n\nOne of the powerful features of GitLab Duo Agent Platform is the ability to choose which AI model powers your conversation.\n\n**Available in:** GitLab 18.4 and later\n\n**How to select:**\n\n1. Open GitLab Duo Agentic Chat.\n2. Look for the model dropdown.\n3. Click to see available models.\n4. Select the model best suited for your task.\n\n**Note:** Model selection is currently available in the Web UI only. IDE integration uses the default model selected for your group.\n\n## Your first agent interaction\n\nLet's walk through a simple first interaction with GitLab Duo Agentic Chat:\n\n### Example 1: Understanding your project (Agent)\n\n**Scenario:** You've just joined a project and need to understand its structure and architecture.\n\n**Steps:**\n\n1. Open GitLab Duo Chat panel (click Duo icon in top-right).\n2. Ensure Agentic mode (Beta) is toggled on.\n3. Select the Duo Agent (default).\n4. Type: \"Give me an overview of this project's architecture.\"\n5. Press **Enter**.\n\n**What happens:**\n\nThe agent:\n- Analyzes your repository structure\n- Reviews your README, code organization, and documentation\n- Provides a comprehensive overview with key components\n\nYou can ask follow-up questions for clarification.\n\n![Chat showing architecture overview](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373438/rvdxbupzh8bupt674kyc.png \"Chat showing Architecture Overview\")\n\n\n\n\n### Example 2: Generating a merge request (Flow)\n\n**Scenario:** You have an issue that needs to be resolved with code changes.\n\n**Steps:**\n\n1. Open the issue in GitLab.\n2. Click **Generate MR with Duo** button.\n3. An agent session starts.\n4. Within a few minutes, an MR is created with:\n\n   - Code changes across multiple files\n\n   - A descriptive commit message\n\n   - An explanation of changes in MR description\n\n\n**What happens:**\n\nThe Developer Flow:\n- Analyzes the issue\n- Understands repository structure, design patterns, and SDLC context\n- Makes appropriate code changes\n- Opens a ready-to-review MR\n\n\n\n\n![Issue with Generate MR with Duo button](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373443/gq57mpgyftvru1fyqh4o.png \"Issue with Generate MR with Duo button\")\n\n\n\n\n## Common questions\n\n**Q: Are my conversations with agents private?**\n\nA: Yes. Conversations follow GitLab's standard privacy and security models. [Learn more.](https://docs.gitlab.com/user/gitlab_duo/data_usage/)\n\n**Q: Can I use GitLab Duo Agent Platform with self-hosted models?**\n\nA: Yes, starting with GitLab 18.8, it requires additional setup. See [GitLab documentation](https://docs.gitlab.com/administration/gitlab_duo_self_hosted/configure_duo_features/#configure-access-to-the-gitlab-duo-agent-platform).\n\n## What's next?\n\nNow that you understand the basics of GitLab Duo Agent Platform, you're ready to dive deeper into each component:\n\n- **[Part 2: Getting started with GitLab Duo Agentic Chat](/blog/getting-started-with-gitlab-duo-agentic-chat/)** — Master the persistent chat panel, learn model selection strategies, understand agent switching, and use chat effectively across Web UI and all supported IDEs.\n\n- **[Part 3: Understanding agents](/blog/understanding-agents-foundational-custom-external/)** — Explore foundational agents built by GitLab, create custom agents with specialized prompts for your team's workflows, and integrate external CLI agents from providers like Claude Code and OpenAI Codex.\n\n- **[Part 4: Understanding flows](/blog/understanding-flows-multi-agent-workflows/)** — Discover how flows orchestrate multiple agents to solve complex problems, create custom YAML-defined workflows, and leverage external AI providers for automated pipeline execution.\n\n- **[Part 5: AI Catalog](/blog/ai-catalog-discover-and-share-agents/)** — Browse the centralized repository to discover agents and flows created by GitLab and the community, add them to your projects, and publish your own solutions for others to use.\n\n- **[Part 6: Monitor, manage, and automate AI workflows](/blog/monitor-manage-automate-ai-workflows/)** — Monitor all agent and flow activity through sessions, set up event-driven triggers to automate workflows, and manage your entire GitLab Duo Agent Platform ecosystem from one central location.\n\n- **[Part 7: Model Context Protocol integration](/blog/duo-agent-platform-with-mcp/)** — Extend GitLab Duo's capabilities by connecting to external tools like Jira, Slack, and AWS through the open MCP standard, and enable external AI tools to access your GitLab data.\n- **[Part 8: Customizing GitLab Duo Agent Platform](/blog/customizing-gitlab-duo-chat-rules-prompts-workflows/)** - Configure custom chat rules, create system prompts for agents, set up agent tools, integrate external systems with MCP, and customize flows for your team's specific needs.\n\n## Resources\n\n- [GitLab Duo Agent Platform documentation](https://docs.gitlab.com/user/duo_agent_platform/)\n- [GitLab Duo Agent Platform site](https://about.gitlab.com/gitlab-duo-agent-platform/)\n- [GitLab Community Forum](https://forum.gitlab.com/)\n\n---\n\n**Next:** [Part 2: Getting started with GitLab Duo Agentic Chat](/blog/getting-started-with-gitlab-duo-agentic-chat/)","ai-ml",{"slug":13,"featured":14,"template":15},"introduction-to-gitlab-duo-agent-platform",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],"Learn the basics of GitLab Duo Agent Platform and complete your first agent interaction.","yml",null,{},true,"/en-us/blog/introduction-to-gitlab-duo-agent-platform","seo:\n  noIndex: false\n  title: 'Introduction to GitLab Duo Agent Platform'\n  description: Learn the basics of GitLab Duo Agent Platform and complete your first agent interaction.\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: Learn the basics of GitLab Duo Agent Platform and complete your first agent interaction.\n  title: 'Introduction to GitLab Duo Agent Platform'\n  body: >-\n    *Welcome to Part 1 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    GitLab Duo Agent Platform represents a fundamental shift in how developers interact with AI during the software development lifecycle. Moving beyond code into full SDLC context, GitLab Duo Agent Platform enables multiple specialized AI agents to work alongside your team, handling complex tasks asynchronously while you focus on innovation and problem-solving.\n\n\n    GitLab Duo Agent Platform transforms traditional linear development workflows into dynamic, multi-agent collaboration systems.\n\n\n    ## What is GitLab Duo Agent Platform?\n\n\n    [GitLab Duo Agent Platform](https://about.gitlab.com/gitlab-duo-agent-platform/) is an AI orchestration layer that enables:\n\n\n    - Asynchronous collaboration between developers and specialized AI agents\n\n    - Full SDLC context across code, issues, epics, merge requests, CI/CD pipelines, wikis, analytics, and security scans\n\n    - Multi-agent flows where many agents collaborate in parallel on complex tasks\n\n    - Intelligent automation that understands your organization's standards, practices, and compliance requirements\n\n\n    Think of it as adding AI team members who can take on entire workflows, from understanding requirements to creating merge requests, while you maintain full visibility and control.\n\n\n    > 🎯 Try [**GitLab Duo Agent Platform**](https://about.gitlab.com/gitlab-duo-agent-platform/) today!\n\n    ## Platform architecture\n\n\n    GitLab Duo Agent Platform consists of several interconnected components working together to provide comprehensive AI assistance. The diagram below shows the *user interaction methods* with GitLab Duo Agent Platform.\n    It illustrates the four ways users can engage with agents:\n\n\n\n\n\n    ![GitLab Duo Agent Platform architecture diagram](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373441/k0ktrcnyuqbq3unbcvyp.png \"GitLab Duo Agent Platform architecture diagram\")\n\n\n    ### How teams interact with GitLab Duo Agent Platform\n\n\n    **Four ways to use agents**\n\n\n    1. **GitLab Duo Agentic Chat** — Open the chat panel in the GitLab UI or your IDE for interactive conversations with foundational and custom agents. Select from available AI models and get real-time help.\n\n\n    2. **Trigger Custom Flows** — Mention flows in issue or merge request comments, or assign reviewers to automatically trigger Custom Flows. These run asynchronously via runner execution.\n\n\n    3. **Trigger Foundational Flows** — Built and maintained by GitLab, including **[Developer](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/developer/)**, **[Code Review](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/code_review/)**, **[Fix CI/CD Pipeline](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/fix_pipeline/)**, **[Convert Jenkins to GitLab CI/CD](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/convert_to_gitlab_ci/)**, and **[Software Development Flow](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/convert_to_gitlab_ci/)**.\n\n    4. **Trigger External Agents** — Assign or mention external AI agents (like Claude Code or OpenAI Codex) in issue or merge request comments to automatically trigger them. These run asynchronously via runner execution.\n\n\n    **Where to manage and discover**\n\n\n    - **AI Catalog** — Browse, create, and share agents and flows across your organization. Discover agents and flows created by GitLab and your team, then add them to your projects. You can also create and publish your own custom agents and flows for others to use.\n\n\n    - **Automate Capabilities** — Your central hub for managing everything. View and manage your agents, configure and monitor flows, review all activity in sessions (including pipeline status), and set up triggers for event-based automation.\n\n\n    Let's explore each component briefly (we'll dive deeper in subsequent posts):\n\n\n    **GitLab Duo Agentic Chat**\n\n\n    Your primary interface for interacting with agents. Available as a persistent panel in the GitLab UI and in your IDE. Learn more in [Part 2: Getting Started with GitLab Duo Agentic Chat](/blog/getting-started-with-gitlab-duo-agentic-chat/).\n\n\n    ![GitLab Duo Agentic Chat](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618251/gdkojstbdsruen4bo5fw.png \"GitLab Duo Agentic Chat panel in the web UI\")\n\n\n    ![GitLab Duo Agentic Chat IDE](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373438/gjojavrvjhhvglgkvxmw.png \"GitLab Duo Agentic Chat panel in VS Code\")\n\n\n    **Agents**\n\n\n    Agents are specialized AI-powered assistants designed to handle specific tasks throughout your development workflow. Think of them as team members with unique expertise and capabilities.\n\n\n    | Type | Description | Where Used | Setup Required |\n\n    |------|-------------|------------|----------------|\n\n    | **[Foundational](https://docs.gitlab.com/user/duo_agent_platform/agents/foundational_agents/)** | Maintained by GitLab for common development workflows (Security Analyst, Planner, GitLab Duo), available by default in the chat of any project| GitLab Duo Chat | No |\n\n    | **[Custom](https://docs.gitlab.com/user/duo_agent_platform/agents/custom/)** | Created by you for team-specific needs with custom prompts and tools | GitLab Duo Chat | Yes |\n\n    | **[External](https://docs.gitlab.com/user/duo_agent_platform/agents/external/)** | External AI providers (Claude, OpenAI) triggered via mentions or assignments | @mentions, assignments | Optional |\n\n    ### About external agents\n\n    External agents run in the background on GitLab platform compute when triggered by mentions (e.g., `@ai-codex`) or assignments in issues and merge requests. Unlike foundational and custom agents that use synchronous feedback loops, external agents execute asynchronously, enabling powerful automation with specialized AI providers.\n\n    ### What makes agents powerful\n\n    - **Specialized prompts**: Each agent has a unique system prompt that defines its expertise, behavior, and communication style.\n\n    - **Access to tools**: Agents can read files, access issues/MRs/epics, search code, analyze CI/CD job logs and vulnerability reports, and more based on their configuration.\n\n    - **Project context:** Access to issues, merge requests, code, CI/CD pipelines, and security vulnerabilities.\n\n\n    Learn more in [Part 3: Understanding agents](/blog/understanding-agents-foundational-custom-external/). Discover how to create custom agents, integrate external AI providers, and configure agent prompts and tools for your team's specific needs.\n\n\n    **Flows**\n\n\n    Flows are multi-step workflows that combine multiple actions to solve complex problems. Unlike agents that respond to questions, flows execute complete workflows autonomously via runner execution.\n\n\n    | Type | Description | Where Triggered | Setup Required |\n\n    |------|-------------|-----------------|----------------|\n\n    | **[Foundational](https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/)** | Maintained by GitLab for common development workflows (Developer, Fix Pipeline, Convert Jenkins to GitLab CI/CD, Software Development) | You invoke using dedicated UI action buttons, or using the IDE extension Flows tab| No |\n\n    | **[Custom](https://docs.gitlab.com/user/duo_agent_platform/flows/custom/)** | User-defined workflows you create, tailored to your needs | Mentions in issues/MRs, assignment | Yes |\n\n    ### What makes flows powerful\n\n    - **Multi-step execution**: Combine multiple operations into a single workflow\n\n    - **Asynchronous processing**: Run in background while you continue working\n\n    - **Full pipeline access**: Execute via runner execution with complete project context\n\n    - **Event-driven**: Automatically triggered by GitLab events\n\n\n    Learn more in [Part 4: Understanding flows](/blog/understanding-flows-multi-agent-workflows/), including multi-agent workflows.\n\n\n    ## Agents vs. flows: What's the difference?\n\n\n    Understanding when to use an agent vs. a flow is key to working effectively with GitLab Duo Agent Platform.\n\n\n    | Aspect | Agents (Interactive in Chat) | Flows (Automated on Platform) |\n\n    |--------|------------------------------|-------------------------------|\n\n    | **Purpose** | Interactive work, quick iterations, conversational guidance | Complex multi-step tasks, background automation, event-driven workflows |\n\n    | **Where** | GitLab Duo Chat (Web UI, IDEs) | Issues, Merge Requests, UI action buttons |\n\n    | **How** | Real-time conversation with ability to take actions | Triggered by events or button clicks |\n\n    | **Execution** | Interactive, runs immediately in chat context | Asynchronous via runner execution |\n\n    | **Example** | \"Refactor this function\" (agent modifies code), \"Create tests\" (agent generates test file) | \"Generate MR for issue #123\" (flow creates branch, commits, opens MR) |\n\n    ### Quick decision guide\n\n    - Working interactively or want instant feedback? → Use chat\n\n    - Need background automation, MR review, or complex multi-file tasks? → Use flow\n\n    ### Key insight\n\n\n    Both agents and flows can take actions and create code. The main difference is how they interact and run: Agents communicate interactively in your chat interface, while flows run asynchronously in the background on platform compute.\n\n\n    #### AI Catalog\n\n\n    A centralized library where you can browse, discover, create, and share agents and flows across your organization, detailed in [Part 5: AI Catalog](/blog/ai-catalog-discover-and-share-agents/).\n\n\n    ![AI Catalog](https://res.cloudinary.com/about-gitlab-com/image/upload/v1767618250/sdtnio4rrbmwlh4iia4l.png \"AI Catalog\")\n\n\n    #### Automate capabilities\n\n\n    Your hub for managing agent and flow workflows:\n\n\n    - **Agents**: View and manage agents in your project, detailed in [Part 3](/blog/understanding-agents-foundational-custom-external/).\n\n    - **Flows**: View, create, and manage flows in your project, detailed in [Part 4](/blog/understanding-flows-multi-agent-workflows/).\n\n    - **Sessions**: Agent activity logs\n\n    - **Triggers**: Event-based automation management for flows in your project\n\n\n    ## Understanding sessions\n\n\n    Every agent and flow execution creates a session that logs agentic activities. Sessions provide full transparency into what happened, including agent reasoning, execution details, tool calling, outputs, and the complete decision trail.\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\n    To view sessions: Navigate to your project > **Automate** > **Sessions**. From there, you can access the pipeline console to see detailed execution logs.\n\n\n    ## Model selection\n\n\n    One of the powerful features of GitLab Duo Agent Platform is the ability to choose which AI model powers your conversation.\n\n\n    **Available in:** GitLab 18.4 and later\n\n\n    **How to select:**\n\n\n    1. Open GitLab Duo Agentic Chat.\n\n    2. Look for the model dropdown.\n\n    3. Click to see available models.\n\n    4. Select the model best suited for your task.\n\n\n    **Note:** Model selection is currently available in the Web UI only. IDE integration uses the default model selected for your group.\n\n\n    ## Your first agent interaction\n\n\n    Let's walk through a simple first interaction with GitLab Duo Agentic Chat:\n\n\n    ### Example 1: Understanding your project (Agent)\n\n\n    **Scenario:** You've just joined a project and need to understand its structure and architecture.\n\n\n    **Steps:**\n\n\n    1. Open GitLab Duo Chat panel (click Duo icon in top-right).\n\n    2. Ensure Agentic mode (Beta) is toggled on.\n\n    3. Select the Duo Agent (default).\n\n    4. Type: \"Give me an overview of this project's architecture.\"\n\n    5. Press **Enter**.\n\n\n    **What happens:**\n\n\n    The agent:\n\n    - Analyzes your repository structure\n\n    - Reviews your README, code organization, and documentation\n\n    - Provides a comprehensive overview with key components\n\n\n    You can ask follow-up questions for clarification.\n\n\n    ![Chat showing architecture overview](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373438/rvdxbupzh8bupt674kyc.png \"Chat showing Architecture Overview\")\n\n\n\n\n\n    ### Example 2: Generating a merge request (Flow)\n\n\n    **Scenario:** You have an issue that needs to be resolved with code changes.\n\n\n    **Steps:**\n\n\n    1. Open the issue in GitLab.\n\n    2. Click **Generate MR with Duo** button.\n\n    3. An agent session starts.\n\n    4. Within a few minutes, an MR is created with:\n\n       - Code changes across multiple files\n\n       - A descriptive commit message\n\n       - An explanation of changes in MR description\n\n\n    **What happens:**\n\n\n    The Developer Flow:\n\n    - Analyzes the issue\n\n    - Understands repository structure, design patterns, and SDLC context\n\n    - Makes appropriate code changes\n\n    - Opens a ready-to-review MR\n\n\n\n\n\n    ![Issue with Generate MR with Duo button](https://res.cloudinary.com/about-gitlab-com/image/upload/v1765373443/gq57mpgyftvru1fyqh4o.png \"Issue with Generate MR with Duo button\")\n\n\n\n\n\n    ## Common questions\n\n\n    **Q: Are my conversations with agents private?**\n\n\n    A: Yes. Conversations follow GitLab's standard privacy and security models. [Learn more.](https://docs.gitlab.com/user/gitlab_duo/data_usage/)\n\n\n    **Q: Can I use GitLab Duo Agent Platform with self-hosted models?**\n\n\n    A: Yes, starting with GitLab 18.8, it requires additional setup. See [GitLab documentation](https://docs.gitlab.com/administration/gitlab_duo_self_hosted/configure_duo_features/#configure-access-to-the-gitlab-duo-agent-platform).\n\n\n    ## What's next?\n\n\n    Now that you understand the basics of GitLab Duo Agent Platform, you're ready to dive deeper into each component:\n\n\n    - **[Part 2: Getting started with GitLab Duo Agentic Chat](/blog/getting-started-with-gitlab-duo-agentic-chat/)** — Master the persistent chat panel, learn model selection strategies, understand agent switching, and use chat effectively across Web UI and all supported IDEs.\n\n\n    - **[Part 3: Understanding agents](/blog/understanding-agents-foundational-custom-external/)** — Explore foundational agents built by GitLab, create custom agents with specialized prompts for your team's workflows, and integrate external CLI agents from providers like Claude Code and OpenAI Codex.\n\n\n    - **[Part 4: Understanding flows](/blog/understanding-flows-multi-agent-workflows/)** — Discover how flows orchestrate multiple agents to solve complex problems, create custom YAML-defined workflows, and leverage external AI providers for automated pipeline execution.\n\n\n    - **[Part 5: AI Catalog](/blog/ai-catalog-discover-and-share-agents/)** — Browse the centralized repository to discover agents and flows created by GitLab and the community, add them to your projects, and publish your own solutions for others to use.\n\n\n    - **[Part 6: Monitor, manage, and automate AI workflows](/blog/monitor-manage-automate-ai-workflows/)** — Monitor all agent and flow activity through sessions, set up event-driven triggers to automate workflows, and manage your entire GitLab Duo Agent Platform ecosystem from one central location.\n\n\n    - **[Part 7: Model Context Protocol integration](/blog/duo-agent-platform-with-mcp/)** — Extend GitLab Duo's capabilities by connecting to external tools like Jira, Slack, and AWS through the open MCP standard, and enable external AI tools to access your GitLab data.\n\n    - **[Part 8: Customizing GitLab Duo Agent Platform](/blog/customizing-gitlab-duo-chat-rules-prompts-workflows/)** - Configure custom chat rules, create system prompts for agents, set up agent tools, integrate external systems with MCP, and customize flows for your team's specific needs.\n\n\n    ## Resources\n\n\n    - [GitLab Duo Agent Platform documentation](https://docs.gitlab.com/user/duo_agent_platform/)\n\n    - [GitLab Duo Agent Platform site](https://about.gitlab.com/gitlab-duo-agent-platform/)\n\n    - [GitLab Community Forum](https://forum.gitlab.com/)\n\n\n    ---\n\n\n    **Next:** [Part 2: Getting started with GitLab Duo Agentic Chat](/blog/getting-started-with-gitlab-duo-agentic-chat/)\n\nconfig:\n  slug: introduction-to-gitlab-duo-agent-platform\n  featured: false\n  template: BlogPost\n",{"noIndex":14,"title":5,"description":25,"ogImage":33},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1752678395/impw8no5tbskr6k2afgu.jpg","en-us/blog/introduction-to-gitlab-duo-agent-platform",[36,19,20,21],"aiml",[18,19,20,21],"HKIM_kDVvNJyEpjO4iY668-z4KDR63lTMwCijbUJJ1A",{"logo":40,"freeTrial":45,"sales":50,"login":55,"items":60,"search":380,"minimal":411,"duo":430,"switchNav":439,"pricingDeployment":450},{"config":41},{"href":42,"dataGaName":43,"dataGaLocation":44},"/","gitlab logo","header",{"text":46,"config":47},"Get free trial",{"href":48,"dataGaName":49,"dataGaLocation":44},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":51,"config":52},"Talk to sales",{"href":53,"dataGaName":54,"dataGaLocation":44},"/sales/","sales",{"text":56,"config":57},"Sign in",{"href":58,"dataGaName":59,"dataGaLocation":44},"https://gitlab.com/users/sign_in/","sign in",[61,90,190,195,299,360],{"text":62,"config":63,"menu":65},"Platform",{"dataNavLevelOne":64},"platform",{"type":66,"columns":67},"cards",[68,74,82],{"title":62,"description":69,"link":70},"The intelligent orchestration platform for DevSecOps",{"text":71,"config":72},"Explore our Platform",{"href":73,"dataGaName":64,"dataGaLocation":44},"/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":44},"/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":44},"/why-gitlab/","why gitlab",{"text":91,"left":29,"config":92,"menu":94},"Product",{"dataNavLevelOne":93},"solutions",{"type":95,"link":96,"columns":100,"feature":169},"lists",{"text":97,"config":98},"View all Solutions",{"href":99,"dataGaName":93,"dataGaLocation":44},"/solutions/",[101,125,148],{"title":102,"description":103,"link":104,"items":109},"Automation","CI/CD and automation to accelerate deployment",{"config":105},{"icon":106,"href":107,"dataGaName":108,"dataGaLocation":44},"AutomatedCodeAlt","/solutions/delivery-automation/","automated software delivery",[110,114,117,121],{"text":111,"config":112},"CI/CD",{"href":113,"dataGaLocation":44,"dataGaName":111},"/solutions/continuous-integration/",{"text":75,"config":115},{"href":80,"dataGaLocation":44,"dataGaName":116},"gitlab duo agent platform - product menu",{"text":118,"config":119},"Source Code Management",{"href":120,"dataGaLocation":44,"dataGaName":118},"/solutions/source-code-management/",{"text":122,"config":123},"Automated Software Delivery",{"href":107,"dataGaLocation":44,"dataGaName":124},"Automated software delivery",{"title":126,"description":127,"link":128,"items":133},"Security","Deliver code faster without compromising security",{"config":129},{"href":130,"dataGaName":131,"dataGaLocation":44,"icon":132},"/solutions/application-security-testing/","security and compliance","ShieldCheckLight",[134,138,143],{"text":135,"config":136},"Application Security Testing",{"href":130,"dataGaName":137,"dataGaLocation":44},"Application security testing",{"text":139,"config":140},"Software Supply Chain Security",{"href":141,"dataGaLocation":44,"dataGaName":142},"/solutions/supply-chain/","Software supply chain security",{"text":144,"config":145},"Software Compliance",{"href":146,"dataGaName":147,"dataGaLocation":44},"/solutions/software-compliance/","software compliance",{"title":149,"link":150,"items":155},"Measurement",{"config":151},{"icon":152,"href":153,"dataGaName":154,"dataGaLocation":44},"DigitalTransformation","/solutions/visibility-measurement/","visibility and measurement",[156,160,164],{"text":157,"config":158},"Visibility & Measurement",{"href":153,"dataGaLocation":44,"dataGaName":159},"Visibility and Measurement",{"text":161,"config":162},"Value Stream Management",{"href":163,"dataGaLocation":44,"dataGaName":161},"/solutions/value-stream-management/",{"text":165,"config":166},"Analytics & Insights",{"href":167,"dataGaLocation":44,"dataGaName":168},"/solutions/analytics-and-insights/","Analytics and insights",{"title":170,"type":95,"items":171},"GitLab for",[172,178,184],{"text":173,"config":174},"Enterprise",{"icon":175,"href":176,"dataGaLocation":44,"dataGaName":177},"Building","/enterprise/","enterprise",{"text":179,"config":180},"Small Business",{"icon":181,"href":182,"dataGaLocation":44,"dataGaName":183},"Work","/small-business/","small business",{"text":185,"config":186},"Public Sector",{"icon":187,"href":188,"dataGaLocation":44,"dataGaName":189},"Organization","/solutions/public-sector/","public sector",{"text":191,"config":192},"Pricing",{"href":193,"dataGaName":194,"dataGaLocation":44,"dataNavLevelOne":194},"/pricing/","pricing",{"text":196,"config":197,"menu":199},"Resources",{"dataNavLevelOne":198},"resources",{"type":95,"link":200,"columns":204,"feature":288},{"text":201,"config":202},"View all resources",{"href":203,"dataGaName":198,"dataGaLocation":44},"/resources/",[205,238,260],{"title":206,"items":207},"Getting started",[208,213,218,223,228,233],{"text":209,"config":210},"Install",{"href":211,"dataGaName":212,"dataGaLocation":44},"/install/","install",{"text":214,"config":215},"Quick start guides",{"href":216,"dataGaName":217,"dataGaLocation":44},"/get-started/","quick setup checklists",{"text":219,"config":220},"Learn",{"href":221,"dataGaLocation":44,"dataGaName":222},"https://university.gitlab.com/","learn",{"text":224,"config":225},"Product documentation",{"href":226,"dataGaName":227,"dataGaLocation":44},"https://docs.gitlab.com/","product documentation",{"text":229,"config":230},"Best practice videos",{"href":231,"dataGaName":232,"dataGaLocation":44},"/getting-started-videos/","best practice videos",{"text":234,"config":235},"Integrations",{"href":236,"dataGaName":237,"dataGaLocation":44},"/integrations/","integrations",{"title":239,"items":240},"Discover",[241,246,251,255],{"text":242,"config":243},"Customer success stories",{"href":244,"dataGaName":245,"dataGaLocation":44},"/customers/","customer success stories",{"text":247,"config":248},"Blog",{"href":249,"dataGaName":250,"dataGaLocation":44},"/blog/","blog",{"text":252,"config":253},"The Source",{"href":254,"dataGaName":250,"dataGaLocation":44},"/the-source/",{"text":256,"config":257},"Remote",{"href":258,"dataGaName":259,"dataGaLocation":44},"https://handbook.gitlab.com/handbook/company/culture/all-remote/","remote",{"title":261,"items":262},"Connect",[263,268,273,278,283],{"text":264,"config":265},"GitLab Services",{"href":266,"dataGaName":267,"dataGaLocation":44},"/services/","services",{"text":269,"config":270},"Community",{"href":271,"dataGaName":272,"dataGaLocation":44},"/community/","community",{"text":274,"config":275},"Forum",{"href":276,"dataGaName":277,"dataGaLocation":44},"https://forum.gitlab.com/","forum",{"text":279,"config":280},"Events",{"href":281,"dataGaName":282,"dataGaLocation":44},"/events/","events",{"text":284,"config":285},"Partners",{"href":286,"dataGaName":287,"dataGaLocation":44},"/partners/","partners",{"config":289,"title":292,"text":293,"link":294},{"background":290,"textColor":291},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1777322348/qpq8yrgn8knii57omj0c.png')","#000","What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":295,"config":296},"Read the latest",{"href":297,"dataGaName":298,"dataGaLocation":44},"/releases/whats-new/","whats new",{"text":300,"config":301,"menu":303},"Company",{"dataNavLevelOne":302},"company",{"type":95,"columns":304},[305],{"items":306},[307,312,318,320,325,330,335,340,345,350,355],{"text":308,"config":309},"About",{"href":310,"dataGaName":311,"dataGaLocation":44},"/company/","about",{"text":313,"config":314,"footerGa":317},"Jobs",{"href":315,"dataGaName":316,"dataGaLocation":44},"/jobs/","jobs",{"dataGaName":316},{"text":279,"config":319},{"href":281,"dataGaName":282,"dataGaLocation":44},{"text":321,"config":322},"Leadership",{"href":323,"dataGaName":324,"dataGaLocation":44},"/company/team/e-group/","leadership",{"text":326,"config":327},"Team",{"href":328,"dataGaName":329,"dataGaLocation":44},"/company/team/","team",{"text":331,"config":332},"Handbook",{"href":333,"dataGaName":334,"dataGaLocation":44},"https://handbook.gitlab.com/","handbook",{"text":336,"config":337},"Investor relations",{"href":338,"dataGaName":339,"dataGaLocation":44},"https://ir.gitlab.com/","investor relations",{"text":341,"config":342},"Trust Center",{"href":343,"dataGaName":344,"dataGaLocation":44},"/security/","trust center",{"text":346,"config":347},"AI Transparency Center",{"href":348,"dataGaName":349,"dataGaLocation":44},"/ai-transparency-center/","ai transparency center",{"text":351,"config":352},"Newsletter",{"href":353,"dataGaName":354,"dataGaLocation":44},"/company/contact/#contact-forms","newsletter",{"text":356,"config":357},"Press",{"href":358,"dataGaName":359,"dataGaLocation":44},"/press/","press",{"text":361,"config":362,"menu":363},"Contact us",{"dataNavLevelOne":302},{"type":95,"columns":364},[365],{"items":366},[367,370,375],{"text":51,"config":368},{"href":53,"dataGaName":369,"dataGaLocation":44},"talk to sales",{"text":371,"config":372},"Support portal",{"href":373,"dataGaName":374,"dataGaLocation":44},"https://support.gitlab.com","support portal",{"text":376,"config":377},"Customer portal",{"href":378,"dataGaName":379,"dataGaLocation":44},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":381,"login":382,"suggestions":389},"Close",{"text":383,"link":384},"To search repositories and projects, login to",{"text":385,"config":386},"gitlab.com",{"href":58,"dataGaName":387,"dataGaLocation":388},"search login","search",{"text":390,"default":391},"Suggestions",[392,394,398,400,404,408],{"text":75,"config":393},{"href":80,"dataGaName":75,"dataGaLocation":388},{"text":395,"config":396},"Code Suggestions (AI)",{"href":397,"dataGaName":395,"dataGaLocation":388},"/solutions/code-suggestions/",{"text":111,"config":399},{"href":113,"dataGaName":111,"dataGaLocation":388},{"text":401,"config":402},"GitLab on AWS",{"href":403,"dataGaName":401,"dataGaLocation":388},"/partners/technology-partners/aws/",{"text":405,"config":406},"GitLab on Google Cloud",{"href":407,"dataGaName":405,"dataGaLocation":388},"/partners/technology-partners/google-cloud-platform/",{"text":409,"config":410},"Why GitLab?",{"href":88,"dataGaName":409,"dataGaLocation":388},{"freeTrial":412,"mobileIcon":417,"desktopIcon":422,"secondaryButton":425},{"text":413,"config":414},"Start free trial",{"href":415,"dataGaName":49,"dataGaLocation":416},"https://gitlab.com/-/trials/new/","nav",{"altText":418,"config":419},"Gitlab Icon",{"src":420,"dataGaName":421,"dataGaLocation":416},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":418,"config":423},{"src":424,"dataGaName":421,"dataGaLocation":416},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":426,"config":427},"Get Started",{"href":428,"dataGaName":429,"dataGaLocation":416},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":431,"mobileIcon":435,"desktopIcon":437},{"text":432,"config":433},"Learn more about GitLab Duo",{"href":80,"dataGaName":434,"dataGaLocation":416},"gitlab duo",{"altText":418,"config":436},{"src":420,"dataGaName":421,"dataGaLocation":416},{"altText":418,"config":438},{"src":424,"dataGaName":421,"dataGaLocation":416},{"button":440,"mobileIcon":445,"desktopIcon":447},{"text":441,"config":442},"/switch",{"href":443,"dataGaName":444,"dataGaLocation":416},"#contact","switch",{"altText":418,"config":446},{"src":420,"dataGaName":421,"dataGaLocation":416},{"altText":418,"config":448},{"src":449,"dataGaName":421,"dataGaLocation":416},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":451,"mobileIcon":456,"desktopIcon":458},{"text":452,"config":453},"Back to pricing",{"href":193,"dataGaName":454,"dataGaLocation":416,"icon":455},"back to pricing","GoBack",{"altText":418,"config":457},{"src":420,"dataGaName":421,"dataGaLocation":416},{"altText":418,"config":459},{"src":424,"dataGaName":421,"dataGaLocation":416},{"title":461,"button":462,"config":467},"See how agentic AI transforms software delivery",{"text":463,"config":464},"Sign up for GitLab Transcend on June 10",{"href":465,"dataGaName":466,"dataGaLocation":44},"/releases/whats-new/#sign-up","transcend event",{"layout":468,"icon":469,"disabled":14},"release","AiStar",{"data":471},{"text":472,"source":473,"edit":479,"contribute":484,"config":489,"items":494,"minimal":701},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"text":474,"config":475},"View page source",{"href":476,"dataGaName":477,"dataGaLocation":478},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/","page source","footer",{"text":480,"config":481},"Edit this page",{"href":482,"dataGaName":483,"dataGaLocation":478},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/content/","web ide",{"text":485,"config":486},"Please contribute",{"href":487,"dataGaName":488,"dataGaLocation":478},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/CONTRIBUTING.md/","please contribute",{"twitter":490,"facebook":491,"youtube":492,"linkedin":493},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[495,542,596,640,667],{"title":191,"links":496,"subMenu":511},[497,501,506],{"text":498,"config":499},"View plans",{"href":193,"dataGaName":500,"dataGaLocation":478},"view plans",{"text":502,"config":503},"Why Premium?",{"href":504,"dataGaName":505,"dataGaLocation":478},"/pricing/premium/","why premium",{"text":507,"config":508},"Why Ultimate?",{"href":509,"dataGaName":510,"dataGaLocation":478},"/pricing/ultimate/","why ultimate",[512],{"title":513,"links":514},"Contact Us",[515,518,520,522,527,532,537],{"text":516,"config":517},"Contact sales",{"href":53,"dataGaName":54,"dataGaLocation":478},{"text":371,"config":519},{"href":373,"dataGaName":374,"dataGaLocation":478},{"text":376,"config":521},{"href":378,"dataGaName":379,"dataGaLocation":478},{"text":523,"config":524},"Status",{"href":525,"dataGaName":526,"dataGaLocation":478},"https://status.gitlab.com/","status",{"text":528,"config":529},"Terms of use",{"href":530,"dataGaName":531,"dataGaLocation":478},"/terms/","terms of use",{"text":533,"config":534},"Privacy statement",{"href":535,"dataGaName":536,"dataGaLocation":478},"/privacy/","privacy statement",{"text":538,"config":539},"Cookie preferences",{"dataGaName":540,"dataGaLocation":478,"id":541,"isOneTrustButton":29},"cookie preferences","ot-sdk-btn",{"title":91,"links":543,"subMenu":552},[544,548],{"text":545,"config":546},"DevSecOps platform",{"href":73,"dataGaName":547,"dataGaLocation":478},"devsecops platform",{"text":549,"config":550},"AI-Assisted Development",{"href":80,"dataGaName":551,"dataGaLocation":478},"ai-assisted development",[553],{"title":554,"links":555},"Topics",[556,561,566,571,576,581,586,591],{"text":557,"config":558},"CICD",{"href":559,"dataGaName":560,"dataGaLocation":478},"/topics/ci-cd/","cicd",{"text":562,"config":563},"GitOps",{"href":564,"dataGaName":565,"dataGaLocation":478},"/topics/gitops/","gitops",{"text":567,"config":568},"DevOps",{"href":569,"dataGaName":570,"dataGaLocation":478},"/topics/devops/","devops",{"text":572,"config":573},"Version Control",{"href":574,"dataGaName":575,"dataGaLocation":478},"/topics/version-control/","version control",{"text":577,"config":578},"DevSecOps",{"href":579,"dataGaName":580,"dataGaLocation":478},"/topics/devsecops/","devsecops",{"text":582,"config":583},"Cloud Native",{"href":584,"dataGaName":585,"dataGaLocation":478},"/topics/cloud-native/","cloud native",{"text":587,"config":588},"AI for Coding",{"href":589,"dataGaName":590,"dataGaLocation":478},"/topics/devops/ai-for-coding/","ai for coding",{"text":592,"config":593},"Agentic AI",{"href":594,"dataGaName":595,"dataGaLocation":478},"/topics/agentic-ai/","agentic ai",{"title":597,"links":598},"Solutions",[599,601,603,608,612,615,619,622,624,627,630,635],{"text":135,"config":600},{"href":130,"dataGaName":135,"dataGaLocation":478},{"text":124,"config":602},{"href":107,"dataGaName":108,"dataGaLocation":478},{"text":604,"config":605},"Agile development",{"href":606,"dataGaName":607,"dataGaLocation":478},"/solutions/agile-delivery/","agile delivery",{"text":609,"config":610},"SCM",{"href":120,"dataGaName":611,"dataGaLocation":478},"source code management",{"text":557,"config":613},{"href":113,"dataGaName":614,"dataGaLocation":478},"continuous integration & delivery",{"text":616,"config":617},"Value stream management",{"href":163,"dataGaName":618,"dataGaLocation":478},"value stream management",{"text":562,"config":620},{"href":621,"dataGaName":565,"dataGaLocation":478},"/solutions/gitops/",{"text":173,"config":623},{"href":176,"dataGaName":177,"dataGaLocation":478},{"text":625,"config":626},"Small business",{"href":182,"dataGaName":183,"dataGaLocation":478},{"text":628,"config":629},"Public sector",{"href":188,"dataGaName":189,"dataGaLocation":478},{"text":631,"config":632},"Education",{"href":633,"dataGaName":634,"dataGaLocation":478},"/solutions/education/","education",{"text":636,"config":637},"Financial services",{"href":638,"dataGaName":639,"dataGaLocation":478},"/solutions/finance/","financial services",{"title":196,"links":641},[642,644,646,648,651,653,655,657,659,661,663,665],{"text":209,"config":643},{"href":211,"dataGaName":212,"dataGaLocation":478},{"text":214,"config":645},{"href":216,"dataGaName":217,"dataGaLocation":478},{"text":219,"config":647},{"href":221,"dataGaName":222,"dataGaLocation":478},{"text":224,"config":649},{"href":226,"dataGaName":650,"dataGaLocation":478},"docs",{"text":247,"config":652},{"href":249,"dataGaName":250,"dataGaLocation":478},{"text":242,"config":654},{"href":244,"dataGaName":245,"dataGaLocation":478},{"text":256,"config":656},{"href":258,"dataGaName":259,"dataGaLocation":478},{"text":264,"config":658},{"href":266,"dataGaName":267,"dataGaLocation":478},{"text":269,"config":660},{"href":271,"dataGaName":272,"dataGaLocation":478},{"text":274,"config":662},{"href":276,"dataGaName":277,"dataGaLocation":478},{"text":279,"config":664},{"href":281,"dataGaName":282,"dataGaLocation":478},{"text":284,"config":666},{"href":286,"dataGaName":287,"dataGaLocation":478},{"title":300,"links":668},[669,671,673,675,677,679,681,685,690,692,694,696],{"text":308,"config":670},{"href":310,"dataGaName":302,"dataGaLocation":478},{"text":313,"config":672},{"href":315,"dataGaName":316,"dataGaLocation":478},{"text":321,"config":674},{"href":323,"dataGaName":324,"dataGaLocation":478},{"text":326,"config":676},{"href":328,"dataGaName":329,"dataGaLocation":478},{"text":331,"config":678},{"href":333,"dataGaName":334,"dataGaLocation":478},{"text":336,"config":680},{"href":338,"dataGaName":339,"dataGaLocation":478},{"text":682,"config":683},"Sustainability",{"href":684,"dataGaName":682,"dataGaLocation":478},"/sustainability/",{"text":686,"config":687},"Diversity, inclusion and belonging (DIB)",{"href":688,"dataGaName":689,"dataGaLocation":478},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":341,"config":691},{"href":343,"dataGaName":344,"dataGaLocation":478},{"text":351,"config":693},{"href":353,"dataGaName":354,"dataGaLocation":478},{"text":356,"config":695},{"href":358,"dataGaName":359,"dataGaLocation":478},{"text":697,"config":698},"Modern Slavery Transparency Statement",{"href":699,"dataGaName":700,"dataGaLocation":478},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":702},[703,706,709],{"text":704,"config":705},"Terms",{"href":530,"dataGaName":531,"dataGaLocation":478},{"text":707,"config":708},"Cookies",{"dataGaName":540,"dataGaLocation":478,"id":541,"isOneTrustButton":29},{"text":710,"config":711},"Privacy",{"href":535,"dataGaName":536,"dataGaLocation":478},[713],{"id":714,"title":9,"body":27,"config":715,"content":717,"description":27,"extension":26,"meta":721,"navigation":29,"path":722,"seo":723,"stem":724,"__hash__":725},"blogAuthors/en-us/blog/authors/itzik-gan-baruch.yml",{"template":716},"BlogAuthor",{"name":9,"config":718},{"headshot":719,"ctfId":720},"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",[727,739,751],{"content":728,"config":737},{"title":729,"description":730,"authors":731,"date":733,"heroImage":734,"body":735,"category":11,"tags":736},"Atlassian will train on your data: Opt out with GitLab","Learn why Atlassian's latest move is a threat to data governance and how GitLab's approach helps ensure your customers' data stays private and protected.",[732],"Jessica Hurwitz","2026-05-04","https://res.cloudinary.com/about-gitlab-com/image/upload/v1773866173/vte9qh8rriznvyclhkes.png","Starting August 17, 2026, Atlassian will begin collecting customer metadata and in-app content from Jira, Confluence, and other cloud products to train its AI offerings, including Rovo and Rovo Dev. This announcement comes after [GitHub recently changed its Copilot data usage policy](https://about.gitlab.com/blog/github-copilots-new-policy-for-ai-training-is-a-governance-wake-up-call/). **Taken together, these changes suggest opt-out-by-default is becoming the industry norm. GitLab takes the opposite position: no data collection, no AI training on customer data, no matter what tier you're on.**\n\n[Atlassian's change](https://www.atlassian.com/trust/ai/data-contribution) is enabled by default for all cloud customers and affects roughly 300,000 organizations. For customers on the Free, Standard, and Premium tiers, metadata collection is mandatory and cannot be turned off. Only Enterprise-tier customers have the option to opt out. This policy change deserves a close read if your engineering, IT, and program management teams run on Atlassian because they are most exposed by this change — and least likely to have been consulted before it happened.\n\nAlthough the underlying governance questions are the same for both Atlassian and GitHub's changes, the data at risk is different. Where GitHub's change concerned source code and developer interactions, Atlassian's reaches into project plans, internal documentation, workflow configurations, and operational metadata across Jira, Confluence, and the broader Atlassian stack. **For organizations that rely on these tools as their system of record for how work gets planned and delivered, the implications run deep.**\n\n## What changed and what it means for your data\n\nAtlassian will collect two categories of information: \n\n- **Metadata:** de-identified operational signals like story points, sprint dates, and SLA values, including data from its Teamwork Graph and connected third-party apps  \n- **In-app content:** user-generated material such as Confluence page content, Jira issue titles, descriptions, and comments\n\nAtlassian says it will apply de-identification and aggregation before training. Collected data may be retained for up to seven years, with in-app data removed within 30 days of opt-out and models retrained within 90 days.\n\nThere are some exclusions: Customers using customer-managed encryption keys, Atlassian Government Cloud, Isolated Cloud, or those with HIPAA requirements are carved out from collection. But for the vast majority of Atlassian's cloud customer base, data collection will start unless you pay for the Enterprise tier and actively flip the switch.\n\nThis reverses Atlassian's prior stated position that customer data would not be used to train or improve AI services. Organizations that adopted Jira and Confluence to manage their most sensitive planning workflows, sprint boards, security tickets, incident postmortems, and internal documentation will soon be contributing that content to Atlassian's AI training pipeline, without ever being asked.\n\n## The governance gap in \"opt-out by default\"\n\nOpt-out-by-default data collection for AI training is an emerging pattern across the software industry. It raises the same set of questions every time: How does this interact with existing data processing agreements? Does the vendor's definition of \"metadata\" match what your legal and security teams would consider non-sensitive data?\n\n**For many organizations, the answer to these questions is \"we don't know.\"** \n\nWhen a vendor changes its data practices through a terms-of-service update, the burden falls on the customer to notice, evaluate the implications, and act within the window the vendor provides. \n\nThe mandatory nature of metadata collection on Free, Standard, and Premium tiers makes this more acute. The only exit is upgrading to Enterprise, which requires a minimum of 801 users and custom pricing that would represent a significant cost jump for teams that aren't there yet. Data protection, in other words, is now a purchasing decision.\n\nThe tiered structure also introduces a subtler problem. Metadata like story points, sprint velocity, SLA metrics, and task classifications may seem innocuous in isolation, but in aggregate they reveal project structure, team performance patterns, and delivery cadence. For organizations in competitive industries, that operational intelligence has real value, and \"de-identified\" does not necessarily mean \"non-sensitive\" once patterns are reconstructable at scale.\n\n## Why this matters more for Atlassian-stack organizations\n\nIn Atlassian-based organizations, Jira has been the center how teams plan, track, and deliver work. It’s the source of truth for sprint planning, bug tracking, release management, portfolio coordination, and cross-functional project execution. \n\nIn regulated industries like financial services, public sector and manufacturing, Jira and Confluence together hold sensitive operational data that may be subject to compliance requirements. The risk compounds for organizations that have expanded beyond Jira into the broader Atlassian ecosystem.\n\nWhen you run Jira, Confluence, Bitbucket, and Bamboo together, the surface area of data now feeding into AI training spans your project plans, internal documentation, source code metadata, and CI/CD configurations — each of which security and compliance teams would want to review before sharing with a vendor's training pipeline.\n\nAtlassian’s Teamwork Graph connectors add another dimension for customers who have integrated third-party tools, such as Slack, Figma, Google Drive, Salesforce, and ServiceNow, into their environment. Teamwork Graph connectors index relationship and activity signals from these connected apps, which means the metadata Atlassian collects will not be limited to what lives inside Atlassian products. For security and compliance teams accustomed to evaluating data flows on a per-vendor basis, this cross-platform reach complicates the assessment considerably.\n\nOrganizations that are already navigating [Atlassian's push from Data Center](https://about.gitlab.com/blog/atlassian-ending-data-center-as-gitlab-maintains-deployment-choice/) and Server editions to the cloud face a compounding challenge. Adding default AI data collection to that migration path raises the stakes further: **The question is no longer just \"do we move to Atlassian Cloud?\" but \"do we move to Atlassian Cloud knowing our data will feed AI training unless we're on the most expensive tier?\"**\n\n## What regulated industries should be evaluating now\n\nThe compliance implications vary by sector, but the obligation to reassess is consistent.\n\nIn financial services, frameworks like [SR 11-7](https://www.federalreserve.gov/supervisionreg/srletters/sr1107.htm) and [DORA](https://eur-lex.europa.eu/eli/reg/2022/2554/oj/eng) require documented, auditable oversight of third-party technology providers, including how those providers handle data. In the public sector, [NIST 800-53](https://csrc.nist.gov/publications/detail/sp/800-53/rev-5/final) and [FISMA](https://www.cisa.gov/topics/cyber-threats-and-advisories/federal-information-security-modernization-act) make controlling where sensitive data flows a foundational requirement. In healthcare, [HIPAA](https://www.hhs.gov/hipaa/index.html) governs how patient-adjacent data is handled by third parties. \n\nAcross the board, a material change in a vendor's data practices, such as Atlassian moving from \"we don't train on your data\" to \"we do, by default,\" triggers a documentation and risk reassessment obligation. \n\nInstitutions operating under the [EU AI Act](https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng) face an additional dimension: opt-out framing aligns with U.S. norms, while European regulators generally expect opt-in consent for data processing of this nature.\n\nIf your model risk or vendor management team documented Atlassian's data handling controls before this announcement, the question isn't whether this change triggers a reassessment obligation. It does. The question is whether your team can take action before August 17.\n\n## What to look for in your platform vendors\n\nCTOs and CISOs across regulated industries need to adopt AI in a way they can explain to regulators, boards, and customers. Because of this, GitLab operates within the following set of principles:\n\n**Unconditional data commitments, not tier-dependent protections.** Regulated organizations need to know, with specificity, what happens to their data. A commitment that varies by plan tier, or that requires action before a deadline, introduces exactly the kind of uncontrolled variable that keeps CISOs up at night.\n\n**Transparency and auditability.** Model risk management frameworks require organizations to understand the AI systems they deploy, including the training data and third parties involved. Vendors who cannot answer these questions clearly create documentation risk.\n\n**Separation between customer data and vendor AI training.** When a platform vendor trains models on customer usage data, workflows and operational patterns become inputs to a system that also serves competitors. For organizations where project structure or delivery cadence represents competitive advantage, that exposure matters.\n\n## How GitLab's approach differs\n\nGitLab doesn't train on customer data — at any tier, full stop. AI vendors powering GitLab Duo features are contractually prohibited from using customer inputs or outputs for their own purposes, [a commitment GitLab CEO Bill Staples](https://www.linkedin.com/posts/williamstaples_gitlab-1810-agentic-ai-now-open-to-even-activity-7443280763715985408-aHxf) has consistently reiterated.\n\n[GitLab's AI Transparency Center](https://about.gitlab.com/ai-transparency-center/) documents exactly which models power which features, how data is handled, and what vendor commitments are in place. [GitLab's AI Continuity Plan](https://handbook.gitlab.com/handbook/product/ai/continuity-plan/) documents how vendor changes are managed, including any material changes to how AI vendors treat customer data. For institutions managing third-party AI risk under DORA or similar frameworks, vendor continuity and concentration are active governance concerns, and having a documented plan for both is part of what responsible AI tooling looks like.\n\nFor organizations that require AI processing to stay within their own infrastructure, [GitLab Duo Agent Platform](https://about.gitlab.com/gitlab-duo/) is available with GitLab Self-Managed deployments, including support for integration with self-hosted AI models. This means prompts and code never leave the customer's environment. GitLab also provides IP indemnification for Duo-generated output, with no filters required and no activation steps needed. Where your data lives remains your choice, no matter your deployment model or subscription tier.\n\n> Whether your organization stays on Atlassian or begins evaluating alternatives, the conversation about who controls your data and how it gets used should be happening now. **The August 17 deadline is approaching, but you still have time to [try GitLab Ultimate with Duo Agent Platform for free today](https://gitlab.com/-/trials/new).**",[18,19],{"featured":29,"template":15,"slug":738},"atlassian-will-train-on-your-data-opt-out-with-gitlab",{"content":740,"config":749},{"title":741,"description":742,"authors":743,"heroImage":745,"date":746,"body":747,"category":11,"tags":748},"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.",[744],"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,287],{"featured":29,"template":15,"slug":750},"gitlab-and-anthropic-governed-ai-for-enterprise-development",{"content":752,"config":761},{"title":753,"description":754,"authors":755,"heroImage":757,"date":758,"body":759,"category":11,"tags":760},"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.",[756],"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":762},"give-your-ai-agent-direct-structured-gitlab-access-with-glab-cli",{"promotions":764},[765,778,789,801],{"id":766,"categories":767,"header":768,"text":769,"button":770,"image":775},"ai-modernization",[11],"Is AI achieving its promise at scale?","Quiz will take 5 minutes or less",{"text":771,"config":772},"Get your AI maturity score",{"href":773,"dataGaName":774,"dataGaLocation":250},"/assessments/ai-modernization-assessment/","modernization assessment",{"config":776},{"src":777},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/qix0m7kwnd8x2fh1zq49.png",{"id":779,"categories":780,"header":781,"text":769,"button":782,"image":786},"devops-modernization",[19,580],"Are you just managing tools or shipping innovation?",{"text":783,"config":784},"Get your DevOps maturity score",{"href":785,"dataGaName":774,"dataGaLocation":250},"/assessments/devops-modernization-assessment/",{"config":787},{"src":788},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138785/eg818fmakweyuznttgid.png",{"id":790,"categories":791,"header":793,"text":769,"button":794,"image":798},"security-modernization",[792],"security","Are you trading speed for security?",{"text":795,"config":796},"Get your security maturity score",{"href":797,"dataGaName":774,"dataGaLocation":250},"/assessments/security-modernization-assessment/",{"config":799},{"src":800},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/p4pbqd9nnjejg5ds6mdk.png",{"id":802,"paths":803,"header":806,"text":807,"button":808,"image":813},"github-azure-migration",[804,805],"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":809,"config":810},"See how GitLab compares to GitHub",{"href":811,"dataGaName":812,"dataGaLocation":250},"/compare/gitlab-vs-github/github-azure-migration/","github azure migration",{"config":814},{"src":788},{"header":816,"blurb":817,"button":818,"secondaryButton":823},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":819,"config":820},"Get your free trial",{"href":821,"dataGaName":49,"dataGaLocation":822},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":516,"config":824},{"href":53,"dataGaName":54,"dataGaLocation":822},1777934822108]