Software factories and code reviews with Harjot Gill
· Summarized
Key takeaways
- Gill believes conventional line-by-line human code review is dead, but software engineers must still review release risk, blast radius, architectural changes, and whether an AI-generated change should ship at all.
- CodeRabbit treats shipping privileges like a driving license: developers who introduce regressions can lose their exemption from human review until they demonstrate reliable judgment again.
- A software factory combines long-running agent goals with automated validation, simulations, progressive rollouts, production monitoring, CI optimization, and continuous janitorial work—not merely interactive coding chat.
- Gill expects software teams to need Facebook- and Netflix-level deployment sophistication even when they have only 30–40 engineers, because agents dramatically increase the volume of changes.
- CodeRabbit spends millions on tokens and infrastructure because Gill believes speed to market has compressed from months to weeks, especially in competitive DevTools markets where larger companies can quickly copy shallow products.
- Gill says the best AI-era engineers have high agency, broad systems experience, and the ability to decide what agents should work on; coding syntax alone is becoming less valuable.
- The current local-agent workflow is constrained by developer hardware and Gill’s sleep, so he expects agent fleets, cloud sandboxes, and follow-the-sun operations to become necessary for sustainable software factories.
Summary
How Harjit reached 5,000 pull requests in a month
CodeRabbit CEO Harjit Gill says his team merged more than 5,000 pull requests in one month after the latest coding agents became capable of real production work. He credits the inflection largely to Codex 5.3 and says both OpenAI and Anthropic models have advanced in lockstep; many engineers use Opus with Claude Code, while he personally uses the Codex desktop app. His own pull requests are mostly not headline features but “hill climbing” work: fixing CI, flaky tests, caching, distributed systems, and other bottlenecks in the software-development lifecycle. He believes the current volume could eventually be ten times higher.
The CEO who runs agents during his commute
Gill says he codes late into the night and keeps roughly 20 Codex sessions open, with only one or two focused on tactical feature work and the rest running longer engineering tasks. During his commute across the Bay Bridge, Tesla Full Self-Driving handles about 97% of the driving while he sends instructions to coding agents from his laptop. He jokes that one AI drives the car while another drives the company. Because CodeRabbit ships so quickly, he says every part of the company must move at agentic speed: the marketing team now stores slide decks as HTML and CSS, and agents create pull requests that deploy Google Ads changes based on campaign performance.
From telecom systems to CodeRabbit
Gill began in a telecom startup that was acquired by Alcatel-Lucent, where he learned distributed systems and high-availability engineering. He moved to the United States for a PhD at the University of Pennsylvania intending to commercialize a university technology transfer. His first company, NetSail, addressed observability for Kubernetes and microservices by observing network events as application calls moved from monoliths into APIs; it was acquired by a public company after one funding round. He later founded FluxNinja, which built load shedding, graceful degradation, and control systems to prevent cascading failures during events such as Black Friday.
Why GitHub Copilot convinced Gill that AI would write most code
At FluxNinja, Gill had used Tabnine, but GitHub Copilot in 2021 was his decisive “aha moment,” even before ChatGPT existed. Because he was still coding and improving developer tooling himself, he immediately saw Copilot producing complex algorithms from short comments and inferred that AI would eventually write most software. CodeRabbit began with the narrower observation that code review would become a bottleneck, drawing comparisons to Snyk, SonarSource, and other GitHub ecosystem tools. Gill says the company underestimated the opportunity because customers who had never bought traditional code-quality products were willing to buy AI code review.
Why Gill abandoned the code editor
Although Gill had spent decades using NeoVim and had published configuration files used by other developers, he says writing code by hand was only a means to reach a product outcome. He now uses the Codex desktop application rather than a conventional editor and does not miss manual coding because agents let him move from an idea to validation quickly. One agent ran for six weeks to build a Git write-ahead log on object storage in Rust, a language Gill says he does not understand, and the resulting system now powers CodeRabbit knowledge bases without him reading its source code.
What “hill climbing” means inside CodeRabbit
Gill describes hill climbing as giving an agent a way to verify its work, then letting it repeatedly improve through nested loops and increasingly realistic environments. CodeRabbit uses TLA+ to model distributed state, deterministic simulations to test interleavings, Lean theorems for some provably correct components, and emulators for cloud APIs. Releases happen every 30–45 minutes; each release is treated like a turn in Civilization, with agents observing logs and performance under feature flags and progressive rollouts before expanding deployment. Agents also monitor production components such as billing, knowledge-base performance, and code graphs, adding telemetry or fixing issues.
A software factory is more than chatting with an agent
Gill distinguishes two kinds of AI development. In one, a human iteratively shapes a UI or feature through individual messages; he can manage only one or two such conversations productively each day. In the other, a software factory gives agents long-running goals such as building a distributed system, removing flaky tests, optimizing CI, or monitoring a production service. He says chat is the wrong interface for managing an agent fleet at scale and that maintenance should move to cloud sandboxes. CodeRabbit’s current limitation is that developers run sessions locally, where machines with 24–48 GB of RAM often fail beyond three or four concurrent agents.
Why human code review is dead but human review remains
Gill agrees that conventional human code review is effectively dead: AI generates too many changes, and many approvals have become “LGTM” theater. He argues that review itself is not dead because AI has removed earlier planning gates and now lets support tickets, designers, background agents, and nontraditional developers open code changes directly. The pull request becomes the place to decide whether work is worth shipping and what risk it carries. Humans should judge blast radius, architectural implications, and changes such as database migrations rather than read every line. CodeRabbit now reviews releases as a whole, with risk indicators, rather than treating each pull request as the primary human gate.
CodeRabbit’s driving-license system for engineers
CodeRabbit lets experienced or reliable developers ship directly to production, including interns in some cases, while others require human review. Gill compares this permission to a driving license: the company tracks regressions back to the pull request that introduced them, measures how long defects remain in production, and removes a developer’s exemption after enough “strikes.” A person who leaves a regression undiscovered for 100 hours may lose the license, enter a period of supervised reviews, and regain independent shipping rights after demonstrating better judgment. Gill says some engineers carefully question and steer agents, while others give vague prompts that lead to reckless re-architecting.
Quality, entropy, and “deslopping” tests
Gill accepts that unleashing agents increases code entropy, security risk, verbosity, and technical debt, but his strategy is to let agents create value quickly and use other agents as automated janitors. These agents refactor bad abstractions, remove flaky tests, and replace redundant unit tests with more useful integration and end-to-end coverage. CodeRabbit’s CI bill rose sharply—one vendor reportedly quoted about $13 million annually—so the company built its own CI system in a week. Gill says CI is now roughly four minutes, versus an ideal target of three, and that agents continuously fight the cost and latency created by more tests, sandboxes, and merge-queue runs.
Formal methods caught distributed-system bugs
CodeRabbit began using TLA+ around February or March while building its Slack bot, which had queues, steerable messages, sandbox shutdown states, and other distributed state transitions. Gill says TLA+ was useful for modeling messages, actors, and interactions rather than ordinary algorithms, and it exposed race conditions missed in the initial implementation. The team paired it with a simulation harness that fuzzed different interleavings. He believes newer reasoning models may reduce the need for such scaffolding, but formal models and simulations remain valuable when agents must build complex distributed systems reliably.
Why CodeRabbit spends millions on models and infrastructure
Gill estimates his own AI usage at $250,000–$275,000 per month, with CodeRabbit spending several million dollars monthly on tokens plus substantial sums for CI, sandboxes, and compute. The company routes workloads across models: expensive models handle deep reasoning, while cheaper ones prepare context and explore code. He says model evaluation is itself a bottleneck because releases arrive every few weeks, and CodeRabbit uses an ensemble rather than letting customers choose a model. Fine-tuning models proved short-lived as new frontier models displaced the gains, so the company focuses on “fine-tuning the harness”—the context, code graphs, and workload routing around the models.
Why Gill thinks $8 million seed rounds may be too small
Gill argues that venture-backed software startups competing for a market may need more capital because their bottleneck has shifted from engineers’ salaries to quality tokens, CI, sandboxes, and compute. A single engineer can drive $2–3 million in annual token spend, and small teams may need to move from idea to market in one or two months before a larger company copies them. The host pushes back that Gill’s spending reflects an unusually AI-intensive DevTools business and asks what value the expenditure produces. Gill answers that CodeRabbit is moving faster, replacing vendors with internal systems, finding customer bottlenecks sooner, and potentially creating adjacent products such as CI.
Hiring for agency, range, and strategy-game experience
Gill says CodeRabbit is hiring sales aggressively because customers still need human guidance to deploy these systems, but it is rethinking software-engineering hiring. His provocative criteria are either having shipped at least 1,000 tasteful pull requests in 30 days or having played 500 hours of simulation games such as Civilization, Age of Empires, Transport Tycoon, or Factorio. He believes running agents resembles a strategy game: each release is a turn, and agents are workers improving different parts of the civilization. The company values high agency, side projects, systems thinking, and broad experience because agents can provide depth while humans decide what problems are worth solving.
War rooms, burnout, and the cost of always-on agents
CodeRabbit uses cross-functional “war rooms” in which product managers, designers, and backend and frontend engineers agree on a plan in a shared Slack canvas and craft the experience together in real time. Gill admits that the current workflow has damaged his sleep: agents stall with questions, so he sometimes wakes at 3 a.m. to unblock them, describing the process as freeing a stuck Roomba or tending livestock. He calls this polyphasic sleep but agrees it is not sustainable and expects cloud-based factories and follow-the-sun teams to replace local sessions. He says burnout came during an earlier startup when hard work produced no outcome; CodeRabbit’s growth, customer response, and funding make the current intensity feel rewarding.
Gill’s advice for engineers entering the AI era
Gill says the most valuable trait is agency: people who are not building side projects despite how easy software creation has become are a hiring red flag. He also values a range of experience because agents can supply deep implementation work, while a broadly experienced engineer can direct them across distributed systems, infrastructure, and product areas. His broader lesson is that software has always been a means to create value, and AI compresses the path from idea to validation. Asked for a book, he recommends Nassim Nicholas Taleb’s The Black Swan, saying the current moment is similarly difficult to predict and that AI capabilities have already exceeded what he would have expected five years ago.
Sponsors
- TurboPuffer · TurboPuffer is presented as a vector and full-text search engine built on object storage, offering very large scale, low latency, and low operating costs. The host says he used it with Codex to build a better Pragmatic Engineer search in three hours, with namespaces that can scale to hundreds of millions and support multi-tenant AI products.
- Entire · Entire is described as a Git forge for agent-human collaboration. Its “trails” connect intent, code changes, and agent sessions across repositories; customizable evals act as merge gates, and continuous memory lets agents search past coding sessions for the reasons behind earlier changes.
- WorkOS · WorkOS provides enterprise infrastructure including SSO, SCIM, RBAC, and Airlock, an intent-based authorization layer for AI agents. Airlock evaluates what an agent is trying to do, can enforce plain-English policies, and can escalate risky actions to a human for approval.
Show notes
Brought to You By:
• turbopuffer– a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable.
• Entire – The Git forge for agent-human collaboration. Built for the scale and throughput of agentic coding.
• WorkOS – everything you need to make your app enterprise-ready.
—
In this conversation, we step into the world of an AI-pilled CEO to explore how their startup works. This episode might as well be a way of succeeding that contradicts the growing convention that AI spending costs are too high and must be clamped down on.
Harjot Gill is founder and CEO of CodeRabbit, an AI code review business, and he shipped over 5,000 pull requests last month, spending on AI at a monthly run rate of $250,000(!) It’s certainly not a conventional approach and Harjot gets into detail about the thinking and reasoning behind it.
In this episode of The Pragmatic Engineer Podcast, we talk about his background in building software and founding infra startups for the last 30 years, and how things changed into the era of building software factories at CodeRabbit. We talk about why he believes human code review is dead, and how his team maintains quality while shipping at unprecedented speed.
We also get into the rising costs of AI development, why Harjot is convinced that tech startups need more funding than ever, and how AI is changing recruitment and the skills for success.
Timestamps
00:00 Intro
03:17 How Harjot shipped over 5,000 pull requests in a month
08:46 Harjot’s path into tech and his first startups
12:25 Early conviction around AI and founding CodeRabbit
14:40 Switching to AI coding
20:35 Software factories explained
25:37 What’s replacing human code review
38:44 Technical debt and deslopping tests
46:05 Evals
50:25 Formal methods
52:05 AI cost at CodeRabbit
54:57 Startup funding in 2026 and the value of AI spend
1:08:20 Hiring
1:13:03 Work pace, sleep, and burnout
1:21:55 Skills for the AI era
1:24:30 Book recommendation
—
The Pragmatic Engineer deepdives relevant for this episode:
• Inside OpenAI’s agentic software factory
• What is happening with code reviews?
• What’s the ROI of software engineers’ spending on AI?
• Why Ramp built its own in-house coding agent, Inspect
• AI SRE: what is it, how could it change on-call – and does it work?
• Context engineering with Dex Horthy
• Formal methods with Hillel Wayne
• Building Codex with Tibo Sottiaux
—
Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email [email protected].
Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe
Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account