Adyen lifts merge requests per developer 48% with AI agents
Adyen gave its engineers coding agents from several vendors, routed across many models and grounded in a live graph of its code, services and hosts.
AdyenNetherlandsPaymentsScaled since 2023
- Scale
- About 1,400 developers
- Scenario
- AI code review and coding agents
- Business function
- Software engineering
- Kind of solution
- Software engineering assistant
- Who built it
- Built in-house (DX and Neo4j)
- Human oversight
- Assists people
- Organization
- Enterprise
- AI types
- Generative AI, Agentic AI
- Users
- ~1,400 developers
- Team size
- 40
tl;drMerge requests per Adyen developer rose 48% as AI use reached effectively all of engineering.See the results
Adyen gives its developers AI coding agents from several vendors, on models that it routes between, grounded in a live graph of its own platform. The payments company built the layer around the agents itself: a shared marketplace of agent resources, model routing on in-house infrastructure, and a graph called Architect that agents query for context1, 2.
In September 2026, Chief Technology Officer Tom Adams reported that AI adoption was effectively 100% across engineering. Merge requests per developer were up 48%, and developers reported 15% time savings in DX surveys1.
Before the deployment
Adyen’s code sits in a few large monorepos for its Java backend, its JavaScript and TypeScript frontend, its Python data and machine learning work, and its infrastructure1. The scale shaped what any AI tool had to handle:
- Codebase: About 57 million lines of code across the repositories1.
- Build load: 13 million CI jobs across more than 1 million pipelines in 90 days, equal to 126 years of CI time1.
- Dependency questions: Finding out what depends on a failing service took about forty-five minutes of switching between traces, the repository and chat history2.
- Raw context: An agent that read raw source and logs to answer a platform question ran into hundreds of millions of tokens2.
Adyen used DX surveys to find the biggest points of friction for developers4.
What was built
Engineers hand coding, test, migration and review work to agents, which run in several harnesses and draw on the same shared resources and the same map of the platform1. The work divides like this:
- Coding agents: Factory Droid, Devin and Gemini CLI edit files and co-author git commits. They use the same local command-line tools that engineers use1.
- Agent Marketplace: Holds the skills, subagents, hooks and commands that teams share. It installs them in the format each harness expects, with the defaults of the user’s team and role1.
- Architect: Answers agents’ questions about code, services and infrastructure from pre-computed graphs, so agents don’t have to read the platform first2.
- AI code review and risk tagging: AI comments on merge requests. A risk tagging system in pilot gives every merge request one of four change-risk classes, from low to high, to tell authors and reviewers where to focus1.
- Engineers and team leads: Engineers stay in the loop and review what the tools produce3. Each developer has a default token limit, and team leads approve top-ups1.
“Tokens are just another resource for a team or an engineer, similar to compute capacity, storage capacity, or even travel spending.”
Alternatives considered
Adyen ran a structured evaluation of nine AI development tools, with over 100 engineers in the proofs of concept4. They scored each tool on three groups of criteria:
- Use cases: Code explanation, test generation and security4.
- Technical feasibility: Monorepo support, model flexibility and compliance4.
- Administrative factors: Cost and support service levels4.
Three to four tools made the cut, each on a contract of one year to stay flexible4.
Rollout
- 2023: Adyen started experimenting with large language models for code and test generation. It built Codyen, an IDE extension that explained code, wrote tests and docs, and reviewed code on its internal GenAI inference infrastructure1.
- Tool mix: Proprietary models then got much better at code generation and new tools appeared. After that, Adyen switched to a mix of bought, built and open-source tools1.
- October 2026: Adyen released Agent Marketplace as open source under the Apache 2.0 license3.
Technology and architecture
| Layer | What they used | Role | Source |
|---|---|---|---|
| Language model | Opus and GPT-5.6 | Top models that take half of the tokens | 1 |
| Language model | Sonnet, Kimi and GLM | Cheaper workhorse models for the other half | 1 |
| Task agent | Factory Droid, Devin and Gemini CLI | Edit files and co-author commits | 1 |
| Model hosting | In-house GenAI infrastructure | Serves models, open-source ones included, through Bring Your Own Model (BYOM) | 1 |
| Model gateway | Semantic routing | Routes requests between models to stabilize token costs | 1 |
| Prompt and context management | Agent Marketplace | Shares skills, commands, subagents, hooks and MCP servers across harnesses | 1, 3 |
| Knowledge graph | Architect | Code, service and infrastructure graphs that agents query | 2 |
| Data platform and storage | Neo4j | Composite database that bridges the three graphs | 2 |
| Streaming pipeline | Kafka and Apache Flink | Turn traces and code changes into graph updates | 2 |
| Checker model | AI code review | Comments on merge requests | 1 |
| Checker model | Risk tagging system | Classifies the change risk of each merge request, in pilot | 1 |
| Monitoring | DX surveys | Measure self-reported time savings | 1, 4 |
Developers pick models from multiple providers, which lets them try the latest models and keep personal preferences1. Owning the GenAI infrastructure lets Adyen balance cost and performance1.
Agent Marketplace compiles each resource for eight coding tools, because locking workflows to one vendor’s format is a cost paid later3. Its settings merge across four layers: the organization, the machine, the repository and the developer’s own overrides3.
Data inputs
- Code and documentation: The monorepos keep frameworks and documentation beside the services that use them, which gives the agents context1.
- Code graph: Built from compile-time dependency graphs of the Java backend, with an incremental build each time the head ref changes1, 2.
- Traces: Up to 7 million tracing spans per second from all workloads, which become the service graph2.
- Host facts: About 900 metadata items per bare-metal or virtual host, loaded into the infrastructure graph a couple of times a day2.
- Merge requests: Each one gets AI review comments and, in the pilot, a risk class1.
Integrations
- Monorepos and their CLIs: Agents read and edit code, co-author commits, and run the same command-line tools as engineers1.
- Trace pipeline: Workloads emit traces to Kafka, and Flink filters, correlates and aggregates them into the service graph2.
- Git repository: A git poller inside Flink pulls each change and rebuilds only the changed files2.
- Facts database: Builder and enrichment jobs, in effect a series of cron jobs, copy host metadata into the infrastructure graph2.
How one dependency question flows through the system
- An engineer asks an agent what depends on a service that throws errors2.
- The agent queries Architect through MCP, the protocol that connects agents to outside tools1, 3.
- Architect joins the runtime, compile-time and infrastructure graphs in the composite database2.
- One graph query returns what would otherwise be thousands of lines of context for the agent to read2.
- The agent reasons from read-only answers against observed data, and the engineer gets the answer in a few seconds2.
Results
Adams published the figures in September 2026, for AI use across Adyen engineering1.
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| Merge requests per developer | Not disclosed | Up 48% | All engineering, reported September 2026 | Adyen, measured1 |
| Self-reported time savings | Not disclosed | 15% | DX surveys, reported September 2026 | Adyen, measured1 |
| AI code review comments accepted | Not disclosed | 50% | Comments on merge requests, reported September 2026 | Adyen, measured1 |
| Legacy payments backend refactor | 6-12 months, typical for several teams | 2 months | A couple of engineers, no incidents | Adyen, measured1 |
- Merge requests per developer: Counts merged code changes per developer. Heavy AI users produce 2x more merge requests than engineers of the same seniority1.
- Time savings: Comes from DX developer surveys. Adyen extrapolates the 15% to roughly a 2x return on what it spends on tokens1.
- Legacy refactor: Split one monolithic deployment image for about 2,000 production jobs into 40+ scheme-specific images, one for each card scheme1.
- Volume: In the 90 days before the post, AI edited about 1 million files and co-authored 20 thousand git commits1.
- Dependency questions: With Architect, an agent answers in a few seconds what took an engineer forty-five minutes2.
Lessons learned
The figures are Adyen’s own, from its engineering blog and its DX surveys1. DX, the vendor of the survey tool, published the account of the tool evaluation4.
Adams calls merge requests a noisy and perhaps distracting proxy metric. He reads the gap between heavy AI users and their peers as a sign that using the tools well takes practice and training, which a group of 40 AI Champions spreads across product areas1.
Architect’s builders put the value in the context, not the model. They say the investment was in giving the AI something true to reason about2. The monorepos already gave agents frameworks and documentation beside the code1.
Agents reason well inside one monorepo, but that breaks when a task crosses monorepos, from backend to data to infrastructure. Adyen hasn’t fully solved it1.
Faster coding moved the bottleneck to code review, with longer review turnaround times and more pushback per review1. Engineers who orchestrate many agents report growing cognitive load and context debt. Junior engineers find engineering intuition harder to build when everyone can generate large volumes of seemingly correct code1.
The sources differ on two counts. DX says Adyen had no AI development tools before April 2024, while Adams dates Codyen to 20231, 4. The Architect post gives the code graph roughly 250,000 classes across 6,000+ modules, and Adams gives more than 215k classes and 5,600 modules1, 2.
Case study scorecard
- 48% More merge requests per developer1
- 15% Self-reported time savings1
- 50% AI code review comments accepted by developers1
- 2 months Refactor of a legacy payments backend into 40+ deployment images1
Sources by publication date
- Organization 5
- Vendors and partners 1
Build this solution yourself
Analysis
What you need
- Code and documentation in few places: Adyen’s agents work well inside a monorepo and struggle across them, so check how much of your work crosses repository boundaries1.
- Observed data about your platform: Architect rests on traces from every workload, compile-time dependency graphs and a facts database of every host. You need comparable sources before a graph can ground agents2.
- A way to route and budget tokens: Adyen routes between top and cheaper models and gives team leads the top-up decisions, because its developers use about 1 trillion tokens a year1.
- Review capacity: The bottleneck moved to code review at Adyen, so plan for more and larger merge requests1.
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
- Code repository
- Code index
- Deterministic code analysis
- Standards and guidelines
- Code and platform map (documented in this case study)
- Prompts and context (documented in this case study)
- Language model (documented in this case study)
- Automated checks
- Checker model (documented in this case study)
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. "Adyen lifts merge requests per developer 48% with AI agents." Updated Nov 21, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-034-ai-coding-agents-code-review-adyen/
@misc{csai-er-034,
author = {{Enterprise AI Case Studies}},
title = {{Adyen lifts merge requests per developer 48% with AI agents}},
year = {2026},
note = {Updated 2026-11-21},
url = {https://case-studies.ai/case-studies/engineering-and-research/ER-034-ai-coding-agents-code-review-adyen/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
AI in our development lifecycle
Supporting excerpts (45)
Most of the code sits in a few large monorepos for backend (Java), frontend (Javascript/Typescript), Data/AI/ML (Python), and infrastructure.
We have ~57 million lines of code across these repos in total.
in the last 90 days, our CI infra ran 13 million jobs across 1+ million pipelines, equivalent to 126 years of CI time.
Frameworks that power our systems live in the same repos as the services they’re used in. Documentation lives besides code.
Local CLIs used by humans are used by AI too, and helped with reproducibility.
Agents can reason across large surfaces of business logic and services. Truth lives in the code, and agents consume this truth. This breaks when you need to cross monorepos (e.g. from backend to data to infra). We haven’t fully solved for that yet.
We started experimenting with LLMs for code and test generation in 2023, just after Copilot got released.
We built Codyen, an IDE extension that assisted with explaining code, writing tests, code reviews, and doc writing, powered by our internal GenAI inference infrastructure.
two major shifts happened: proprietary models started getting much better at code generation, and many AI development tools were released and quickly evolved.
Since then, we have switched to using a combination of buy, build, and open-source tooling.
We choose and build tools that utilize multiple model providers. This allows our developers to sample the latest and greatest models, as well as catering for personal model preferences.
In the past 90 days alone, AI has edited ~1 million files, and co-authored 20 thousand git commits.
50% of AI code review comments are accepted by developers.
Our ~1,400 developers currently consume ~1 trillion tokens a year. Token usage has quadrupled over the past 3 months.
Half of those are spent on top models (e.g. Opus, GPT-5.6), and the other half on cheaper workhorses (e.g. Sonnet, Kimi, GLM).
We have stabilized our token costs by implementing semantic routing, and connected the tooling to our in-house GenAI infrastructure using Bring Your Own Model (BYOM).
Open-source models are getting better and more efficient, and are a common daily driver for our developers.
Owning this infrastructure allows us to balance cost and performance to suit our needs.
Later on, this turned into a pollution problem of too many resources being shared with little governance. This slowed down workflows and wasted tokens.
To address this we built an Agent Marketplace, as a single source for all these resources.
the marketplace materializes them in harness-specific ways for e.g. Factory Droid, Devin, Gemini CLI, etc.
The marketplace is aware of the user and their team and role, and can auto-select the resources and defaults of that team.
AI adoption is effectively 100% across engineering. Merge requests per developer are up 48%. Self-reported time savings, measured via DX surveys, are 15%.
the resulting productivity improvement represents roughly a 2x return on what we spend on tokens.
we have ~2,000 production jobs for 40+ card schemes
The goal was to refactor this massive dependency graph into 40+ scheme-specific deployment images.
This would typically require involvement from multiple teams, and represents an expensive investment of 6-12 months with a substantial risk of omission. With AI, a couple of engineers did it in 2 months with no incidents.
A code graph, generated from compile-time dependency graphs of our backend monorepo, covering more than 215k classes, 5,600 modules, and 138k dependency edges.
It is browsable by humans and AI (via MCP), and you can query each graph separately, or in combination.
human focus remains critical for quality control.
we’re currently piloting a risk tagging system. It uses AI to evaluate change risk behind every merge request. It tags every request with a classification (low, mid, high, unknown)
This informs both authors and reviewers, and helps engineers focus their time and effort.
Developers of all seniority levels can rapidly generate large volumes of seemingly correct code. This makes engineering intuition much more important, but also harder for junior engineers to develop.
many engineers experience growing cognitive load and context debt when heavily orchestrating multiple agents.
We observe within our team today that heavy AI users produce 2x more merge requests than other engineers of the same seniority level. This is a noisy and perhaps distracting proxy metric
we formed an AI Champions group of 40 expert users across our organization.
the bottleneck has already shifted from code generation to code reviews, as we see an increase in code review turnaround times and pushback per review.
In many of our teams, frontend and backend engineering roles are converging (again) into full-stack engineering roles.
Tokenmaxxing is fundamentally the wrong incentive.
reflects usage not outcomes or value generation. Hard token limits also miss the point.
Tokens are just another resource for a team or an engineer, similar to compute capacity, storage capacity, or even travel spending.
everyone has a default token limit, but can request top-ups indefinitely. Top-ups are approved by team leads
recently doubled default token limits for all developers.
This simplifies team collaboration, and switching between different harnesses.
we see responsible token usage across the board
- Source 2:
We built Architect for humans. Agents made it transformative.
Supporting excerpts (19)
Answering it used to kick off forty-five minutes of tab-juggling
A code graph of roughly 250,000 classes across 6,000+ modules.
A service graph of around 3,000 live services and the ~470,000 calls between them.
An infrastructure graph of tens of thousands of hosts spread across tens of data centres.
Then we gave our agents the same map, the same factual foundation, and the forty-five minutes became a few seconds.
Our monorepo alone runs to hundreds of thousands of files
turned into hundreds of millions of tokens before we admitted there had to be a better way.
A single graph query returns what would otherwise be thousands of lines of context the agent has to read
We then have the ability to bridge all this of these by using a composite database (thanks Neo4j for this feature, super useful)
All our workloads in all of our environments are constantly emitting trace data, which is being fed to Kafka, and a consumer is picking it up.
Flink itself is picking up every single trace emitted (7m per second)
Production generates up to 7 million tracing spans per second
Any time the head ref changes, we pull, kick off an incremental build (so only the changed files are rebuilt)
We tried full builds every 4 hours, which eventually became very painful.
We have a comprehensive Facts database that continuously captures ~900 metadata items from every bare-metal or virtualized host in our fleet.
It's effectively a series of cron jobs.
we run this a couple of times per day.
they're read-only queries against verified, observed data.
The investment was never really in the AI. It was in giving the AI something true to reason about
- Source 3:
One setup for every AI tool: Agent Marketplace
Supporting excerpts (12)
Today we're releasing Agent Marketplace, a command-line tool we built at Adyen to share AI agent resources across teams, repositories, and tools.
it’s released under the Apache 2.0 license
MCP servers connect agents to outside tools through the Model Context Protocol (MCP), the open standard we adopted last year.
Write a resource once and it compiles for eight tools
locking your team's workflows to one vendor's format is a cost you pay later.
Settings merge across four layers: your organization, your machine, the repository you're in, and your own local overrides.
Over a thousand developers at Adyen use AI tools in their daily work. Our engineers stay in the loop on what these tools produce, and people review the output
The Marketplace scans each resource and its files for things such as hidden text, invisible Unicode characters, executable scripts, remote URLs, tool grants, and hook or MCP capabilities.
A rejected revision isn't served.
The operator can revoke a whole registry, every revision of one resource, or one exact revision.
Telemetry is off by default
The tool never sends prompts, search text, command arguments, usernames, or resource contents.
- Source 4:
Customer spotlight: How Adyen measurably improved developer experience
Supporting excerpts (6)
Adyen is a global fintech company with around 1,500 engineers, almost entirely on-prem
DX gave Adyen a clearer picture of which problems were the biggest points of friction for developers.
Prior to April 2024, Adyen had no AI dev tools.
Michaela and Antoine ran a structured evaluation of nine tools, assessing each against three criteria: use cases (code explanation, test generation, security), technical feasibility (monorepo support, model flexibility, compliance), and administrative factors (cost, support SLAs).
Over 100 engineers participated across the POCs. Three to four tools made the cut. All contracts were kept to one year to stay flexible.
Adyen has introduced a monthly token cap per developer to keep costs in check, paired with training on using AI more efficiently.
- Source 5:
From Pilot to Impact: How AI Is Transforming Large-Scale Engineering
Supporting excerpts (1)
This talk shares how ING introduced GitHub Copilot to more than 5,000 engineers
- Source 6:
Operationalizing AI in engineering and beyond
Supporting excerpts (2)
In the first half of 2026, around 70% of all the code we shipped had AI involvement.
the time from a PR being created to its first review has reduced by 84%, and the time to merge has dropped by 59%.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.