YouTube Summaries

← All summaries

Addy Osmani on DevTools and cognitive surrender

2026-08-19 Wed ⏱ 1 hr 32 min pragmaticengineer

Addy Osmani, who just left Google after 14 years - Chrome, DevTools, Core Web Vitals, then Gemini/Cloud AI as a director - on his path from building a browser at 16 in rural Ireland to running a 50-person org, and on how he works with agents now. The parts worth keeping: cognitive debt and cognitive surrender, mutual amplification, loop engineering, and accountability as the durable part of the job.

Before Google

Learned Pascal then C++ as a kid on dial-up. At 15-16, motivated by a personal problem - filling cargo-pants pockets with floppy disks and walking to the library for faster internet - he read the HTML/CSS/JS specs and built a browser from scratch to test whether the multi-threaded chunked-download trick could speed up page loading. The hard part was not parsing valid documents but tolerating the "weird crap" real pages throw at browsers; he then added applets, Flash and Windows Media Player embeds before getting to the actual experiment. It won a national science competition on live TV, followed by calls from the Wall Street Journal and CNN. His takeaway: shipping something that works on your machine does not mean understanding the layers beneath it - hence a career of peeling the onion (network, compositing, JS engine, chips, memory, GPU).

Later: startups, AOL (where his first task required entering a credit card into the AOL browser before he could debug it), then jQuery - triage, blog posts, code - learning from John Resig how to hold a line on long-term maintainability while working with a community.

TodoMVC came from wanting to compare Angular, Backbone, YUI and friends: the same app in every framework, simple enough to reason about but interactive enough to stress state management and routing. It took off, became the de facto framework tutorial baseline, and is still used by labs demoing features. Apple then approached him to collaborate on what became Speedometer, still the cross-vendor responsiveness benchmark.

Chrome and DevTools

Joined Google UK around 2012 at L4 in developer relations. Era of Grunt, Gulp, AMD/UMD, Firebug and no meta-frameworks; his team built Yeoman, a CLI scaffolding wizard whose ideas are now table stakes.

DevTools credit goes to tech lead Pavel Feldman, with web-developer archetypes (Paul Irish, Paul Bakaus, Addy) feeding friction points back - often finding that a tool was impossible because the underlying instrumentation did not exist. Arcs he describes:

  • Frameworks :: source maps plus blackboxing, so you can be told about bugs in your React code but not in React itself. Large sites run far more tools per task than people assume.
  • Mobile :: device mode, viewport preview, tap-target checks - none of which existed.
  • PWAs :: the Application panel for service workers, caches, push, background sync.
  • Memory :: the acknowledged unsolved area. Few developers understand memory management, which makes memory debugging harder, and the state of the art has barely moved.
  • AI :: under tech lead Yang Guo, both helping humans reason over the browser's flood of data and letting agents drive Chrome/DevTools. Performance triage that used to be half a day of reading traces before writing a fix is now much faster with an LLM.

Asked whether DevTools is an IDE - a perennial internal debate - the answer was to meet developers where they are, since your primary surface will always be something else (now, your agent control plane).

Core Web Vitals

The old question "has the page loaded" was too nebulous, so the team decomposed the user's journey into moments: is it happening, is it useful, is it usable - mapping to LCP, FID/INP and so on. CLS came directly from the ad-injection experience of reading an article and having the text shoved down. The metrics went through heavy experimentation and validation with the standards community and developers. A side benefit: companies that had never reasoned about what matters on their pages finally had a vocabulary for that conversation.

Google culture and the director jump

Rigorous A/B experimentation is unavoidable at billions of users. Real care about developer goodwill, though impossible to coordinate across a company that size. His own cultural contribution: "meet developers where they're at" - accept that people use whatever stack they want, and collaborate with framework teams rather than guess. Cross-org learning was real (the Software Engineering at Google book has internal variants; his team worked with YouTube on their Core Web Vitals), and he notes this is not a given at large companies - it takes high-agency people on both sides.

Path: L4 devrel, promoted to L5 then L6 (staff, first management inside devrel), moved back toward engineering management, grew to a team of roughly 45-50, then L7 and director (L8). His management goal was an org self-sufficient enough that he only occasionally has to course-correct - which is what freed him to go deep on what improving model quality means for developer tooling, benchmarks and vendor collaborations. Emphatically not "letting go" - you need a system that surfaces decisions and blockers fast.

