AI code reviews free developer hours each week at Citi
Citi gave its developers GitHub Copilot, a code review tool called Citi Squad and Cognition's Devin agent while it rebuilt decades of legacy systems, with a person approving every change the agent drafts.
CitiUnited StatesBankingScaled since 2024
- Scale
- 40,000 developers
- Scenario
- AI code review and coding agents
- Business function
- Software engineering
- Kind of solution
- Software engineering assistant
- Who built it
- With Cognition and GitHub
- Human oversight
- People approve each output
- Organization
- Enterprise, 100,000 employees or more
- AI types
- Generative AI, Agentic AI
- Users
- 40,000
tl;drCiti's AI code reviews free an estimated 100,000 developer hours a week.See the results
Citi gives its developers three AI tools for writing, reviewing, and changing code6. GitHub Copilot suggests code, Citi Squad reviews code automatically, and Cognition’s Devin agent carries out routine tasks such as patches and library upgrades6.
A person approves the agent’s work. A human developer stays in charge of every Devin task, and the agents aren’t allowed to deploy code6. In September 2026, Citi described Devin re-mapping more than 30 years of legacy code across the firm in two days1.
In October 2025, CEO Jane Fraser told analysts that the bank had run more than 1 million AI-driven automated code reviews that year2, 3. She said the reviews created 100,000 hours of weekly capacity for its developers2, 3.
Before the deployment
Citi’s developers came to AI in the middle of a long rebuild that regulators had forced5. The rebuild ran under the following pressures:
- Enforcement actions: In 2020, the Federal Reserve and the Office of the Comptroller of the Currency took enforcement actions against the bank over poor data quality management. In 2024, regulators added $135.6 million in penalties5.
- Legacy estate: The bank spent $11.8 billion on technology in 2024 and had retired 2,000 legacy applications over three years5.
- Testing time: Over two years, the bank pushed its testing time frame from days to hours4.
- Cost: In 2024, Citi announced a plan to cut 20,000 employees by 20264.
Speed was another pressure. “If it takes 12 days to get something tested, I think it’s too late,” Tim Ryan, Citi’s head of technology and business enablement, said at the Money20/20 conference in October 20254.
What was built
Citi gave its developers three AI tools rather than one, each for a different kind of work6. The work is divided as follows:
- GitHub Copilot: Suggests code in real time, generates code from a plain-language prompt, helps with debugging, and automates parts of code review. Citi began rolling it out to its 40,000 developers about a year before July 20256.
- Citi Squad: A generative AI tool that Citi launched for its developers in 2024. It reviews code automatically, and the bank credits it with saving about 100,000 hours a week6.
- Devin: Cognition’s coding agent, which Citi selected to automate simple tasks such as software patches and upgrades. Its jobs also include rewriting software from one programming language to another, patching software when vendors issue updates, writing documentation, and creating tests6.
- Developers: A human developer remains in charge of all of Devin’s tasks. The agent’s suggested changes go through automated testing and human review before the developer accepts them6.
David Griffiths, then Citi’s chief technology officer, called Copilot a good assistive tool that helps developers finish tasks faster, because it auto-completes parts of them6. Devin is handed a task and carries it out, which makes it “more of a proactive partner to a developer,” in his words6. Citi adopted Devin early to speed up complex, multi-step coding tasks1.
The agents don’t deploy code. “We’re certainly not allowing any kind of deployment of code by the agents,” he said. “All the agents are doing is producing artifacts that then are given to the developer”6.
For patching, Citi wants the same result each time. “I want it done the same every time. I want the same documentation written about it,” Griffiths said6.
“They’re not people, they’re not employees, they’re technology systems. They need technology controls. They need entitlements, they need identity, they need security. You need quality checks, you need automated testing.”
The developer tools sit inside a wider AI program. By September 2026, Citi’s firmwide platform, Citi Stylus Workspaces, had reached more than 180,000 people, and in April 2026 the bank introduced Arc to deploy embedded AI agents across every business line1. Griffiths, by then Group Head of AI, described controls automated at the platform level and across the whole AI lifecycle, with a human always in the loop1.
The technology team meets regularly with 4,000 “AI accelerators” across the businesses, who report what the tools do well, what they don’t, and what the next release needs4.
Rollout
The tools arrived in sequence over roughly two years, from assistance to review to agents1, 5, 6. The review count was reported at each step, up to the year’s total2, 6, 8.
Technology and architecture
Devin is Cognition’s autonomous AI software engineer. It writes, runs, and tests code in its own workspace of developer tools, which includes an embedded code editor where a person can follow its work and take over9. Citi runs a hybrid cloud strategy and works with Google, Anthropic, and Cognition Labs as partners4.
The following table lists the components of the solution.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Solution platform | Citi Squad | Generative AI tool Citi launched for developers in 2024, which runs automated code reviews | 6 |
| Solution platform | GitHub Copilot | Suggests and generates code, helps debug and automates parts of code review | 6 |
| Task agent | Devin, from Cognition | Carries out library upgrades, patches, language rewrites, documentation, tests and legacy code re-mapping | 1, 6, 9 |
| Knowledge content | Knowledge base of Citi’s software documentation | Guides what the agents do so they stay within Citi’s practices | 6 |
| Business or operational system | Internal code repositories | The code the agents read and change | 6 |
Data inputs
The tools work from the following data:
- Internal code repositories: Through retrieval-augmented generation, Copilot and the agents draw only on Citi’s internal code repositories. They can’t fetch code from the web6.
- Repository code for a task: Devin reads all the code in the repository that a task touches, to work out which files need to change6.
- Documentation and best practices: Devin is trained with Citi’s software documentation and best practices. Griffiths called this knowledge base an important part of the deployment, so that the agents don’t “get creative” by bringing new technology into Citi6.
How one library upgrade flows through the system
A developer asking Devin to upgrade a software library is the bank’s typical example of the agent’s work6. The upgrade runs in the following steps:
- The developer instructs Devin to upgrade a software library6.
- Devin reads all the code in the repository and determines which files need to be changed6.
- Devin tests the potential effects of those changes and presents its findings to a person for review and approval6.
- Devin generates and documents the changes6.
- The changes go through automated testing and human review. Only then does the developer accept them6.
- AI component
- Data
- Trigger or control
- Handoff to people
- Feedback
- Inferred, not documented
Results
Citi’s results measure volume, time, and speed for three tools, and the bank gave them between April 2025 and September 20261, 6, 8. The following table lists them.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Weekly developer capacity freed by automated code reviews | Not disclosed | 100,000 hours | Per week, given in July and October 2025 | Citi, estimate2, 3, 6 |
| AI-driven automated code reviews | Not disclosed | more than 1 million | 2025, counted to mid-October | Citi, measured2 |
| Productivity of developers who use GitHub Copilot regularly | Not disclosed | 5% to 15% | Gain per developer, July 2025 | Citi CTO, estimate6 |
| Speed of the agentic approach on a given task | Not disclosed | twice as fast to 20 times as fast | Certain kinds of tasks, July 2025 | Citi CTO, estimate6 |
| Time to re-map more than 30 years of legacy code | Not disclosed | two days | One Devin task, described in September 2026 | Citi, company publication1 |
The following metrics need an explanation:
- Weekly developer capacity: The 100,000 hours are an estimate of developer capacity, not a measured fall in hours worked. Citi gave the figure in July 2025, when it estimated Citi Squad’s total at 740,000 reviews6, and on the October 2025 earnings call, with the year’s count past 1 million2, 3. Ryan repeated it at Money20/20 later that month, with about 1 million automated reviews behind it4.
- Automated code reviews: The figure counts review runs in 2025, up to mid-October2.
- Copilot and agent speed: Both are Griffiths’ estimates from July 2025. The Copilot range applies to developers who use it regularly, and the agent range to certain kinds of tasks6.
- Legacy code re-mapping: The two days describe a single Devin task1.
Lessons learned
The design around the agent is the clearest strength of Citi’s account. Devin works from Citi’s own documentation, reaches only Citi’s own code, tests its changes, and hands back artifacts that a developer reviews and accepts6. Citi kept to this design in its later statements1. The review tool also runs at scale, with its count rising across three disclosures in 2025, from roughly 220,000 to more than 1 million8, 2.
Devin isn’t fit for large work yet. “It’s not at the point where you would want to ask the agent to implement a very complicated feature from start to finish,” Griffiths said, so Citi focuses it on simple, repeatable tasks, and Devin is “not replacing any human developers yet”6. It also needs well-chosen work, because “you’ve got to have a pretty clear idea of the kind of work you want to give it”6.
The agents aren’t allowed to deploy code, so every change still needs automated tests and a developer’s review and approval6. That keeps people accountable, but part of the time the tools save probably goes back into reviewing what they produce.
The hours figure needs the most care, because it didn’t move with the review count. It stayed at about 100,000 a week while the review count went from 740,000 in July to more than 1 million in October6, 2. The two counts might not measure the same thing. The July count is Citi Squad’s total since its 2024 launch, and the October count covers 2025 without naming the tool6, 2. Copilot also automates parts of code review6.
The developer counts don’t line up either: 30,000 with coding tools in January 20255, 40,000 in the Copilot rollout in July 20256, and 10,000-plus on agentic legacy remapping in a tracker7.
Every figure is Citi’s own, given by its executives on earnings calls, in interviews, and in the bank’s own publication, and the hours and productivity ranges are estimates. The banking industry tracker that collects them notes that the hours are capacity freed, not headcount cut, and that almost none of the AI figures banks report is audited7.
Case study scorecard
- 100,000 hours Weekly developer capacity freed by automated code reviews2, 3, 6
- more than 1 million AI-driven automated code reviews2
- 5% to 15% Productivity gain for regular GitHub Copilot users6
- twice as fast to 20 times as fast Speed of the agentic approach on a given task6
Sources by publication date
- Organization 1
- Vendors and partners 1
- Press, academic, and regulators 7
Build this solution yourself
Analysis
What you need
To build this solution the way Citi did, you need the following in place:
- Code repositories you can confine the tools to: Citi limits Copilot and the agents through retrieval to its internal repositories, so they never pull code from the web6.
- Written documentation and best practices: Citi’s knowledge base steers the agents toward the bank’s way of working, so your own guidance must be written down for an agent to follow it6.
- Automated tests that cover the code you hand to an agent: Every change an agent proposes goes through automated testing before the developer accepts it6.
- Developers who decide what’s accepted: Nothing an agent produces is deployed on its own, so a developer accepts each change6.
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
- Assistant platform (documented in this case study)
- Code repository (documented in this case study)
- Code index
- Deterministic code analysis
- Standards and guidelines (documented in this case study)
- 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
In the library
- How Uber scaled coding agents and cut cost per session Uber
- Pictet takes Claude Code from developers to business teams Pictet Group
- TUI cuts external IT staff with AI coding assistants TUI Group
- eBay's Copilot pilot cut pull request merge time by 17% eBay
- Meta's just-in-time LLM tests catch bugs before code lands Meta
- AI coding assistants speed up software work at Deutsche Bank Deutsche Bank
Cite this case study
Enterprise AI Case Studies. "AI code reviews free developer hours each week at Citi." Updated Nov 19, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-012-ai-code-review-coding-agents-citi/
@misc{csai-er-012,
author = {{Enterprise AI Case Studies}},
title = {{AI code reviews free developer hours each week at Citi}},
year = {2026},
note = {Updated 2026-11-19},
url = {https://case-studies.ai/case-studies/engineering-and-research/ER-012-ai-code-review-coding-agents-citi/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
David Griffiths on Building the World's Most AI-empowered Financial Institution
Supporting excerpts (7)
David Griffiths, Citi’s Group Head of AI
The firm’s flagship AI platform, Citi Stylus Workspaces, has rolled out to more than 180,000 people to date
Controls are automated at the platform level, so colleagues do not have to conduct lots of manual checks for approvals or reviews.
Citi has controls in place across the entire AI lifecycle, and a human is always in the loop.
Early on, Citi adopted Devin, a coding agent developed by the AI lab Cognition to expedite complex, multi-step coding tasks.
One such task involved re-mapping more than 30 years of legacy code across the firm in two days.
Citi introduced Arc in April 2026 to deploy embedded AI agents across every business line, geography and function
- Source 2:
Banks chase AI-fueled efficiencies
Supporting excerpts (3)
There have been more than 1 million AI-driven automated code reviews this year, creating 100,000 hours of weekly capacity for developers, according to Fraser.
Teams throughout the business are using the technology to resolve client inquiries, gain real-time insights, automate code reviews and improve productivity.
Q3 2025 earnings call Tuesday
- Source 3:
Citigroup's AI usage frees up 100,000 hours for developers a week
Supporting excerpts (2)
Citigroup CEO Jane Fraser said the company's use of artificial intelligence has saved time and allowed it to free up 100,000 hours of weekly capacity for software developers.
Almost 180,000 of the bank's employees in 83 countries have access to Citi's internal AI tools, she told analysts on an earnings call on Tuesday.
- Source 4:
Citi's Ryan: Employee buy-in on AI will yield 'innovation dividend'
Supporting excerpts (11)
Staffers wrote 7 million prompts in the first eight months of this year, and have done about 1 million automated code reviews that have freed up 100,000 hours each week, he said.
Tim Ryan, Citi's head of technology and business enablement, speaks on stage Monday, Oct. 27, 2025, at Money 20/20 in Las Vegas, Nevada.
About 180,000 of the New York City-based bank’s 230,000 employees are using its AI tools, Ryan said.
Citi’s 4,000 “AI accelerators” rank as a key element of the bank’s change management approach, Ryan said.
to understand what's working in the tools, what's not working in the tools, what systems do we need to integrate with, what the next release of our tools needs to bring
The bank employs a hybrid cloud strategy, investing both internally and working with partners such as Google, Anthropic and Cognition Labs.
If it takes 12 days to get something tested
If it takes 12 days to get something tested, I think it’s too late
The lender has made adjustments over the past two years to bump up its testing time frame, from days to hours
In risk, the bank is using AI agents and working to scale that effort, “but not taking that human out of the loop,” he said.
Citi, for its part, has trimmed its headcount as part of a broader effort announced in 2024 to cut 20,000 employees by 2026.
- Source 5:
Citi deploys AI coding tools to 30K developers in modernization push
Supporting excerpts (4)
Citi armed 30,000 developers with generative AI coding tools as part of an ongoing modernization push, CEO Jane Fraser said, during the bank’s Q4 2024 earnings call Wednesday.
The bank spent $11.8 billion on technology in 2024
Citi has steadily beat the modernization drum for the last three years, retiring 2,000 legacy applications in the process.
The urgency was triggered by 2020 enforcement actions from the Federal Reserve and Office of the Comptroller of the Currency, tied to poor data quality management, followed by $135.6 million in penalties levied by regulators last year.
- Source 6:
Citi is rolling out agentic AI to its 40,000 developers
Supporting excerpts (33)
has begun rolling out agentic artificial intelligence to its developers to automate simple tasks like software patches and upgrades.
In this case, Citi has selected Cognition's Devin agent.
About a year ago, Citi began rolling out GitHub Copilot, a generative AI-based coding assistant, to its 40,000 developers.
Copilot can provide real-time code suggestions, generate code from natural language prompts, offer debugging help and automate parts of the code review process.
The bank estimates that Citi Squad, a generative AI tool it launched for developers in 2024, has completed 740,000 automated reviews, saving approximately 100,000 hours per week.
Citi's Chief Technology Officer David Griffiths
Copilot is a good assistive tool for developers. It can help them complete tasks faster, because it effectively auto-completes parts of those tasks for them.
You can give the agentic AI a task, and the agentic AI will execute that task for you, so it can act as more of a proactive partner to a developer,
To start with, Citi's developers will give their Devin agents simple tasks. But Griffiths expects them to take on more complex tasks in the future.
Citi has already put Devin into use alongside the firm's developers, and we're excited to work alongside their teams to continue to scale Devin across some of the most critical development work in the sector
said Russell Kaplan, president of Cognition.
In a typical use case today, a Citi developer might instruct Devin to upgrade a software library. The AI agent will look at all the code in the repository, determine which files need to be changed, automatically test the potential effects of those changes, present its findings to a human for review and approval, and generate and document the changes.
A human developer remains in charge of all Devin's tasks at Citi.
We're certainly not allowing any kind of deployment of code by the agents,
All the agents are doing is producing artifacts that then are given to the developer.
The suggested changes go through automated testing and human review before the human developer accepts them.
Another task for Devin is rewriting software from one programming language to another. It can also help patch software when vendors issue updates.
It's also really good at doing things like writing documentation and creating tests,
It's not at the point where you would want to ask the agent to implement a very complicated feature from start to finish.
We focus on the simple, repeatable tasks, which it can do at our scale.
The Devin agents are trained with Citi's software documentation and best practices.
So when they decide what to do, they always do it in a way that is compliant and what we would want them to do
So we have as an important part of our deployment, the knowledge base that we put up to help guide the activities of the developer. We absolutely aren't looking for AI agents to get creative in terms of bringing in new technology to Citi.
As has been Citi's practice with its use of GitHub Copilot, the bank limits the sources AI agents can go to. Using retrieval augmented generation, these agents can only tap into Citi's internal code repositories. They cannot swim out into the web and obtain code from external sources.
Developers that regularly use the GitHub Copilot coding assistant get 5% to 15% greater productivity, Griffiths estimated.
But what we've seen with the agentic approach, for certain kinds of tasks, is you can get anywhere from twice as fast to 20 times as fast for a given task,
Devin is not replacing any human developers yet, Griffiths said.
But we do see that agentic AI is a good fit to do all of the administrative boilerplate kind of work, which frees up our developers to work on the higher value stuff. Right now, you've got to have a pretty clear idea of the kind of work you want to give it, and if that work is a good fit, it's very efficient at completing it.
Rather than reduce the developer workforce, Griffiths expects agentic AI will enable the developers to do more work.
When things are more consistent, they're simpler to manage, they're more cost effective to manage,
It's absolutely the case that an AI agent is going to give you a consistent result every time, whereas you can't guarantee that 100 developers are going to give you the same result every time.
I want it done the same every time. I want the same documentation written about it.
They're not people, they're not employees, they're technology systems. They need technology controls. They need entitlements, they need identity, they need security. You need quality checks, you need automated testing.
- Source 7:
Supporting excerpts (8)
Citi about 100,000 engineering hours a week freed by AI code review
is capacity freed, not headcount cut
Firm-wide assistant; agentic AI for 10,000-plus engineers on legacy remapping.
almost none is audited.
Developers on coding agents
≈ 20,000; 15% to 20% productivity gain
Code-review time saved by the GenAI review assistant 75%
31,000 engineers on coding assistants
- Source 8:
Citi eyes AI productivity gains as it consolidates data systems
Supporting excerpts (2)
Citigroup touted AI productivity gains as it moved forward with ongoing IT transformation Tuesday during the company's Q1 2025 earnings call.
The bank also saw efficiency gains after deploying two internal chatbot assistants, as well as a developer tool that completed roughly 220,000 automated code reviews, according to the presentation.
- Source 9:
Supporting excerpts (3)
Devin is an autonomous AI software engineer that can write, run and test code.
In Devin’s Workspace, you’ll find developer tools that Devin will use to complete your task.
Devin’s embedded code editor equipped with all the IDE tools and shortcuts you’re familiar with. Follow Devin’s work real-time and take over to run commands, make direct code edits or test Devin’s code.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.