[{"data":1,"prerenderedAt":1253},["ShallowReactive",2],{"/blog/refactoring-javascript-to-typescript-with-gitlab-duo-workflow":3,"navigation-en-us":500,"banner-en-us":938,"footer-en-us":946,"blog-post-authors-en-us-Frédéric Caplette":1192,"blog-related-posts-en-us-refactoring-javascript-to-typescript-with-gitlab-duo-workflow":1208,"blog-share-wrapper-en-us":1233,"next-steps-en-us":1243},{"id":4,"title":5,"authors":6,"body":8,"category":477,"date":478,"description":479,"extension":480,"externalUrl":481,"faq":481,"featured":482,"heroImage":483,"hidePromo":484,"meta":485,"navigation":482,"path":486,"seo":487,"slug":491,"stem":492,"tags":493,"template":498,"updatedDate":481,"__hash__":499},"blogPosts/en-us/blog/refactoring-javascript-to-typescript-with-gitlab-duo-workflow.md","Refactoring JavaScript to TypeScript with GitLab Duo Workflow",[7],"Frédéric Caplette",{"type":9,"value":10,"toc":461},"minimark",[11,22,25,36,40,45,48,67,70,74,83,97,100,103,114,119,122,142,145,151,202,207,240,245,264,267,284,287,305,308,312,315,390,394,397,401,404,408,411,415,418,422,425,436,440],[12,13,14,15,21],"p",{},"TypeScript adoption continues to grow, with over 88% of developers reporting they either use or want to use it. Yet, migrating existing JavaScript codebases to TypeScript is often a time-consuming process. Enter ",[16,17,20],"a",{"href":18,"rel":19},"https://about.gitlab.com/blog/gitlab-duo-workflow-enterprise-visibility-and-control-for-agentic-ai/",[],"GitLab Duo Workflow",": secure, agentic AI that sits right inside your development environment, helping transform high-level tasks into executable workflows. In this article, you'll learn how we used Duo Workflow to update Duo Workflow, converting a real-world JavaScript application to TypeScript. We'll also review the technical process and broader implications for development workflows.",[12,23,24],{},"This video walks through visually what you'll read below:",[26,27,28],"div",{},[29,30],"iframe",{"src":31,"frameBorder":32,"allow":33,"style":34,"title":35},"https://player.vimeo.com/video/1085078036?badge=0&autopause=0&player_id=0&app_id=58479","0","autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media","position:absolute;top:0;left:0;width:100%;height:100%;","Refactor JavaScript to TypeScript with GitLab Duo Workflow",[37,38],"script",{"src":39},"https://player.vimeo.com/api/player.js",[41,42,44],"h2",{"id":43},"the-challenge-refactor-js-to-ts","The challenge: Refactor JS to TS",[12,46,47],{},"We decided to migrate Duo Workflow client-related logic to TypeScript for better type safety and auto-complete. A JavaScript-to-TypeScript migration involves more than just changing file extensions. It requires:",[49,50,51,55,58,61,64],"ol",{},[52,53,54],"li",{},"Analyzing existing code patterns to determine appropriate types",[52,56,57],{},"Handling edge cases where type inference is ambiguous",[52,59,60],{},"Ensuring consistency across the codebase",[52,62,63],{},"Managing dependencies and third-party libraries",[52,65,66],{},"Validating that runtime behavior remains unchanged",[12,68,69],{},"Doing all of this work manually can be very time consuming and not much fun. Thankfully, managing your projects is easier and more efficient with Duo Workflow – even when the project is Duo Workflow.",[41,71,73],{"id":72},"how-it-works","How it works",[12,75,76,77,82],{},"If you've used AI coding assistants before, you're likely familiar with their chat-based interfaces (like ",[16,78,81],{"href":79,"rel":80},"https://about.gitlab.com/blog/gitlab-duo-chat-now-generally-available/",[],"GitLab Duo Chat","). These chats can provide code snippets, suggested directory structures, and more. GitLab Duo Workflow fundamentally differs from these in several key ways:",[49,84,85,88,91,94],{},[52,86,87],{},"It's contextually aware of your entire codebase, not just open files or highlighted text. You can also add context from relevant GitLab issues or merge requests.",[52,89,90],{},"It develops and executes a multi-stage plan, allowing for more complete solutions.",[52,92,93],{},"It keeps a human in the loop, ensuring you understand and approve of what is happening at each step of the way.",[52,95,96],{},"It stages changes to your repository, giving you control over what to accept.",[12,98,99],{},"Duo Workflow uses an agentic AI approach, powered by Claude 3.5 Sonnet, to understand code semantics while maintaining a deep integration with GitLab's DevOps platform.",[12,101,102],{},"Let's walk through a real-world example of refactoring a JavaScript file using GitLab Duo Workflow. In our case, we started with the prompt:",[104,105,111],"pre",{"className":106,"code":108,"language":109,"meta":110},[107],"language-text","I need to refactor a JavaScript file packages/webview_duo_workflow/src/app/stores/workflow.js to TypeScript. Please analyze the code, identify any issues, and convert it to TypeScript with appropriate type definitions.\n","text","",[112,113,108],"code",{"__ignoreMap":110},[115,116,118],"h3",{"id":117},"analysis","Analysis",[12,120,121],{},"After prompting, Duo Workflow first analyzed the codebase structure:",[123,124,125,132,139],"ul",{},[52,126,127,128,131],{},"Identified that ",[112,129,130],{},"workflow.js"," is a Pinia store implementation",[52,133,134,135,138],{},"Noted it uses imports from various modules including ",[112,136,137],{},"constants.ts"," (which was already in TypeScript)",[52,140,141],{},"Recognized GraphQL queries import exists but the file wasn't accessible",[12,143,144],{},"Based on this analysis, Duo Workflow identified specific typing needs:",[12,146,147],{},[148,149,150],"strong",{},"Type definitions needed for:",[123,152,153],{},[52,154,155,156],{},"Store State interface with precise types:\n",[123,157,158,164,169,174,180,185,191,196],{},[52,159,160,163],{},[112,161,162],{},"areWorkflowsLoading",": boolean",[52,165,166,163],{},[112,167,168],{},"isLoadingWorkflow",[52,170,171,163],{},[112,172,173],{},"isLoadingRecentWorkflows",[52,175,176,179],{},[112,177,178],{},"recentWorkflows",": array",[52,181,182,179],{},[112,183,184],{},"workflows",[52,186,187,190],{},[112,188,189],{},"workflowsPageInfo",": object",[52,192,193,190],{},[112,194,195],{},"initialState",[52,197,198,201],{},[112,199,200],{},"activeWorkflow",": object with specific shape",[12,203,204],{},[148,205,206],{},"Interface definitions required:",[123,208,209],{},[52,210,211,212],{},"Workflow interface with properties:\n",[123,213,214,220,225,230,235],{},[52,215,216,219],{},[112,217,218],{},"id",": string",[52,221,222,219],{},[112,223,224],{},"goal",[52,226,227,219],{},[112,228,229],{},"status",[52,231,232,190],{},[112,233,234],{},"checkpoint",[52,236,237,219],{},[112,238,239],{},"type",[12,241,242],{},[148,243,244],{},"Parameter types needed for:",[123,246,247,250,253],{},[52,248,249],{},"GraphQL response types for workflows data",[52,251,252],{},"Event handler parameter types",[52,254,255,256,259,260,263],{},"Function parameter types for actions like ",[112,257,258],{},"getWorkflowById",", ",[112,261,262],{},"runWorkflow",", etc.",[12,265,266],{},"Duo Workflow identified several complex patterns requiring special handling:",[123,268,269,272,275,278,281],{},[52,270,271],{},"Uses optional chaining extensively",[52,273,274],{},"Has nested object destructuring",[52,276,277],{},"Contains GraphQL integration",[52,279,280],{},"Uses Pinia store patterns with state, getters, and actions",[52,282,283],{},"Implements an events mapping system",[12,285,286],{},"The system recognized external type dependencies:",[123,288,289,292,295],{},[52,290,291],{},"Pinia store types",[52,293,294],{},"GraphQL query response types",[52,296,297,298,259,301,304],{},"Functions from an internal Bridge module were also properly recognized (for ",[112,299,300],{},"sendRequest",[112,302,303],{},"sendGraphqlRequest",")",[12,306,307],{},"The final analysis concluded: \"The file will need to be renamed from .js to .ts and appropriate type definitions added while maintaining the existing functionality.\"",[115,309,311],{"id":310},"planning","Planning",[12,313,314],{},"Based on this thorough analysis, Duo Workflow created a structured plan consisting of specific tasks:",[49,316,317,327,347,370],{},[52,318,319,322,323,326],{},[148,320,321],{},"Create a new TypeScript file"," ",[112,324,325],{},"workflow.ts"," in the same directory as the original JS file.",[52,328,329,332,333],{},[148,330,331],{},"Create TypeScript interfaces"," for the store state and workflow types at the top of the new file, including:",[123,334,335,338,341,344],{},[52,336,337],{},"WorkflowState interface for store state",[52,339,340],{},"Workflow interface for workflow object structure",[52,342,343],{},"WorkflowPageInfo interface for pagination info",[52,345,346],{},"WorkflowCheckpoint interface for checkpoint data",[52,348,349,352,353,355,356],{},[148,350,351],{},"Copy and add type annotations"," to the store implementation from ",[112,354,130],{},", including:",[123,357,358,361,364,367],{},[52,359,360],{},"State return type",[52,362,363],{},"Getter return types",[52,365,366],{},"Action parameter types",[52,368,369],{},"Action return types",[52,371,372,375,376,378,379],{},[148,373,374],{},"Update all imports"," in ",[112,377,325],{}," to:",[123,380,381,384,387],{},[52,382,383],{},"Add type imports from Pinia",[52,385,386],{},"Update local imports to use .ts extensions where applicable",[52,388,389],{},"Import any required type definitions",[115,391,393],{"id":392},"execution","Execution",[12,395,396],{},"After the plan is complete, we were prompted to  “Approve plan.” Before clicking approve, we reviewed each step and ensured we were comfortable with the plan. After approval, Duo Workflow showed its progress through each step with visual indicators and explanations of what API operations were supporting each task (like \"Supported by: create_file_with_contents\" or \"Supported by: edit_file\"). When the work was done, we reviewed the changes before committing.",[41,398,400],{"id":399},"what-we-learned","What we learned",[12,402,403],{},"This JavaScript-to-TypeScript migration example showcases a significant evolution in AI-assisted development. What makes GitLab Duo Workflow particularly interesting is its approach to:",[115,405,407],{"id":406},"task-oriented-programming-vs-suggestion-only-assistance","Task-oriented programming vs. suggestion-only assistance",[12,409,410],{},"Unlike many AI assistants that simply offer code snippets or suggestions, Duo Workflow understands and executes complete tasks. The difference is significant — rather than saying \"here's some TypeScript code you might use,\" it says \"I'll convert this file for you, here's my plan, and here are the changes I'm making.\"",[115,412,414],{"id":413},"contextual-understanding-of-the-entire-codebase","Contextual understanding of the entire codebase",[12,416,417],{},"The tool demonstrates awareness of project structure, related files (like constants.ts and GraphQL queries), and the relationships between components. This contextual understanding allows for more sophisticated conversions than localized transformations.",[115,419,421],{"id":420},"step-by-step-execution-with-visibility","Step-by-step execution with visibility",[12,423,424],{},"The plan-based approach, with clear steps and progress indicators, provides transparency into what would otherwise be a black-box process. This allows developers to understand what the AI is doing and how it's approaching the problem.",[426,427,428],"blockquote",{},[12,429,430,431],{},"GitLab Duo Workflow is currently available in private beta for GitLab Ultimate customers. ",[16,432,435],{"href":433,"rel":434},"https://about.gitlab.com/gitlab-duo-agent-platform/",[],"Sign up for the waitlist today!",[41,437,439],{"id":438},"learn-more","Learn more",[123,441,442,449,454],{},[52,443,444],{},[16,445,448],{"href":446,"rel":447},"https://about.gitlab.com/blog/agentic-ai-guides-and-resources/",[],"Agentic AI guides and resources",[52,450,451],{},[16,452,20],{"href":18,"rel":453},[],[52,455,456],{},[16,457,460],{"href":458,"rel":459},"https://about.gitlab.com/topics/agentic-ai/",[],"What is agentic AI?",{"title":110,"searchDepth":462,"depth":462,"links":463},2,[464,465,471,476],{"id":43,"depth":462,"text":44},{"id":72,"depth":462,"text":73,"children":466},[467,469,470],{"id":117,"depth":468,"text":118},3,{"id":310,"depth":468,"text":311},{"id":392,"depth":468,"text":393},{"id":399,"depth":462,"text":400,"children":472},[473,474,475],{"id":406,"depth":468,"text":407},{"id":413,"depth":468,"text":414},{"id":420,"depth":468,"text":421},{"id":438,"depth":462,"text":439},"ai","2025-05-22","Learn how we used our autonomous AI agent, which sits in your development environment, to convert a real-world JavaScript application to TypeScript.","md",null,true,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749660174/Blog/Hero%20Images/Workflow_1800x945.png",false,{},"/en-us/blog/refactoring-javascript-to-typescript-with-gitlab-duo-workflow",{"title":5,"description":479,"ogTitle":5,"ogDescription":479,"noIndex":484,"ogImage":483,"ogUrl":488,"ogSiteName":489,"ogType":490,"canonicalUrls":488},"https://about.gitlab.com/blog/refactoring-javascript-to-typescript-with-gitlab-duo-workflow","https://about.gitlab.com","article","refactoring-javascript-to-typescript-with-gitlab-duo-workflow","en-us/blog/refactoring-javascript-to-typescript-with-gitlab-duo-workflow",[494,495,496,497],"AI","tutorial","DevSecOps platform","features","BlogPost","3Um5OmRR3QTl3lsru3XpS10WyzcADhGupHAoEsA6BeE",{"logo":501,"freeTrial":506,"sales":511,"login":516,"items":521,"search":857,"minimal":889,"duo":908,"switchNav":917,"pricingDeployment":928},{"config":502},{"href":503,"dataGaName":504,"dataGaLocation":505},"/","gitlab logo","header",{"text":507,"config":508},"Get free trial",{"href":509,"dataGaName":510,"dataGaLocation":505},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":512,"config":513},"Request a demo",{"href":514,"dataGaName":515,"dataGaLocation":505},"/request-a-demo/","sales",{"text":517,"config":518},"Sign in",{"href":519,"dataGaName":520,"dataGaLocation":505},"https://gitlab.com/users/sign_in/","sign in",[522,608,696,701,781,835],{"text":523,"left":482,"config":524,"menu":526},"Platform",{"dataNavLevelOne":525},"platform",{"type":527,"link":528,"columns":532,"feature":597},"lists",{"text":529,"config":530},"Explore the Platform",{"href":531,"dataGaName":525,"dataGaLocation":505},"/platform/",[533,556,579],{"title":534,"items":535},"DevOps",[536,541,546,551],{"text":537,"config":538},"CI/CD",{"href":539,"dataGaLocation":505,"dataGaName":540},"/solutions/continuous-integration/","ci/cd",{"text":542,"config":543},"Source Code Management",{"href":544,"dataGaLocation":505,"dataGaName":545},"/solutions/source-code-management/","source code management",{"text":547,"config":548},"Agile Delivery",{"href":549,"dataGaLocation":505,"dataGaName":550},"/solutions/agile-delivery/","agile delivery",{"text":552,"config":553},"Artifact Management",{"href":554,"dataGaLocation":505,"dataGaName":555},"/artifact-central/","artifact management",{"title":557,"items":558},"Security & Governance",[559,564,569,574],{"text":560,"config":561},"Application Security Testing",{"href":562,"dataGaLocation":505,"dataGaName":563},"/solutions/application-security-testing/","application security testing",{"text":565,"config":566},"Governance & Compliance",{"href":567,"dataGaLocation":505,"dataGaName":568},"/solutions/software-compliance/","governance and compliance",{"text":570,"config":571},"Secrets Management",{"href":572,"dataGaLocation":505,"dataGaName":573},"/gitlab-secrets-manager/","secrets management",{"text":575,"config":576},"Supply Chain Security",{"href":577,"dataGaLocation":505,"dataGaName":578},"/solutions/supply-chain/","supply chain security",{"title":580,"items":581},"Agentic AI & Context",[582,587,592],{"text":583,"config":584},"Duo Agent Platform",{"href":585,"dataGaLocation":505,"dataGaName":586},"/gitlab-duo-agent-platform/","duo agent platform",{"text":588,"config":589},"Orbit Context Graph",{"href":590,"dataGaLocation":505,"dataGaName":591},"/gitlab-orbit/","orbit",{"text":593,"config":594},"Visibility & Measurement",{"href":595,"dataGaLocation":505,"dataGaName":596},"/solutions/visibility-measurement/","visibility and measurement",{"config":598,"title":601,"text":602,"link":603},{"background":599,"textColor":600},"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":604,"config":605},"Read the announcement",{"href":606,"dataGaName":607,"dataGaLocation":505},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":609,"left":482,"config":610,"menu":612},"Solutions",{"dataNavLevelOne":611},"solutions",{"type":527,"link":613,"columns":617,"feature":687},{"text":614,"config":615},"View all Solutions",{"href":616,"dataGaName":611,"dataGaLocation":505},"/solutions/",[618,636,654],{"title":619,"items":620},"Outcomes",[621,626,631],{"text":622,"config":623},"DevOps Modernization",{"href":624,"dataGaLocation":505,"dataGaName":625},"/assessments/devops-modernization-assessment/","devops modernization",{"text":627,"config":628},"Security Modernization",{"href":629,"dataGaLocation":505,"dataGaName":630},"/assessments/security-modernization-assessment/","security modernization",{"text":632,"config":633},"AI Modernization",{"href":634,"dataGaLocation":505,"dataGaName":635},"/assessments/ai-modernization-assessment/","ai modernization",{"title":637,"items":638},"By size",[639,644,649],{"text":640,"config":641},"Enterprise",{"href":642,"dataGaLocation":505,"dataGaName":643},"/enterprise/","enterprise",{"text":645,"config":646},"Small Business",{"href":647,"dataGaLocation":505,"dataGaName":648},"/small-business/","small business",{"text":650,"config":651},"Startups",{"href":652,"dataGaLocation":505,"dataGaName":653},"/solutions/startups/","startups",{"title":655,"items":656},"Industries",[657,662,667,672,677,682],{"text":658,"config":659},"Financial Services",{"href":660,"dataGaLocation":505,"dataGaName":661},"/solutions/finance/","financial services",{"text":663,"config":664},"Public Sector",{"href":665,"dataGaLocation":505,"dataGaName":666},"/solutions/public-sector/","public sector",{"text":668,"config":669},"Telecommunications",{"href":670,"dataGaLocation":505,"dataGaName":671},"/solutions/telecommunications/","telecommunications",{"text":673,"config":674},"Automotive",{"href":675,"dataGaLocation":505,"dataGaName":676},"/solutions/automotive/","automotive",{"text":678,"config":679},"Education",{"href":680,"dataGaLocation":505,"dataGaName":681},"/solutions/education/","education",{"text":683,"config":684},"Aerospace",{"href":685,"dataGaLocation":505,"dataGaName":686},"/solutions/aerospace/","aerospace",{"config":688,"title":689,"text":690,"link":691},{"background":599,"textColor":600},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":692,"config":693},"Explore the standard",{"href":694,"dataGaName":695,"dataGaLocation":505},"/gitlab-security-standard/","gitlab security standard",{"text":697,"config":698},"Pricing",{"href":699,"dataGaName":700,"dataGaLocation":505,"dataNavLevelOne":700},"/pricing/","pricing",{"text":702,"config":703,"menu":705},"Resources",{"dataNavLevelOne":704},"resources",{"type":527,"link":706,"columns":710,"feature":772},{"text":707,"config":708},"View all resources",{"href":709,"dataGaName":704,"dataGaLocation":505},"/resources/",[711,744],{"title":712,"items":713},"Discover",[714,719,724,729,734,739],{"text":715,"config":716},"Docs",{"href":717,"dataGaName":718,"dataGaLocation":505},"https://docs.gitlab.com/","docs",{"text":720,"config":721},"University",{"href":722,"dataGaName":723,"dataGaLocation":505},"https://university.gitlab.com/","university",{"text":725,"config":726},"Demo Series",{"href":727,"dataGaName":728,"dataGaLocation":505},"/gitlab-technical-demo-series/","demo series",{"text":730,"config":731},"Demo Hub",{"href":732,"dataGaName":733,"dataGaLocation":505},"/demo-hub/","demo hub",{"text":735,"config":736},"Services",{"href":737,"dataGaName":738,"dataGaLocation":505},"/services/","services",{"text":740,"config":741},"Well Architected",{"href":742,"dataGaName":743,"dataGaLocation":505},"/resources/well-architected/","well architected",{"title":745,"items":746},"Connect",[747,752,757,762,767],{"text":748,"config":749},"Blog",{"href":750,"dataGaName":751,"dataGaLocation":505},"/blog/","blog",{"text":753,"config":754},"Community",{"href":755,"dataGaName":756,"dataGaLocation":505},"/community/","community",{"text":758,"config":759},"Customers",{"href":760,"dataGaName":761,"dataGaLocation":505},"/customers/","customers",{"text":763,"config":764},"Partners",{"href":765,"dataGaName":766,"dataGaLocation":505},"/partners/","partners",{"text":768,"config":769},"Events",{"href":770,"dataGaName":771,"dataGaLocation":505},"/events/","events",{"config":773,"title":774,"text":775,"link":776},{"background":599,"textColor":600},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":777,"config":778},"Read the latest",{"href":779,"dataGaName":780,"dataGaLocation":505},"/whats-new/","whats new",{"text":782,"config":783,"menu":785},"Company",{"dataNavLevelOne":784},"company",{"type":527,"columns":786},[787],{"items":788},[789,794,800,805,810,815,820,825,830],{"text":790,"config":791},"About",{"href":792,"dataGaName":793,"dataGaLocation":505},"/company/","about",{"text":795,"config":796,"footerGa":799},"Jobs",{"href":797,"dataGaName":798,"dataGaLocation":505},"/jobs/","jobs",{"dataGaName":798},{"text":801,"config":802},"Press",{"href":803,"dataGaName":804,"dataGaLocation":505},"/press/","press",{"text":806,"config":807},"Handbook",{"href":808,"dataGaName":809,"dataGaLocation":505},"https://handbook.gitlab.com/","handbook",{"text":811,"config":812},"Leadership",{"href":813,"dataGaName":814,"dataGaLocation":505},"/company/team/e-group/","leadership",{"text":816,"config":817},"Investor relations",{"href":818,"dataGaName":819,"dataGaLocation":505},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":821,"config":822},"Trust Center",{"href":823,"dataGaName":824,"dataGaLocation":505},"/security/","trust center",{"text":826,"config":827},"AI Transparency Center",{"href":828,"dataGaName":829,"dataGaLocation":505},"/ai-transparency-center/","ai transparency center",{"text":831,"config":832},"Newsletter",{"href":833,"dataGaName":834,"dataGaLocation":505},"/company/contact/#contact-forms","newsletter",{"text":836,"config":837,"menu":838},"Contact us",{"dataNavLevelOne":784},{"type":527,"columns":839},[840],{"items":841},[842,847,852],{"text":843,"config":844},"Talk to sales",{"href":845,"dataGaName":846,"dataGaLocation":505},"/sales/","talk to sales",{"text":848,"config":849},"Support portal",{"href":850,"dataGaName":851,"dataGaLocation":505},"https://support.gitlab.com/hc/en-us","support portal",{"text":853,"config":854},"Customer portal",{"href":855,"dataGaName":856,"dataGaLocation":505},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":858,"login":859,"suggestions":866},"Close",{"text":860,"link":861},"To search repositories and projects, login to",{"text":862,"config":863},"gitlab.com",{"href":519,"dataGaName":864,"dataGaLocation":865},"search login","search",{"text":867,"default":868},"Suggestions",[869,872,875,877,881,885],{"text":870,"config":871},"GitLab Duo Agent Platform",{"href":585,"dataGaName":870,"dataGaLocation":865},{"text":873,"config":874},"Code Suggestions (AI)",{"href":585,"dataGaName":873,"dataGaLocation":865},{"text":537,"config":876},{"href":539,"dataGaName":537,"dataGaLocation":865},{"text":878,"config":879},"GitLab on AWS",{"href":880,"dataGaName":878,"dataGaLocation":865},"/partners/technology-partners/aws/",{"text":882,"config":883},"GitLab on Google Cloud",{"href":884,"dataGaName":882,"dataGaLocation":865},"/partners/technology-partners/google-cloud-platform/",{"text":886,"config":887},"Why GitLab?",{"href":888,"dataGaName":886,"dataGaLocation":865},"/why-gitlab/",{"freeTrial":890,"mobileIcon":895,"desktopIcon":900,"secondaryButton":903},{"text":891,"config":892},"Start free trial",{"href":893,"dataGaName":510,"dataGaLocation":894},"https://gitlab.com/-/trials/new/","nav",{"altText":896,"config":897},"Gitlab Icon",{"src":898,"dataGaName":899,"dataGaLocation":894},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":896,"config":901},{"src":902,"dataGaName":899,"dataGaLocation":894},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":904,"config":905},"Get Started",{"href":906,"dataGaName":907,"dataGaLocation":894},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":909,"mobileIcon":913,"desktopIcon":915},{"text":910,"config":911},"Learn more about GitLab Duo",{"href":585,"dataGaName":912,"dataGaLocation":894},"gitlab duo",{"altText":896,"config":914},{"src":898,"dataGaName":899,"dataGaLocation":894},{"altText":896,"config":916},{"src":902,"dataGaName":899,"dataGaLocation":894},{"button":918,"mobileIcon":923,"desktopIcon":925},{"text":919,"config":920},"/switch",{"href":921,"dataGaName":922,"dataGaLocation":894},"#contact","switch",{"altText":896,"config":924},{"src":898,"dataGaName":899,"dataGaLocation":894},{"altText":896,"config":926},{"src":927,"dataGaName":899,"dataGaLocation":894},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":929,"mobileIcon":934,"desktopIcon":936},{"text":930,"config":931},"Back to pricing",{"href":699,"dataGaName":932,"dataGaLocation":894,"icon":933},"back to pricing","GoBack",{"altText":896,"config":935},{"src":898,"dataGaName":899,"dataGaLocation":894},{"altText":896,"config":937},{"src":902,"dataGaName":899,"dataGaLocation":894},{"title":939,"button":940,"config":944},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":604,"config":941},{"href":606,"dataGaName":942,"dataGaLocation":943},"orbit-ga-banner","global-banner",{"layout":945,"disabled":484},"release",{"data":947},{"text":948,"config":949,"items":954,"minimal":1181},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":950,"facebook":951,"youtube":952,"linkedin":953},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[955,1002,1061,1108,1149],{"title":697,"links":956,"subMenu":972},[957,962,967],{"text":958,"config":959},"View plans",{"href":699,"dataGaName":960,"dataGaLocation":961},"view plans","footer",{"text":963,"config":964},"Why Premium?",{"href":965,"dataGaName":966,"dataGaLocation":961},"/pricing/premium/","why premium",{"text":968,"config":969},"Why Ultimate?",{"href":970,"dataGaName":971,"dataGaLocation":961},"/pricing/ultimate/","why ultimate",[973],{"title":974,"links":975},"Contact Us",[976,979,981,983,987,992,997],{"text":977,"config":978},"Contact sales",{"href":845,"dataGaName":515,"dataGaLocation":961},{"text":848,"config":980},{"href":850,"dataGaName":851,"dataGaLocation":961},{"text":853,"config":982},{"href":855,"dataGaName":856,"dataGaLocation":961},{"text":984,"config":985},"Status",{"href":986,"dataGaName":229,"dataGaLocation":961},"https://status.gitlab.com/",{"text":988,"config":989},"Terms of use",{"href":990,"dataGaName":991,"dataGaLocation":961},"/terms/","terms of use",{"text":993,"config":994},"Privacy statement",{"href":995,"dataGaName":996,"dataGaLocation":961},"/privacy/","privacy statement",{"text":998,"config":999},"Cookie preferences",{"dataGaName":1000,"dataGaLocation":961,"id":1001,"isOneTrustButton":482},"cookie preferences","ot-sdk-btn",{"title":523,"links":1003,"subMenu":1019},[1004,1007,1009,1011,1013,1015],{"text":1005,"config":1006},"Explore the platform",{"href":531,"dataGaName":525,"dataGaLocation":961},{"text":583,"config":1008},{"href":585,"dataGaName":586,"dataGaLocation":961},{"text":537,"config":1010},{"href":539,"dataGaName":540,"dataGaLocation":961},{"text":588,"config":1012},{"href":590,"dataGaName":591,"dataGaLocation":961},{"text":570,"config":1014},{"href":572,"dataGaName":573,"dataGaLocation":961},{"text":1016,"config":1017},"Why GitLab",{"href":888,"dataGaName":1018,"dataGaLocation":961},"why gitlab",[1020],{"title":1021,"links":1022},"Topics",[1023,1027,1032,1036,1041,1046,1051,1056],{"text":537,"config":1024},{"href":1025,"dataGaName":1026,"dataGaLocation":961},"/topics/ci-cd/","cicd",{"text":1028,"config":1029},"GitOps",{"href":1030,"dataGaName":1031,"dataGaLocation":961},"/topics/gitops/","gitops",{"text":534,"config":1033},{"href":1034,"dataGaName":1035,"dataGaLocation":961},"/topics/devops/","devops",{"text":1037,"config":1038},"Version Control",{"href":1039,"dataGaName":1040,"dataGaLocation":961},"/topics/version-control/","version control",{"text":1042,"config":1043},"DevSecOps",{"href":1044,"dataGaName":1045,"dataGaLocation":961},"/topics/devsecops/","devsecops",{"text":1047,"config":1048},"Cloud Native",{"href":1049,"dataGaName":1050,"dataGaLocation":961},"/topics/cloud-native/","cloud native",{"text":1052,"config":1053},"AI for Coding",{"href":1054,"dataGaName":1055,"dataGaLocation":961},"/topics/devops/ai-for-coding/","ai for coding",{"text":1057,"config":1058},"Agentic AI",{"href":1059,"dataGaName":1060,"dataGaLocation":961},"/topics/agentic-ai/","agentic ai",{"title":609,"links":1062},[1063,1066,1069,1072,1075,1078,1080,1082,1084,1086,1088,1091,1093,1096,1100,1104],{"text":1064,"config":1065},"DevOps modernization",{"href":624,"dataGaName":625,"dataGaLocation":961},{"text":1067,"config":1068},"Security modernization",{"href":629,"dataGaName":630,"dataGaLocation":961},{"text":1070,"config":1071},"AI modernization",{"href":634,"dataGaName":635,"dataGaLocation":961},{"text":1073,"config":1074},"Financial services",{"href":660,"dataGaName":661,"dataGaLocation":961},{"text":1076,"config":1077},"Public sector",{"href":665,"dataGaName":666,"dataGaLocation":961},{"text":668,"config":1079},{"href":670,"dataGaName":671,"dataGaLocation":961},{"text":673,"config":1081},{"href":675,"dataGaName":676,"dataGaLocation":961},{"text":678,"config":1083},{"href":680,"dataGaName":681,"dataGaLocation":961},{"text":683,"config":1085},{"href":685,"dataGaName":686,"dataGaLocation":961},{"text":640,"config":1087},{"href":642,"dataGaName":643,"dataGaLocation":961},{"text":1089,"config":1090},"Small business",{"href":647,"dataGaName":648,"dataGaLocation":961},{"text":650,"config":1092},{"href":652,"dataGaName":653,"dataGaLocation":961},{"text":1028,"config":1094},{"href":1095,"dataGaName":1031,"dataGaLocation":961},"/solutions/gitops/",{"text":1097,"config":1098},"Software composition analysis",{"href":577,"dataGaName":1099,"dataGaLocation":961},"software composition analysis",{"text":1101,"config":1102},"Value stream management",{"href":595,"dataGaName":1103,"dataGaLocation":961},"value stream management",{"text":1105,"config":1106},"All solutions",{"href":616,"dataGaName":1107,"dataGaLocation":961},"all solutions",{"title":702,"links":1109},[1110,1115,1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1145],{"text":1111,"config":1112},"Install",{"href":1113,"dataGaName":1114,"dataGaLocation":961},"/install/","install",{"text":1116,"config":1117},"Quick start guides",{"href":1118,"dataGaName":1119,"dataGaLocation":961},"/get-started/","quick setup checklists",{"text":715,"config":1121},{"href":717,"dataGaName":718,"dataGaLocation":961},{"text":720,"config":1123},{"href":722,"dataGaName":723,"dataGaLocation":961},{"text":725,"config":1125},{"href":727,"dataGaName":728,"dataGaLocation":961},{"text":730,"config":1127},{"href":732,"dataGaName":733,"dataGaLocation":961},{"text":735,"config":1129},{"href":737,"dataGaName":738,"dataGaLocation":961},{"text":748,"config":1131},{"href":750,"dataGaName":751,"dataGaLocation":961},{"text":753,"config":1133},{"href":755,"dataGaName":756,"dataGaLocation":961},{"text":758,"config":1135},{"href":760,"dataGaName":761,"dataGaLocation":961},{"text":763,"config":1137},{"href":765,"dataGaName":766,"dataGaLocation":961},{"text":768,"config":1139},{"href":770,"dataGaName":771,"dataGaLocation":961},{"text":831,"config":1141},{"href":833,"dataGaName":834,"dataGaLocation":961},{"text":1143,"config":1144},"What's new",{"href":779,"dataGaName":780,"dataGaLocation":961},{"text":1146,"config":1147},"All resources",{"href":709,"dataGaName":1148,"dataGaLocation":961},"all resources",{"title":782,"links":1150},[1151,1153,1155,1157,1159,1161,1163,1165,1167,1171,1176],{"text":790,"config":1152},{"href":792,"dataGaName":784,"dataGaLocation":961},{"text":795,"config":1154},{"href":797,"dataGaName":798,"dataGaLocation":961},{"text":801,"config":1156},{"href":803,"dataGaName":804,"dataGaLocation":961},{"text":806,"config":1158},{"href":808,"dataGaName":809,"dataGaLocation":961},{"text":811,"config":1160},{"href":813,"dataGaName":814,"dataGaLocation":961},{"text":816,"config":1162},{"href":818,"dataGaName":819,"dataGaLocation":961},{"text":821,"config":1164},{"href":823,"dataGaName":824,"dataGaLocation":961},{"text":826,"config":1166},{"href":828,"dataGaName":829,"dataGaLocation":961},{"text":1168,"config":1169},"Sustainability",{"href":1170,"dataGaName":1168,"dataGaLocation":961},"/sustainability/",{"text":1172,"config":1173},"Diversity, inclusion and belonging (DIB)",{"href":1174,"dataGaName":1175,"dataGaLocation":961},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1177,"config":1178},"Modern Slavery Transparency Statement",{"href":1179,"dataGaName":1180,"dataGaLocation":961},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1182},[1183,1186,1189],{"text":1184,"config":1185},"Terms",{"href":990,"dataGaName":991,"dataGaLocation":961},{"text":1187,"config":1188},"Cookies",{"dataGaName":1000,"dataGaLocation":961,"id":1001,"isOneTrustButton":482},{"text":1190,"config":1191},"Privacy",{"href":995,"dataGaName":996,"dataGaLocation":961},[1193],{"id":1194,"title":1195,"body":481,"config":1196,"content":1198,"description":481,"extension":1202,"meta":1203,"navigation":482,"path":1204,"seo":1205,"stem":1206,"__hash__":1207},"blogAuthors/en-us/blog/authors/frdric-caplette.yml","Frdric Caplette",{"template":1197},"BlogAuthor",{"name":7,"config":1199},{"headshot":1200,"ctfId":1201},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749661878/Blog/Author%20Headshots/frederic_caplette_headshot.png","6nMRwNMwciKSX03zmbBbPF","yml",{},"/en-us/blog/authors/frdric-caplette",{},"en-us/blog/authors/frdric-caplette","NEPBj8Df9qxX7gfZg8cbtTIl5NPLv0sjx38oqd4zg3E",[1209,1217,1225],{"title":1210,"description":1211,"heroImage":1212,"category":477,"date":1213,"authors":1214,"slug":1216,"externalUrl":481},"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",[1215],"Itzik Gan Baruch","jira-ticket-to-gitlab-mr-with-duo-agent-platform",{"title":1218,"description":1219,"heroImage":1220,"category":477,"date":1221,"authors":1222,"slug":1224,"externalUrl":481},"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",[1223],"Nina Sesti","how-to-develop-a-decision-grade-ai-pilot",{"title":1226,"description":1227,"heroImage":1228,"category":477,"date":1229,"authors":1230,"slug":1232,"externalUrl":481},"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",[1231],"Elisabeth Burrows","department-of-war-instruction-for-ai-generated-code",{"header":1234,"text":1235,"button":1239,"disclaimer":1242},"Start your free\n\n30-day GitLab trial\n",[1236,1237,1238],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":507,"config":1240},{"href":1241,"dataGaName":510,"dataGaLocation":751},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1244,"blurb":1245,"button":1246,"secondaryButton":1251},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1247,"config":1248},"Get your free trial",{"href":1249,"dataGaName":510,"dataGaLocation":1250},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":977,"config":1252},{"href":845,"dataGaName":515,"dataGaLocation":1250},1794911784056]