Software Engineering at Google was published in 2020, before AI coding agents existed as a product category. Read now, as investors value agent makers in the tens of billions, it is the clearest account of the costs that cheap code leaves behind. It also shows where Google’s playbook stops working once the author of a change is a model.
Last week Bloomberg reported that Cognition, the company behind the Devin coding agent, is in talks to raise money at a $75 billion valuation, two months after a round at $48 billion (as summarised by The Next Web; the talks are unconfirmed and terms could change). Behind valuations like that is one simple pitch: software agents will write far more code, far faster, than human teams can.
A six-year-old book has quietly come back into that argument. Software Engineering at Google, curated by Titus Winters, Tom Manshreck and Hyrum Wright and published by O’Reilly in March 2020, is free to read in full on Google’s Abseil site under a Creative Commons licence. It found a new audience after Winters, its lead author, appeared on The Pragmatic Engineer podcast on October 29. One widely shared post on X called the book “more relevant today than when it went out.” I read the free online edition, working closely through the chapters on time, measurement, code review, testing, deprecation, static analysis, dependency management and large-scale change. That edition has no page numbers, so references below are to chapters.
The claim holds up, but not quite for the reason most people share it. The book does not tell you how to manage AI agents. It tells you what code costs once it has been written, and that cost is exactly what the agent boom makes larger.
What the book argues
The thesis comes in the first chapter, written by Winters: “Software engineering is programming integrated over time.” Programming is producing code. Software engineering is everything needed to keep that code useful while the libraries, hardware, languages, teams and business around it keep changing. Winters notes that reasonable answers to the question of a program’s expected life span vary “by roughly a factor of 100,000”, from minutes to decades. A script that runs once is just a programming problem. A system that has to survive ten years of dependency upgrades is not.
From there, the book builds a vocabulary that has spread well beyond Google. The best known item is Hyrum’s Law (Chapter 1): “With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.” Next is the “Beyoncé Rule” (Chapters 1 and 11): if an infrastructure change breaks your product but no test in the shared continuous-integration system caught it, the fault is yours, because “if you liked it, you should have put a CI test on it.” Then “shifting left”, the claim that a defect is cheaper to fix the earlier in the workflow it is found. The deprecation chapter adds the line that has become a slogan: “code is a liability, not an asset.”
How it is built
The book has 25 chapters by more than two dozen Google engineers, plus an afterword, arranged in parts titled Thesis, Culture, Processes, Tools and a brief Conclusion. The culture section covers teams, knowledge sharing, equity and leadership. The process section covers style guides, code review, documentation, testing (in four chapters) and deprecation. The tools section describes Google’s own systems: version control and the monorepo, Code Search, the Blaze build system, the Critique review tool, the Tricorder static-analysis platform, dependency management, large-scale changes, continuous integration and delivery, and compute as a service.
It is an anthology, and it reads like one. Some chapters are tight arguments, such as Winters’s on dependency management and Hyrum Wright’s on deprecation and large-scale changes. The tools chapters lean heavily on descriptions of Google-internal systems most readers will never use. The preface is clear about what is missing: software design, API design, project management and “security hardening” are all left out on purpose. Readers looking for a security book should go elsewhere.
Why it reads differently in 2026
The book’s argument rests on the assumption that writing code is not the scarce resource. Footnote 16 of Chapter 1 puts it almost in passing: “an average software engineer (SWE) produces a pretty constant number of lines of code per unit time,” so a fixed team grows a codebase in a straight line, and “if your tasks require effort that scales with lines of code, that’s concerning.”
Coding agents remove that constant. An engineer working with an agent no longer produces a steady number of lines. Under the book’s own logic, any maintenance task whose cost grows with the size of the codebase (upgrades, migrations, reviews, flaky tests) now grows faster than the team. The measurement chapter (Chapter 7, by Ciera Jaspan) brings in Edsger Dijkstra’s warning that lines of code should be counted as “lines spent,” not “lines produced.” In 2020 that read as a jab at bad management metrics. In 2026 it describes the economics of agents.
The evidence since publication fits the book’s warning. A difference-in-differences study presented at the MSR 2026 conference (He et al., “Speed at the Cost of Quality”) compared GitHub projects that adopted Cursor with matched projects that did not. It found “a statistically significant, large, but transient increase” in development velocity and “a substantial and persistent increase in static analysis warnings and code complexity,” which the authors link to a later slowdown. The study covers open-source projects that adopted Cursor early, not large companies, so its numbers should not be generalised too far. Google’s own DORA research team reported something similar at industry scale in its 2025 report, based on a survey of nearly 5,000 technology professionals. AI adoption was now positively associated with delivery throughput but still had “a negative relationship with software delivery stability.” DORA’s explanation reads like a summary of the book: “Without robust control systems, like strong automated testing, mature version control practices, and fast feedback loops, an increase in change volume leads to instability.”
Winters makes a sharper version of the point on the podcast. In the episode notes, Gergely Orosz summarises Winters as saying that engineers at other companies describe the same pattern: code output up hugely on a year ago, outages up about 30%, and the number of features shipped flat. That is a practitioner’s impression from conversations, not a measured figure, and it should be treated that way. The same notes record him making the opposite case too: that AI’s real value lies in projects so ambitious they “didn’t used to make sense” before.
What it gets right
Testing is what makes change possible. The testing chapter (Chapter 11, by Adam Bender) has the book’s best case study. In 2005, more than 80% of production pushes of the Google Web Server, which serves Search, “contained user-affecting bugs that had to be rolled back.” After the team’s tech lead required tests with every change, emergency pushes fell by half within a year, even as the number of changes hit records. This is Google’s own account of its history, not an independent audit, but the mechanism holds up: tests are a shared store of everyone’s knowledge about what must not break. That matters more when the author of a change has no memory of the codebase between sessions.
There is a gap between the book and the podcast here that is worth noticing. Orosz’s notes describe Google as having “mandated” tests across the organisation after Search slowed down. The book tells a more bottom-up story, though the two accounts may describe different stages of the same history. The requirement started as one team’s policy, and the company’s Testing Grouplet “considered asking for a testing mandate from senior leadership but quickly decided against it,” choosing to spread testing by showing that it worked. Teams that now want to mandate tests for agent output should read the book’s version first.
Small changes and one reviewer. The code review chapter (Chapter 9, by Tom Manshreck and Caitlin Sadowski) says “small” changes should be about 200 lines, that most changes get first feedback within about a day, and that most reviews have exactly one reviewer. The process only scales because changes are small. The obvious implication, which the book never had reason to state, is that an agent producing 2,000-line pull requests is not sped up by Google-style review. It breaks it.
Noise kills trust. The static analysis chapter (Chapter 20, by Sadowski) is the most relevant section for anyone building AI code reviewers, even though it is about linters. Google’s Tricorder platform only runs checks with under 10% “effective false positives”, defined as warnings that developers do not act on, whether or not they are technically correct. The overall rate was “just below 5%.” The same reasoning applies to an AI reviewer that leaves 20 plausible comments on every pull request. If developers ignore its comments, it has failed, however clever they are.
Change is a habit. The large-scale changes chapter (Chapter 22) points out that as a codebase grows, “the largest atomic change possible counterintuitively decreases.” Google responded by splitting sweeping changes into many small, independently tested pieces, which it treats as “cattle” rather than “pets”: disposable, regenerable and easy to roll back. It is the pattern any agent that touches a large codebase will need to follow if its changes are to be safe to land.
What it gets wrong, or could not see
Its trust model for machine-written code does not carry over. The book already discusses automatically generated changes, and its rule is revealing. Reviewers of a machine-generated change are told to limit their comments to concerns about their own code, because “the overall process generating these changes has already been reviewed” (Chapter 9). That works when the generator is a deterministic refactoring tool whose logic a group of experts approved once. A language model is not like that. The same prompt can produce different changes, and there is no single process you can review in advance. The book’s scaling trick, reviewing the tool instead of every output, is the part the agent era cannot simply copy. Its other safeguards (tests, small changes, low-noise analysis) have to carry the weight.
It is a portrait of a company that very few organisations resemble. The foreword by Camille Fournier warns that copying Google’s formula would be “foolish,” and the book often agrees. But many chapters depend on things most teams lack: a single monorepo, a One-Version Rule for dependencies, a build system that knows the whole dependency graph, and teams dedicated to tooling. Even Winters concedes that the “Live at Head” dependency model he favours is “largely unproven at scale” (Chapter 21). A startup running agents across a dozen repositories gets the philosophy, not the plumbing.
It is Google writing about Google. The figures are internal and mostly cannot be checked: the 0.15% flaky-test rate, the GWS rollback history, the review times. The tone is self-critical in places (“Google is still learning how best to deprecate”), but outsiders have no way to check the numbers. Read it as a well-documented practitioner account, not as evidence that has been tested independently.
It is a 2020 snapshot. The afterword by Asim Husain lists artificial intelligence among the “new technologies” Google still has much to learn about. That is now the central question for the profession, and there is no second edition that answers it.
Who should read it
Engineering leaders deciding how far to let agents into a production codebase should read Chapters 1, 9, 11, 15, 20 and 22, in that order. Together they give a precise vocabulary for the costs that a productivity dashboard counting merged pull requests will miss. Developers early in their careers will get a great deal from the four testing chapters. Readers who want a single-voice argument, or practical guidance on writing prompts and agent harnesses, will find the book long, uneven and silent on those topics.
The verdict
Software Engineering at Google is not a guide to AI-assisted development, and it should not be sold as one. It is the best free account of why producing code was never the hard part of software. In 2026 that is the most useful thing a book on this subject can say. The agent industry’s valuations assume that more code means more value. The book’s answer, which it grounds in two decades of Google’s own experience and which recent studies on AI-assisted development broadly support, is that code is a liability that pays off only if you can still change it safely years later. The question it leaves open is whether the safeguards it describes, built for human authors writing small changes at human speed, can be rebuilt fast enough for authors that never stop typing.
Sources
- Titus Winters, Tom Manshreck and Hyrum Wright (curators), Software Engineering at Google: Lessons Learned from Programming Over Time (O’Reilly, 2020), free online edition, CC BY-NC-ND 4.0; chapters cited: Preface, Ch. 1, Ch. 7, Ch. 9, Ch. 11, Ch. 15, Ch. 20, Ch. 21, Ch. 22, Foreword, Afterword
- Gergely Orosz, “Software engineering at Google & CS education with Titus Winters”, The Pragmatic Engineer (October 29, 2026)
- Hao He et al., “Speed at the Cost of Quality: How Cursor AI Increases Short-Term Velocity and Long-Term Complexity in Open-Source Projects” (arXiv 2511.04427; MSR 2026)
- Google Cloud, “Announcing the 2025 DORA Report” and DORA, State of AI-assisted Software Development 2025
- The Next Web, “Cognition in talks to raise at a $75bn valuation, Bloomberg reports” (November 21, 2026)
