AI Coding: Balancing Speed & Quality with Addy Osmani

O’Reilly Media
O’Reilly MediaMar 10, 2026

Why It Matters

Effective governance of AI‑generated code protects productivity gains while preventing hidden technical debt, a critical concern for any software‑driven business.

Key Takeaways

  • AI-generated PRs overwhelm senior engineers, hindering code review.
  • Balancing velocity with quality requires clear standards for AI changes.
  • Small, well‑tested AI edits can be merged with minimal oversight.
  • Complex or poorly covered code still demands human intervention.
  • Teams need processes to assess AI output before integration.

Summary

Addy Osmani discusses how AI‑generated pull requests are reshaping software teams, highlighting the tension between accelerated delivery and maintaining code quality.

He notes that senior engineers increasingly feel swamped by a flood of AI‑written PRs they cannot fully comprehend. The core dilemma is defining a quality bar that allows fast iteration while ensuring long‑term maintainability. Osmani suggests using concrete criteria—such as change size, isolation, and test coverage—to decide when an AI change is acceptable.

As Osmani puts it, “someone’s going to have to maintain this over time,” and “the AI coding agent can just rewrite this thing from scratch, but you still need to roll up your sleeves when it fails.” These remarks underscore that AI tools are assistants, not replacements, especially for edge cases.

The takeaway for organizations is to institute clear review policies, invest in automated testing, and retain human oversight for complex or poorly covered code. Without such safeguards, the promised velocity gains could be offset by technical debt and reliability risks.

Original Description

Coding velocity may increase with AI tools, but quality might still lag behind. And as Google’s Addy Osmani points out, someone’s ultimately going to have to maintain all that code over time. Better to know what “acceptable quality” is for your use case from the start so that you can determine under which circumstances your AI coding agent will likely produce “good enough” work and which you’ll need to manually manage. #shorts
Follow O'Reilly on:

Comments

Want to join the conversation?

Loading comments...