Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    Barclays scales AI coding from GitLab Duo to Claude Code

    Barclays built GitLab Duo into its developer toolchain and is now extending Anthropic's Claude Code to its engineers to modernize legacy systems in a regulated bank.

    BarclaysUnited KingdomBankingScaled since Dec 2024
    Scale
    23,000 team members using GitLab Duo
    Scenario
    Enterprise AI code generation
    Business function
    Software engineering
    Who built it
    Vendor product (GitLab and Anthropic)
    Human oversight
    Assists people
    Organization
    Enterprise, 10,000 to 99,999 employees
    AI types
    Generative AI, Agentic AI, Conversational AI
    Users
    6,000 licenses

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. Anthropic

    2. Crypto Briefing

    3. GitLab

      • Barclays PLCSource 3Partner or vendorJan 1, 20261 Jan 2026
      • GitLab DuoSource 7Product documentationNov 26, 202626 Nov 2026
    4. Barclays

    5. The Wealth Advisor

    tl;drBarclays grew GitLab Duo use to 23,000 staff, with about 15% productivity gains from AI tools.See the results

    View the solutionBuild this solution yourself

    Barclays gives its developers AI coding assistants inside their software toolchain3. GitLab Duo has run in the bank’s GitLab platform since December 2024, and in October 2026 Barclays announced that it is extending Anthropic’s Claude Code to its engineers1, 3.

    Within a year of launch, GitLab Duo use grew from 6,000 licenses to 23,000 team members3. The bank’s annual report for 2025 states that 19,000 developers have access to AI tools, with early-stage adoption delivering productivity gains of about 15%4. Barclays expects half of its developers to use Claude Code by the end of 20261, 2.

    Before the deployment

    Barclays’ 24,000 DevSecOps team members support more than 1,200 applications3. Before the bank moved to GitLab’s end-to-end platform in 2023, its toolchain team faced these problems3:

    • Controls: No mandated, standardized controls, which reduced speed, collaboration and efficiency3.
    • Tooling: A fragmented development ecosystem that had become complex3.
    • Documentation: Documentation that wasn’t consistent and aligned across teams3.
    • Onboarding: An onboarding process that needed improving3.

    The bank’s technology plan also decommissions legacy platforms to reduce technology debt, complexity and cost4. In its 2025 annual report, Barclays names GitLab among the partners through which it is embracing AI across its software development tools4.

    What was built

    Barclays builds AI assistance into the tools where its developers already write, test and ship code3, 4. GitLab Duo works inside the GitLab platform, and Claude Code is the agentic tool that the bank is now extending to its engineers1, 3. The work divides like this:

    • GitLab Duo Chat: Generates code, explains code, writes tests, and refactors and fixes code, working alongside developers as they code3.
    • Root Cause Analysis: Reads the logs of a failed pipeline job, finds the source of the problem and suggests a fix3.
    • Claude Code: Helps modernize legacy platforms and improve software quality, so technical experts can focus on the most complex challenges1.
    • GitLab platform: Mandates security and release controls across teams, such as commit checks, merge request enforcement and credential management3.
    • Developers: Ask the assistants for code, tests and fixes, and use GitLab Duo to double-check their own work3.

    Barclays applies governance, security controls and human oversight to its AI use cases1. For GitLab Duo, the bank relies on a contract under which GitLab doesn’t retain its data or code or use them for model training3.

    “The breakthrough for me was really about the explicit legal commitment we have with GitLab, in the sense that GitLab does not retain any of our data or code, and it is not used for model training.”

    Chris Hutchison, Enterprise Toolchain Director at Barclays3

    Rollout

    Figure 1From one DevSecOps platform to Claude Code
    From one DevSecOps platform to Claude CodeBarclays adopted GitLab's end-to-end platform in 2023. It launched GitLab Duo with 6,000 licenses in December 2024. Within a year, 23,000 team members used GitLab Duo. The annual report published in February 2026 stated that 19,000 developers had access to AI tools. In October 2026, Barclays and Anthropic announced the Claude Code expansion.20232023 · GitLab end-to-end platform adopted · Documented in source [3]GitLab end-to-end platform adoptedDec 2024Dec 2024 · GitLab Duo launched with 6,000 licenses · Documented in source [3]GitLab Duo launched with 6,000 licenses20252025 · 23,000 team members on GitLab Duo · Documented in source [3]23,000 team members on GitLab Duo10 Feb 202610 Feb 2026 · 19,000 developers with AI tools · Documented in source [4]19,000 developers with AI tools1 Oct 20261 Oct 2026 · Claude Code expansion announced · Documented in sources [1] [2]Claude Code expansion announcedFrom one DevSecOps platform to Claude CodeBarclays adopted GitLab's end-to-end platform in 2023. It launched GitLab Duo with 6,000 licenses in December 2024. Within a year, 23,000 team members used GitLab Duo. The annual report published in February 2026 stated that 19,000 developers had access to AI tools. In October 2026, Barclays and Anthropic announced the Claude Code expansion.20232023 · GitLab end-to-end platform adopted · Documented in source [3]GitLab end-to-endplatform adopted2 yrsDec 2024Dec 2024 · GitLab Duo launched with 6,000 licenses · Documented in source [3]GitLab Duo launchedwith 6,000 licenses20252025 · 23,000 team members on GitLab Duo · Documented in source [3]23,000 team memberson GitLab Duo1 yr10 Feb 202610 Feb 2026 · 19,000 developers with AI tools · Documented in source [4]19,000 developerswith AI tools8 mo1 Oct 20261 Oct 2026 · Claude Code expansion announced · Documented in sources [1] [2]Claude Codeexpansion announced
    • Key milestone
    Sources [1][2][3][4]
    AI coding assistance at Barclays grew from a 6,000-license launch in December 2024 to the Claude Code expansion in October 2026.

    The next steps are targets: Claude Code for 50% of the developer population by the end of 2026, and for a majority of software engineers in 20271. The rollout sits inside a multi-year efficiency program at the bank2.

    Technology and architecture

    Figure 2AI coding assistants in Barclays' developer toolchain
    AI coding assistants in Barclays' developer toolchainBarclays developers send code and questions to GitLab Duo Chat, which returns generated code, tests and explanations. Failed job logs from GitLab pipelines go to Root Cause Analysis, which returns the cause and a suggested fix to the developer. Developers commit code and open merge requests, which pass mandated security and release controls. Developers also give tasks to Claude Code, which works on legacy platforms. That Claude Code's changes reach the same commits and merge requests is inferred.code and questions (data) · Documented in source [3]code, tests, explanations (handoff to people) · Documented in source [3]failed job logs (data) · Documented in source [3]cause and suggested fix (handoff to people) · Documented in source [3]commits (data) · Documented in source [3]checks (trigger or control) · Documented in source [3]tasks (trigger or control) · Documented in source [1]modernization work (data) · Documented in source [1]code changes (data) · Inferred, not documented in the sourcesGITLAB PLATFORMBARCLAYS ENGINEERINGANTHROPICBarclays developers · Team · Documented in source [3]TEAMBarclaysdevelopersGitLab Duo Chat · AI model · Documented in source [3]AI MODELGitLabDuo ChatPipelines and job logs · System · Documented in source [3]SYSTEMPipelinesand job logsRoot Cause Analysis · AI model · Documented in source [3]AI MODELRoot CauseAnalysisCommits and merge requests · System · Documented in source [3]SYSTEMCommitsand mergerequestsMandated security controls · System · Documented in source [3]SYSTEMMandatedsecuritycontrolsClaude Code · AI model · Documented in source [1]AI MODELClaude CodeLegacy platforms · System · Documented in source [1]SYSTEMLegacyplatformscode andquestionscode, tests,explanationsfailed job logscause andsuggested fixcommitscheckstasksmodernizationworkcode changesAI coding assistants in Barclays' developer toolchainBarclays developers send code and questions to GitLab Duo Chat, which returns generated code, tests and explanations. Failed job logs from GitLab pipelines go to Root Cause Analysis, which returns the cause and a suggested fix to the developer. Developers commit code and open merge requests, which pass mandated security and release controls. Developers also give tasks to Claude Code, which works on legacy platforms. That Claude Code's changes reach the same commits and merge requests is inferred.code and questions (data) · Documented in source [3]code, tests, explanations (handoff to people) · Documented in source [3]failed job logs (data) · Documented in source [3]cause and suggested fix (handoff to people) · Documented in source [3]commits (data) · Documented in source [3]checks (trigger or control) · Documented in source [3]tasks (trigger or control) · Documented in source [1]modernization work (data) · Documented in source [1]code changes (data) · Inferred, not documented in the sourcesGITLAB PLATFORMBARCLAYS ENGINEERINGANTHROPICBarclays developers · Team · Documented in source [3]TEAMBarclays developersGitLab Duo Chat · AI model · Documented in source [3]AI MODELGitLab Duo ChatPipelines and job logs · System · Documented in source [3]SYSTEMPipelines and job logsRoot Cause Analysis · AI model · Documented in source [3]AI MODELRoot Cause AnalysisCommits and merge requests · System · Documented in source [3]SYSTEMCommits andmerge requestsMandated security controls · System · Documented in source [3]SYSTEMMandatedsecurity controlsClaude Code · AI model · Documented in source [1]AI MODELClaude CodeLegacy platforms · System · Documented in source [1]SYSTEMLegacy platformscode and questionscode, tests, explanationsfailed job logscause and suggested fixcommitscheckstasksmodernization workcode changes
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Inferred, not documented
    Sources [1][3]
    The assistants work beside developers, and commits pass the security and release controls that GitLab mandates.

    Claude Code is an agentic coding tool from Anthropic. It works across a codebase’s files and tools, and it stages changes, writes commit messages and opens pull requests6. GitLab Duo is GitLab’s set of AI-native features for every stage of the software development lifecycle, in the GitLab UI and in IDE extensions7. At Barclays, GitLab Duo runs inside GitLab Ultimate, which the bank adopted late in 20243.

    Layer What they used Role Source
    Task agent Claude Code Agentic coding tool for faster development and legacy modernization 1, 5, 6
    Solution platform GitLab Duo AI-native features built into GitLab 3, 7
    Chat interface GitLab Duo Chat Generates, explains, tests, refactors and fixes code 3
    Developer tools Root Cause Analysis Reads failed job logs and suggests a fix 3
    Developer tools GitLab Ultimate DevSecOps platform that mandates security and release controls 3

    Data inputs

    • Code in progress: The code that developers ask GitLab Duo Chat to generate, explain, test, refactor or fix3.
    • Failed job logs: The pipeline logs that Root Cause Analysis reads to find the cause of a failure3.
    • Legacy code: The legacy platforms that Barclays uses Claude to help modernize1.

    Integrations

    • GitLab Ultimate: GitLab Duo is built directly into the platform, so the assistant and the controls sit in the same toolchain3.
    • GitLab pipelines: Root Cause Analysis reads the logs of failed jobs from the pipelines3.

    Claude Code most likely reaches the bank’s repositories through git, because the tool works directly with git and opens pull requests.

    How one failed pipeline flows through the system

    Hutchison described a pipeline failure that he resolved with GitLab Duo3:

    1. A developer in another country messaged Hutchison at about 7 p.m. because their pipeline wasn’t working3.
    2. Hutchison pressed the Troubleshooting button of GitLab Duo on the failed job3.
    3. Root Cause Analysis read the job log and returned an explanation of what was going wrong3.
    4. The problem was resolved in seconds3.
    5. Hutchison then taught the developer to run the same check themselves3.

    Results

    Metric Before After Scope and timeframe Reported by
    Productivity gains from early-stage adoption of AI tools for developers Not disclosed about 15% 19,000 developers across Barclays with access to AI tools, 2025 Barclays, measured4
    Barclays staff consistently using GitLab Duo 6,000 licenses 23,000 team members Within a year of the December 2024 launch GitLab, measured3
    • Productivity gains: The about 15% figure covers early-stage adoption across the 19,000 developers who have access to AI tools, as stated in the annual report for 20254.
    • GitLab Duo adoption: The 23,000 team members are staff who consistently use the AI features, up from 6,000 licenses at the launch in December 20243.
    • Developer experience: Younger developers work more confidently with GitLab Duo, and experienced coders use it to remove mundane tasks3.

    The Claude Code shares are plans. In October 2026, Barclays set the target of 50% of its developer population by the end of 2026, and a majority of software engineers in 20271.

    Lessons learned

    The GitLab Duo rollout grew within its first year. It went from 6,000 licenses to 23,000 regular users within a year of its launch3.

    For the toolchain director, trust came from contract terms. Staff met AI with initial skepticism, which Hutchison shared, because data privacy and security concerns weigh more in a regulated bank3. GitLab’s commitment not to retain code or train on it settled the question for him3.

    The two adoption counts measure different things. Barclays’ annual report counts 19,000 developers with access to AI tools4. GitLab’s story counts 23,000 team members who consistently use GitLab Duo, out of 24,000 DevSecOps team members3.

    Barclays names a legal risk in AI-assisted code. Its annual report lists exposure to open-source software risks from AI-based coding tools, and possible claims of intellectual property infringement4.

    The Wealth Advisor argues that the harder test is still ahead. In its view, giving most engineers AI is the easy step, and the question is whether AI can safely make legacy code cheaper and faster to maintain5. It also notes that corporate enthusiasm for AI has been easier to document than corporate productivity5.

    The productivity figure is Barclays’ own, from its annual report, and the GitLab Duo adoption figure comes from GitLab’s customer story3, 4. The Claude Code shares are Barclays’ expectations, announced by Anthropic1.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    • One platform for code and controls: GitLab Duo runs inside the same GitLab platform that enforces commit checks and merge request rules across teams. You need a platform where the assistant and those controls sit together3.
    • Contract terms on code and training data: Barclays’ sign-off rested on GitLab’s commitment not to retain its code or use it for model training. Check that your vendor contracts say the same before you open the tool to developers3.
    • A governed path for agentic tools: Barclays extends Claude Code under governance, security controls and human oversight, so you need those in place before agents touch legacy systems1.

    Reference architecture

    Software engineering assistant

    A software engineering assistant writes, reviews, tests, or migrates code in the tools that developers already use, and a developer approves its output. A language model writes a change, a test, or a review comment from the code for a task, and automated checks and a checker model build, test, and filter it. A reviewer approves each checked proposal in code review before it merges, and developers do the work that fails the checks by hand.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    Cite this case study

    Enterprise AI Case Studies. "Barclays scales AI coding from GitLab Duo to Claude Code." Updated Nov 26, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-062-ai-coding-assistants-barclays/

    @misc{csai-er-062,
      author = {{Enterprise AI Case Studies}},
      title = {{Barclays scales AI coding from GitLab Duo to Claude Code}},
      year = {2026},
      note = {Updated 2026-11-26},
      url = {https://case-studies.ai/case-studies/engineering-and-research/ER-062-ai-coding-assistants-barclays/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      Barclays scales Claude to upgrade operations and improve client experience

      Partner or vendorAnthropic, Oct 1, 20261 Oct 2026Accessed Nov 26, 202626 Nov 2026

      Supporting excerpts (10)
      • Barclays, the British universal bank, is expanding its strategic collaboration with Anthropic
      • Barclays is extending Claude across the bank to accelerate software development, modernize legacy systems, and improve operational efficiency.
      • Barclays expects Claude Code adoption to reach 50% of its developer population by the end of 2026, rising to a majority of software engineers in 2027.
      • We're moving towards AI as an increasingly agentic capability embedded within how we build, test, secure, and operate technology.
      • At Barclays, we're using Claude to help modernize legacy platforms, improve software quality, and allow our technical experts to focus on the most complex challenges.
      • The bank applies robust governance, security controls, and human oversight to AI use cases, ensuring technology is deployed safely and effectively across the organization.
      • Integrating AI across a large, complex, and highly regulated organization requires both capable technology and disciplined governance.
      • More than 16,000 colleagues have adopted the assistant, and it has handled over one million searches.
      • The platform processes approximately 120,000 emails each day
      • Barclays serves millions of customers and clients across the globe, so their standard for AI is high.
    2. Source 2:

      Barclays targets 50% developer adoption of Claude by end of 2026

      IndependentCrypto Briefing, Oct 1, 20261 Oct 2026By Diego Almada LopezAccessed Nov 26, 202626 Nov 2026

      Supporting excerpts (5)
      • Barclays wants half of its software developers using Anthropic's Claude Code by the end of 2026.
      • announced on October 1, 2026, through an Anthropic press release
      • The rollout sits inside a multi-year efficiency program at Barclays.
      • The bank is targeting approximately £2 billion in savings over that period, with AI initiatives contributing part of that figure.
      • Regulatory discussions around AI safety are ongoing in the UK, including conversations about potential cybersecurity threats associated with Anthropic's models.
    3. Source 3:

      Barclays PLC

      Partner or vendorGitLab, Jan 1, 20261 Jan 2026Accessed Nov 26, 202626 Nov 2026

      Supporting excerpts (24)
      • With c.93,000 employees, it serves millions of customers and clients across 38 countries.
      • improve the developer experience for their 24,000 DevSecOps team members who support more than 1,200 applications
      • Rectifying a lack of mandated and standardized controls that had reduced speed, collaboration, and efficiency
      • Streamlining a fragmented development ecosystem that had become complex
      • Creating a system in which documentation is more consistent and aligned
      • Improving an onboarding process
      • To do all of this, Barclays looked to GitLab, adopting its end-to-end platform in 2023.
      • Barclays adopted GitLab Ultimate late in 2024 to simplify and modernize the core of their development toolchain
      • We wanted a world-class platform to help improve our developer experience, and enable us to deliver better products faster, while enhancing security and compliance
      • Chris Hutchison, Enterprise Toolchain Director at Barclays
      • it already uses the platform's automation capabilities to mandate and standardize security and release controls across teams, taking the manual effort out of tasks such as commit checks, merge request enforcement, and credential management.
      • In December 2024, Barclays launched GitLab Duo with 6,000 licenses. Within a year, adoption had grown to 23,000 team members consistently using the AI-native capabilities built directly into the platform.
      • handling routine tasks so they can focus on higher-level problem solving and architecture
      • Hutchison says there was some initial skepticism about using artificial intelligence in a financial institution. Hutchison, actually, was one of those skeptics
      • being in a highly regulated and trust-dependent environment makes normal concerns about data privacy and security around AI even more acute
      • he quickly came to realize that not using AI put the organization at more risk
      • The breakthrough for me was really about the explicit legal commitment we have with GitLab, in the sense that GitLab does not retain any of our data or code, and it is not used for model training.
      • Barclays uses GitLab Duo Chat as a conversational AI assistant, to help with code generation, code explanations, and test generation, as well as code refactoring and fixes
      • all working alongside its developers as they code
      • Root Cause Analysis, a troubleshooting feature used to analyze failed job logs to determine the source of a problem and suggest a fix
      • It was about 7 p.m. one night when I got a ping from someone in another country, who said their pipeline wasn't working and they couldn't figure it out.
      • I just pressed Duo's Troubleshooting button, and I immediately got an explanation of what was going wrong. The problem was resolved in seconds. I then taught that other person how to do it themselves.
      • More experienced coders are also using GitLab Duo to eliminate mundane tasks, double-check their work, and accelerate their productivity.
      • it helps younger developers work more confidently and productively
    4. Source 4:

      Barclays PLC Annual Report 2025

      OrganizationBarclays, Feb 10, 202610 Feb 2026FilingAccessed Nov 26, 202626 Nov 2026

      Supporting excerpts (6)
      • Across Barclays, 19,000 developers have access to AI tools, with early-stage adoption already delivering productivity gains of c.15%.
      • embracing AI across our software development tools to enable developers to plan, develop and deploy new technologies at pace and responsibly
      • supported by decommissioning legacy platforms to reduce technology debt, complexity and cost
      • including Amazon Web Services, Microsoft, GitLab and Databricks
      • exposure to open-source software risks when using AI-based coding tools
      • claims of intellectual property infringement or misappropriation
    5. Source 5:

      Barclays Is Giving Claude Half Its Developers. The Real Test Is Whether Anyone Notices.

      IndependentThe Wealth Advisor, Oct 1, 20261 Oct 2026Accessed Nov 26, 202626 Nov 2026

      Supporting excerpts (3)
      • Claude Code will be deployed to accelerate development and modernize legacy systems
      • Getting AI into the hands of most engineers is relatively straightforward; discovering whether it can safely make that inheritance cheaper and faster to maintain is the harder experiment.
      • corporate enthusiasm for AI has been much easier to document than corporate productivity
    6. Source 6:

      Overview - Claude Code Docs

      Product documentationAnthropic, Nov 25, 202625 Nov 2026Accessed Nov 26, 202626 Nov 2026

      Supporting excerpts (2)
      • It understands your entire codebase and can work across multiple files and tools to get things done.
      • Claude Code works directly with git. It stages changes, writes commit messages, creates branches, and opens pull requests.
    7. Source 7:

      GitLab Duo

      Product documentationGitLab, Nov 26, 202626 Nov 2026Accessed Nov 26, 202626 Nov 2026

      Supporting excerpts (2)
      • GitLab Duo provides AI-native features for every stage of the software development lifecycle.
      • GitLab Duo features are available in IDE extensions and the GitLab UI.

    More in Engineering & Research

    View all