Agentic AI Continuous Integration (AI-CI): 6 Case Studies

Agentic AI continuous integration (AI-CI) header with six case studies, three book covers and a November gratitude banner, by Dr. Harish Kotadia, Ph.D.

Agentic AI continuous integration (AI-CI) now has a public record. Since February, six accounts have described what happened when engineering teams put agents in the build pipeline. All six report gains. But they agree on more than their numbers suggest.

In every account, a gate the agent did not control stood between its work and the main branch. So AI-CI, on this evidence, is less about faster agents than about who decides what merges. Each case below sets out the problem, the solution and my point of view.

Case Study 1: A compiler that kept breaking its own work

The problem: A researcher at an AI lab set 16 agents to build a C compiler in Rust with almost no human help. He described the project in February. The agents ran nearly 2,000 sessions and produced about 100,000 lines for just under $20,000. But as the code grew, they often broke working features while they added new ones. They also lost time on long test runs.

The solution: The researcher built a CI pipeline with stricter enforcement, so new commits could no longer break existing code. He added a test each time the agents showed a recurring failure. He also gave them a fast mode that ran a random sample of the tests. The compiler now passes about 99 percent of most test suites, though the post says it is not a drop-in replacement for a production compiler.

My PoV: On my Five-Stage Roadmap this project began at Piloted and turned Governed the day the pipeline went in. The gate arrived after the failures, and that is the usual order. In my six-layer framework it is an intent-layer lesson. As I wrote in The Governed Loop, “The intent layer says what the agent is asked to do and why.” For these agents the tests were that statement, so the test checker had to be nearly perfect.

Case Study 2: A first responder that cannot merge

The problem: The same lab’s engineers now ship about eight times as much code per quarter as they did from 2021 to 2025, according to an August post by an engineer on its build team. More code means more pipeline failures, and many land at night. One evening about 44 tests stopped running on a new service.

The solution: The team put an agent in its incident channel with its own service account and access to the monitoring tools. The agent posts its first evidence-based analysis a median of 14 minutes after an incident opens. In the fastest cases it named the root cause in four minutes. That evening it traced the missing tests to a feature flag, and then a colleague reverted it. Its code fixes arrive as pull requests, and a human on call reviews and merges them. The agent also keeps a file of lessons and reads it before each new case. One entry reads, “query the data first, then theorize.”

My PoV: I place this at Governed on the roadmap, and I think it is the cleanest design of the six. It also shows the autonomy layer of the six-layer framework at work. The Governed Loop says, “The autonomy layer says how far it may go without a person, and how that room is taken away.” Here the agent diagnoses, a person decides, and the lessons file becomes a record of each handoff. Still, I hold one doubt. Nobody has published how often that first report is wrong.

Case Study 3: Six weeks and 213 merged fixes

The problem: A second AI lab had a steady stream of failing tests in its pipeline. Someone had to reproduce each failure, find the cause and chase the owner. An engineer described the work at the lab’s developer conference this month, according to a published account of the talk.

The solution: The engineer gave a coding agent a prompt of about 200 words. It told the agent to watch the pipeline, reproduce failures, propose fixes and open pull requests. The agent ran for more than 1,000 hours over six weeks. It opened more than 100 pull requests a week and sent more than 600 chat messages to code owners. In the end 213 fixes merged. The run cost about $32 an hour in tokens at first, the account says. But the hardest bug, a flaky graphics-chip test, took days to reproduce, so the agent had to ask the researchers who owned it.

My PoV: The intent fits in 200 words, and I like that. People still set the merge rules, so this is Governed on my roadmap. My question sits in the evidence layer of the six layers. The book puts it this way: “The evidence layer proves the thing worked and what it cost.” The cost is on record. But 213 merges against more than 600 pull requests is the number I would ask about, if that weekly rate held.

Case Study 4: A payments company reviews every one

The problem: A large payments company wanted agents to finish whole tasks unattended. Its code base carries more than three million tests, so each pipeline run is costly. The team also found that extra rounds brought less each time, according to its engineering blog.

The solution: Each agent runs on an isolated machine and gets a small set of tools. It cannot reach real user data, production services or the open network. Linters run before the branch leaves that machine. Then the agent gets two rounds in the pipeline, and after that a human operator takes over. The company now merges more than 1,300 agent-written pull requests a week, and humans review every change.

My PoV: This is Governed at scale on the roadmap, with the best Execution Boundaries of the six. It is also the enforcement layer of my six-layer framework done properly. In the book’s words, “The enforcement layer says what it cannot do, whatever it is told.” So the agent can run without asking, because its mistakes stay on one machine. That is the logic behind a hook an agent cannot talk past and a network allowlist. One ride-hailing company’s software factory works the same way.

