← Back to Library

Why AI hasn’t replaced software engineers, and won’t

In an era where headlines scream about artificial intelligence devouring white-collar jobs, Arvind Narayanan & Sayash Kapoor offer a necessary reality check: the data simply does not support the narrative of mass displacement in software engineering. Their analysis cuts through the noise by distinguishing between the hype cycle of "AI washing" and the actual mechanics of how code gets built, arguing that while machines can write syntax, they cannot yet navigate the human complexity of deciding what to build or taking responsibility for what ships.

The Myth of AI-Driven Layoffs

The authors begin by dismantling the most pervasive fear—that once AI reaches a certain capability threshold, it will trigger a wave of terminations. They point out that this narrative is often a cover story for financial distress rather than technological inevitability. Narayanan & Kapoor write, "The stories of AI-driven mass layoffs in software seem to be classic 'AI washing'". This framing is crucial because it shifts the blame from technology to corporate strategy.

Why AI hasn’t replaced software engineers, and won’t

Consider the case of Block, where founder Jack Dorsey claimed AI was enabling "smaller and flatter teams." The reality, as Narayanan & Kapoor reveal, was a company under massive financial pressure after over-hiring during the pandemic. A data scientist on their team noted that the firm had "shoved AI down everyone's throats" yet saw "very limited gains in productivity." This disconnect between executive rhetoric and ground-level utility is a recurring theme. Similarly, when Snap CEO Evan Spiegel attributed layoffs to AI generating 65% of new code, the authors note that the cuts were actually driven by activist investors demanding cost reductions, targeting roles like augmented reality that had nothing to do with coding.

The evidence extends beyond anecdotes to hard regulatory data. Narayanan & Kapoor highlight a striking statistic from New York State: despite over 160 companies filing mass layoff notices under the WARN Act in a single year, "Not a single one checked the AI box" until much later, and even then, only one company did so. This suggests that when forced to be transparent, executives admit their workforce reductions are financial, not technological.

59% of U.S. hiring managers admitted they emphasize AI when explaining hiring freezes or layoffs because it plays better with stakeholders than citing financial constraints.

This observation is particularly damning for the current discourse. It suggests that the fear of replacement is a narrative tool used by leadership to manage stock prices and investor sentiment, rather than a reflection of operational reality. Critics might argue that this data lags behind rapid technological change, but the authors counter that even in anticipation of AI, actual implementation-driven cuts are rare—only 2% of executives have made large reductions based on real deployment.

The Decide-Execute-Deliver Sandwich

If layoffs aren't the primary mechanism, how does AI actually impact productivity? Narayanan & Kapoor introduce a compelling mental model: software engineering as a "decide-execute-deliver sandwich." They argue that while AI compresses the middle layer—execution—it leaves the decision-making and delivery layers largely untouched.

The authors explain that writing code has never been the bottleneck. Citing studies, they note that developers spend surprisingly little time actually coding, with estimates ranging from 9% to 61%. The real friction lies in understanding requirements, debugging complex systems, and ensuring accountability. Narayanan & Kapoor write, "AI compresses the 'execute' layer — the middle of the sandwich — but the other two layers resist automation in a way that will not be overcome by capability improvements alone." This distinction is vital because it reframes the value of an engineer from a coder to a supervisor and architect.

This argument gains historical weight when viewed through the lens of Fred Brooks's classic work, The Mythical Man-Month. Just as Brooks famously argued in 1975 that adding manpower to a late software project makes it later due to communication overhead, Narayanan & Kapoor suggest that adding AI without addressing the "decide" and "deliver" layers creates a similar bottleneck. The complexity of coordination remains human-centric.

Writing code isn't, and never was, the bottleneck... The task-breakdown surveys point at things like meetings or debugging.

The authors push back against the idea that better models will eventually solve this. They argue that as AI takes over more execution tasks, the value of human decision-making actually migrates upward to more complex problems. "Once a decision can be delegated to AI, it is no longer a source of competitive advantage," they note, implying that the ceiling for automation is not technical but structural.

Accountability and the Human in the Loop

