How We Built Augment’s Software Factory
How we chose which bottlenecks to automate, where people stayed in the loop, and what changed across engineering.
I’m a researcher and principal engineer at Augment Code by Harness. I proposed Augment Code Review and led the team that built it 0->1 and scaled it across enterprises. I now lead the development of Cosmos agents. We’re designing the AI-native SDLC so engineering teams can build software factories that automate all SDLC stages from requirements through production.
Previously, I worked in the Programming Systems group at Uber, where I built AI-powered developer tools used by thousands of engineers.
I enjoy working at the intersection of engineering, research, and product, transforming how software engineering is done with AI.
I earned my PhD in Computer Science from UCLA, where I worked with Jens Palsberg on program analysis, automated program repair, and developer tools. I hold a B.Tech. and M.Tech. in Computer Science from IIT Madras.
The most successful automated code review tools were deterministic tools such as compiler-based type systems, static analyses, and linters. They were cheap and reliable, and they worked really well on a subset of bugs and vulnerabilities, but were far from guaranteeing the overall correctness of the software. See my PhD dissertation linked below for a brief overview.
With the advent of reasoning models starting with OpenAI’s o1, LLMs could finally reason about code, and AI code review tools (like uReview at Uber, linked below) started catching many bugs that previous automated tools could never catch. We even recommended single-file fixes. Uber developers quickly adopted these tools and found a lot of value.
However, there were two key challenges at this stage. First, how do you use hallucinating, unreliable LLMs to generate review comments with few false positives? Second, how do you pull in the right context from the rest of the file and other files to review a given file in a pull request (PR)? Remember, we didn’t have agents yet, and context windows were small. The longer-term goal of “catching all important bugs in a PR” was still far out of sight.
Agents fundamentally changed code review. Agentic harnesses like those from Augment and Cursor, and later Claude Code and Codex, could actually run multi-step analyses and read code across files. “Catching all bugs” seemed within sight, but LLMs still hallucinated occasionally, didn’t follow instructions reliably, and generated lots of noisy, low-value suggestions that developers never fixed.
The key challenge was achieving both high precision (most reported bugs were real) and high recall (most bugs were caught). Naive approaches usually got only one or the other. Evals helped us measure precision and recall and improve both by tuning the agent harnesses.
As model labs got access to more data and code review evals for reinforcement learning, LLMs got much better at doing code reviews natively. All the intelligence and secret sauce that went into agent harnesses to maximize coverage (i.e., achieve high recall) and minimize false positives (i.e., achieve high precision) slowly started becoming redundant as the model layer absorbed it. Simple prompts with vanilla coding agents like “Review this PR, aiming to catch all issues while minimizing false positives” got very high recall and precision.
However, we quickly realized that even if an agent could “catch all important bugs in a PR,” developers were still reading every line of code and manually testing PRs. The PR-to-merge phase was still not significantly faster. That’s when we introduced more agents to automate every facet of the PR-to-merge phase. We used one agent to auto-approve low-risk PRs, one agent to review code line by line, one agent to surface architectural decisions and build understanding, one agent to run end-to-end tests, and one to address review comments and fix CI failures and merge conflicts.
As coding and code review were starting to get fully automated with agents, most model labs and AI-native startups built software factories. Agents drove all stages of the SDLC, from requirements to tickets to PRs to production, and used production signals such as metrics and feedback to generate new requirements, tickets, and PRs.
The goal was to have agents drive most of the SDLC and pull in humans only for judgment calls. See our blog on how we did this at Augment to achieve a 4.5x speedup.
Software factories will become widespread among AI-forward companies, and the focus will be on automating as much of the work people do across the SDLC as possible. The main challenges are building reliable long-term memory, developing self-improving agents, and enabling agents to make more and more design decisions and judgment calls autonomously.
Basically, the whole SDLC will move ever closer to 100% automation. People will still need to define the company’s mission and values and decide how to pursue that mission.
Harness / Augment Code
Agents take on review, verification, and triage as work moves from requirements to production. Engineers own decisions about design, merges, and incident remediation.
Augment Code
A code reviewer needs enough context to catch real bugs and enough precision to keep developers reading its comments. Offline evals and CodeReviewBench measure that tradeoff from different angles.
Uber
Two tools brought automated repair and AI review to 4,500 engineers. One turned human review comments into 50,000+ fixes. Engineers addressed 10,000+ correctness bugs flagged by the other.
Read about uReviewHow we chose which bottlenecks to automate, where people stayed in the loop, and what changed across engineering.
What context retrieval and evaluation contribute to useful code review.
My UCLA research looked at faster program analysis, fewer false positives, and automated repair. Recent work asks how to measure the quality of AI code review in practice.
View publications and dissertationI like open-ended engineering problems where figuring out what to solve is part of the work. I draw on theory, heuristics, and experiments depending on what helps the tool work under real constraints.
Outside work, I like reading and talking about philosophy, psychology, and economics. I also like traveling to see friends and family.
On a personal note, I’m married to Kriti Bapnad Utture.