[{"data":1,"prerenderedAt":1053},["ShallowReactive",2],{"/blog/automating-with-gitlab-duo-part-1-generating-tests":3,"navigation-en-us":300,"banner-en-us":738,"footer-en-us":746,"blog-post-authors-en-us-Byron Boots":993,"blog-related-posts-en-us-automating-with-gitlab-duo-part-1-generating-tests":1008,"blog-share-wrapper-en-us":1033,"next-steps-en-us":1043},{"id":4,"title":5,"authors":6,"body":8,"category":276,"date":277,"description":278,"extension":279,"externalUrl":280,"faq":280,"featured":281,"heroImage":282,"hidePromo":281,"meta":283,"navigation":284,"path":285,"seo":286,"slug":290,"stem":291,"tags":292,"template":298,"updatedDate":280,"__hash__":299},"blogPosts/en-us/blog/automating-with-gitlab-duo-part-1-generating-tests.md","Automating with GitLab Duo, Part 1: Generating tests",[7],"Byron Boots",{"type":9,"value":10,"toc":265},"minimark",[11,15,18,28,31,44,49,63,68,77,86,93,97,100,120,126,129,147,150,159,162,165,199,203,208,211,216,219,224,227,232,241,246,249,254,257,262],[12,13,14],"p",{},"Automated testing is time-consuming and can feel like it’s not moving a project forward. However, as many developers have likely experienced, automated testing provides an overall positive return on investment. In building a custom module (we'll call it gitlab-helper for this article), this was particularly true.",[12,16,17],{},"Our initial development focused on migrating tried and used functionality from existing scripts to a new module whose sole purpose was to serve as a baseline for future functionality. Although existing scripts lacked automated testing, their consistent usage was strong anecdotal evidence the functionality worked as expected.",[12,19,20,21,27],{},"Our objective was to deliver a more mature solution to this problem, so automated testing became a necessity. This introduced the challenge of building efficiently, while balancing the time to test and ensure a robust product; and with a total of three team members, this was no small bottleneck. Therefore, the team decided to take advantage of ",[22,23,26],"a",{"href":24,"rel":25},"https://about.gitlab.com/gitlab-duo-agent-platform/",[],"GitLab Duo",", our suite of AI capabilities, for test generation, improving speed and quality of the delivered product.",[12,29,30],{},"In this three-part series on automating with GitLab Duo, we will cover:",[32,33,34,38,41],"ol",{},[35,36,37],"li",{},"How we used GitLab Duo to generate tests for our code",[35,39,40],{},"How we worked interactively with GitLab Duo for more complex situations",[35,42,43],{},"The results we were able to achieve (Spoiler: 1 developer + GitLab Duo = 84% coverage in 2 days)",[45,46,48],"h2",{"id":47},"using-gitlab-duo-to-generate-tests-for-code","Using GitLab Duo to generate tests for code",[12,50,51,52,57,58,62],{},"While functionality is available across tools, this article will cover using GitLab Duo in VS Code, with the ",[22,53,56],{"href":54,"rel":55},"https://marketplace.visualstudio.com/items?itemName=GitLab.gitlab-workflow",[],"GitLab Workflow extension for VS Code"," to generate tests. Links to other GitLab Duo options are available in the ",[22,59,61],{"href":60},"#references","references"," below.",[64,65,67],"h3",{"id":66},"install-and-enable-gitlab-duo","Install and enable GitLab Duo",[12,69,70,71,76],{},"As a prerequisite to using GitLab Duo, we ensured we had a GitLab Duo-enabled account. If you don't have GitLab Duo, you can ",[22,72,75],{"href":73,"rel":74},"https://about.gitlab.com/sales/?type=free-trial",[],"sign up for a free trial",".",[12,78,79,80,85],{},"To use GitLab Duo Chat in VS Code, we followed the ",[22,81,84],{"href":82,"rel":83},"https://docs.gitlab.com/user/gitlab_duo_chat/#use-gitlab-duo-chat-in-vs-code",[],"instructions for installation",". Then, we were able to see the GitLab Duo Chat extension on the sidebar and open the Chat window.",[12,87,88],{},[89,90],"img",{"alt":91,"src":92},"Ask a question window","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097489/Blog/Content%20Images/Blog/Content%20Images/image4_aHR0cHM6_1750097488918.png",[64,94,96],{"id":95},"generate-tests-with-chat","Generate tests with Chat",[12,98,99],{},"gitlab-helper is a custom module built for standardizing interaction with the GitLab API across the team's work and extends other library functionalities to simplify development and scripting work. Once a method or feature was migrated to gitlab-helper and appeared to be implemented appropriately, the process to generate tests for it was simple:",[101,102,103,106,109],"ul",{},[35,104,105],{},"Select the method, class, or entire file in the IDE.",[35,107,108],{},"Right-click on the selected code.",[35,110,111,112,116,117,76],{},"Under ",[113,114,115],"strong",{},"GitLab Duo Chat",", select ",[113,118,119],{},"Generate tests",[12,121,122],{},[89,123],{"alt":124,"src":125},"Sequence to generate tests, including drop-down for generate tests","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097489/Blog/Content%20Images/Blog/Content%20Images/image1_aHR0cHM6_1750097488919.png",[12,127,128],{},"Within a few seconds, tests were generated and presented in the GitLab Duo Chat window. These tests can be reviewed and or added to the codebase, via copy/paste, into existing or new test files. As is the case with most natural language processing generations today, particularly around context, some of the initial tests created by GitLab Duo failed, thus requiring finetuning (for instance, when dealing with nested dependencies).",[130,131,132],"blockquote",{},[12,133,134,137,138,142,143,146],{},[113,135,136],{},"Pro tip:"," GitLab Duo does not auto-create files to add generated tests to. We found it was helpful to create new test files and add a ",[139,140,141],"code",{},"# Tests Generated by Duo"," comment at the top of them and suffix them with ",[139,144,145],{},"_duo.py"," to indicate where the tests came from.",[12,148,149],{},"GitLab Duo provided a great starting point for building out gitlab-helper’s automated testing and greatly improved test writing efficiency and code coverage, speeding up the development process substantially. Alongside GitLab Duo, numerous iterations of valuable tests were introduced into the gitlab-helper module with human oversight.",[12,151,152,153,158],{},"Read the next installment in this series where we share ",[22,154,157],{"href":155,"rel":156},"https://about.gitlab.com/blog/automating-with-gitlab-duo-part-2-complex-testing/",[],"what we learned while using GitLab Duo for generating automated tests"," and working interactively with AI for more complex situations.",[45,160,161],{"id":61},"References",[12,163,164],{},"There’s more than one way to use GitLab Duo to generate tests, check out the other options below:",[101,166,167,170,177,183,191],{},[35,168,169],{},"The GitLab UI",[35,171,172],{},[22,173,176],{"href":174,"rel":175},"https://docs.gitlab.com/user/project/web_ide/",[],"The GitLab Web IDE (VS Code in the cloud)",[35,178,179,180],{},"VS Code, with the ",[22,181,56],{"href":54,"rel":182},[],[35,184,185,186],{},"JetBrains IDEs, with the ",[22,187,190],{"href":188,"rel":189},"https://plugins.jetbrains.com/plugin/22325-gitlab-duo",[],"GitLab Duo Plugin for JetBrains",[35,192,193,194],{},"Visual Studio for Windows, with the ",[22,195,198],{"href":196,"rel":197},"https://marketplace.visualstudio.com/items?itemName=GitLab.GitLabExtensionForVisualStudio",[],"GitLab Extension for Visual Studio",[45,200,202],{"id":201},"faq","FAQ",[12,204,205],{},[113,206,207],{},"What is GitLab Duo and how does it help with test generation?",[12,209,210],{},"GitLab Duo is GitLab's suite of AI capabilities built into its DevSecOps platform. The team used it to generate automated tests, improving development speed and code coverage without requiring a large team.",[12,212,213],{},[113,214,215],{},"How do you generate tests using GitLab Duo in VS Code?",[12,217,218],{},"Select the method, class, or entire file in the IDE, right-click on the selected code, and choose \"Generate tests\" under the GitLab Duo Chat menu. Tests are generated and presented in the Chat window within seconds.",[12,220,221],{},[113,222,223],{},"Do I need a special account or extension to use GitLab Duo in VS Code?",[12,225,226],{},"Yes, you need a GitLab Duo-enabled account and the GitLab Workflow extension for VS Code installed. If you don't have GitLab Duo, you can sign up for a free trial.",[12,228,229],{},[113,230,231],{},"Does GitLab Duo automatically create test files for the generated tests?",[12,233,234,235,237,238,240],{},"No, GitLab Duo does not auto-create files for generated tests. The team found it helpful to manually create new test files and add a ",[139,236,141],{}," comment at the top, using a ",[139,239,145],{}," suffix to track their origin.",[12,242,243],{},[113,244,245],{},"Will all tests generated by GitLab Duo pass immediately?",[12,247,248],{},"Not always. Some initial tests may fail due to context limitations, such as nested dependencies, and will require finetuning. Human oversight alongside GitLab Duo is recommended for best results.",[12,250,251],{},[113,252,253],{},"Can GitLab Duo be used for test generation outside of VS Code?",[12,255,256],{},"Yes, GitLab Duo supports test generation through the GitLab UI, the GitLab Web IDE, JetBrains IDEs, and Visual Studio for Windows, in addition to VS Code.",[12,258,259],{},[113,260,261],{},"What results did the team achieve using GitLab Duo for test generation?",[12,263,264],{},"One developer working with GitLab Duo reached 84% test coverage in just two days, demonstrating a significant improvement in development speed and quality.",{"title":266,"searchDepth":267,"depth":267,"links":268},"",2,[269,274,275],{"id":47,"depth":267,"text":48,"children":270},[271,273],{"id":66,"depth":272,"text":67},3,{"id":95,"depth":272,"text":96},{"id":61,"depth":267,"text":161},{"id":201,"depth":267,"text":202},"ai","2024-12-02","Learn how we used the AI-driven DevSecOps platform to generate automated tests and improve our development speed and quality.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097480/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%284%29_3LZkiDjHLjhqEkvOvBsVKp_1750097480784.png",{},true,"/en-us/blog/automating-with-gitlab-duo-part-1-generating-tests",{"title":5,"description":278,"ogTitle":5,"ogDescription":278,"noIndex":281,"ogImage":282,"ogUrl":287,"ogSiteName":288,"ogType":289,"canonicalUrls":287},"https://about.gitlab.com/blog/automating-with-gitlab-duo-part-1-generating-tests","https://about.gitlab.com","article","automating-with-gitlab-duo-part-1-generating-tests","en-us/blog/automating-with-gitlab-duo-part-1-generating-tests",[293,294,295,296,297],"AI","tutorial","testing","DevSecOps platform","features","BlogPost","xbyrsjomC5mRSDQ7YlSzz9bhbl5XFH1B_OIlKWDidGk",{"logo":301,"freeTrial":306,"sales":311,"login":316,"items":321,"search":657,"minimal":689,"duo":708,"switchNav":717,"pricingDeployment":728},{"config":302},{"href":303,"dataGaName":304,"dataGaLocation":305},"/","gitlab logo","header",{"text":307,"config":308},"Get free trial",{"href":309,"dataGaName":310,"dataGaLocation":305},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":312,"config":313},"Request a demo",{"href":314,"dataGaName":315,"dataGaLocation":305},"/request-a-demo/","sales",{"text":317,"config":318},"Sign in",{"href":319,"dataGaName":320,"dataGaLocation":305},"https://gitlab.com/users/sign_in/","sign in",[322,408,496,501,581,635],{"text":323,"left":284,"config":324,"menu":326},"Platform",{"dataNavLevelOne":325},"platform",{"type":327,"link":328,"columns":332,"feature":397},"lists",{"text":329,"config":330},"Explore the Platform",{"href":331,"dataGaName":325,"dataGaLocation":305},"/platform/",[333,356,379],{"title":334,"items":335},"DevOps",[336,341,346,351],{"text":337,"config":338},"CI/CD",{"href":339,"dataGaLocation":305,"dataGaName":340},"/solutions/continuous-integration/","ci/cd",{"text":342,"config":343},"Source Code Management",{"href":344,"dataGaLocation":305,"dataGaName":345},"/solutions/source-code-management/","source code management",{"text":347,"config":348},"Agile Delivery",{"href":349,"dataGaLocation":305,"dataGaName":350},"/solutions/agile-delivery/","agile delivery",{"text":352,"config":353},"Artifact Management",{"href":354,"dataGaLocation":305,"dataGaName":355},"/artifact-central/","artifact management",{"title":357,"items":358},"Security & Governance",[359,364,369,374],{"text":360,"config":361},"Application Security Testing",{"href":362,"dataGaLocation":305,"dataGaName":363},"/solutions/application-security-testing/","application security testing",{"text":365,"config":366},"Governance & Compliance",{"href":367,"dataGaLocation":305,"dataGaName":368},"/solutions/software-compliance/","governance and compliance",{"text":370,"config":371},"Secrets Management",{"href":372,"dataGaLocation":305,"dataGaName":373},"/gitlab-secrets-manager/","secrets management",{"text":375,"config":376},"Supply Chain Security",{"href":377,"dataGaLocation":305,"dataGaName":378},"/solutions/supply-chain/","supply chain security",{"title":380,"items":381},"Agentic AI & Context",[382,387,392],{"text":383,"config":384},"Duo Agent Platform",{"href":385,"dataGaLocation":305,"dataGaName":386},"/gitlab-duo-agent-platform/","duo agent platform",{"text":388,"config":389},"Orbit Context Graph",{"href":390,"dataGaLocation":305,"dataGaName":391},"/gitlab-orbit/","orbit",{"text":393,"config":394},"Visibility & Measurement",{"href":395,"dataGaLocation":305,"dataGaName":396},"/solutions/visibility-measurement/","visibility and measurement",{"config":398,"title":401,"text":402,"link":403},{"background":399,"textColor":400},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":404,"config":405},"Read the announcement",{"href":406,"dataGaName":407,"dataGaLocation":305},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":409,"left":284,"config":410,"menu":412},"Solutions",{"dataNavLevelOne":411},"solutions",{"type":327,"link":413,"columns":417,"feature":487},{"text":414,"config":415},"View all Solutions",{"href":416,"dataGaName":411,"dataGaLocation":305},"/solutions/",[418,436,454],{"title":419,"items":420},"Outcomes",[421,426,431],{"text":422,"config":423},"DevOps Modernization",{"href":424,"dataGaLocation":305,"dataGaName":425},"/assessments/devops-modernization-assessment/","devops modernization",{"text":427,"config":428},"Security Modernization",{"href":429,"dataGaLocation":305,"dataGaName":430},"/assessments/security-modernization-assessment/","security modernization",{"text":432,"config":433},"AI Modernization",{"href":434,"dataGaLocation":305,"dataGaName":435},"/assessments/ai-modernization-assessment/","ai modernization",{"title":437,"items":438},"By size",[439,444,449],{"text":440,"config":441},"Enterprise",{"href":442,"dataGaLocation":305,"dataGaName":443},"/enterprise/","enterprise",{"text":445,"config":446},"Small Business",{"href":447,"dataGaLocation":305,"dataGaName":448},"/small-business/","small business",{"text":450,"config":451},"Startups",{"href":452,"dataGaLocation":305,"dataGaName":453},"/solutions/startups/","startups",{"title":455,"items":456},"Industries",[457,462,467,472,477,482],{"text":458,"config":459},"Financial Services",{"href":460,"dataGaLocation":305,"dataGaName":461},"/solutions/finance/","financial services",{"text":463,"config":464},"Public Sector",{"href":465,"dataGaLocation":305,"dataGaName":466},"/solutions/public-sector/","public sector",{"text":468,"config":469},"Telecommunications",{"href":470,"dataGaLocation":305,"dataGaName":471},"/solutions/telecommunications/","telecommunications",{"text":473,"config":474},"Automotive",{"href":475,"dataGaLocation":305,"dataGaName":476},"/solutions/automotive/","automotive",{"text":478,"config":479},"Education",{"href":480,"dataGaLocation":305,"dataGaName":481},"/solutions/education/","education",{"text":483,"config":484},"Aerospace",{"href":485,"dataGaLocation":305,"dataGaName":486},"/solutions/aerospace/","aerospace",{"config":488,"title":489,"text":490,"link":491},{"background":399,"textColor":400},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":492,"config":493},"Explore the standard",{"href":494,"dataGaName":495,"dataGaLocation":305},"/gitlab-security-standard/","gitlab security standard",{"text":497,"config":498},"Pricing",{"href":499,"dataGaName":500,"dataGaLocation":305,"dataNavLevelOne":500},"/pricing/","pricing",{"text":502,"config":503,"menu":505},"Resources",{"dataNavLevelOne":504},"resources",{"type":327,"link":506,"columns":510,"feature":572},{"text":507,"config":508},"View all resources",{"href":509,"dataGaName":504,"dataGaLocation":305},"/resources/",[511,544],{"title":512,"items":513},"Discover",[514,519,524,529,534,539],{"text":515,"config":516},"Docs",{"href":517,"dataGaName":518,"dataGaLocation":305},"https://docs.gitlab.com/","docs",{"text":520,"config":521},"University",{"href":522,"dataGaName":523,"dataGaLocation":305},"https://university.gitlab.com/","university",{"text":525,"config":526},"Demo Series",{"href":527,"dataGaName":528,"dataGaLocation":305},"/gitlab-technical-demo-series/","demo series",{"text":530,"config":531},"Demo Hub",{"href":532,"dataGaName":533,"dataGaLocation":305},"/demo-hub/","demo hub",{"text":535,"config":536},"Services",{"href":537,"dataGaName":538,"dataGaLocation":305},"/services/","services",{"text":540,"config":541},"Well Architected",{"href":542,"dataGaName":543,"dataGaLocation":305},"/resources/well-architected/","well architected",{"title":545,"items":546},"Connect",[547,552,557,562,567],{"text":548,"config":549},"Blog",{"href":550,"dataGaName":551,"dataGaLocation":305},"/blog/","blog",{"text":553,"config":554},"Community",{"href":555,"dataGaName":556,"dataGaLocation":305},"/community/","community",{"text":558,"config":559},"Customers",{"href":560,"dataGaName":561,"dataGaLocation":305},"/customers/","customers",{"text":563,"config":564},"Partners",{"href":565,"dataGaName":566,"dataGaLocation":305},"/partners/","partners",{"text":568,"config":569},"Events",{"href":570,"dataGaName":571,"dataGaLocation":305},"/events/","events",{"config":573,"title":574,"text":575,"link":576},{"background":399,"textColor":400},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":577,"config":578},"Read the latest",{"href":579,"dataGaName":580,"dataGaLocation":305},"/whats-new/","whats new",{"text":582,"config":583,"menu":585},"Company",{"dataNavLevelOne":584},"company",{"type":327,"columns":586},[587],{"items":588},[589,594,600,605,610,615,620,625,630],{"text":590,"config":591},"About",{"href":592,"dataGaName":593,"dataGaLocation":305},"/company/","about",{"text":595,"config":596,"footerGa":599},"Jobs",{"href":597,"dataGaName":598,"dataGaLocation":305},"/jobs/","jobs",{"dataGaName":598},{"text":601,"config":602},"Press",{"href":603,"dataGaName":604,"dataGaLocation":305},"/press/","press",{"text":606,"config":607},"Handbook",{"href":608,"dataGaName":609,"dataGaLocation":305},"https://handbook.gitlab.com/","handbook",{"text":611,"config":612},"Leadership",{"href":613,"dataGaName":614,"dataGaLocation":305},"/company/team/e-group/","leadership",{"text":616,"config":617},"Investor relations",{"href":618,"dataGaName":619,"dataGaLocation":305},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":621,"config":622},"Trust Center",{"href":623,"dataGaName":624,"dataGaLocation":305},"/security/","trust center",{"text":626,"config":627},"AI Transparency Center",{"href":628,"dataGaName":629,"dataGaLocation":305},"/ai-transparency-center/","ai transparency center",{"text":631,"config":632},"Newsletter",{"href":633,"dataGaName":634,"dataGaLocation":305},"/company/contact/#contact-forms","newsletter",{"text":636,"config":637,"menu":638},"Contact us",{"dataNavLevelOne":584},{"type":327,"columns":639},[640],{"items":641},[642,647,652],{"text":643,"config":644},"Talk to sales",{"href":645,"dataGaName":646,"dataGaLocation":305},"/sales/","talk to sales",{"text":648,"config":649},"Support portal",{"href":650,"dataGaName":651,"dataGaLocation":305},"https://support.gitlab.com/hc/en-us","support portal",{"text":653,"config":654},"Customer portal",{"href":655,"dataGaName":656,"dataGaLocation":305},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":658,"login":659,"suggestions":666},"Close",{"text":660,"link":661},"To search repositories and projects, login to",{"text":662,"config":663},"gitlab.com",{"href":319,"dataGaName":664,"dataGaLocation":665},"search login","search",{"text":667,"default":668},"Suggestions",[669,672,675,677,681,685],{"text":670,"config":671},"GitLab Duo Agent Platform",{"href":385,"dataGaName":670,"dataGaLocation":665},{"text":673,"config":674},"Code Suggestions (AI)",{"href":385,"dataGaName":673,"dataGaLocation":665},{"text":337,"config":676},{"href":339,"dataGaName":337,"dataGaLocation":665},{"text":678,"config":679},"GitLab on AWS",{"href":680,"dataGaName":678,"dataGaLocation":665},"/partners/technology-partners/aws/",{"text":682,"config":683},"GitLab on Google Cloud",{"href":684,"dataGaName":682,"dataGaLocation":665},"/partners/technology-partners/google-cloud-platform/",{"text":686,"config":687},"Why GitLab?",{"href":688,"dataGaName":686,"dataGaLocation":665},"/why-gitlab/",{"freeTrial":690,"mobileIcon":695,"desktopIcon":700,"secondaryButton":703},{"text":691,"config":692},"Start free trial",{"href":693,"dataGaName":310,"dataGaLocation":694},"https://gitlab.com/-/trials/new/","nav",{"altText":696,"config":697},"Gitlab Icon",{"src":698,"dataGaName":699,"dataGaLocation":694},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":696,"config":701},{"src":702,"dataGaName":699,"dataGaLocation":694},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":704,"config":705},"Get Started",{"href":706,"dataGaName":707,"dataGaLocation":694},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":709,"mobileIcon":713,"desktopIcon":715},{"text":710,"config":711},"Learn more about GitLab Duo",{"href":385,"dataGaName":712,"dataGaLocation":694},"gitlab duo",{"altText":696,"config":714},{"src":698,"dataGaName":699,"dataGaLocation":694},{"altText":696,"config":716},{"src":702,"dataGaName":699,"dataGaLocation":694},{"button":718,"mobileIcon":723,"desktopIcon":725},{"text":719,"config":720},"/switch",{"href":721,"dataGaName":722,"dataGaLocation":694},"#contact","switch",{"altText":696,"config":724},{"src":698,"dataGaName":699,"dataGaLocation":694},{"altText":696,"config":726},{"src":727,"dataGaName":699,"dataGaLocation":694},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":729,"mobileIcon":734,"desktopIcon":736},{"text":730,"config":731},"Back to pricing",{"href":499,"dataGaName":732,"dataGaLocation":694,"icon":733},"back to pricing","GoBack",{"altText":696,"config":735},{"src":698,"dataGaName":699,"dataGaLocation":694},{"altText":696,"config":737},{"src":702,"dataGaName":699,"dataGaLocation":694},{"title":739,"button":740,"config":744},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":404,"config":741},{"href":406,"dataGaName":742,"dataGaLocation":743},"orbit-ga-banner","global-banner",{"layout":745,"disabled":281},"release",{"data":747},{"text":748,"config":749,"items":754,"minimal":982},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":750,"facebook":751,"youtube":752,"linkedin":753},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[755,803,862,909,950],{"title":497,"links":756,"subMenu":772},[757,762,767],{"text":758,"config":759},"View plans",{"href":499,"dataGaName":760,"dataGaLocation":761},"view plans","footer",{"text":763,"config":764},"Why Premium?",{"href":765,"dataGaName":766,"dataGaLocation":761},"/pricing/premium/","why premium",{"text":768,"config":769},"Why Ultimate?",{"href":770,"dataGaName":771,"dataGaLocation":761},"/pricing/ultimate/","why ultimate",[773],{"title":774,"links":775},"Contact Us",[776,779,781,783,788,793,798],{"text":777,"config":778},"Contact sales",{"href":645,"dataGaName":315,"dataGaLocation":761},{"text":648,"config":780},{"href":650,"dataGaName":651,"dataGaLocation":761},{"text":653,"config":782},{"href":655,"dataGaName":656,"dataGaLocation":761},{"text":784,"config":785},"Status",{"href":786,"dataGaName":787,"dataGaLocation":761},"https://status.gitlab.com/","status",{"text":789,"config":790},"Terms of use",{"href":791,"dataGaName":792,"dataGaLocation":761},"/terms/","terms of use",{"text":794,"config":795},"Privacy statement",{"href":796,"dataGaName":797,"dataGaLocation":761},"/privacy/","privacy statement",{"text":799,"config":800},"Cookie preferences",{"dataGaName":801,"dataGaLocation":761,"id":802,"isOneTrustButton":284},"cookie preferences","ot-sdk-btn",{"title":323,"links":804,"subMenu":820},[805,808,810,812,814,816],{"text":806,"config":807},"Explore the platform",{"href":331,"dataGaName":325,"dataGaLocation":761},{"text":383,"config":809},{"href":385,"dataGaName":386,"dataGaLocation":761},{"text":337,"config":811},{"href":339,"dataGaName":340,"dataGaLocation":761},{"text":388,"config":813},{"href":390,"dataGaName":391,"dataGaLocation":761},{"text":370,"config":815},{"href":372,"dataGaName":373,"dataGaLocation":761},{"text":817,"config":818},"Why GitLab",{"href":688,"dataGaName":819,"dataGaLocation":761},"why gitlab",[821],{"title":822,"links":823},"Topics",[824,828,833,837,842,847,852,857],{"text":337,"config":825},{"href":826,"dataGaName":827,"dataGaLocation":761},"/topics/ci-cd/","cicd",{"text":829,"config":830},"GitOps",{"href":831,"dataGaName":832,"dataGaLocation":761},"/topics/gitops/","gitops",{"text":334,"config":834},{"href":835,"dataGaName":836,"dataGaLocation":761},"/topics/devops/","devops",{"text":838,"config":839},"Version Control",{"href":840,"dataGaName":841,"dataGaLocation":761},"/topics/version-control/","version control",{"text":843,"config":844},"DevSecOps",{"href":845,"dataGaName":846,"dataGaLocation":761},"/topics/devsecops/","devsecops",{"text":848,"config":849},"Cloud Native",{"href":850,"dataGaName":851,"dataGaLocation":761},"/topics/cloud-native/","cloud native",{"text":853,"config":854},"AI for Coding",{"href":855,"dataGaName":856,"dataGaLocation":761},"/topics/devops/ai-for-coding/","ai for coding",{"text":858,"config":859},"Agentic AI",{"href":860,"dataGaName":861,"dataGaLocation":761},"/topics/agentic-ai/","agentic ai",{"title":409,"links":863},[864,867,870,873,876,879,881,883,885,887,889,892,894,897,901,905],{"text":865,"config":866},"DevOps modernization",{"href":424,"dataGaName":425,"dataGaLocation":761},{"text":868,"config":869},"Security modernization",{"href":429,"dataGaName":430,"dataGaLocation":761},{"text":871,"config":872},"AI modernization",{"href":434,"dataGaName":435,"dataGaLocation":761},{"text":874,"config":875},"Financial services",{"href":460,"dataGaName":461,"dataGaLocation":761},{"text":877,"config":878},"Public sector",{"href":465,"dataGaName":466,"dataGaLocation":761},{"text":468,"config":880},{"href":470,"dataGaName":471,"dataGaLocation":761},{"text":473,"config":882},{"href":475,"dataGaName":476,"dataGaLocation":761},{"text":478,"config":884},{"href":480,"dataGaName":481,"dataGaLocation":761},{"text":483,"config":886},{"href":485,"dataGaName":486,"dataGaLocation":761},{"text":440,"config":888},{"href":442,"dataGaName":443,"dataGaLocation":761},{"text":890,"config":891},"Small business",{"href":447,"dataGaName":448,"dataGaLocation":761},{"text":450,"config":893},{"href":452,"dataGaName":453,"dataGaLocation":761},{"text":829,"config":895},{"href":896,"dataGaName":832,"dataGaLocation":761},"/solutions/gitops/",{"text":898,"config":899},"Software composition analysis",{"href":377,"dataGaName":900,"dataGaLocation":761},"software composition analysis",{"text":902,"config":903},"Value stream management",{"href":395,"dataGaName":904,"dataGaLocation":761},"value stream management",{"text":906,"config":907},"All solutions",{"href":416,"dataGaName":908,"dataGaLocation":761},"all solutions",{"title":502,"links":910},[911,916,921,923,925,927,929,931,933,935,937,939,941,943,946],{"text":912,"config":913},"Install",{"href":914,"dataGaName":915,"dataGaLocation":761},"/install/","install",{"text":917,"config":918},"Quick start guides",{"href":919,"dataGaName":920,"dataGaLocation":761},"/get-started/","quick setup checklists",{"text":515,"config":922},{"href":517,"dataGaName":518,"dataGaLocation":761},{"text":520,"config":924},{"href":522,"dataGaName":523,"dataGaLocation":761},{"text":525,"config":926},{"href":527,"dataGaName":528,"dataGaLocation":761},{"text":530,"config":928},{"href":532,"dataGaName":533,"dataGaLocation":761},{"text":535,"config":930},{"href":537,"dataGaName":538,"dataGaLocation":761},{"text":548,"config":932},{"href":550,"dataGaName":551,"dataGaLocation":761},{"text":553,"config":934},{"href":555,"dataGaName":556,"dataGaLocation":761},{"text":558,"config":936},{"href":560,"dataGaName":561,"dataGaLocation":761},{"text":563,"config":938},{"href":565,"dataGaName":566,"dataGaLocation":761},{"text":568,"config":940},{"href":570,"dataGaName":571,"dataGaLocation":761},{"text":631,"config":942},{"href":633,"dataGaName":634,"dataGaLocation":761},{"text":944,"config":945},"What's new",{"href":579,"dataGaName":580,"dataGaLocation":761},{"text":947,"config":948},"All resources",{"href":509,"dataGaName":949,"dataGaLocation":761},"all resources",{"title":582,"links":951},[952,954,956,958,960,962,964,966,968,972,977],{"text":590,"config":953},{"href":592,"dataGaName":584,"dataGaLocation":761},{"text":595,"config":955},{"href":597,"dataGaName":598,"dataGaLocation":761},{"text":601,"config":957},{"href":603,"dataGaName":604,"dataGaLocation":761},{"text":606,"config":959},{"href":608,"dataGaName":609,"dataGaLocation":761},{"text":611,"config":961},{"href":613,"dataGaName":614,"dataGaLocation":761},{"text":616,"config":963},{"href":618,"dataGaName":619,"dataGaLocation":761},{"text":621,"config":965},{"href":623,"dataGaName":624,"dataGaLocation":761},{"text":626,"config":967},{"href":628,"dataGaName":629,"dataGaLocation":761},{"text":969,"config":970},"Sustainability",{"href":971,"dataGaName":969,"dataGaLocation":761},"/sustainability/",{"text":973,"config":974},"Diversity, inclusion and belonging (DIB)",{"href":975,"dataGaName":976,"dataGaLocation":761},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":978,"config":979},"Modern Slavery Transparency Statement",{"href":980,"dataGaName":981,"dataGaLocation":761},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":983},[984,987,990],{"text":985,"config":986},"Terms",{"href":791,"dataGaName":792,"dataGaLocation":761},{"text":988,"config":989},"Cookies",{"dataGaName":801,"dataGaLocation":761,"id":802,"isOneTrustButton":284},{"text":991,"config":992},"Privacy",{"href":796,"dataGaName":797,"dataGaLocation":761},[994],{"id":995,"title":7,"body":280,"config":996,"content":998,"description":280,"extension":1002,"meta":1003,"navigation":284,"path":1004,"seo":1005,"stem":1006,"__hash__":1007},"blogAuthors/en-us/blog/authors/byron-boots.yml",{"template":997},"BlogAuthor",{"name":7,"config":999},{"headshot":1000,"ctfId":1001},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749662281/Blog/Author%20Headshots/byron_boots_headshot.png","7ezFbRYF2Cu5JTBQXRp7mw","yml",{},"/en-us/blog/authors/byron-boots",{},"en-us/blog/authors/byron-boots","Qu4h1SMW7Bb32A8HZlFYMusWH2fvwt-ZKOKFRiZfm5s",[1009,1017,1025],{"title":1010,"description":1011,"heroImage":1012,"category":276,"date":1013,"authors":1014,"slug":1016,"externalUrl":280},"Turn Jira tickets into GitLab merge requests with Duo Agent Platform","Learn how to build a custom Jira agent with GitLab Duo Agent Platform to manage your tickets and turn them into merge requests.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774028474/bvfgeoiz0pijij3ow7vd.png","2026-11-12",[1015],"Itzik Gan Baruch","jira-ticket-to-gitlab-mr-with-duo-agent-platform",{"title":1018,"description":1019,"heroImage":1020,"category":276,"date":1021,"authors":1022,"slug":1024,"externalUrl":280},"How to design a decision-grade pilot for agentic AI","A practical framework for deciding when agentic AI can safely act in your software lifecycle, using workflow evidence, risk-based thresholds, and governance.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774957323/xfnzvlwc4c2vhal3v3jv.png","2026-11-09",[1023],"Nina Sesti","how-to-develop-a-decision-grade-ai-pilot",{"title":1026,"description":1027,"heroImage":1028,"category":276,"date":1029,"authors":1030,"slug":1032,"externalUrl":280},"The Pentagon wants to know who checks code when AI writes it","Learn what Department of War Instruction 8430.01 asks of AI-assisted software delivery, and how GitLab keeps AI code traceable and verified.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1776347152/unw3mzatkd5xyfbzcnni.png","2026-11-06",[1031],"Elisabeth Burrows","department-of-war-instruction-for-ai-generated-code",{"header":1034,"text":1035,"button":1039,"disclaimer":1042},"Start your free\n\n30-day GitLab trial\n",[1036,1037,1038],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":307,"config":1040},{"href":1041,"dataGaName":310,"dataGaLocation":551},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1044,"blurb":1045,"button":1046,"secondaryButton":1051},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1047,"config":1048},"Get your free trial",{"href":1049,"dataGaName":310,"dataGaLocation":1050},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":777,"config":1052},{"href":645,"dataGaName":315,"dataGaLocation":1050},1794911787470]