[{"data":1,"prerenderedAt":2941},["ShallowReactive",2],{"/blog/understanding-flows-multi-agent-workflows":3,"navigation-en-us":2161,"banner-en-us":2586,"footer-en-us":2596,"blog-post-authors-en-us-Itzik Gan Baruch":2841,"blog-related-posts-en-us-understanding-flows-multi-agent-workflows":2856,"blog-promotions-en-us":2879,"next-steps-en-us":2931},{"id":4,"title":5,"authors":6,"body":8,"category":2140,"date":2141,"description":2142,"extension":2143,"externalUrl":2144,"faq":2144,"featured":2145,"heroImage":2146,"meta":2147,"navigation":1119,"path":2148,"seo":2149,"slug":2151,"stem":2152,"tags":2153,"template":2158,"updatedDate":2159,"__hash__":2160},"blogPosts/en-us/blog/understanding-flows-multi-agent-workflows.md","Understanding flows: Multi-agent workflows",[7],"Itzik Gan Baruch",{"type":9,"value":10,"toc":2116},"minimark",[11,24,30,64,78,83,86,91,123,126,130,133,220,224,324,328,331,336,503,507,516,530,534,537,542,574,578,585,612,615,619,622,628,638,644,662,681,687,701,713,733,747,750,754,773,793,796,801,827,831,837,1729,1735,1738,1753,1757,1770,1776,1802,1809,1881,1891,1898,1902,1905,1909,1916,1952,1958,1962,1965,1982,1985,1989,1992,2010,2013,2017,2037,2041,2049,2053,2093,2096,2103,2112],[12,13,14],"p",{},[15,16,17,18,23],"em",{},"Welcome to Part 4 of our eight-part guide, ",[19,20,22],"a",{"href":21},"/blog/gitlab-duo-agent-platform-complete-getting-started-guide/","Getting started with GitLab Duo Agent Platform",", 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.",[12,25,26],{},[27,28,29],"strong",{},"In this article:",[31,32,33,40,46,52,58],"ul",{},[34,35,36],"li",{},[19,37,39],{"href":38},"#introduction-to-flows","What are flows and how do they work?",[34,41,42],{},[19,43,45],{"href":44},"#foundational-flows","Foundational flows provided by GitLab",[34,47,48],{},[19,49,51],{"href":50},"#how-to-create-custom-flows","Creating custom flows",[34,53,54],{},[19,55,57],{"href":56},"#flow-execution","Flow execution and orchestration",[34,59,60],{},[19,61,63],{"href":62},"#example-custom-flow-yaml","Real-world examples and use cases",[65,66,67],"blockquote",{},[12,68,69,70,77],{},"🎯 Try ",[19,71,74],{"href":72,"rel":73},"https://about.gitlab.com/gitlab-duo-agent-platform/",[],[27,75,76],{},"GitLab Duo Agent Platform"," today!",[79,80,82],"h2",{"id":81},"introduction-to-flows","Introduction to flows",[12,84,85],{},"Flows are combinations of one or more agents collaborating together. They orchestrate multi-step workflows to solve complex problems, and are executed on the GitLab platform compute.",[12,87,88],{},[27,89,90],{},"Key characteristics of flows:",[31,92,93,99,105,111,117],{},[34,94,95,98],{},[27,96,97],{},"Multi-agent orchestration",": Combine multiple specialized agents",[34,100,101,104],{},[27,102,103],{},"Built-in",": Run on platform compute, no extra environment necessary",[34,106,107,110],{},[27,108,109],{},"Event-driven",": Triggered by mention, assignment, or assign as reviewer",[34,112,113,116],{},[27,114,115],{},"Asynchronous",": Run in background while you continue working",[34,118,119,122],{},[27,120,121],{},"Complete workflows",": Handle end-to-end tasks from analysis to implementation",[12,124,125],{},"Think of flows as autonomous workflows that can gather context, make decisions, execute changes, and deliver results, all while you focus on other work.",[79,127,129],{"id":128},"flows-vs-agents-understanding-the-difference","Flows vs. agents: Understanding the difference",[12,131,132],{},"Agents work with you interactively. Flows work for you autonomously.",[134,135,136,152],"table",{},[137,138,139],"thead",{},[140,141,142,146,149],"tr",{},[143,144,145],"th",{},"Aspect",[143,147,148],{},"Agents",[143,150,151],{},"Flows",[153,154,155,169,182,195,208],"tbody",{},[140,156,157,163,166],{},[158,159,160],"td",{},[27,161,162],{},"Interaction",[158,164,165],{},"Interactive chat",[158,167,168],{},"Autonomous execution",[140,170,171,176,179],{},[158,172,173],{},[27,174,175],{},"When to use",[158,177,178],{},"Questions, guidance, and performing tasks interactively",[158,180,181],{},"Autonomous multi-step workflows",[140,183,184,189,192],{},[158,185,186],{},[27,187,188],{},"User involvement",[158,190,191],{},"Active conversation",[158,193,194],{},"Trigger and review results",[140,196,197,202,205],{},[158,198,199],{},[27,200,201],{},"Execution time",[158,203,204],{},"Real-time responses",[158,206,207],{},"Background processing",[140,209,210,215,218],{},[158,211,212],{},[27,213,214],{},"Complexity",[158,216,217],{},"Single-agent tasks",[158,219,97],{},[79,221,223],{"id":222},"flow-types-overview","Flow types overview",[134,225,226,242],{},[137,227,228],{},[140,229,230,233,236,239],{},[143,231,232],{},"Type",[143,234,235],{},"Interface",[143,237,238],{},"Maintainer",[143,240,241],{},"Use Case",[153,243,244,304],{},[140,245,246,255,258,261],{},[158,247,248],{},[27,249,250],{},[19,251,254],{"href":252,"rel":253},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/",[],"Foundational",[158,256,257],{},"UI actions, IDE interface",[158,259,260],{},"GitLab",[158,262,263,268,269,268,274,268,279,268,284,268,289,268,294,268,299],{},[19,264,267],{"href":265,"rel":266},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/software_development/",[],"Software Development",", ",[19,270,273],{"href":271,"rel":272},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/developer/",[],"Developer",[19,275,278],{"href":276,"rel":277},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/fix_pipeline/",[],"Fix CI/CD Pipeline",[19,280,283],{"href":281,"rel":282},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/convert_to_gitlab_ci/",[],"Convert to GitLab CI/CD",[19,285,288],{"href":286,"rel":287},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/code_review/",[],"Code Review",[19,290,293],{"href":291,"rel":292},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/agentic_sast_vulnerability_resolution/",[],"SAST Vulnerability Resolution",[19,295,298],{"href":296,"rel":297},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/sast_false_positive_detection/",[],"SAST false positive detection",[19,300,303],{"href":301,"rel":302},"https://docs.gitlab.com/user/duo_agent_platform/flows/foundational_flows/secret_false_positive_detection/",[],"Secret false positive detection",[140,305,306,315,318,321],{},[158,307,308],{},[27,309,310],{},[19,311,314],{"href":312,"rel":313},"https://docs.gitlab.com/user/duo_agent_platform/flows/custom/",[],"Custom",[158,316,317],{},"Mention, assign, assign reviewer",[158,319,320],{},"You",[158,322,323],{},"Examples: Larger migration/modernization, release automation, dependency update management",[79,325,327],{"id":326},"foundational-flows","Foundational flows",[12,329,330],{},"Foundational flows are production-ready workflows created and maintained by GitLab to automate common development tasks.",[332,333,335],"h3",{"id":334},"currently-available-foundational-flows","Currently available foundational flows",[134,337,338,354],{},[137,339,340],{},[140,341,342,345,348,351],{},[143,343,344],{},"Flow",[143,346,347],{},"Where Available",[143,349,350],{},"How Flow Gets Triggered",[143,352,353],{},"Best For",[153,355,356,374,397,414,431,452,469,486],{},[140,357,358,365,368,371],{},[158,359,360],{},[19,361,363],{"href":265,"rel":362},[],[27,364,267],{},[158,366,367],{},"IDEs (VS Code, JetBrains, Visual Studio)",[158,369,370],{},"Click Flows tab in IDE",[158,372,373],{},"Feature implementation, complex refactoring, multi-file changes",[140,375,376,383,386,394],{},[158,377,378],{},[19,379,381],{"href":271,"rel":380},[],[27,382,273],{},[158,384,385],{},"GitLab Web UI",[158,387,388,389,393],{},"Mention ",[390,391,392],"code",{},"@duo-developer-\u003Cnamespace>"," in comment, assign to issue, or click \"Generate MR with Duo\" button",[158,395,396],{},"Well-defined features, bug fixes with clear steps",[140,398,399,406,408,411],{},[158,400,401],{},[19,402,404],{"href":276,"rel":403},[],[27,405,278],{},[158,407,385],{},[158,409,410],{},"Click \"Fix pipeline with Duo\" button on failed pipeline",[158,412,413],{},"Pipeline debugging, CI/CD configuration issues",[140,415,416,423,425,428],{},[158,417,418],{},[19,419,421],{"href":281,"rel":420},[],[27,422,283],{},[158,424,385],{},[158,426,427],{},"Click \"Convert to GitLab CI/CD\" button on Jenkinsfile",[158,429,430],{},"Jenkins to GitLab CI/CD migration",[140,432,433,440,442,449],{},[158,434,435],{},[19,436,438],{"href":286,"rel":437},[],[27,439,288],{},[158,441,385],{},[158,443,444,445,448],{},"Assign or mention ",[390,446,447],{},"@GitLabDuo"," as reviewer on a merge request",[158,450,451],{},"Automated code review with AI-native analysis and full SDLC context",[140,453,454,461,463,466],{},[158,455,456],{},[19,457,459],{"href":291,"rel":458},[],[27,460,293],{},[158,462,385],{},[158,464,465],{},"Runs after a SAST scan on the default branch (high/critical severity). UI access: Click \"Resolve with AI\" in a vulnerability report",[158,467,468],{},"Automatically generate merge requests to resolve SAST vulnerabilities",[140,470,471,478,480,483],{},[158,472,473],{},[19,474,476],{"href":296,"rel":475},[],[27,477,298],{},[158,479,385],{},[158,481,482],{},"Runs after a SAST scan on the default branch (critical/high severity). UI access: Click \"Check for false positive\" in a vulnerability report",[158,484,485],{},"Automatically identify and filter false positives in SAST findings",[140,487,488,495,497,500],{},[158,489,490],{},[19,491,493],{"href":301,"rel":492},[],[27,494,303],{},[158,496,385],{},[158,498,499],{},"Runs after a secret detection scan on the default branch. UI access: Click \"Check for false positive\" in a vulnerability report",[158,501,502],{},"Automatically identify and filter false positives in secret detection findings",[79,504,506],{"id":505},"custom-flows","Custom flows",[12,508,509,510,515],{},"Custom flows are workflows you can create for your team's specific needs. Flows are ",[19,511,514],{"href":512,"rel":513},"https://docs.gitlab.com/user/duo_agent_platform/flows/execution/",[],"executed on the GitLab Runner infrastructure"," and can be triggered by GitLab events.",[65,517,518],{},[12,519,520,523,524,529],{},[27,521,522],{},"🎯 Try it now:"," ",[19,525,528],{"href":526,"rel":527},"https://gitlab.navattic.com/custom-flows",[],"Interactive demo of Custom Flows"," — Explore how to create and configure Custom Flows.",[332,531,533],{"id":532},"why-create-custom-flows","Why create custom flows?",[12,535,536],{},"Custom flows automate repetitive multi-step tasks that are specific to your team's workflow. Unlike foundational flows that serve general purposes, custom flows are tailored to your organization's processes, tools, and requirements.",[12,538,539],{},[27,540,541],{},"Common use cases:",[31,543,544,550,556,562,568],{},[34,545,546,549],{},[27,547,548],{},"Automated code review",": Multi-stage review process (security scan → quality check → style validation)",[34,551,552,555],{},[27,553,554],{},"Compliance checking",": Verify regulatory requirements, license compliance, or security policies on each MR",[34,557,558,561],{},[27,559,560],{},"Documentation generation",": Auto-update API docs, README files, or changelogs based on code changes",[34,563,564,567],{},[27,565,566],{},"Dependency management",": Weekly security scans, automated updates, and vulnerability reports",[34,569,570,573],{},[27,571,572],{},"Custom testing",": Specialized test suites for your tech stack or integration tests",[332,575,577],{"id":576},"real-world-example","Real-world example",[12,579,580,581,584],{},"A fintech company creates a compliance flow that runs on every merge request. When triggered by ",[390,582,583],{},"@compliance-flow",", the flow executes the following steps:",[586,587,588,594,600,606],"ol",{},[34,589,590,593],{},[27,591,592],{},"Security agent"," scans code for PCI-DSS violations and checks for exposed sensitive data.",[34,595,596,599],{},[27,597,598],{},"Code review agent"," verifies that changes follow secure coding standards and best practices.",[34,601,602,605],{},[27,603,604],{},"Documentation agent"," checks that API changes include updated documentation.",[34,607,608,611],{},[27,609,610],{},"Summary agent"," aggregates findings and posts a compliance report with pass/fail status.",[12,613,614],{},"The entire compliance review happens automatically in 5-10 minutes, providing consistent checks across all merge requests.",[332,616,618],{"id":617},"how-to-trigger-custom-flows","How to trigger custom flows",[12,620,621],{},"Custom flows can be triggered in multiple ways:",[12,623,624,627],{},[27,625,626],{},"1. Via mentions in Issues/MRs:","\nMention the flow in a comment to trigger it. Example for a documentation generation flow:",[629,630,636],"pre",{"className":631,"code":633,"language":634,"meta":635},[632],"language-text","@doc-generator Generate API documentation for this feature\n","text","",[390,637,633],{"__ignoreMap":635},[12,639,640,643],{},[27,641,642],{},"2. By assigning the flow to an issue or MR:","\nAssign the flow using either:",[31,645,646,652],{},[34,647,648,651],{},[27,649,650],{},"GitLab UI",": Click the \"Assign\" button on the issue/MR and select the flow",[34,653,654,657,658,661],{},[27,655,656],{},"Command",": Use the ",[390,659,660],{},"/assign"," command in a comment. Example:",[629,663,667],{"className":664,"code":665,"language":666,"meta":635,"style":635},"language-shell shiki shiki-themes github-light","/assign @doc-generator\n","shell",[390,668,669],{"__ignoreMap":635},[670,671,674,677],"span",{"class":672,"line":673},"line",1,[670,675,660],{"class":676},"s7eDp",[670,678,680],{"class":679},"sYBdl"," @doc-generator\n",[12,682,683,686],{},[27,684,685],{},"3. By assigning the flow as a reviewer:","\nAssign the flow as a reviewer on a merge request using either:",[31,688,689,694],{},[34,690,691,693],{},[27,692,650],{},": Click the \"Assign reviewer\" button on the merge request and select the flow",[34,695,696,657,698,661],{},[27,697,656],{},[390,699,700],{},"/assign_reviewer",[629,702,704],{"className":664,"code":703,"language":666,"meta":635,"style":635},"/assign_reviewer @doc-reviewer\n",[390,705,706],{"__ignoreMap":635},[670,707,708,710],{"class":672,"line":673},[670,709,700],{"class":676},[670,711,712],{"class":679}," @doc-reviewer\n",[12,714,715,718,719,268,722,268,725,728,729,732],{},[27,716,717],{},"4. Via pipeline events:","\nConfigure the flow to trigger automatically when a pipeline changes state (",[390,720,721],{},"created",[390,723,724],{},"started",[390,726,727],{},"succeeded",", or ",[390,730,731],{},"failed","). This is configured when you enable the flow in your project.",[65,734,735],{},[12,736,737,740,741,746],{},[27,738,739],{},"Note:"," Pipeline event triggers are currently behind a feature flag and not yet available to all customers on GitLab.com or Dedicated. Check the ",[19,742,745],{"href":743,"rel":744},"https://docs.gitlab.com/user/duo_agent_platform/triggers/",[],"Triggers documentation"," for the latest availability status.",[12,748,749],{},"Any of these methods automatically triggers the flow to execute and perform its tasks.",[332,751,753],{"id":752},"how-to-create-custom-flows","How to create custom flows",[12,755,756,757,760,761,764,765,768,769,772],{},"Custom flows are created through the GitLab UI at ",[27,758,759],{},"AI → Flows → New flow"," in your project, or from ",[27,762,763],{},"Explore → AI Catalog → Flows → New flow",". When creating a flow, you can set its visibility to ",[27,766,767],{},"Private"," (only accessible in your project) or ",[27,770,771],{},"Public"," (available in the AI Catalog for other projects).",[12,774,775,776,779,780,268,783,268,786,728,789,792],{},"After creating a flow, you must ",[27,777,778],{},"enable"," it in your project before it can be triggered. When you enable a flow, you configure which trigger types activate it: ",[27,781,782],{},"Mention",[27,784,785],{},"Assign",[27,787,788],{},"Assign reviewer",[27,790,791],{},"Pipeline events",".",[12,794,795],{},"You define your flow using YAML configuration that specifies components, prompts, routing, and execution flow. The YAML schema allows you to create sophisticated multi-agent workflows with precise control over agent behavior and orchestration.",[12,797,798],{},[27,799,800],{},"Key elements of a custom flow:",[31,802,803,809,815,821],{},[34,804,805,808],{},[27,806,807],{},"Components",": Define the agents and steps in your workflow",[34,810,811,814],{},[27,812,813],{},"Prompts",": Configure AI model behavior and instructions",[34,816,817,820],{},[27,818,819],{},"Routers",": Control the flow between components",[34,822,823,826],{},[27,824,825],{},"Toolsets",": Specify which GitLab API tools agents can use",[332,828,830],{"id":829},"example-custom-flow-yaml","Example custom flow YAML",[12,832,833,836],{},[27,834,835],{},"Background:"," This example shows a feature implementation flow for a travel booking platform. When a developer creates an issue with feature requirements, they can trigger this flow to automatically analyze the requirements, review the codebase, implement the solution, and create a merge request, all without manual intervention.\nHere's the YAML configuration:",[629,838,842],{"className":839,"code":840,"language":841,"meta":635,"style":635},"language-yaml shiki shiki-themes github-light","version: \"v1\"\nenvironment: ambient\ncomponents:\n  - name: \"implement_feature\"\n    type: AgentComponent\n    prompt_id: \"implementation_prompt\"\n    inputs:\n      - from: \"context:goal\"\n        as: \"user_goal\"\n      - from: \"context:project_id\"\n        as: \"project_id\"\n      - from: \"context:inputs.user_rule\"\n        as: \"agents_dot_md\"\n        optional: true\n    toolset:\n      - \"get_issue\"\n      - \"get_repository_file\"\n      - \"list_repository_tree\"\n      - \"find_files\"\n      - \"blob_search\"\n      - \"create_file\"\n      - \"create_commit\"\n      - \"create_merge_request\"\n      - \"create_issue_note\"\n    ui_log_events:\n      - \"on_agent_final_answer\"\n      - \"on_tool_execution_success\"\n      - \"on_tool_execution_failed\"\n\nprompts:\n  - name: \"Cheapflights Feature Implementation\"\n    prompt_id: \"implementation_prompt\"\n    unit_primitives: []\n    prompt_template:\n      system: |\n        You are an expert full-stack developer specializing in travel booking platforms, specifically Cheapflights.\n\n        Your task is to:\n        1. Extract the issue IID from the goal (look for \"Issue IID: XX\")\n        2. Use get_issue with project_id={{project_id}} and issue_iid to retrieve issue details\n        3. Analyze the requirements for the flight search feature\n        4. Review the existing codebase using list_repository_tree, find_files, and get_repository_file\n        5. Design and implement the solution following Cheapflights best practices\n        6. Create all necessary code files using create_file (call multiple times for multiple files)\n        7. Commit the changes using create_commit\n        8. Create a merge request using create_merge_request\n        9. Post a summary comment to the issue using create_issue_note with the MR link\n\n        Cheapflights Domain Expertise:\n        - Flight search and booking systems (Amadeus, Sabre, Skyscanner APIs)\n        - Fare comparison and pricing strategies\n        - Real-time availability and inventory management\n        - Travel industry UX patterns\n        - Performance optimization for high-traffic flight searches\n\n        Code Standards:\n        - Clean, maintainable code (TypeScript/JavaScript/Python/React)\n        - Proper state management for React components\n        - RESTful API endpoints with comprehensive error handling\n        - Mobile-first responsive design\n        - Proper timezone handling (use moment-timezone or date-fns-tz)\n        - WCAG 2.1 accessibility compliance\n\n        Flight-Specific Best Practices:\n        - Accurate fare calculations (base fare + taxes + fees + surcharges)\n        - Flight duration calculations across timezones\n        - Search filter logic (price range, number of stops, airlines, departure/arrival times)\n        - Sort algorithms (best value, fastest, cheapest)\n        - Handle edge cases: date line crossing, daylight saving time, red-eye flights\n        - Currency amounts use proper decimal handling (avoid floating point errors)\n        - Dates use ISO 8601 format\n        - Flight codes follow IATA standards (3-letter airport codes)\n\n        Implementation Requirements:\n        - No TODOs or placeholder comments\n        - All functions must be fully implemented\n        - Include proper TypeScript types or Python type hints\n        - Add JSDoc/docstring comments for all functions\n        - Comprehensive error handling and input validation\n        - Basic unit tests for critical functions\n        - Performance considerations for handling large result sets\n\n        CRITICAL - Your final comment on the issue MUST include:\n        - **Implementation Summary**: Brief description of what was implemented\n        - **Files Created/Modified**: List of all files with descriptions\n        - **Key Features**: Bullet points of main functionality\n        - **Technical Approach**: Brief explanation of architecture/patterns used\n        - **Testing Notes**: How to test the implementation\n        - **Merge Request Link**: Direct link to the created MR (format: [View Merge Request](MR_URL))\n\n        IMPORTANT TOOL USAGE:\n        - Extract the issue IID from the goal first (e.g., \"Issue IID: 12\" means issue_iid=12)\n        - Use get_issue with project_id={{project_id}} and issue_iid=\u003Cextracted_iid>\n        - Create multiple files by calling create_file multiple times (once per file)\n        - Use create_commit to commit all files together with a descriptive commit message\n        - Use create_merge_request to create the MR and capture the MR URL from the response\n        - Use create_issue_note with project_id={{project_id}}, noteable_id=\u003Cissue_iid>, and body=\u003Cyour complete summary with MR link>\n        - Make sure to include the MR link in the comment body so users can easily access it\n\n      user: |\n        Goal: {{user_goal}}\n        Project ID: {{project_id}}\n\n        Please complete the following steps:\n        1. Extract the issue IID and retrieve full issue details\n        2. Analyze the requirements thoroughly\n        3. Review the existing codebase structure and patterns\n        4. Implement the feature with production-ready code\n        5. Create all necessary files (components, APIs, tests, documentation)\n        6. Commit all changes with a clear commit message\n        7. Create a merge request\n        8. Post a detailed summary comment to the issue including the MR link\n\n      placeholder: history\n    params:\n      timeout: 300\n\nrouters:\n  - from: \"implement_feature\"\n    to: \"end\"\n\nflow:\n  entry_point: \"implement_feature\"\n","yaml",[390,843,844,857,868,877,891,902,913,921,935,946,958,968,980,990,1002,1010,1018,1026,1034,1042,1050,1058,1066,1074,1082,1090,1098,1106,1114,1121,1129,1141,1150,1159,1167,1179,1185,1190,1196,1202,1208,1214,1220,1226,1232,1238,1244,1250,1255,1261,1267,1273,1279,1285,1291,1296,1302,1308,1314,1320,1326,1332,1338,1343,1349,1355,1361,1367,1373,1379,1385,1391,1397,1402,1408,1414,1420,1426,1432,1438,1444,1450,1455,1461,1467,1473,1479,1485,1491,1497,1502,1508,1514,1520,1526,1532,1538,1544,1550,1555,1565,1571,1577,1582,1588,1594,1600,1606,1612,1618,1624,1630,1636,1641,1652,1660,1671,1676,1684,1695,1706,1711,1719],{"__ignoreMap":635},[670,845,846,850,854],{"class":672,"line":673},[670,847,849],{"class":848},"shJU0","version",[670,851,853],{"class":852},"sgsFI",": ",[670,855,856],{"class":679},"\"v1\"\n",[670,858,860,863,865],{"class":672,"line":859},2,[670,861,862],{"class":848},"environment",[670,864,853],{"class":852},[670,866,867],{"class":679},"ambient\n",[670,869,871,874],{"class":672,"line":870},3,[670,872,873],{"class":848},"components",[670,875,876],{"class":852},":\n",[670,878,880,883,886,888],{"class":672,"line":879},4,[670,881,882],{"class":852},"  - ",[670,884,885],{"class":848},"name",[670,887,853],{"class":852},[670,889,890],{"class":679},"\"implement_feature\"\n",[670,892,894,897,899],{"class":672,"line":893},5,[670,895,896],{"class":848},"    type",[670,898,853],{"class":852},[670,900,901],{"class":679},"AgentComponent\n",[670,903,905,908,910],{"class":672,"line":904},6,[670,906,907],{"class":848},"    prompt_id",[670,909,853],{"class":852},[670,911,912],{"class":679},"\"implementation_prompt\"\n",[670,914,916,919],{"class":672,"line":915},7,[670,917,918],{"class":848},"    inputs",[670,920,876],{"class":852},[670,922,924,927,930,932],{"class":672,"line":923},8,[670,925,926],{"class":852},"      - ",[670,928,929],{"class":848},"from",[670,931,853],{"class":852},[670,933,934],{"class":679},"\"context:goal\"\n",[670,936,938,941,943],{"class":672,"line":937},9,[670,939,940],{"class":848},"        as",[670,942,853],{"class":852},[670,944,945],{"class":679},"\"user_goal\"\n",[670,947,949,951,953,955],{"class":672,"line":948},10,[670,950,926],{"class":852},[670,952,929],{"class":848},[670,954,853],{"class":852},[670,956,957],{"class":679},"\"context:project_id\"\n",[670,959,961,963,965],{"class":672,"line":960},11,[670,962,940],{"class":848},[670,964,853],{"class":852},[670,966,967],{"class":679},"\"project_id\"\n",[670,969,971,973,975,977],{"class":672,"line":970},12,[670,972,926],{"class":852},[670,974,929],{"class":848},[670,976,853],{"class":852},[670,978,979],{"class":679},"\"context:inputs.user_rule\"\n",[670,981,983,985,987],{"class":672,"line":982},13,[670,984,940],{"class":848},[670,986,853],{"class":852},[670,988,989],{"class":679},"\"agents_dot_md\"\n",[670,991,993,996,998],{"class":672,"line":992},14,[670,994,995],{"class":848},"        optional",[670,997,853],{"class":852},[670,999,1001],{"class":1000},"sYu0t","true\n",[670,1003,1005,1008],{"class":672,"line":1004},15,[670,1006,1007],{"class":848},"    toolset",[670,1009,876],{"class":852},[670,1011,1013,1015],{"class":672,"line":1012},16,[670,1014,926],{"class":852},[670,1016,1017],{"class":679},"\"get_issue\"\n",[670,1019,1021,1023],{"class":672,"line":1020},17,[670,1022,926],{"class":852},[670,1024,1025],{"class":679},"\"get_repository_file\"\n",[670,1027,1029,1031],{"class":672,"line":1028},18,[670,1030,926],{"class":852},[670,1032,1033],{"class":679},"\"list_repository_tree\"\n",[670,1035,1037,1039],{"class":672,"line":1036},19,[670,1038,926],{"class":852},[670,1040,1041],{"class":679},"\"find_files\"\n",[670,1043,1045,1047],{"class":672,"line":1044},20,[670,1046,926],{"class":852},[670,1048,1049],{"class":679},"\"blob_search\"\n",[670,1051,1053,1055],{"class":672,"line":1052},21,[670,1054,926],{"class":852},[670,1056,1057],{"class":679},"\"create_file\"\n",[670,1059,1061,1063],{"class":672,"line":1060},22,[670,1062,926],{"class":852},[670,1064,1065],{"class":679},"\"create_commit\"\n",[670,1067,1069,1071],{"class":672,"line":1068},23,[670,1070,926],{"class":852},[670,1072,1073],{"class":679},"\"create_merge_request\"\n",[670,1075,1077,1079],{"class":672,"line":1076},24,[670,1078,926],{"class":852},[670,1080,1081],{"class":679},"\"create_issue_note\"\n",[670,1083,1085,1088],{"class":672,"line":1084},25,[670,1086,1087],{"class":848},"    ui_log_events",[670,1089,876],{"class":852},[670,1091,1093,1095],{"class":672,"line":1092},26,[670,1094,926],{"class":852},[670,1096,1097],{"class":679},"\"on_agent_final_answer\"\n",[670,1099,1101,1103],{"class":672,"line":1100},27,[670,1102,926],{"class":852},[670,1104,1105],{"class":679},"\"on_tool_execution_success\"\n",[670,1107,1109,1111],{"class":672,"line":1108},28,[670,1110,926],{"class":852},[670,1112,1113],{"class":679},"\"on_tool_execution_failed\"\n",[670,1115,1117],{"class":672,"line":1116},29,[670,1118,1120],{"emptyLinePlaceholder":1119},true,"\n",[670,1122,1124,1127],{"class":672,"line":1123},30,[670,1125,1126],{"class":848},"prompts",[670,1128,876],{"class":852},[670,1130,1132,1134,1136,1138],{"class":672,"line":1131},31,[670,1133,882],{"class":852},[670,1135,885],{"class":848},[670,1137,853],{"class":852},[670,1139,1140],{"class":679},"\"Cheapflights Feature Implementation\"\n",[670,1142,1144,1146,1148],{"class":672,"line":1143},32,[670,1145,907],{"class":848},[670,1147,853],{"class":852},[670,1149,912],{"class":679},[670,1151,1153,1156],{"class":672,"line":1152},33,[670,1154,1155],{"class":848},"    unit_primitives",[670,1157,1158],{"class":852},": []\n",[670,1160,1162,1165],{"class":672,"line":1161},34,[670,1163,1164],{"class":848},"    prompt_template",[670,1166,876],{"class":852},[670,1168,1170,1173,1175],{"class":672,"line":1169},35,[670,1171,1172],{"class":848},"      system",[670,1174,853],{"class":852},[670,1176,1178],{"class":1177},"sD7c4","|\n",[670,1180,1182],{"class":672,"line":1181},36,[670,1183,1184],{"class":679},"        You are an expert full-stack developer specializing in travel booking platforms, specifically Cheapflights.\n",[670,1186,1188],{"class":672,"line":1187},37,[670,1189,1120],{"emptyLinePlaceholder":1119},[670,1191,1193],{"class":672,"line":1192},38,[670,1194,1195],{"class":679},"        Your task is to:\n",[670,1197,1199],{"class":672,"line":1198},39,[670,1200,1201],{"class":679},"        1. Extract the issue IID from the goal (look for \"Issue IID: XX\")\n",[670,1203,1205],{"class":672,"line":1204},40,[670,1206,1207],{"class":679},"        2. Use get_issue with project_id={{project_id}} and issue_iid to retrieve issue details\n",[670,1209,1211],{"class":672,"line":1210},41,[670,1212,1213],{"class":679},"        3. Analyze the requirements for the flight search feature\n",[670,1215,1217],{"class":672,"line":1216},42,[670,1218,1219],{"class":679},"        4. Review the existing codebase using list_repository_tree, find_files, and get_repository_file\n",[670,1221,1223],{"class":672,"line":1222},43,[670,1224,1225],{"class":679},"        5. Design and implement the solution following Cheapflights best practices\n",[670,1227,1229],{"class":672,"line":1228},44,[670,1230,1231],{"class":679},"        6. Create all necessary code files using create_file (call multiple times for multiple files)\n",[670,1233,1235],{"class":672,"line":1234},45,[670,1236,1237],{"class":679},"        7. Commit the changes using create_commit\n",[670,1239,1241],{"class":672,"line":1240},46,[670,1242,1243],{"class":679},"        8. Create a merge request using create_merge_request\n",[670,1245,1247],{"class":672,"line":1246},47,[670,1248,1249],{"class":679},"        9. Post a summary comment to the issue using create_issue_note with the MR link\n",[670,1251,1253],{"class":672,"line":1252},48,[670,1254,1120],{"emptyLinePlaceholder":1119},[670,1256,1258],{"class":672,"line":1257},49,[670,1259,1260],{"class":679},"        Cheapflights Domain Expertise:\n",[670,1262,1264],{"class":672,"line":1263},50,[670,1265,1266],{"class":679},"        - Flight search and booking systems (Amadeus, Sabre, Skyscanner APIs)\n",[670,1268,1270],{"class":672,"line":1269},51,[670,1271,1272],{"class":679},"        - Fare comparison and pricing strategies\n",[670,1274,1276],{"class":672,"line":1275},52,[670,1277,1278],{"class":679},"        - Real-time availability and inventory management\n",[670,1280,1282],{"class":672,"line":1281},53,[670,1283,1284],{"class":679},"        - Travel industry UX patterns\n",[670,1286,1288],{"class":672,"line":1287},54,[670,1289,1290],{"class":679},"        - Performance optimization for high-traffic flight searches\n",[670,1292,1294],{"class":672,"line":1293},55,[670,1295,1120],{"emptyLinePlaceholder":1119},[670,1297,1299],{"class":672,"line":1298},56,[670,1300,1301],{"class":679},"        Code Standards:\n",[670,1303,1305],{"class":672,"line":1304},57,[670,1306,1307],{"class":679},"        - Clean, maintainable code (TypeScript/JavaScript/Python/React)\n",[670,1309,1311],{"class":672,"line":1310},58,[670,1312,1313],{"class":679},"        - Proper state management for React components\n",[670,1315,1317],{"class":672,"line":1316},59,[670,1318,1319],{"class":679},"        - RESTful API endpoints with comprehensive error handling\n",[670,1321,1323],{"class":672,"line":1322},60,[670,1324,1325],{"class":679},"        - Mobile-first responsive design\n",[670,1327,1329],{"class":672,"line":1328},61,[670,1330,1331],{"class":679},"        - Proper timezone handling (use moment-timezone or date-fns-tz)\n",[670,1333,1335],{"class":672,"line":1334},62,[670,1336,1337],{"class":679},"        - WCAG 2.1 accessibility compliance\n",[670,1339,1341],{"class":672,"line":1340},63,[670,1342,1120],{"emptyLinePlaceholder":1119},[670,1344,1346],{"class":672,"line":1345},64,[670,1347,1348],{"class":679},"        Flight-Specific Best Practices:\n",[670,1350,1352],{"class":672,"line":1351},65,[670,1353,1354],{"class":679},"        - Accurate fare calculations (base fare + taxes + fees + surcharges)\n",[670,1356,1358],{"class":672,"line":1357},66,[670,1359,1360],{"class":679},"        - Flight duration calculations across timezones\n",[670,1362,1364],{"class":672,"line":1363},67,[670,1365,1366],{"class":679},"        - Search filter logic (price range, number of stops, airlines, departure/arrival times)\n",[670,1368,1370],{"class":672,"line":1369},68,[670,1371,1372],{"class":679},"        - Sort algorithms (best value, fastest, cheapest)\n",[670,1374,1376],{"class":672,"line":1375},69,[670,1377,1378],{"class":679},"        - Handle edge cases: date line crossing, daylight saving time, red-eye flights\n",[670,1380,1382],{"class":672,"line":1381},70,[670,1383,1384],{"class":679},"        - Currency amounts use proper decimal handling (avoid floating point errors)\n",[670,1386,1388],{"class":672,"line":1387},71,[670,1389,1390],{"class":679},"        - Dates use ISO 8601 format\n",[670,1392,1394],{"class":672,"line":1393},72,[670,1395,1396],{"class":679},"        - Flight codes follow IATA standards (3-letter airport codes)\n",[670,1398,1400],{"class":672,"line":1399},73,[670,1401,1120],{"emptyLinePlaceholder":1119},[670,1403,1405],{"class":672,"line":1404},74,[670,1406,1407],{"class":679},"        Implementation Requirements:\n",[670,1409,1411],{"class":672,"line":1410},75,[670,1412,1413],{"class":679},"        - No TODOs or placeholder comments\n",[670,1415,1417],{"class":672,"line":1416},76,[670,1418,1419],{"class":679},"        - All functions must be fully implemented\n",[670,1421,1423],{"class":672,"line":1422},77,[670,1424,1425],{"class":679},"        - Include proper TypeScript types or Python type hints\n",[670,1427,1429],{"class":672,"line":1428},78,[670,1430,1431],{"class":679},"        - Add JSDoc/docstring comments for all functions\n",[670,1433,1435],{"class":672,"line":1434},79,[670,1436,1437],{"class":679},"        - Comprehensive error handling and input validation\n",[670,1439,1441],{"class":672,"line":1440},80,[670,1442,1443],{"class":679},"        - Basic unit tests for critical functions\n",[670,1445,1447],{"class":672,"line":1446},81,[670,1448,1449],{"class":679},"        - Performance considerations for handling large result sets\n",[670,1451,1453],{"class":672,"line":1452},82,[670,1454,1120],{"emptyLinePlaceholder":1119},[670,1456,1458],{"class":672,"line":1457},83,[670,1459,1460],{"class":679},"        CRITICAL - Your final comment on the issue MUST include:\n",[670,1462,1464],{"class":672,"line":1463},84,[670,1465,1466],{"class":679},"        - **Implementation Summary**: Brief description of what was implemented\n",[670,1468,1470],{"class":672,"line":1469},85,[670,1471,1472],{"class":679},"        - **Files Created/Modified**: List of all files with descriptions\n",[670,1474,1476],{"class":672,"line":1475},86,[670,1477,1478],{"class":679},"        - **Key Features**: Bullet points of main functionality\n",[670,1480,1482],{"class":672,"line":1481},87,[670,1483,1484],{"class":679},"        - **Technical Approach**: Brief explanation of architecture/patterns used\n",[670,1486,1488],{"class":672,"line":1487},88,[670,1489,1490],{"class":679},"        - **Testing Notes**: How to test the implementation\n",[670,1492,1494],{"class":672,"line":1493},89,[670,1495,1496],{"class":679},"        - **Merge Request Link**: Direct link to the created MR (format: [View Merge Request](MR_URL))\n",[670,1498,1500],{"class":672,"line":1499},90,[670,1501,1120],{"emptyLinePlaceholder":1119},[670,1503,1505],{"class":672,"line":1504},91,[670,1506,1507],{"class":679},"        IMPORTANT TOOL USAGE:\n",[670,1509,1511],{"class":672,"line":1510},92,[670,1512,1513],{"class":679},"        - Extract the issue IID from the goal first (e.g., \"Issue IID: 12\" means issue_iid=12)\n",[670,1515,1517],{"class":672,"line":1516},93,[670,1518,1519],{"class":679},"        - Use get_issue with project_id={{project_id}} and issue_iid=\u003Cextracted_iid>\n",[670,1521,1523],{"class":672,"line":1522},94,[670,1524,1525],{"class":679},"        - Create multiple files by calling create_file multiple times (once per file)\n",[670,1527,1529],{"class":672,"line":1528},95,[670,1530,1531],{"class":679},"        - Use create_commit to commit all files together with a descriptive commit message\n",[670,1533,1535],{"class":672,"line":1534},96,[670,1536,1537],{"class":679},"        - Use create_merge_request to create the MR and capture the MR URL from the response\n",[670,1539,1541],{"class":672,"line":1540},97,[670,1542,1543],{"class":679},"        - Use create_issue_note with project_id={{project_id}}, noteable_id=\u003Cissue_iid>, and body=\u003Cyour complete summary with MR link>\n",[670,1545,1547],{"class":672,"line":1546},98,[670,1548,1549],{"class":679},"        - Make sure to include the MR link in the comment body so users can easily access it\n",[670,1551,1553],{"class":672,"line":1552},99,[670,1554,1120],{"emptyLinePlaceholder":1119},[670,1556,1558,1561,1563],{"class":672,"line":1557},100,[670,1559,1560],{"class":848},"      user",[670,1562,853],{"class":852},[670,1564,1178],{"class":1177},[670,1566,1568],{"class":672,"line":1567},101,[670,1569,1570],{"class":679},"        Goal: {{user_goal}}\n",[670,1572,1574],{"class":672,"line":1573},102,[670,1575,1576],{"class":679},"        Project ID: {{project_id}}\n",[670,1578,1580],{"class":672,"line":1579},103,[670,1581,1120],{"emptyLinePlaceholder":1119},[670,1583,1585],{"class":672,"line":1584},104,[670,1586,1587],{"class":679},"        Please complete the following steps:\n",[670,1589,1591],{"class":672,"line":1590},105,[670,1592,1593],{"class":679},"        1. Extract the issue IID and retrieve full issue details\n",[670,1595,1597],{"class":672,"line":1596},106,[670,1598,1599],{"class":679},"        2. Analyze the requirements thoroughly\n",[670,1601,1603],{"class":672,"line":1602},107,[670,1604,1605],{"class":679},"        3. Review the existing codebase structure and patterns\n",[670,1607,1609],{"class":672,"line":1608},108,[670,1610,1611],{"class":679},"        4. Implement the feature with production-ready code\n",[670,1613,1615],{"class":672,"line":1614},109,[670,1616,1617],{"class":679},"        5. Create all necessary files (components, APIs, tests, documentation)\n",[670,1619,1621],{"class":672,"line":1620},110,[670,1622,1623],{"class":679},"        6. Commit all changes with a clear commit message\n",[670,1625,1627],{"class":672,"line":1626},111,[670,1628,1629],{"class":679},"        7. Create a merge request\n",[670,1631,1633],{"class":672,"line":1632},112,[670,1634,1635],{"class":679},"        8. Post a detailed summary comment to the issue including the MR link\n",[670,1637,1639],{"class":672,"line":1638},113,[670,1640,1120],{"emptyLinePlaceholder":1119},[670,1642,1644,1647,1649],{"class":672,"line":1643},114,[670,1645,1646],{"class":848},"      placeholder",[670,1648,853],{"class":852},[670,1650,1651],{"class":679},"history\n",[670,1653,1655,1658],{"class":672,"line":1654},115,[670,1656,1657],{"class":848},"    params",[670,1659,876],{"class":852},[670,1661,1663,1666,1668],{"class":672,"line":1662},116,[670,1664,1665],{"class":848},"      timeout",[670,1667,853],{"class":852},[670,1669,1670],{"class":1000},"300\n",[670,1672,1674],{"class":672,"line":1673},117,[670,1675,1120],{"emptyLinePlaceholder":1119},[670,1677,1679,1682],{"class":672,"line":1678},118,[670,1680,1681],{"class":848},"routers",[670,1683,876],{"class":852},[670,1685,1687,1689,1691,1693],{"class":672,"line":1686},119,[670,1688,882],{"class":852},[670,1690,929],{"class":848},[670,1692,853],{"class":852},[670,1694,890],{"class":679},[670,1696,1698,1701,1703],{"class":672,"line":1697},120,[670,1699,1700],{"class":848},"    to",[670,1702,853],{"class":852},[670,1704,1705],{"class":679},"\"end\"\n",[670,1707,1709],{"class":672,"line":1708},121,[670,1710,1120],{"emptyLinePlaceholder":1119},[670,1712,1714,1717],{"class":672,"line":1713},122,[670,1715,1716],{"class":848},"flow",[670,1718,876],{"class":852},[670,1720,1722,1725,1727],{"class":672,"line":1721},123,[670,1723,1724],{"class":848},"  entry_point",[670,1726,853],{"class":852},[670,1728,890],{"class":679},[12,1730,1731,1734],{},[27,1732,1733],{},"What this flow does:"," This flow orchestrates an AI agent to automatically implement a feature by analyzing issue requirements, reviewing the codebase, writing production-ready code with domain expertise, and creating a merge request with a detailed summary comment.",[12,1736,1737],{},"For complete documentation and examples, see:",[31,1739,1740,1746],{},[34,1741,1742],{},[19,1743,1745],{"href":312,"rel":1744},[],"Custom Flows documentation",[34,1747,1748],{},[19,1749,1752],{"href":1750,"rel":1751},"https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/blob/main/docs/flow_registry/v1.md",[],"Flow Registry Framework (YAML Schema)",[79,1754,1756],{"id":1755},"customizing-flow-behavior-with-agentsmd","Customizing flow behavior with AGENTS.md",[12,1758,1759,1760,1763,1764,1769],{},"You can customize how flows behave using ",[390,1761,1762],{},"AGENTS.md"," files following the ",[19,1765,1768],{"href":1766,"rel":1767},"https://agents.md/",[],"agents.md"," standard. This applies to both foundational and custom flows (excluding Code Review Flow).",[12,1771,1772,1773,1775],{},"With ",[390,1774,1762],{},", you can define:",[31,1777,1778,1784,1790,1796],{},[34,1779,1780,1783],{},[27,1781,1782],{},"Project context",": Repository structure, coding conventions, and style guidelines",[34,1785,1786,1789],{},[27,1787,1788],{},"Directory-specific conventions",": Different rules for different parts of your codebase",[34,1791,1792,1795],{},[27,1793,1794],{},"Build and test instructions",": How to build, test, and deploy your project",[34,1797,1798,1801],{},[27,1799,1800],{},"Custom skills",": Specialized capabilities for your team's workflows",[12,1803,1804,1805,1808],{},"For custom flows, update your flow's YAML configuration to access the ",[390,1806,1807],{},"user_rule"," context:",[629,1810,1812],{"className":839,"code":1811,"language":841,"meta":635,"style":635},"components:\n  - name: \"my_agent\"\n    type: AgentComponent\n    prompt_id: \"my_prompt\"\n    inputs:\n      - from: \"context:inputs.user_rule\"\n        as: \"agents_dot_md\"\n      optional: true\n",[390,1813,1814,1820,1831,1839,1848,1854,1864,1872],{"__ignoreMap":635},[670,1815,1816,1818],{"class":672,"line":673},[670,1817,873],{"class":848},[670,1819,876],{"class":852},[670,1821,1822,1824,1826,1828],{"class":672,"line":859},[670,1823,882],{"class":852},[670,1825,885],{"class":848},[670,1827,853],{"class":852},[670,1829,1830],{"class":679},"\"my_agent\"\n",[670,1832,1833,1835,1837],{"class":672,"line":870},[670,1834,896],{"class":848},[670,1836,853],{"class":852},[670,1838,901],{"class":679},[670,1840,1841,1843,1845],{"class":672,"line":879},[670,1842,907],{"class":848},[670,1844,853],{"class":852},[670,1846,1847],{"class":679},"\"my_prompt\"\n",[670,1849,1850,1852],{"class":672,"line":893},[670,1851,918],{"class":848},[670,1853,876],{"class":852},[670,1855,1856,1858,1860,1862],{"class":672,"line":904},[670,1857,926],{"class":852},[670,1859,929],{"class":848},[670,1861,853],{"class":852},[670,1863,979],{"class":679},[670,1865,1866,1868,1870],{"class":672,"line":915},[670,1867,940],{"class":848},[670,1869,853],{"class":852},[670,1871,989],{"class":679},[670,1873,1874,1877,1879],{"class":672,"line":923},[670,1875,1876],{"class":848},"      optional",[670,1878,853],{"class":852},[670,1880,1001],{"class":1000},[12,1882,1883,1884,1887,1888,1890],{},"By setting ",[390,1885,1886],{},"optional: true",", the flow gracefully handles cases where no ",[390,1889,1762],{}," file exists.",[12,1892,1893,1894,792],{},"Learn more in ",[19,1895,1897],{"href":1896},"/blog/customizing-gitlab-duo-chat-rules-prompts-workflows/","Part 8: Customizing GitLab Duo Agent Platform: Chat rules, prompts, and workflows",[79,1899,1901],{"id":1900},"flow-execution","Flow execution",[12,1903,1904],{},"Flows run on GitLab platform compute. When triggered by an event (mention, assignment, or button click), a session is created and the flow starts to execute.",[332,1906,1908],{"id":1907},"flow-context-and-inputs","Flow context and inputs",[12,1910,1911,1912,1915],{},"Flows access context about the trigger and GitLab objects through the YAML configuration. Components receive context through the ",[390,1913,1914],{},"inputs"," field:",[31,1917,1918,1944],{},[34,1919,1920,1925,1926],{},[27,1921,1922],{},[390,1923,1924],{},"context:goal"," — The trigger value, which varies by trigger type:\n",[31,1927,1928,1933,1939],{},[34,1929,1930,1932],{},[27,1931,782],{},": Full comment text and resource context",[34,1934,1935,1938],{},[27,1936,1937],{},"Assign/Assign reviewer",": The resource IID (issue or merge request ID)",[34,1940,1941,1943],{},[27,1942,791],{},": Full pipeline event webhook payload",[34,1945,1946,1951],{},[27,1947,1948],{},[390,1949,1950],{},"context:project_id"," — The project ID where the flow is triggered.",[12,1953,1954,1955,1957],{},"These context values allow your flow to understand what triggered it and access the relevant GitLab data to perform its task. Your flow components use these values in their ",[390,1956,1914],{}," configuration to process the trigger data.",[332,1959,1961],{"id":1960},"multi-agent-flows","Multi-agent flows",[12,1963,1964],{},"Custom flows can include multiple agent components that work together sequentially. The flow's YAML configuration defines:",[31,1966,1967,1972,1977],{},[34,1968,1969,1971],{},[27,1970,807],{},": One or more agents (AgentComponent) or deterministic steps",[34,1973,1974,1976],{},[27,1975,819],{},": Define the flow between components (e.g., from component A to component B to end)",[34,1978,1979,1981],{},[27,1980,813],{},": Configure each agent's behavior and model",[12,1983,1984],{},"For example, a code review flow might have a security agent, then a quality agent, then an approval agent, with routers connecting them in sequence.",[332,1986,1988],{"id":1987},"monitoring-flow-execution","Monitoring flow execution",[12,1990,1991],{},"To view flows that are running for your project:",[586,1993,1994,2000,2003],{},[34,1995,1996,1997,792],{},"Navigate to ",[27,1998,1999],{},"AI → Sessions",[34,2001,2002],{},"Select any session to view more details.",[34,2004,2005,2006,2009],{},"The ",[27,2007,2008],{},"Details"," tab shows a link to the CI/CD job logs.",[12,2011,2012],{},"Sessions show detailed information including step-by-step progress, tool invocations, reasoning, and decision-making process.",[332,2014,2016],{"id":2015},"when-to-use-flows","When to use flows",[31,2018,2019,2022,2025,2028,2031,2034],{},[34,2020,2021],{},"Complex multi-step tasks",[34,2023,2024],{},"Background automation",[34,2026,2027],{},"Event-driven workflows",[34,2029,2030],{},"Multi-file changes",[34,2032,2033],{},"Tasks that take time",[34,2035,2036],{},"Automated reviews/checks",[79,2038,2040],{"id":2039},"whats-next","What's next?",[12,2042,2043,2044,2048],{},"You now understand flows, how to create them, and when to use them vs. agents. Next, learn how to discover, create, and share agents and flows across your organization in ",[19,2045,2047],{"href":2046},"/blog/ai-catalog-discover-and-share-agents/","Part 5: AI Catalog",". Explore the AI Catalog to browse available flows and agents, add them to your projects, and publish your own agents and flows.",[79,2050,2052],{"id":2051},"resources","Resources",[31,2054,2055,2062,2068,2073,2079,2086],{},[34,2056,2057],{},[19,2058,2061],{"href":2059,"rel":2060},"https://docs.gitlab.com/user/duo_agent_platform/flows/",[],"GitLab Duo Agent Platform Flows",[34,2063,2064],{},[19,2065,2067],{"href":252,"rel":2066},[],"Foundational Flows documentation",[34,2069,2070],{},[19,2071,1745],{"href":312,"rel":2072},[],[34,2074,2075],{},[19,2076,2078],{"href":512,"rel":2077},[],"Flow execution configuration",[34,2080,2081],{},[19,2082,2085],{"href":2083,"rel":2084},"https://docs.gitlab.com/ci/variables/",[],"GitLab CI/CD Variables guide",[34,2087,2088],{},[19,2089,2092],{"href":2090,"rel":2091},"https://docs.gitlab.com/user/profile/service_accounts/",[],"Service Accounts",[2094,2095],"hr",{},[12,2097,2098,523,2101],{},[27,2099,2100],{},"Next:",[19,2102,2047],{"href":2046},[12,2104,2105,523,2108],{},[27,2106,2107],{},"Previous:",[19,2109,2111],{"href":2110},"/blog/understanding-agents-foundational-custom-external/","Part 3: Understanding agents",[2113,2114,2115],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .shJU0, html code.shiki .shJU0{--shiki-default:#22863A}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}",{"title":635,"searchDepth":859,"depth":859,"links":2117},[2118,2119,2120,2121,2124,2131,2132,2138,2139],{"id":81,"depth":859,"text":82},{"id":128,"depth":859,"text":129},{"id":222,"depth":859,"text":223},{"id":326,"depth":859,"text":327,"children":2122},[2123],{"id":334,"depth":870,"text":335},{"id":505,"depth":859,"text":506,"children":2125},[2126,2127,2128,2129,2130],{"id":532,"depth":870,"text":533},{"id":576,"depth":870,"text":577},{"id":617,"depth":870,"text":618},{"id":752,"depth":870,"text":753},{"id":829,"depth":870,"text":830},{"id":1755,"depth":859,"text":1756},{"id":1900,"depth":859,"text":1901,"children":2133},[2134,2135,2136,2137],{"id":1907,"depth":870,"text":1908},{"id":1960,"depth":870,"text":1961},{"id":1987,"depth":870,"text":1988},{"id":2015,"depth":870,"text":2016},{"id":2039,"depth":859,"text":2040},{"id":2051,"depth":859,"text":2052},"ai","2026-01-14","Deep dive into GitLab Duo Agent Platform flows. Learn about foundational flows, create custom user-defined workflows, and learn flow orchestration patterns.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1765809212/noh0mdfn9o94ry9ykura.png",{},"/en-us/blog/understanding-flows-multi-agent-workflows",{"noIndex":2145,"title":5,"description":2142,"ogImage":2150},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1752678395/impw8no5tbskr6k2afgu.jpg","understanding-flows-multi-agent-workflows","en-us/blog/understanding-flows-multi-agent-workflows",[2154,2155,2156,2157],"AI","product","features","tutorial","BlogPost","2026-05-27","F79MiLjVxk0riKMKpPHyuEbgWM1UqgV0SrIoPPPNchc",{"logo":2162,"freeTrial":2167,"sales":2172,"login":2177,"items":2182,"search":2506,"minimal":2537,"duo":2556,"switchNav":2565,"pricingDeployment":2576},{"config":2163},{"href":2164,"dataGaName":2165,"dataGaLocation":2166},"/","gitlab logo","header",{"text":2168,"config":2169},"Get free trial",{"href":2170,"dataGaName":2171,"dataGaLocation":2166},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":2173,"config":2174},"Request a demo",{"href":2175,"dataGaName":2176,"dataGaLocation":2166},"/sales/?contact-topic=request-demo","sales",{"text":2178,"config":2179},"Sign in",{"href":2180,"dataGaName":2181,"dataGaLocation":2166},"https://gitlab.com/users/sign_in/","sign in",[2183,2211,2311,2316,2428,2484],{"text":2184,"config":2185,"menu":2187},"Platform",{"dataNavLevelOne":2186},"platform",{"type":2188,"columns":2189},"cards",[2190,2196,2203],{"title":2184,"description":2191,"link":2192},"The intelligent orchestration platform for DevSecOps",{"text":2193,"config":2194},"Explore our Platform",{"href":2195,"dataGaName":2186,"dataGaLocation":2166},"/platform/",{"title":76,"description":2197,"link":2198},"Agentic AI for the entire software lifecycle",{"text":2199,"config":2200},"Meet GitLab Duo",{"href":2201,"dataGaName":2202,"dataGaLocation":2166},"/gitlab-duo-agent-platform/","gitlab duo agent platform",{"title":2204,"description":2205,"link":2206},"Why GitLab","See the top reasons enterprises choose GitLab",{"text":2207,"config":2208},"Learn more",{"href":2209,"dataGaName":2210,"dataGaLocation":2166},"/why-gitlab/","why gitlab",{"text":2212,"left":1119,"config":2213,"menu":2215},"Product",{"dataNavLevelOne":2214},"solutions",{"type":2216,"link":2217,"columns":2221,"feature":2290},"lists",{"text":2218,"config":2219},"View all Solutions",{"href":2220,"dataGaName":2214,"dataGaLocation":2166},"/solutions/",[2222,2246,2269],{"title":2223,"description":2224,"link":2225,"items":2230},"Automation","CI/CD and automation to accelerate deployment",{"config":2226},{"icon":2227,"href":2228,"dataGaName":2229,"dataGaLocation":2166},"AutomatedCodeAlt","/solutions/delivery-automation/","automated software delivery",[2231,2235,2238,2242],{"text":2232,"config":2233},"CI/CD",{"href":2234,"dataGaLocation":2166,"dataGaName":2232},"/solutions/continuous-integration/",{"text":76,"config":2236},{"href":2201,"dataGaLocation":2166,"dataGaName":2237},"gitlab duo agent platform - product menu",{"text":2239,"config":2240},"Source Code Management",{"href":2241,"dataGaLocation":2166,"dataGaName":2239},"/solutions/source-code-management/",{"text":2243,"config":2244},"Automated Software Delivery",{"href":2228,"dataGaLocation":2166,"dataGaName":2245},"Automated software delivery",{"title":2247,"description":2248,"link":2249,"items":2254},"Security","Deliver code faster without compromising security",{"config":2250},{"href":2251,"dataGaName":2252,"dataGaLocation":2166,"icon":2253},"/solutions/application-security-testing/","security and compliance","ShieldCheckLight",[2255,2259,2264],{"text":2256,"config":2257},"Application Security Testing",{"href":2251,"dataGaName":2258,"dataGaLocation":2166},"Application security testing",{"text":2260,"config":2261},"Software Supply Chain Security",{"href":2262,"dataGaLocation":2166,"dataGaName":2263},"/solutions/supply-chain/","Software supply chain security",{"text":2265,"config":2266},"Software Compliance",{"href":2267,"dataGaName":2268,"dataGaLocation":2166},"/solutions/software-compliance/","software compliance",{"title":2270,"link":2271,"items":2276},"Measurement",{"config":2272},{"icon":2273,"href":2274,"dataGaName":2275,"dataGaLocation":2166},"DigitalTransformation","/solutions/visibility-measurement/","visibility and measurement",[2277,2281,2285],{"text":2278,"config":2279},"Visibility & Measurement",{"href":2274,"dataGaLocation":2166,"dataGaName":2280},"Visibility and Measurement",{"text":2282,"config":2283},"Value Stream Management",{"href":2284,"dataGaLocation":2166,"dataGaName":2282},"/solutions/value-stream-management/",{"text":2286,"config":2287},"Analytics & Insights",{"href":2288,"dataGaLocation":2166,"dataGaName":2289},"/solutions/analytics-and-insights/","Analytics and insights",{"title":2291,"type":2216,"items":2292},"GitLab for",[2293,2299,2305],{"text":2294,"config":2295},"Enterprise",{"icon":2296,"href":2297,"dataGaLocation":2166,"dataGaName":2298},"Building","/enterprise/","enterprise",{"text":2300,"config":2301},"Small Business",{"icon":2302,"href":2303,"dataGaLocation":2166,"dataGaName":2304},"Work","/small-business/","small business",{"text":2306,"config":2307},"Public Sector",{"icon":2308,"href":2309,"dataGaLocation":2166,"dataGaName":2310},"Organization","/solutions/public-sector/","public sector",{"text":2312,"config":2313},"Pricing",{"href":2314,"dataGaName":2315,"dataGaLocation":2166,"dataNavLevelOne":2315},"/pricing/","pricing",{"text":2052,"config":2317,"menu":2318},{"dataNavLevelOne":2051},{"type":2216,"link":2319,"columns":2323,"feature":2417},{"text":2320,"config":2321},"View all resources",{"href":2322,"dataGaName":2051,"dataGaLocation":2166},"/resources/",[2324,2357,2384],{"title":2325,"items":2326},"Getting started",[2327,2332,2337,2342,2347,2352],{"text":2328,"config":2329},"Install",{"href":2330,"dataGaName":2331,"dataGaLocation":2166},"/install/","install",{"text":2333,"config":2334},"Quick start guides",{"href":2335,"dataGaName":2336,"dataGaLocation":2166},"/get-started/","quick setup checklists",{"text":2338,"config":2339},"Learn",{"href":2340,"dataGaLocation":2166,"dataGaName":2341},"https://university.gitlab.com/","learn",{"text":2343,"config":2344},"Product documentation",{"href":2345,"dataGaName":2346,"dataGaLocation":2166},"https://docs.gitlab.com/","product documentation",{"text":2348,"config":2349},"Best practice videos",{"href":2350,"dataGaName":2351,"dataGaLocation":2166},"/getting-started-videos/","best practice videos",{"text":2353,"config":2354},"Integrations",{"href":2355,"dataGaName":2356,"dataGaLocation":2166},"/integrations/","integrations",{"title":2358,"items":2359},"Discover",[2360,2365,2370,2375,2379],{"text":2361,"config":2362},"Customer success stories",{"href":2363,"dataGaName":2364,"dataGaLocation":2166},"/customers/","customer success stories",{"text":2366,"config":2367},"Blog",{"href":2368,"dataGaName":2369,"dataGaLocation":2166},"/blog/","blog",{"text":2371,"config":2372},"Demo Hub",{"href":2373,"dataGaName":2374,"dataGaLocation":2166},"/demo-hub/","demo hub",{"text":2376,"config":2377},"The Source",{"href":2378,"dataGaName":2369,"dataGaLocation":2166},"/the-source/",{"text":2380,"config":2381},"Remote",{"href":2382,"dataGaName":2383,"dataGaLocation":2166},"https://handbook.gitlab.com/handbook/company/culture/all-remote/","remote",{"title":2385,"items":2386},"Connect",[2387,2392,2397,2402,2407,2412],{"text":2388,"config":2389},"GitLab Services",{"href":2390,"dataGaName":2391,"dataGaLocation":2166},"/services/","services",{"text":2393,"config":2394},"Contribute",{"href":2395,"dataGaName":2396,"dataGaLocation":2166},"https://contributors.gitlab.com","contribute",{"text":2398,"config":2399},"Community",{"href":2400,"dataGaName":2401,"dataGaLocation":2166},"/community/","community",{"text":2403,"config":2404},"Forum",{"href":2405,"dataGaName":2406,"dataGaLocation":2166},"https://forum.gitlab.com/","forum",{"text":2408,"config":2409},"Events",{"href":2410,"dataGaName":2411,"dataGaLocation":2166},"/events/","events",{"text":2413,"config":2414},"Partners",{"href":2415,"dataGaName":2416,"dataGaLocation":2166},"/partners/","partners",{"config":2418,"title":2421,"text":2422,"link":2423},{"background":2419,"textColor":2420},"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":2424,"config":2425},"Read the latest",{"href":2426,"dataGaName":2427,"dataGaLocation":2166},"/whats-new/","whats new",{"text":2429,"config":2430,"menu":2432},"Company",{"dataNavLevelOne":2431},"company",{"type":2216,"columns":2433},[2434],{"items":2435},[2436,2441,2447,2449,2454,2459,2464,2469,2474,2479],{"text":2437,"config":2438},"About",{"href":2439,"dataGaName":2440,"dataGaLocation":2166},"/company/","about",{"text":2442,"config":2443,"footerGa":2446},"Jobs",{"href":2444,"dataGaName":2445,"dataGaLocation":2166},"/jobs/","jobs",{"dataGaName":2445},{"text":2408,"config":2448},{"href":2410,"dataGaName":2411,"dataGaLocation":2166},{"text":2450,"config":2451},"Leadership",{"href":2452,"dataGaName":2453,"dataGaLocation":2166},"/company/team/e-group/","leadership",{"text":2455,"config":2456},"Handbook",{"href":2457,"dataGaName":2458,"dataGaLocation":2166},"https://handbook.gitlab.com/","handbook",{"text":2460,"config":2461},"Investor relations",{"href":2462,"dataGaName":2463,"dataGaLocation":2166},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":2465,"config":2466},"Trust Center",{"href":2467,"dataGaName":2468,"dataGaLocation":2166},"/security/","trust center",{"text":2470,"config":2471},"AI Transparency Center",{"href":2472,"dataGaName":2473,"dataGaLocation":2166},"/ai-transparency-center/","ai transparency center",{"text":2475,"config":2476},"Newsletter",{"href":2477,"dataGaName":2478,"dataGaLocation":2166},"/company/contact/#contact-forms","newsletter",{"text":2480,"config":2481},"Press",{"href":2482,"dataGaName":2483,"dataGaLocation":2166},"/press/","press",{"text":2485,"config":2486,"menu":2487},"Contact us",{"dataNavLevelOne":2431},{"type":2216,"columns":2488},[2489],{"items":2490},[2491,2496,2501],{"text":2492,"config":2493},"Talk to sales",{"href":2494,"dataGaName":2495,"dataGaLocation":2166},"/sales/","talk to sales",{"text":2497,"config":2498},"Support portal",{"href":2499,"dataGaName":2500,"dataGaLocation":2166},"https://support.gitlab.com/hc/en-us","support portal",{"text":2502,"config":2503},"Customer portal",{"href":2504,"dataGaName":2505,"dataGaLocation":2166},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":2507,"login":2508,"suggestions":2515},"Close",{"text":2509,"link":2510},"To search repositories and projects, login to",{"text":2511,"config":2512},"gitlab.com",{"href":2180,"dataGaName":2513,"dataGaLocation":2514},"search login","search",{"text":2516,"default":2517},"Suggestions",[2518,2520,2524,2526,2530,2534],{"text":76,"config":2519},{"href":2201,"dataGaName":76,"dataGaLocation":2514},{"text":2521,"config":2522},"Code Suggestions (AI)",{"href":2523,"dataGaName":2521,"dataGaLocation":2514},"/solutions/code-suggestions/",{"text":2232,"config":2525},{"href":2234,"dataGaName":2232,"dataGaLocation":2514},{"text":2527,"config":2528},"GitLab on AWS",{"href":2529,"dataGaName":2527,"dataGaLocation":2514},"/partners/technology-partners/aws/",{"text":2531,"config":2532},"GitLab on Google Cloud",{"href":2533,"dataGaName":2531,"dataGaLocation":2514},"/partners/technology-partners/google-cloud-platform/",{"text":2535,"config":2536},"Why GitLab?",{"href":2209,"dataGaName":2535,"dataGaLocation":2514},{"freeTrial":2538,"mobileIcon":2543,"desktopIcon":2548,"secondaryButton":2551},{"text":2539,"config":2540},"Start free trial",{"href":2541,"dataGaName":2171,"dataGaLocation":2542},"https://gitlab.com/-/trials/new/","nav",{"altText":2544,"config":2545},"Gitlab Icon",{"src":2546,"dataGaName":2547,"dataGaLocation":2542},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":2544,"config":2549},{"src":2550,"dataGaName":2547,"dataGaLocation":2542},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":2552,"config":2553},"Get Started",{"href":2554,"dataGaName":2555,"dataGaLocation":2542},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":2557,"mobileIcon":2561,"desktopIcon":2563},{"text":2558,"config":2559},"Learn more about GitLab Duo",{"href":2201,"dataGaName":2560,"dataGaLocation":2542},"gitlab duo",{"altText":2544,"config":2562},{"src":2546,"dataGaName":2547,"dataGaLocation":2542},{"altText":2544,"config":2564},{"src":2550,"dataGaName":2547,"dataGaLocation":2542},{"button":2566,"mobileIcon":2571,"desktopIcon":2573},{"text":2567,"config":2568},"/switch",{"href":2569,"dataGaName":2570,"dataGaLocation":2542},"#contact","switch",{"altText":2544,"config":2572},{"src":2546,"dataGaName":2547,"dataGaLocation":2542},{"altText":2544,"config":2574},{"src":2575,"dataGaName":2547,"dataGaLocation":2542},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":2577,"mobileIcon":2582,"desktopIcon":2584},{"text":2578,"config":2579},"Back to pricing",{"href":2314,"dataGaName":2580,"dataGaLocation":2542,"icon":2581},"back to pricing","GoBack",{"altText":2544,"config":2583},{"src":2546,"dataGaName":2547,"dataGaLocation":2542},{"altText":2544,"config":2585},{"src":2550,"dataGaName":2547,"dataGaLocation":2542},{"title":2587,"titleMobile":2588,"button":2589,"config":2594},"Duo Agent Platform delivers 400% ROI, per new Forrester Consulting study.","400% ROI: Forrester TEI for GitLab Duo",{"text":2207,"config":2590},{"href":2591,"dataGaName":2592,"dataGaLocation":2593},"https://about.gitlab.com/blog/gitlab-duo-agent-platform-delivers-400-percent-roi/","forrester-tei-dap-banner","global-banner",{"layout":2595,"disabled":2145},"release",{"data":2597},{"text":2598,"source":2599,"edit":2605,"contribute":2610,"config":2615,"items":2620,"minimal":2830},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"text":2600,"config":2601},"View page source",{"href":2602,"dataGaName":2603,"dataGaLocation":2604},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/","page source","footer",{"text":2606,"config":2607},"Edit this page",{"href":2608,"dataGaName":2609,"dataGaLocation":2604},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/content/","web ide",{"text":2611,"config":2612},"Please contribute",{"href":2613,"dataGaName":2614,"dataGaLocation":2604},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/CONTRIBUTING.md/","please contribute",{"twitter":2616,"facebook":2617,"youtube":2618,"linkedin":2619},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[2621,2668,2722,2766,2798],{"title":2312,"links":2622,"subMenu":2637},[2623,2627,2632],{"text":2624,"config":2625},"View plans",{"href":2314,"dataGaName":2626,"dataGaLocation":2604},"view plans",{"text":2628,"config":2629},"Why Premium?",{"href":2630,"dataGaName":2631,"dataGaLocation":2604},"/pricing/premium/","why premium",{"text":2633,"config":2634},"Why Ultimate?",{"href":2635,"dataGaName":2636,"dataGaLocation":2604},"/pricing/ultimate/","why ultimate",[2638],{"title":2639,"links":2640},"Contact Us",[2641,2644,2646,2648,2653,2658,2663],{"text":2642,"config":2643},"Contact sales",{"href":2494,"dataGaName":2176,"dataGaLocation":2604},{"text":2497,"config":2645},{"href":2499,"dataGaName":2500,"dataGaLocation":2604},{"text":2502,"config":2647},{"href":2504,"dataGaName":2505,"dataGaLocation":2604},{"text":2649,"config":2650},"Status",{"href":2651,"dataGaName":2652,"dataGaLocation":2604},"https://status.gitlab.com/","status",{"text":2654,"config":2655},"Terms of use",{"href":2656,"dataGaName":2657,"dataGaLocation":2604},"/terms/","terms of use",{"text":2659,"config":2660},"Privacy statement",{"href":2661,"dataGaName":2662,"dataGaLocation":2604},"/privacy/","privacy statement",{"text":2664,"config":2665},"Cookie preferences",{"dataGaName":2666,"dataGaLocation":2604,"id":2667,"isOneTrustButton":1119},"cookie preferences","ot-sdk-btn",{"title":2212,"links":2669,"subMenu":2678},[2670,2674],{"text":2671,"config":2672},"DevSecOps platform",{"href":2195,"dataGaName":2673,"dataGaLocation":2604},"devsecops platform",{"text":2675,"config":2676},"AI-Assisted Development",{"href":2201,"dataGaName":2677,"dataGaLocation":2604},"ai-assisted development",[2679],{"title":2680,"links":2681},"Topics",[2682,2687,2692,2697,2702,2707,2712,2717],{"text":2683,"config":2684},"CICD",{"href":2685,"dataGaName":2686,"dataGaLocation":2604},"/topics/ci-cd/","cicd",{"text":2688,"config":2689},"GitOps",{"href":2690,"dataGaName":2691,"dataGaLocation":2604},"/topics/gitops/","gitops",{"text":2693,"config":2694},"DevOps",{"href":2695,"dataGaName":2696,"dataGaLocation":2604},"/topics/devops/","devops",{"text":2698,"config":2699},"Version Control",{"href":2700,"dataGaName":2701,"dataGaLocation":2604},"/topics/version-control/","version control",{"text":2703,"config":2704},"DevSecOps",{"href":2705,"dataGaName":2706,"dataGaLocation":2604},"/topics/devsecops/","devsecops",{"text":2708,"config":2709},"Cloud Native",{"href":2710,"dataGaName":2711,"dataGaLocation":2604},"/topics/cloud-native/","cloud native",{"text":2713,"config":2714},"AI for Coding",{"href":2715,"dataGaName":2716,"dataGaLocation":2604},"/topics/devops/ai-for-coding/","ai for coding",{"text":2718,"config":2719},"Agentic AI",{"href":2720,"dataGaName":2721,"dataGaLocation":2604},"/topics/agentic-ai/","agentic ai",{"title":2723,"links":2724},"Solutions",[2725,2727,2729,2734,2738,2741,2745,2748,2750,2753,2756,2761],{"text":2256,"config":2726},{"href":2251,"dataGaName":2256,"dataGaLocation":2604},{"text":2245,"config":2728},{"href":2228,"dataGaName":2229,"dataGaLocation":2604},{"text":2730,"config":2731},"Agile development",{"href":2732,"dataGaName":2733,"dataGaLocation":2604},"/solutions/agile-delivery/","agile delivery",{"text":2735,"config":2736},"SCM",{"href":2241,"dataGaName":2737,"dataGaLocation":2604},"source code management",{"text":2683,"config":2739},{"href":2234,"dataGaName":2740,"dataGaLocation":2604},"continuous integration & delivery",{"text":2742,"config":2743},"Value stream management",{"href":2284,"dataGaName":2744,"dataGaLocation":2604},"value stream management",{"text":2688,"config":2746},{"href":2747,"dataGaName":2691,"dataGaLocation":2604},"/solutions/gitops/",{"text":2294,"config":2749},{"href":2297,"dataGaName":2298,"dataGaLocation":2604},{"text":2751,"config":2752},"Small business",{"href":2303,"dataGaName":2304,"dataGaLocation":2604},{"text":2754,"config":2755},"Public sector",{"href":2309,"dataGaName":2310,"dataGaLocation":2604},{"text":2757,"config":2758},"Education",{"href":2759,"dataGaName":2760,"dataGaLocation":2604},"/solutions/education/","education",{"text":2762,"config":2763},"Financial services",{"href":2764,"dataGaName":2765,"dataGaLocation":2604},"/solutions/finance/","financial services",{"title":2052,"links":2767},[2768,2770,2772,2774,2777,2779,2782,2784,2786,2788,2790,2792,2794,2796],{"text":2328,"config":2769},{"href":2330,"dataGaName":2331,"dataGaLocation":2604},{"text":2333,"config":2771},{"href":2335,"dataGaName":2336,"dataGaLocation":2604},{"text":2338,"config":2773},{"href":2340,"dataGaName":2341,"dataGaLocation":2604},{"text":2343,"config":2775},{"href":2345,"dataGaName":2776,"dataGaLocation":2604},"docs",{"text":2366,"config":2778},{"href":2368,"dataGaName":2369,"dataGaLocation":2604},{"text":2780,"config":2781},"What's new",{"href":2426,"dataGaName":2427,"dataGaLocation":2604},{"text":2361,"config":2783},{"href":2363,"dataGaName":2364,"dataGaLocation":2604},{"text":2380,"config":2785},{"href":2382,"dataGaName":2383,"dataGaLocation":2604},{"text":2388,"config":2787},{"href":2390,"dataGaName":2391,"dataGaLocation":2604},{"text":2393,"config":2789},{"href":2395,"dataGaName":2396,"dataGaLocation":2604},{"text":2398,"config":2791},{"href":2400,"dataGaName":2401,"dataGaLocation":2604},{"text":2403,"config":2793},{"href":2405,"dataGaName":2406,"dataGaLocation":2604},{"text":2408,"config":2795},{"href":2410,"dataGaName":2411,"dataGaLocation":2604},{"text":2413,"config":2797},{"href":2415,"dataGaName":2416,"dataGaLocation":2604},{"title":2429,"links":2799},[2800,2802,2804,2806,2808,2810,2814,2819,2821,2823,2825],{"text":2437,"config":2801},{"href":2439,"dataGaName":2431,"dataGaLocation":2604},{"text":2442,"config":2803},{"href":2444,"dataGaName":2445,"dataGaLocation":2604},{"text":2450,"config":2805},{"href":2452,"dataGaName":2453,"dataGaLocation":2604},{"text":2455,"config":2807},{"href":2457,"dataGaName":2458,"dataGaLocation":2604},{"text":2460,"config":2809},{"href":2462,"dataGaName":2463,"dataGaLocation":2604},{"text":2811,"config":2812},"Sustainability",{"href":2813,"dataGaName":2811,"dataGaLocation":2604},"/sustainability/",{"text":2815,"config":2816},"Diversity, inclusion and belonging (DIB)",{"href":2817,"dataGaName":2818,"dataGaLocation":2604},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":2465,"config":2820},{"href":2467,"dataGaName":2468,"dataGaLocation":2604},{"text":2475,"config":2822},{"href":2477,"dataGaName":2478,"dataGaLocation":2604},{"text":2480,"config":2824},{"href":2482,"dataGaName":2483,"dataGaLocation":2604},{"text":2826,"config":2827},"Modern Slavery Transparency Statement",{"href":2828,"dataGaName":2829,"dataGaLocation":2604},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":2831},[2832,2835,2838],{"text":2833,"config":2834},"Terms",{"href":2656,"dataGaName":2657,"dataGaLocation":2604},{"text":2836,"config":2837},"Cookies",{"dataGaName":2666,"dataGaLocation":2604,"id":2667,"isOneTrustButton":1119},{"text":2839,"config":2840},"Privacy",{"href":2661,"dataGaName":2662,"dataGaLocation":2604},[2842],{"id":2843,"title":7,"body":2144,"config":2844,"content":2846,"description":2144,"extension":2850,"meta":2851,"navigation":1119,"path":2852,"seo":2853,"stem":2854,"__hash__":2855},"blogAuthors/en-us/blog/authors/itzik-gan-baruch.yml",{"template":2845},"BlogAuthor",{"name":7,"config":2847},{"headshot":2848,"ctfId":2849},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749658921/Blog/Author%20Headshots/iganbaruch-headshot.jpg","iganbaruch","yml",{},"/en-us/blog/authors/itzik-gan-baruch",{},"en-us/blog/authors/itzik-gan-baruch","bz9VMiTQ1ixvnoxUFk0jiUcnLG3oQsymgXNCqyRqfsk",[2857,2863,2871],{"title":2858,"description":2859,"heroImage":2146,"category":2140,"date":2860,"authors":2861,"slug":2862,"externalUrl":2144},"How I built a demo generator with GitLab Duo Agent Platform","Demos haven't always looked like this. Looking back over my career, here's how they have evolved. Follow the tutorial to build your own demo and agent.","2026-08-13",[7],"agentic-click-through-demo",{"title":2864,"description":2865,"heroImage":2866,"category":2140,"date":2867,"authors":2868,"slug":2870,"externalUrl":2144},"How to govern agentic AI, MCPs, and AI code assistants","AI agents can write, push, and deploy without human review at each step. Learn a practical framework for controlling access, permissions, and audit trails.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1785337625/ifzlc2hyzaxhzmjgyymh.png","2026-07-31",[2869],"Julie Griffin","govern-agentic-ai-mcps-code-assistants",{"title":2872,"description":2873,"heroImage":2874,"category":2140,"date":2875,"authors":2876,"slug":2878,"externalUrl":2144},"Claude Opus 5 on GitLab: Reasoning built for the hard tasks","Anthropic’s Claude Opus 5 is now available on GitLab Duo Agent Platform, delivering deeper reasoning without sacrificing speed.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750099203/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%2820%29_2bJGC5ZP3WheoqzlLT05C5_1750099203484.png","2026-07-27",[2877],"Brittany Lutz","claude-opus-5-on-gitlab-duo-agent-platform",{"promotions":2880},[2881,2894,2905,2917],{"id":2882,"categories":2883,"header":2884,"text":2885,"button":2886,"image":2891},"ai-modernization",[2140],"Is AI achieving its promise at scale?","Quiz will take 5 minutes or less",{"text":2887,"config":2888},"Get your AI maturity score",{"href":2889,"dataGaName":2890,"dataGaLocation":2369},"/assessments/ai-modernization-assessment/","modernization assessment",{"config":2892},{"src":2893},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/qix0m7kwnd8x2fh1zq49.png",{"id":2895,"categories":2896,"header":2897,"text":2885,"button":2898,"image":2902},"devops-modernization",[2155,2706],"Are you just managing tools or shipping innovation?",{"text":2899,"config":2900},"Get your DevOps maturity score",{"href":2901,"dataGaName":2890,"dataGaLocation":2369},"/assessments/devops-modernization-assessment/",{"config":2903},{"src":2904},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138785/eg818fmakweyuznttgid.png",{"id":2906,"categories":2907,"header":2909,"text":2885,"button":2910,"image":2914},"security-modernization",[2908],"security","Are you trading speed for security?",{"text":2911,"config":2912},"Get your security maturity score",{"href":2913,"dataGaName":2890,"dataGaLocation":2369},"/assessments/security-modernization-assessment/",{"config":2915},{"src":2916},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/p4pbqd9nnjejg5ds6mdk.png",{"id":2918,"paths":2919,"header":2922,"text":2923,"button":2924,"image":2929},"github-azure-migration",[2920,2921],"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":2925,"config":2926},"See how GitLab compares to GitHub",{"href":2927,"dataGaName":2928,"dataGaLocation":2369},"/compare/gitlab-vs-github/github-azure-migration/","github azure migration",{"config":2930},{"src":2904},{"header":2932,"blurb":2933,"button":2934,"secondaryButton":2939},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":2935,"config":2936},"Get your free trial",{"href":2937,"dataGaName":2171,"dataGaLocation":2938},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":2642,"config":2940},{"href":2494,"dataGaName":2176,"dataGaLocation":2938},1786803774500]