Perhaps the most profound insight concerns accountability. Even if an AI could theoretically write perfect code, who takes the blame when it fails? Narayanan & Kapoor argue that liability laws and sector-specific regulations create a natural barrier to full automation. "We don't have to cede control to AI," they assert, emphasizing that society can choose to keep humans in the loop through norms and policy.

They draw an analogy to industrial machinery: as more cognitive heavy lifting is delegated to agents, the engineer's role becomes analogous to a crane operator—supervising the machine rather than pulling the lever. The authors caution against the "man bites dog" stories of AI deleting databases, noting that these viral incidents are rare precisely because they represent irresponsible behavior that the community actively guards against.

If it's in the news, don't worry about it.

This perspective challenges the fatalism often found in tech circles. It suggests that the speed of AI adoption is not an unstoppable force but a variable we can manage through institutional design. However, a counterargument worth considering is whether market pressure will eventually override these safeguards, forcing companies to cut corners on safety to compete with fully automated rivals.

Bottom Line

Narayanan & Kapoor provide a robust defense of the software engineering profession by grounding their argument in labor data and structural analysis rather than speculation. Their strongest move is exposing "AI washing" as a corporate narrative device, while their most enduring contribution is the "decide-execute-deliver" framework that clarifies where human value truly lies. The biggest vulnerability remains the long-term trajectory; if AI eventually masters the "decide" layer by understanding market signals and user needs perfectly, this model could shift again. For now, however, the data suggests that engineers are not being replaced—they are being elevated to a role of higher-stakes supervision.

Deep Dives

Explore these related deep dives:

  • The Mythical Man-Month

    This seminal work by Frederick Brooks provides the historical foundation for the article's argument that software complexity resists simple scaling, directly supporting the 'No Silver Bullet' concept mentioned in the text.

  • Brooks's law

    This counterintuitive principle explains why adding resources to a late software project makes it later, offering crucial context for understanding why AI tools cannot simply accelerate development linearly as executives often assume.

  • Cone of uncertainty

    The article's critique of CEO delusions about AI prototypes aligns with this concept, which illustrates how estimation accuracy remains poor until late in the development lifecycle when most work is actually done.

Sources

Why AI hasn’t replaced software engineers, and won’t

by Arvind Narayanan & Sayash Kapoor · AI Snake Oil · Read full article

There is great anxiety and uncertainty about AI replacing jobs. How can we move past vague warnings and bombastic predictions and bring data to bear on this question? One good way is to look at the profession where AI capabilities are furthest along and adoption has been exceptionally rapid: software engineering.

In this essay, we argue that there is enough evidence to reject the narrative that once AI capabilities reach a certain threshold, it will cause mass layoffs. Given that this is true even in a sector with very few regulatory barriers, most other professions are likely to be even more cushioned.

We also have a good understanding of why this is the case. We can think of many kinds of knowledge work, including software development, as a “decide-execute-deliver sandwich”. AI compresses the “execute” layer — the middle of the sandwich — but the other two layers resist automation in a way that will not be overcome by capability improvements alone.

We conclude on a note of cautious optimism about the future trajectory of demand for software engineering. This essay is the first in a series, and the next one will look at reasons why individual software engineers’ careers might be rocky even if overall demand is healthy. The series is based on the published literature in economics and software engineering, our own evaluations and observations of AI agents, and many software engineers’ reflection on the present and future of AI impacts on their profession, gleaned both from published writings and our interactions with the community.

The stories of AI-driven mass layoffs in software seem to be classic “AI washing”.

Consider three stories that made the headlines and how they contrasted with reality:

In February, fintech company Block (maker of Cash App, Square, Afterpay, and other such apps) announced layoffs of 4,000 employees because, according to founder Jack Dorsey, AI is “enabling a new way of working” with “smaller and flatter teams”, specifically citing late-2025 improvements in model capabilities. But subsequent reporting revealed a radically different picture. After growing headcount more than threefold during the pandemic, the company was under massive financial pressure. A data scientist on the Cash App team, Naoko Takeda posted that Block “shoved AI down everyone’s throats” yet she saw “very limited gains in productivity.” She refused a 75% retention raise and quit. Other employees interviewed had a sharply different understanding of what AI was capable ...