SonarQube Remediation Agent
Designing SonarSource's first autonomous AI agent for code quality
Company
Sonar
Year
2025–Present
Role
Sole Product Designer
Outcome
1,000 hrs of tech debt cleared in 45 days
1,000 hrs
of technical debt cleared by one customer in 45 days
1% → 65%
merge rate for the agent's fixes, after activation became a choice
AI Tech Award
Best Innovation in AI for DevOps, 2026
Overview
Engineering teams catch thousands of code issues. They fix far fewer. Issues accumulate in a backlog that grows faster than developers can manually work through, and the time cost of resolving them one by one makes it structurally impossible to close the gap. I designed the AI agent that resolves them automatically.
I was the sole designer on it, starting from scratch with . The central question was not whether the technology could work. It was whether developers would ever trust it enough to let it.

Challenge
We shipped it into beta and it worked. The fixes compiled, the tests passed, and when we reviewed them by hand the quality was there. Around 1% of them got merged.
Developers are trained to be skeptical of anything that touches their code automatically. Sonar's own research put a number on it: 96% of developers do not fully trust that AI-generated code is functionally correct, and than reviewing code a human wrote.
The challenge was designing an experience where the agent could act independently while still giving engineers enough visibility and control to feel confident. Getting that balance wrong in either direction meant the product would fail: too opaque and no one would trust it, too manual and there was no point in having an agent at all.
Process
Mapping the unknowns
Before any wireframe, I ran an assumption mapping exercise with the team. We listed every belief we were building on, technical, behavioral, and trust-related, and ranked them by risk and verifiability. This created our research roadmap and prevented us from designing on top of unvalidated foundations.

Mapping the landscape
I built a benchmark of 34 products that touch the same problem, from security remediation and batch code changes to backlog agents and debt programmes, using only public documentation, changelogs and demos. Each one got a read on its signature move, what was worth taking and what to avoid. I plotted them on two axes: who decides what gets fixed, from a person every time through to the agent, and scope, from a single fix through to an org-wide programme. The empty region on that map is where we chose to build, and the benchmark is what let me argue for it rather than assert it.

Research with engineers
I ran moderated sessions with senior engineers and DevSecOpsDevelopment, security, and operations: teams with the most rigorous review requirements for automated code changes leads. The central finding was that trust in AI wasn't binary. Developers weren't rejecting automated fixes categorically. They were rejecting AI they couldn't reason about. If they could read what the agent did and understand why, they were willing to accept it. That reframed the design problem: the agent didn't just need to produce good fixes, it needed to make its reasoning legible.

Designing the agentic workflow
The core architectural decision was two distinct flows: pull requestA proposed code change that a teammate reviews before it's merged into the main codebase fixes for new issues caught in code review, and BacklogThe accumulated list of existing code issues that predate the agent, separate from new issues caught in code review fixes for remediating accumulated legacy debt at scale. Each needed its own entry point, its own trust signals and its own mental model, because a developer reviewing today's change and a team clearing years of debt are not doing the same job.
Solution
It took three versions to figure out the right shape. V1 was a status indicator: running, complete, failed. In testing, every engineer immediately asked what it actually did and clicked around looking for a log. V2 put the full output into the pull requestA proposed code change that a teammate reviews before it's merged into the main codebase comment. Too noisy, developers couldn't read the signal. V3 was a summary card and a separate pull requestA proposed code change that a teammate reviews before it's merged into the main codebase with the fix, reviewed as a diffA visual comparison showing exactly which lines of code changed between two versions. That separation, the summary to orient and the diffA visual comparison showing exactly which lines of code changed between two versions to scrutinise, was what made it work. No new UI to learn. The familiar artifact became the trust mechanism.
The patches were never the problem. In the beta the agent triggered automatically whenever a quality gate failed, so developers were receiving pull requestsProposed code changes that a teammate reviews before they're merged into the main codebase they had not asked for and treating them as noise. After we introduced user settings and made activation a conscious choice, .
For cherry-picking specific fixes, we initially explored building a selection UI inside the pull requestA proposed code change that a teammate reviews before it's merged into the main codebase comment on GitHub. GitHub's markdown sanitization made that impossible to do safely, and the timing between user selection and agent trigger created . So cherry-picking lives in SonarQube Cloud instead.

The agent advertised at Grand Central, November 2026. Campaign by Sonar's brand team.
Use the arrow keys to move between slides. Built on our paper at ASE 2026, Remediation Experience as a First-Class Citizen in Automated Program Repair
Impact
One customer cleared over 1,000 hours of accumulated technical debt in 45 days. The backlog problem that had felt structurally unsolvable became measurably solvable. The product was featured in Fast Company and won the 2026 AI Tech Award for Best Innovation in AI for DevOps.
Coverage and links

2026 AI Tech Award: Best Innovation in AI for DevOps ↗

Fast Company: AI Code You Can Trust ↗

Join the SonarQube Remediation Agent Beta ↗
