[{"data":1,"prerenderedAt":829},["ShallowReactive",2],{"/en-us/blog/track-machine-learning-model-experiments":3,"navigation-en-us":42,"banner-en-us":462,"footer-en-us":472,"blog-post-authors-en-us-Eduardo Bonet":713,"blog-related-posts-en-us-track-machine-learning-model-experiments":728,"blog-promotions-en-us":767,"next-steps-en-us":819},{"id":4,"title":5,"authorSlugs":6,"authors":8,"body":10,"category":11,"categorySlug":11,"config":12,"content":16,"date":25,"description":17,"extension":26,"externalUrl":27,"featured":15,"heroImage":19,"isFeatured":15,"meta":28,"navigation":29,"path":30,"publishedDate":25,"rawbody":31,"seo":32,"slug":14,"stem":36,"tagSlugs":37,"tags":40,"template":13,"updatedDate":27,"__hash__":41},"blogPosts/en-us/blog/track-machine-learning-model-experiments.md","Track ML model experiments with new GitLab MLFlow integration",[7],"eduardo-bonet",[9],"Eduardo Bonet","*This blog is the latest post in an ongoing series about GitLab’s journey to \u003Ca href=\"/blog/ai-ml-in-devsecops-series/\">build and integrate AI/ML into our DevSecOps platform\u003C/a>. The first blog post can be found \u003Ca href=\"/blog/what-the-ml-ai/\">here\u003C/a>. Throughout the series, we’ll feature blogs from our product, engineering, and UX teams to showcase how we’re infusing AI/ML into GitLab.*\n\nThe GitLab DevSecOps platform now features [Machine Learning Model Experiments](https://docs.gitlab.com/user/project/ml/experiment_tracking/), which is avaliable to all GitLab users, making GitLab a powerful tool for creating ML models. Organizations can now track the many versions of their ML models within the GitLab user interface, using the open source [MLFlow](https://github.com/mlflow/mlflow).\n\n\u003Cimg src=\"https://about.gitlab.com/images/blogimages/2023-05-11-gitlab-model-experiments/experiment.png\" alt=\"Model experiment\" style=\"border: 1px solid gray;\">\n\n## What is an ML model?\n\nAn ML model is the result of three components: code to extract the patterns from the data, the data where the\npatterns are extracted from, and the configuration used for both, often called \"hyperparameters\". Any change to any of these components can\nlead to changes in the model performance, and keeping track of all of these parts and the results can be challenging.\nExperiment tracking aims to make sense of this confusion by keeping a record of all of the variations created,\nalong with the artifacts and results of each trial.\n\n[MLFlow](https://github.com/mlflow/mlflow) is a popular open source solution for ML experiment tracking,\nproviding a client to log different model versions and their metadata. However, it puts the cost of deployment and managing\nits server onto the users.\n\nGitLab makes the tracking process easier not by deploying a managed MLFlow backend, but by *being an MLFlow backend itself*. This marries the best of both worlds: Data scientists don't need to learn yet another client as their code requires minimal to no changes, while GitLab provides everything else. There is no need to manage a server or to implement user management, so there is no need to configure your artifact storage –  this is all provided by the GitLab DevSecOps platform.\n\n## ML model experiment features in GitLab 16.0\n\nWatch this overview of the available features in 16.0:\n\n\u003Cfigure class=\"video_container\">\n  \u003Ciframe src=\"https://www.youtube.com/embed/uxweU4zT40c\" frameborder=\"0\" allowfullscreen=\"true\"> \u003C/iframe>\n\u003C/figure>\n\n- **Create experiments and candidates using the MLFlow client**: Simply point the MLFlow client to your GitLab project and experiments and runs will be recorded on GitLab, with no additional setup necessary and no need to create a server. Note that MLFlow runs are called \"candidates\" in GitLab, as each of them is a candidate to become a version of a model.\n\n- **User access management**: Experiments are tied to a GitLab project, making it easy to control which users have access to which models.\n\n- **Manage candidates directly on the GitLab UI**: Search and explore your logged experiments on GitLab, using the UI you already know.\n\n- **Download candidate data as a CSV**: Data scientists that want to explore or create reports on an experiment can download the necessary data as a CSV file.\n\nTo get started, refer to the [documentation](https://docs.gitlab.com/user/project/ml/experiment_tracking/#machine-learning-model-experiments).\n\n### More to come\n\nGitLab wants to help you manage the entire lifecycle of your machine learning model from creation to packaging, deployment, and monitoring.\nFor more information on what we are working on, keep an eye on the MLOps Incubation Engineering [handbook page](https://handbook.gitlab.com/handbook/company/working-groups/mlops/) and on our [YouTube playlist](https://www.youtube.com/playlist?list=PL05JrBw4t0KpC6-JQy8lY4tNAZKXBaM_-).\n\nMachine Learning Model Experiments is an experimental feature available to all GitLab tiers, and we are looking for feedback so please [comment in this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/381660).\n\nContinue reading our \"[AI/ML in DevSecOps](/blog/ai-ml-in-devsecops-series/)\" series.\n\n_Disclaimer: This blog contains information related to upcoming products, features, and functionality. It is important to note that the information in this blog post is for informational purposes only. Please do not rely on this information for purchasing or planning purposes. As with all projects, the items mentioned in this blog and linked pages are subject to change or delay. The development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab._","ai-ml",{"template":13,"slug":14,"featured":15},"BlogPost","track-machine-learning-model-experiments",false,{"title":5,"description":17,"authors":18,"heroImage":19,"tags":20,"category":11,"date":25,"body":10},"Track the many versions of your machine learning models on GitLab using the MLFlow client.",[9],"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749662840/Blog/Hero%20Images/ai-experiment-stars.png",[21,22,23,24],"AI/ML","DevSecOps platform","integrations","features","2023-05-11","md",null,{},true,"/en-us/blog/track-machine-learning-model-experiments","---\nseo:\n  title: Track ML model experiments with new GitLab MLFlow integration\n  description: >-\n    Track the many versions of your machine learning models on GitLab using the\n    MLFlow client.\n  ogTitle: Track ML model experiments with new GitLab MLFlow integration\n  ogDescription: >-\n    Track the many versions of your machine learning models on GitLab using the\n    MLFlow client.\n  noIndex: false\n  ogImage: >-\n    https://res.cloudinary.com/about-gitlab-com/image/upload/v1749662840/Blog/Hero%20Images/ai-experiment-stars.png\n  ogUrl: https://about.gitlab.com/blog/track-machine-learning-model-experiments\n  ogSiteName: https://about.gitlab.com\n  ogType: article\n  canonicalUrls: https://about.gitlab.com/blog/track-machine-learning-model-experiments\ntitle: Track ML model experiments with new GitLab MLFlow integration\ndescription: Track the many versions of your machine learning models on GitLab using the MLFlow client.\nauthors:\n  - Eduardo Bonet\nheroImage: https://res.cloudinary.com/about-gitlab-com/image/upload/v1749662840/Blog/Hero%20Images/ai-experiment-stars.png\ntags:\n  - AI/ML\n  - DevSecOps platform\n  - integrations\n  - features\ncategory: ai-ml\ndate: '2023-05-11'\nslug: track-machine-learning-model-experiments\nfeatured: false\ntemplate: BlogPost\n---\n\n*This blog is the latest post in an ongoing series about GitLab’s journey to \u003Ca href=\"/blog/ai-ml-in-devsecops-series/\">build and integrate AI/ML into our DevSecOps platform\u003C/a>. The first blog post can be found \u003Ca href=\"/blog/what-the-ml-ai/\">here\u003C/a>. Throughout the series, we’ll feature blogs from our product, engineering, and UX teams to showcase how we’re infusing AI/ML into GitLab.*\n\nThe GitLab DevSecOps platform now features [Machine Learning Model Experiments](https://docs.gitlab.com/user/project/ml/experiment_tracking/), which is avaliable to all GitLab users, making GitLab a powerful tool for creating ML models. Organizations can now track the many versions of their ML models within the GitLab user interface, using the open source [MLFlow](https://github.com/mlflow/mlflow).\n\n\u003Cimg src=\"https://about.gitlab.com/images/blogimages/2023-05-11-gitlab-model-experiments/experiment.png\" alt=\"Model experiment\" style=\"border: 1px solid gray;\">\n\n## What is an ML model?\n\nAn ML model is the result of three components: code to extract the patterns from the data, the data where the\npatterns are extracted from, and the configuration used for both, often called \"hyperparameters\". Any change to any of these components can\nlead to changes in the model performance, and keeping track of all of these parts and the results can be challenging.\nExperiment tracking aims to make sense of this confusion by keeping a record of all of the variations created,\nalong with the artifacts and results of each trial.\n\n[MLFlow](https://github.com/mlflow/mlflow) is a popular open source solution for ML experiment tracking,\nproviding a client to log different model versions and their metadata. However, it puts the cost of deployment and managing\nits server onto the users.\n\nGitLab makes the tracking process easier not by deploying a managed MLFlow backend, but by *being an MLFlow backend itself*. This marries the best of both worlds: Data scientists don't need to learn yet another client as their code requires minimal to no changes, while GitLab provides everything else. There is no need to manage a server or to implement user management, so there is no need to configure your artifact storage –  this is all provided by the GitLab DevSecOps platform.\n\n## ML model experiment features in GitLab 16.0\n\nWatch this overview of the available features in 16.0:\n\n\u003Cfigure class=\"video_container\">\n  \u003Ciframe src=\"https://www.youtube.com/embed/uxweU4zT40c\" frameborder=\"0\" allowfullscreen=\"true\"> \u003C/iframe>\n\u003C/figure>\n\n- **Create experiments and candidates using the MLFlow client**: Simply point the MLFlow client to your GitLab project and experiments and runs will be recorded on GitLab, with no additional setup necessary and no need to create a server. Note that MLFlow runs are called \"candidates\" in GitLab, as each of them is a candidate to become a version of a model.\n\n- **User access management**: Experiments are tied to a GitLab project, making it easy to control which users have access to which models.\n\n- **Manage candidates directly on the GitLab UI**: Search and explore your logged experiments on GitLab, using the UI you already know.\n\n- **Download candidate data as a CSV**: Data scientists that want to explore or create reports on an experiment can download the necessary data as a CSV file.\n\nTo get started, refer to the [documentation](https://docs.gitlab.com/user/project/ml/experiment_tracking/#machine-learning-model-experiments).\n\n### More to come\n\nGitLab wants to help you manage the entire lifecycle of your machine learning model from creation to packaging, deployment, and monitoring.\nFor more information on what we are working on, keep an eye on the MLOps Incubation Engineering [handbook page](https://handbook.gitlab.com/handbook/company/working-groups/mlops/) and on our [YouTube playlist](https://www.youtube.com/playlist?list=PL05JrBw4t0KpC6-JQy8lY4tNAZKXBaM_-).\n\nMachine Learning Model Experiments is an experimental feature available to all GitLab tiers, and we are looking for feedback so please [comment in this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/381660).\n\nContinue reading our \"[AI/ML in DevSecOps](/blog/ai-ml-in-devsecops-series/)\" series.\n\n_Disclaimer: This blog contains information related to upcoming products, features, and functionality. It is important to note that the information in this blog post is for informational purposes only. Please do not rely on this information for purchasing or planning purposes. As with all projects, the items mentioned in this blog and linked pages are subject to change or delay. The development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab._\n",{"title":5,"description":17,"ogTitle":5,"ogDescription":17,"noIndex":15,"ogImage":19,"ogUrl":33,"ogSiteName":34,"ogType":35,"canonicalUrls":33},"https://about.gitlab.com/blog/track-machine-learning-model-experiments","https://about.gitlab.com","article","en-us/blog/track-machine-learning-model-experiments",[38,39,23,24],"aiml","devsecops-platform",[21,22,23,24],"Hufan6Sab_hP21sypIizXvng7MI9fMNed-efzN6rKNw",{"logo":43,"freeTrial":48,"sales":53,"login":58,"items":63,"search":382,"minimal":413,"duo":432,"switchNav":441,"pricingDeployment":452},{"config":44},{"href":45,"dataGaName":46,"dataGaLocation":47},"/","gitlab logo","header",{"text":49,"config":50},"Get free trial",{"href":51,"dataGaName":52,"dataGaLocation":47},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":54,"config":55},"Talk to sales",{"href":56,"dataGaName":57,"dataGaLocation":47},"/sales/","sales",{"text":59,"config":60},"Sign in",{"href":61,"dataGaName":62,"dataGaLocation":47},"https://gitlab.com/users/sign_in/","sign in",[64,93,193,198,301,362],{"text":65,"config":66,"menu":68},"Platform",{"dataNavLevelOne":67},"platform",{"type":69,"columns":70},"cards",[71,77,85],{"title":65,"description":72,"link":73},"The intelligent orchestration platform for DevSecOps",{"text":74,"config":75},"Explore our Platform",{"href":76,"dataGaName":67,"dataGaLocation":47},"/platform/",{"title":78,"description":79,"link":80},"GitLab Duo Agent Platform","Agentic AI for the entire software lifecycle",{"text":81,"config":82},"Meet GitLab Duo",{"href":83,"dataGaName":84,"dataGaLocation":47},"/gitlab-duo-agent-platform/","gitlab duo agent platform",{"title":86,"description":87,"link":88},"Why GitLab","See the top reasons enterprises choose GitLab",{"text":89,"config":90},"Learn more",{"href":91,"dataGaName":92,"dataGaLocation":47},"/why-gitlab/","why gitlab",{"text":94,"left":29,"config":95,"menu":97},"Product",{"dataNavLevelOne":96},"solutions",{"type":98,"link":99,"columns":103,"feature":172},"lists",{"text":100,"config":101},"View all Solutions",{"href":102,"dataGaName":96,"dataGaLocation":47},"/solutions/",[104,128,151],{"title":105,"description":106,"link":107,"items":112},"Automation","CI/CD and automation to accelerate deployment",{"config":108},{"icon":109,"href":110,"dataGaName":111,"dataGaLocation":47},"AutomatedCodeAlt","/solutions/delivery-automation/","automated software delivery",[113,117,120,124],{"text":114,"config":115},"CI/CD",{"href":116,"dataGaLocation":47,"dataGaName":114},"/solutions/continuous-integration/",{"text":78,"config":118},{"href":83,"dataGaLocation":47,"dataGaName":119},"gitlab duo agent platform - product menu",{"text":121,"config":122},"Source Code Management",{"href":123,"dataGaLocation":47,"dataGaName":121},"/solutions/source-code-management/",{"text":125,"config":126},"Automated Software Delivery",{"href":110,"dataGaLocation":47,"dataGaName":127},"Automated software delivery",{"title":129,"description":130,"link":131,"items":136},"Security","Deliver code faster without compromising security",{"config":132},{"href":133,"dataGaName":134,"dataGaLocation":47,"icon":135},"/solutions/application-security-testing/","security and compliance","ShieldCheckLight",[137,141,146],{"text":138,"config":139},"Application Security Testing",{"href":133,"dataGaName":140,"dataGaLocation":47},"Application security testing",{"text":142,"config":143},"Software Supply Chain Security",{"href":144,"dataGaLocation":47,"dataGaName":145},"/solutions/supply-chain/","Software supply chain security",{"text":147,"config":148},"Software Compliance",{"href":149,"dataGaName":150,"dataGaLocation":47},"/solutions/software-compliance/","software compliance",{"title":152,"link":153,"items":158},"Measurement",{"config":154},{"icon":155,"href":156,"dataGaName":157,"dataGaLocation":47},"DigitalTransformation","/solutions/visibility-measurement/","visibility and measurement",[159,163,167],{"text":160,"config":161},"Visibility & Measurement",{"href":156,"dataGaLocation":47,"dataGaName":162},"Visibility and Measurement",{"text":164,"config":165},"Value Stream Management",{"href":166,"dataGaLocation":47,"dataGaName":164},"/solutions/value-stream-management/",{"text":168,"config":169},"Analytics & Insights",{"href":170,"dataGaLocation":47,"dataGaName":171},"/solutions/analytics-and-insights/","Analytics and insights",{"title":173,"type":98,"items":174},"GitLab for",[175,181,187],{"text":176,"config":177},"Enterprise",{"icon":178,"href":179,"dataGaLocation":47,"dataGaName":180},"Building","/enterprise/","enterprise",{"text":182,"config":183},"Small Business",{"icon":184,"href":185,"dataGaLocation":47,"dataGaName":186},"Work","/small-business/","small business",{"text":188,"config":189},"Public Sector",{"icon":190,"href":191,"dataGaLocation":47,"dataGaName":192},"Organization","/solutions/public-sector/","public sector",{"text":194,"config":195},"Pricing",{"href":196,"dataGaName":197,"dataGaLocation":47,"dataNavLevelOne":197},"/pricing/","pricing",{"text":199,"config":200,"menu":202},"Resources",{"dataNavLevelOne":201},"resources",{"type":98,"link":203,"columns":207,"feature":290},{"text":204,"config":205},"View all resources",{"href":206,"dataGaName":201,"dataGaLocation":47},"/resources/",[208,240,262],{"title":209,"items":210},"Getting started",[211,216,221,226,231,236],{"text":212,"config":213},"Install",{"href":214,"dataGaName":215,"dataGaLocation":47},"/install/","install",{"text":217,"config":218},"Quick start guides",{"href":219,"dataGaName":220,"dataGaLocation":47},"/get-started/","quick setup checklists",{"text":222,"config":223},"Learn",{"href":224,"dataGaLocation":47,"dataGaName":225},"https://university.gitlab.com/","learn",{"text":227,"config":228},"Product documentation",{"href":229,"dataGaName":230,"dataGaLocation":47},"https://docs.gitlab.com/","product documentation",{"text":232,"config":233},"Best practice videos",{"href":234,"dataGaName":235,"dataGaLocation":47},"/getting-started-videos/","best practice videos",{"text":237,"config":238},"Integrations",{"href":239,"dataGaName":23,"dataGaLocation":47},"/integrations/",{"title":241,"items":242},"Discover",[243,248,253,257],{"text":244,"config":245},"Customer success stories",{"href":246,"dataGaName":247,"dataGaLocation":47},"/customers/","customer success stories",{"text":249,"config":250},"Blog",{"href":251,"dataGaName":252,"dataGaLocation":47},"/blog/","blog",{"text":254,"config":255},"The Source",{"href":256,"dataGaName":252,"dataGaLocation":47},"/the-source/",{"text":258,"config":259},"Remote",{"href":260,"dataGaName":261,"dataGaLocation":47},"https://handbook.gitlab.com/handbook/company/culture/all-remote/","remote",{"title":263,"items":264},"Connect",[265,270,275,280,285],{"text":266,"config":267},"GitLab Services",{"href":268,"dataGaName":269,"dataGaLocation":47},"/services/","services",{"text":271,"config":272},"Community",{"href":273,"dataGaName":274,"dataGaLocation":47},"/community/","community",{"text":276,"config":277},"Forum",{"href":278,"dataGaName":279,"dataGaLocation":47},"https://forum.gitlab.com/","forum",{"text":281,"config":282},"Events",{"href":283,"dataGaName":284,"dataGaLocation":47},"/events/","events",{"text":286,"config":287},"Partners",{"href":288,"dataGaName":289,"dataGaLocation":47},"/partners/","partners",{"config":291,"title":294,"text":295,"link":296},{"background":292,"textColor":293},"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":297,"config":298},"Read the latest",{"href":299,"dataGaName":300,"dataGaLocation":47},"/releases/whats-new/","whats new",{"text":302,"config":303,"menu":305},"Company",{"dataNavLevelOne":304},"company",{"type":98,"columns":306},[307],{"items":308},[309,314,320,322,327,332,337,342,347,352,357],{"text":310,"config":311},"About",{"href":312,"dataGaName":313,"dataGaLocation":47},"/company/","about",{"text":315,"config":316,"footerGa":319},"Jobs",{"href":317,"dataGaName":318,"dataGaLocation":47},"/jobs/","jobs",{"dataGaName":318},{"text":281,"config":321},{"href":283,"dataGaName":284,"dataGaLocation":47},{"text":323,"config":324},"Leadership",{"href":325,"dataGaName":326,"dataGaLocation":47},"/company/team/e-group/","leadership",{"text":328,"config":329},"Team",{"href":330,"dataGaName":331,"dataGaLocation":47},"/company/team/","team",{"text":333,"config":334},"Handbook",{"href":335,"dataGaName":336,"dataGaLocation":47},"https://handbook.gitlab.com/","handbook",{"text":338,"config":339},"Investor relations",{"href":340,"dataGaName":341,"dataGaLocation":47},"https://ir.gitlab.com/","investor relations",{"text":343,"config":344},"Trust Center",{"href":345,"dataGaName":346,"dataGaLocation":47},"/security/","trust center",{"text":348,"config":349},"AI Transparency Center",{"href":350,"dataGaName":351,"dataGaLocation":47},"/ai-transparency-center/","ai transparency center",{"text":353,"config":354},"Newsletter",{"href":355,"dataGaName":356,"dataGaLocation":47},"/company/contact/#contact-forms","newsletter",{"text":358,"config":359},"Press",{"href":360,"dataGaName":361,"dataGaLocation":47},"/press/","press",{"text":363,"config":364,"menu":365},"Contact us",{"dataNavLevelOne":304},{"type":98,"columns":366},[367],{"items":368},[369,372,377],{"text":54,"config":370},{"href":56,"dataGaName":371,"dataGaLocation":47},"talk to sales",{"text":373,"config":374},"Support portal",{"href":375,"dataGaName":376,"dataGaLocation":47},"https://support.gitlab.com","support portal",{"text":378,"config":379},"Customer portal",{"href":380,"dataGaName":381,"dataGaLocation":47},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":383,"login":384,"suggestions":391},"Close",{"text":385,"link":386},"To search repositories and projects, login to",{"text":387,"config":388},"gitlab.com",{"href":61,"dataGaName":389,"dataGaLocation":390},"search login","search",{"text":392,"default":393},"Suggestions",[394,396,400,402,406,410],{"text":78,"config":395},{"href":83,"dataGaName":78,"dataGaLocation":390},{"text":397,"config":398},"Code Suggestions (AI)",{"href":399,"dataGaName":397,"dataGaLocation":390},"/solutions/code-suggestions/",{"text":114,"config":401},{"href":116,"dataGaName":114,"dataGaLocation":390},{"text":403,"config":404},"GitLab on AWS",{"href":405,"dataGaName":403,"dataGaLocation":390},"/partners/technology-partners/aws/",{"text":407,"config":408},"GitLab on Google Cloud",{"href":409,"dataGaName":407,"dataGaLocation":390},"/partners/technology-partners/google-cloud-platform/",{"text":411,"config":412},"Why GitLab?",{"href":91,"dataGaName":411,"dataGaLocation":390},{"freeTrial":414,"mobileIcon":419,"desktopIcon":424,"secondaryButton":427},{"text":415,"config":416},"Start free trial",{"href":417,"dataGaName":52,"dataGaLocation":418},"https://gitlab.com/-/trials/new/","nav",{"altText":420,"config":421},"Gitlab Icon",{"src":422,"dataGaName":423,"dataGaLocation":418},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":420,"config":425},{"src":426,"dataGaName":423,"dataGaLocation":418},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":428,"config":429},"Get Started",{"href":430,"dataGaName":431,"dataGaLocation":418},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":433,"mobileIcon":437,"desktopIcon":439},{"text":434,"config":435},"Learn more about GitLab Duo",{"href":83,"dataGaName":436,"dataGaLocation":418},"gitlab duo",{"altText":420,"config":438},{"src":422,"dataGaName":423,"dataGaLocation":418},{"altText":420,"config":440},{"src":426,"dataGaName":423,"dataGaLocation":418},{"button":442,"mobileIcon":447,"desktopIcon":449},{"text":443,"config":444},"/switch",{"href":445,"dataGaName":446,"dataGaLocation":418},"#contact","switch",{"altText":420,"config":448},{"src":422,"dataGaName":423,"dataGaLocation":418},{"altText":420,"config":450},{"src":451,"dataGaName":423,"dataGaLocation":418},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":453,"mobileIcon":458,"desktopIcon":460},{"text":454,"config":455},"Back to pricing",{"href":196,"dataGaName":456,"dataGaLocation":418,"icon":457},"back to pricing","GoBack",{"altText":420,"config":459},{"src":422,"dataGaName":423,"dataGaLocation":418},{"altText":420,"config":461},{"src":426,"dataGaName":423,"dataGaLocation":418},{"title":463,"button":464,"config":469},"See how agentic AI transforms software delivery",{"text":465,"config":466},"Sign up for GitLab Transcend on June 10",{"href":467,"dataGaName":468,"dataGaLocation":47},"/releases/whats-new/#sign-up","transcend event",{"layout":470,"icon":471,"disabled":15},"release","AiStar",{"data":473},{"text":474,"source":475,"edit":481,"contribute":486,"config":491,"items":496,"minimal":702},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"text":476,"config":477},"View page source",{"href":478,"dataGaName":479,"dataGaLocation":480},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/","page source","footer",{"text":482,"config":483},"Edit this page",{"href":484,"dataGaName":485,"dataGaLocation":480},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/content/","web ide",{"text":487,"config":488},"Please contribute",{"href":489,"dataGaName":490,"dataGaLocation":480},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/CONTRIBUTING.md/","please contribute",{"twitter":492,"facebook":493,"youtube":494,"linkedin":495},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[497,544,597,641,668],{"title":194,"links":498,"subMenu":513},[499,503,508],{"text":500,"config":501},"View plans",{"href":196,"dataGaName":502,"dataGaLocation":480},"view plans",{"text":504,"config":505},"Why Premium?",{"href":506,"dataGaName":507,"dataGaLocation":480},"/pricing/premium/","why premium",{"text":509,"config":510},"Why Ultimate?",{"href":511,"dataGaName":512,"dataGaLocation":480},"/pricing/ultimate/","why ultimate",[514],{"title":515,"links":516},"Contact Us",[517,520,522,524,529,534,539],{"text":518,"config":519},"Contact sales",{"href":56,"dataGaName":57,"dataGaLocation":480},{"text":373,"config":521},{"href":375,"dataGaName":376,"dataGaLocation":480},{"text":378,"config":523},{"href":380,"dataGaName":381,"dataGaLocation":480},{"text":525,"config":526},"Status",{"href":527,"dataGaName":528,"dataGaLocation":480},"https://status.gitlab.com/","status",{"text":530,"config":531},"Terms of use",{"href":532,"dataGaName":533,"dataGaLocation":480},"/terms/","terms of use",{"text":535,"config":536},"Privacy statement",{"href":537,"dataGaName":538,"dataGaLocation":480},"/privacy/","privacy statement",{"text":540,"config":541},"Cookie preferences",{"dataGaName":542,"dataGaLocation":480,"id":543,"isOneTrustButton":29},"cookie preferences","ot-sdk-btn",{"title":94,"links":545,"subMenu":553},[546,549],{"text":22,"config":547},{"href":76,"dataGaName":548,"dataGaLocation":480},"devsecops platform",{"text":550,"config":551},"AI-Assisted Development",{"href":83,"dataGaName":552,"dataGaLocation":480},"ai-assisted development",[554],{"title":555,"links":556},"Topics",[557,562,567,572,577,582,587,592],{"text":558,"config":559},"CICD",{"href":560,"dataGaName":561,"dataGaLocation":480},"/topics/ci-cd/","cicd",{"text":563,"config":564},"GitOps",{"href":565,"dataGaName":566,"dataGaLocation":480},"/topics/gitops/","gitops",{"text":568,"config":569},"DevOps",{"href":570,"dataGaName":571,"dataGaLocation":480},"/topics/devops/","devops",{"text":573,"config":574},"Version Control",{"href":575,"dataGaName":576,"dataGaLocation":480},"/topics/version-control/","version control",{"text":578,"config":579},"DevSecOps",{"href":580,"dataGaName":581,"dataGaLocation":480},"/topics/devsecops/","devsecops",{"text":583,"config":584},"Cloud Native",{"href":585,"dataGaName":586,"dataGaLocation":480},"/topics/cloud-native/","cloud native",{"text":588,"config":589},"AI for Coding",{"href":590,"dataGaName":591,"dataGaLocation":480},"/topics/devops/ai-for-coding/","ai for coding",{"text":593,"config":594},"Agentic AI",{"href":595,"dataGaName":596,"dataGaLocation":480},"/topics/agentic-ai/","agentic ai",{"title":598,"links":599},"Solutions",[600,602,604,609,613,616,620,623,625,628,631,636],{"text":138,"config":601},{"href":133,"dataGaName":138,"dataGaLocation":480},{"text":127,"config":603},{"href":110,"dataGaName":111,"dataGaLocation":480},{"text":605,"config":606},"Agile development",{"href":607,"dataGaName":608,"dataGaLocation":480},"/solutions/agile-delivery/","agile delivery",{"text":610,"config":611},"SCM",{"href":123,"dataGaName":612,"dataGaLocation":480},"source code management",{"text":558,"config":614},{"href":116,"dataGaName":615,"dataGaLocation":480},"continuous integration & delivery",{"text":617,"config":618},"Value stream management",{"href":166,"dataGaName":619,"dataGaLocation":480},"value stream management",{"text":563,"config":621},{"href":622,"dataGaName":566,"dataGaLocation":480},"/solutions/gitops/",{"text":176,"config":624},{"href":179,"dataGaName":180,"dataGaLocation":480},{"text":626,"config":627},"Small business",{"href":185,"dataGaName":186,"dataGaLocation":480},{"text":629,"config":630},"Public sector",{"href":191,"dataGaName":192,"dataGaLocation":480},{"text":632,"config":633},"Education",{"href":634,"dataGaName":635,"dataGaLocation":480},"/solutions/education/","education",{"text":637,"config":638},"Financial services",{"href":639,"dataGaName":640,"dataGaLocation":480},"/solutions/finance/","financial services",{"title":199,"links":642},[643,645,647,649,652,654,656,658,660,662,664,666],{"text":212,"config":644},{"href":214,"dataGaName":215,"dataGaLocation":480},{"text":217,"config":646},{"href":219,"dataGaName":220,"dataGaLocation":480},{"text":222,"config":648},{"href":224,"dataGaName":225,"dataGaLocation":480},{"text":227,"config":650},{"href":229,"dataGaName":651,"dataGaLocation":480},"docs",{"text":249,"config":653},{"href":251,"dataGaName":252,"dataGaLocation":480},{"text":244,"config":655},{"href":246,"dataGaName":247,"dataGaLocation":480},{"text":258,"config":657},{"href":260,"dataGaName":261,"dataGaLocation":480},{"text":266,"config":659},{"href":268,"dataGaName":269,"dataGaLocation":480},{"text":271,"config":661},{"href":273,"dataGaName":274,"dataGaLocation":480},{"text":276,"config":663},{"href":278,"dataGaName":279,"dataGaLocation":480},{"text":281,"config":665},{"href":283,"dataGaName":284,"dataGaLocation":480},{"text":286,"config":667},{"href":288,"dataGaName":289,"dataGaLocation":480},{"title":302,"links":669},[670,672,674,676,678,680,682,686,691,693,695,697],{"text":310,"config":671},{"href":312,"dataGaName":304,"dataGaLocation":480},{"text":315,"config":673},{"href":317,"dataGaName":318,"dataGaLocation":480},{"text":323,"config":675},{"href":325,"dataGaName":326,"dataGaLocation":480},{"text":328,"config":677},{"href":330,"dataGaName":331,"dataGaLocation":480},{"text":333,"config":679},{"href":335,"dataGaName":336,"dataGaLocation":480},{"text":338,"config":681},{"href":340,"dataGaName":341,"dataGaLocation":480},{"text":683,"config":684},"Sustainability",{"href":685,"dataGaName":683,"dataGaLocation":480},"/sustainability/",{"text":687,"config":688},"Diversity, inclusion and belonging (DIB)",{"href":689,"dataGaName":690,"dataGaLocation":480},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":343,"config":692},{"href":345,"dataGaName":346,"dataGaLocation":480},{"text":353,"config":694},{"href":355,"dataGaName":356,"dataGaLocation":480},{"text":358,"config":696},{"href":360,"dataGaName":361,"dataGaLocation":480},{"text":698,"config":699},"Modern Slavery Transparency Statement",{"href":700,"dataGaName":701,"dataGaLocation":480},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":703},[704,707,710],{"text":705,"config":706},"Terms",{"href":532,"dataGaName":533,"dataGaLocation":480},{"text":708,"config":709},"Cookies",{"dataGaName":542,"dataGaLocation":480,"id":543,"isOneTrustButton":29},{"text":711,"config":712},"Privacy",{"href":537,"dataGaName":538,"dataGaLocation":480},[714],{"id":715,"title":9,"body":27,"config":716,"content":718,"description":27,"extension":722,"meta":723,"navigation":29,"path":724,"seo":725,"stem":726,"__hash__":727},"blogAuthors/en-us/blog/authors/eduardo-bonet.yml",{"template":717},"BlogAuthor",{"name":9,"config":719},{"headshot":720,"ctfId":721},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749682722/Blog/Author%20Headshots/eduardobonet-headshot.jpg","eduardobonet","yml",{},"/en-us/blog/authors/eduardo-bonet",{},"en-us/blog/authors/eduardo-bonet","IFokL0QLR9e910u2tss95pNfOYQfZz3de0QSjDggwc8",[729,742,754],{"content":730,"config":740},{"title":731,"description":732,"authors":733,"date":735,"heroImage":736,"body":737,"category":11,"tags":738},"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.",[734],"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).**",[21,739],"product",{"featured":29,"template":13,"slug":741},"atlassian-will-train-on-your-data-opt-out-with-gitlab",{"content":743,"config":752},{"title":744,"description":745,"authors":746,"heroImage":748,"date":749,"body":750,"category":11,"tags":751},"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.",[747],"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/).",[21,739,289],{"featured":29,"template":13,"slug":753},"gitlab-and-anthropic-governed-ai-for-enterprise-development",{"content":755,"config":765},{"title":756,"description":757,"authors":758,"heroImage":760,"date":761,"body":762,"category":11,"tags":763},"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.",[759],"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",[21,739,764],"tutorial",{"featured":29,"template":13,"slug":766},"give-your-ai-agent-direct-structured-gitlab-access-with-glab-cli",{"promotions":768},[769,782,793,805],{"id":770,"categories":771,"header":772,"text":773,"button":774,"image":779},"ai-modernization",[11],"Is AI achieving its promise at scale?","Quiz will take 5 minutes or less",{"text":775,"config":776},"Get your AI maturity score",{"href":777,"dataGaName":778,"dataGaLocation":252},"/assessments/ai-modernization-assessment/","modernization assessment",{"config":780},{"src":781},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/qix0m7kwnd8x2fh1zq49.png",{"id":783,"categories":784,"header":785,"text":773,"button":786,"image":790},"devops-modernization",[739,581],"Are you just managing tools or shipping innovation?",{"text":787,"config":788},"Get your DevOps maturity score",{"href":789,"dataGaName":778,"dataGaLocation":252},"/assessments/devops-modernization-assessment/",{"config":791},{"src":792},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138785/eg818fmakweyuznttgid.png",{"id":794,"categories":795,"header":797,"text":773,"button":798,"image":802},"security-modernization",[796],"security","Are you trading speed for security?",{"text":799,"config":800},"Get your security maturity score",{"href":801,"dataGaName":778,"dataGaLocation":252},"/assessments/security-modernization-assessment/",{"config":803},{"src":804},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/p4pbqd9nnjejg5ds6mdk.png",{"id":806,"paths":807,"header":810,"text":811,"button":812,"image":817},"github-azure-migration",[808,809],"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":813,"config":814},"See how GitLab compares to GitHub",{"href":815,"dataGaName":816,"dataGaLocation":252},"/compare/gitlab-vs-github/github-azure-migration/","github azure migration",{"config":818},{"src":792},{"header":820,"blurb":821,"button":822,"secondaryButton":827},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":823,"config":824},"Get your free trial",{"href":825,"dataGaName":52,"dataGaLocation":826},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":518,"config":828},{"href":56,"dataGaName":57,"dataGaLocation":826},1777934949555]