Our partner's developers were building a national government data-integration platform. They owned the core. We brought the AI Software Factory alongside them, so that every change was reviewed and tested by AI, and whole modules were built by agent production lines.
The challenge
Dozens of repositories, a large backlog of use cases, fixed demo dates and a limited number of senior engineers. The partner's team of about 20 developers needed consistent review and QA on a national platform, plus extra build capacity that did not depend on hiring.
What we built
Quality gates for the human team.
- An AI code reviewer on every merge request: a summary, one-click inline fixes, separate merge requests for larger fixes, and a dependency scan. It has completed 1,623 review jobs on 899 merge requests, with a median of 7.7 minutes per review, a peak of 136 reviews in a day and a 94% success rate.
- An AI QA bot that generates UAT cases for every menu item from the BA specifications, runs them and files bugs and security tickets. It has filed 1,006 issues, both security findings and bugs, across 13,491 test-case executions. The approved UAT workbook has grown to 6,021 cases.
- A QA bench where a manual tester runs an approved case against staging and files a ticket with screenshot, video and logs in one click. Its 177-check regression suite runs in about 6 minutes.
Production lines that build. The factory grew from 8 lines to 26 lines in four days, one per repository, with up to 30 agents running at once behind a shared waiting room. The backend repository alone shows about 800 factory-agent commits. The factory also designed and built technical configuration screens that had never been specified, and sent them back to the BA prototype as merge requests.
How we delivered it
Each line runs intake, plan, develop, QA and review, loops until the work passes, then merges or escalates. Agents work in isolated git worktrees with their own preview stacks. A QA agent drives a real browser through every UAT case and keeps screenshots as evidence.
The factory is built to keep running:
- Durability. Lines run on Temporal. In a test, a worker was killed at step 3 of 12; the run resumed at step 4.
- Self-healing. A "doctor" checks every line, host and environment every 3 minutes. Known faults are fixed automatically; anything else spawns a fixer agent.
- Self-improvement. Every night an improver agent reads the day's lessons and updates prompts and lesson files.
Measured data drove the design. Batching 8 to 15 related items per work order made features about 6 times faster and about 10 times cheaper. Parallel merging cut the backend merge gate from 4 hours to 81 minutes.
Results
- 26 production lines and 30 concurrent agents, scaled up in 4 days.
- 1,600+ AI code reviews at a median of 7.7 minutes each.
- 1,000+ issues found by AI QA before users saw them.
- A security re-audit of the newest code in one day, with most findings fixed the same day.
- 32 repositories audited for production readiness.
See the same factory deliver a government KPI platform in about 27 hours, or ask us how it would work on your code base.


