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
- Kind of solution
- Software engineering assistant
- 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
tl;drBarclays grew GitLab Duo use to 23,000 staff, with about 15% productivity gains from AI tools.See the results
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.”
Rollout
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
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:
- A developer in another country messaged Hutchison at about 7 p.m. because their pipeline wasn’t working3.
- Hutchison pressed the Troubleshooting button of GitLab Duo on the failed job3.
- Root Cause Analysis read the job log and returned an explanation of what was going wrong3.
- The problem was resolved in seconds3.
- 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
- about 15% Productivity gains from early-stage adoption of AI tools for developers4
- 23,000 team members Barclays staff consistently using GitLab Duo3
Sources by publication date
- Organization 1
- Vendors and partners 4
- Press, academic, and regulators 2
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.
- Developer tools (documented in this case study)
- Assistant platform (documented in this case study)
- Code repository
- Code index
- Deterministic code analysis
- Standards and guidelines
- Code and platform map
- Prompts and context
- Language model
- Automated checks
- Checker model
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- Uber: How Uber scaled coding agents and cut cost per session. Cost per agent session fell 52% from its June peak as weekly agent requests grew 9.4x.
- Pictet Group: Pictet takes Claude Code from developers to business teams. About 700 Pictet staff now use Claude Code and Cowork, and prototypes take 2 hours, not 2 weeks.
- TUI Group: TUI cuts external IT staff with AI coding assistants. TUI's external IT workforce fell from thousands to maybe 30 or 50 as its developers coded with AI.
- eBay: eBay's Copilot pilot cut pull request merge time by 17%. Developers with Copilot cut pull request merge time 17% in eBay's 300-developer A/B test.
- Meta: Meta's just-in-time LLM tests catch bugs before code lands. JiTTests helped catch 74 serious privacy bugs at Meta before they landed in the first half of 2026.
- Deutsche Bank: AI coding assistants speed up software work at Deutsche Bank. Developers save an estimated 1.5 to 2.5 hours per week and report 10x gains on some tasks.
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
- Source 1:
Barclays scales Claude to upgrade operations and improve client experience
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.
- Source 2:
Barclays targets 50% developer adoption of Claude by end of 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.
- Source 3:
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
- Source 4:
Barclays PLC Annual Report 2025
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
- Source 5:
Barclays Is Giving Claude Half Its Developers. The Real Test Is Whether Anyone Notices.
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
- Source 6:
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.
- Source 7:
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.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.