What changes at director: it is the first executive level, so you own annual and quarterly goals, sponsor large programs, run review forums, report on a top company goal every week or two, and make the through line from tech to business goals legible to people who do not see it.

An anecdote he thinks is not Google-specific: as models and harnesses improved, directors, VPs and SVPs started actually building things at weekends, so you could ask an executive what models they had tried and where they hit friction. That did not happen before.

Cognitive debt and cognitive surrender

  • Cognitive debt :: erosion of your memory and understanding of the problem the more you lean on AI.
  • Cognitive surrender :: blindly accepting whatever the AI says. Its answer becomes your answer, and critical thinking goes.

A year ago you could follow a single thinking trace in real time. Now 20-30 subagents fire and he will not click through 30 trajectories. What he does instead: read the final decision summary end to end, and prompt for one if it is missing - while staying alert that a model running out of context can fabricate the decisions it claims to have made.

Mutual amplification

The countermeasure: work so that both the agent and you get better every day. Concretely, have the session log its learnings, the decisions made, the friction hit, and anything unusual about the approach. It requires intentionality; most people simply fail to intend to avoid the problem.

Loop engineering and software factories

Loops are a step toward software factories: rather than prompting toward an outcome, you build the system that does the prompting, generation, testing and verification - the next rung of abstraction. The obvious objection is quality, so the design questions are where the human stays in the loop and what flags changes touching critical paths. "Simply having your loops build everything without guardrails around the blast radius is a recipe for disaster."

Gergely pushes on the factory analogy: a factory finishes a car, but software ships to production and then breaks. Addy agrees that is exactly the next phase - connect the loop to telemetry, user feedback, the product backlog, so it can become proactive. His own example: an app where issues used to be triaged by hand can now weight priority by combining error logs, analytics and geography (a slow view mattering more because the affected traffic is large). Sentry-style automation kicking off a coding agent on a net-new error is the same shape. Terminology is unsettled - "workflow" may fit better than "loop".

What remains the job

Against Ryan Dahl's "the era of humans writing code is over", Addy frames it as alpha - your advantage, which decays with every model release. Currently taste: are we building the right thing, and is it good? He pushes back on agents judging goodness - an agent can tell you something looks correct and matches a spec, not that it is delightful or worth returning to.

Beyond taste, accountability. His example is Chromium's OWNERS files: a handful of people per directory who did not write all the code but are on the hook for understanding it and deciding what ships, what is blocked, what is deferred. Trust of that kind is built by understanding a system over time, not granted overnight. He expects this kind of ownership to become more visible for all engineers.

Optimistic notes: every time building software got easier the total addressable market of builders grew exponentially (visible now in app releases and site counts), and every historical wave of automation replaced jobs with different jobs - the shape of the new ones is not clear yet.

On writing with AI

He has published around 18 books, many with O'Reilly, alongside a full-time job. Now that anyone can generate text, he argues the bar for publishing an idea is higher: if you ask for 15 minutes of someone's attention, earn it.

His workflow: deep-research agents to survey what others think about a topic - what has been tried, what is contentious, where the strong opinions are - to form a thesis about what people are struggling with, not to write the text. Then he writes a handwritten draft and has models write versions, and compares whether they diverged from his thesis.

The honest part of the conversation is about readability passes. Gergely relays criticism (from Navi/NeatCode and his own reading) that the loop engineering piece read abstract, wordy and AI-flavoured, and lacked specifics. Addy's account: handwritten draft, several editorial passes, then a model pass for readability because he wanted a clearer line through the piece - which improved structure at the cost of rawness some readers would have preferred. He also lost three hours trying to stop a model from emitting the usual triadic patterns, and found detectors like Pangram flagging sentences he had typed himself. A piece typically brews three to seven days, and he reads every line several times before publishing. His deeper worry: models offer a homogeneous take on what writing looks like, so you start to lose track of your own voice - and training a model on your old writing does not help, because that was a different person.

Career advice

He expects the unbundling and reconvergence of roles: engineers with product sense, product people with engineering or UX sense. So invest beyond the narrow engineering lens - product, go-to-market, technical evangelism - and show employers you are not only a builder. Be a lifelong learner and endlessly curious.