Case Study 5: Fifteen flaky tests, twelve fixed

The problem: An API gateway vendor had tests that failed at random. Each one forced reruns, and so engineers waited while the pipeline fleet stayed busy. One of the tests had been flaky for five years, the team wrote in June.

The solution: The team aimed an agent at its 15 flakiest tests. The agent read the failure logs for each test and proposed a fix. Then every fix had to survive a streak of reruns, and a smaller agent checked each rerun. Only after that did the workflow open a pull request for normal human review. The agent fixed 12 tests and gave up on three. Each fix took four to five hours, mostly waiting on the pipeline. The work also turned up two real bugs in the product code.

My PoV: On my roadmap this case comes closest to Assured. The fix has to prove itself before a person ever sees it, and the team said how often the agent failed. That is the evidence layer of the six layers doing its job. The Governed Loop states the rule flat: “The model never decides the outcome. The controls around it do.” But the team published no before-and-after rerun counts, so I treat the wider gain as a claim.

Case Study 6: A retailer shortens the loop

The problem: A large online home-goods retailer runs more than 25,000 builds a day. When a build failed after a commit, the developer had to stop, read the logs and try fixes by hand. So the pipeline became the bottleneck, according to its cloud vendor’s customer story.

The solution: A system built on a large language model reads the logs and searches a history of similar failures. Then it sends the developer an explanation and a suggested fix, in chat or in the code editor. The developer decides whether to apply it. Fix time fell from about 30 minutes to under five, the story says. Recovery time dropped 58 percent, from 26 minutes to 11, and about 70 percent of developers use it.

My PoV: This is Piloted on the roadmap, because the system only advises. I think that is the right place to start. It also keeps the capability layer of the six-layer framework small. The book defines that layer in one line: “The capability layer says what it can reach.” Here it reaches logs and past failures, and the developer does the rest. But the 31,000 engineering hours a year in the story is a forecast, so I would quote the measured recovery time instead.

Where the six cases sit on my roadmap

My Five-Stage Roadmap runs from Prompted to Piloted, Governed, Assured and Autonomous. The retailer is Piloted. Four cases are Governed: the compiler, the on-call agent, the six-week run and the payments company. Only the gateway vendor comes close to Assured. None is Autonomous. So AI-CI is a Governed-stage practice today.

What my scoring method shows

In Earned Autonomy I score deployments on five pillars. They are Intent Specification, Identity and Access, Execution Boundaries, Outcome Assurance and Operational Accountability. These AI-CI cases are strong on three of them. Intent is short and written down. Boundaries are real, because the agents cannot write on their own. Accountability is clear too, since every merge has an owner.

Outcome Assurance is the weak one. Only the gateway vendor said how often its agent failed, at three of 15. That matches my wider corpus of 507 cases, where Outcome Assurance caps 50.7 percent of deployments and none reaches Autonomous. So the next control I would add is a nightly eval suite for the agent. In regulated loan origination, I would want its results in writing.

One rule runs through The Governed Loop, and these cases bear it out. “You cannot govern a probability distribution. You can govern the code around it.” Instructions in, results out was IT; intent in, outcomes out is agentic AI. So AI-CI is where an outcome gets checked before anyone trusts it.

Which gate in your pipeline can an agent still open on its own?

Subscribe to the Blog: I publish a new post every weekday on one agentic AI governance question. Enter your email and each post arrives in your inbox the moment it goes live.

My Books: Three books on agentic AI for regulated enterprises: Intent In, Outcomes Out, Earned Autonomy and The Governed Loop. Reading order, formats and buy links are on one page.

Three books on agentic AI for regulated enterprises by Dr. Harish Kotadia, Ph.D.: Intent In, Outcomes Out; Earned Autonomy; The Governed Loop, with their mybook.to buy links on a Thanksgiving background

© Dr. Harish Kotadia, Ph.D., All Rights Reserved, 2026

Dr. Harish Kotadia, Ph.D., is an Enterprise AI Architect with 20+ years of IT consulting experience serving Fortune 100 clients, specializing in agentic AI systems built on Anthropic Claude, AWS Bedrock, and Google Vertex AI.

Disclaimer: This blog post is based on publicly available academic publications, vendor documentation, open standards, and news items from reputed media sources linked above. This post is intended for educational purposes, to help the enterprise agentic AI community build a shared vocabulary from public, authoritative sources.

Views and opinions expressed here are my own and do not represent those of any employer or client, past or present. The analysis presented is my independent interpretation of the published sources linked above and does not constitute legal, financial, or consulting advice of any kind.

 


Discover more from Agentic AI Governance | Dr. Harish Kotadia, Ph.D.

Subscribe to get the latest posts sent to your email.

Leave a Reply