with-agents

Architecture, AI agents, and product empathy with Robert C. Martin

Robert C. Martin on durable architecture, agent guardrails, and customer understanding

Robert C. Martin and Kent C. Dodds discuss why software architecture remains durable as agents take over more implementation, how structural metrics and tests can close the agent feedback loop, why design judgment still depends on experience, and why engineers need direct empathy for the people using their products.

Kent C. Dodds (plus)

Robert C. Martin and Kent C. Dodds discuss what remains durable when agents take over more implementation: architecture, design judgment, verification loops, and a direct understanding of the people a product serves.

Key Points Covered

  • Architecture survives changes in implementation: Martin argues that languages, machines, and frameworks change quickly, while high-level rules such as modularity, controlled dependencies, and information hiding have remained stable for decades 02:41–04:46(opens in a new tab).
  • Review the structure as well as the code: Rather than reading every implementation detail, Martin asks agents to expose module structure, dependencies, and data flows, then uses those representations to interrogate and reshape the system while retaining occasional code spot checks. He later qualifies this experience: he is working on relatively small side projects, not a large production system 06:39–09:49(opens in a new tab), 10:53–12:55(opens in a new tab).
  • Systems engineering remains a human responsibility: Large systems are still composed from smaller systems whose boundaries and relationships require human design. Agents can help brainstorm, simulate alternatives, and implement local modules, but they cannot be handed an entire complex system as an undifferentiated task 10:53–12:55(opens in a new tab).
  • Clean code changes for agents rather than disappearing: Martin relaxes some human-oriented limits, such as allowing slightly higher function complexity and more comments, but still inspects module and function structure, naming, size, and argument counts 13:57–16:55(opens in a new tab).
  • Give agents measurable feedback on structure and testing: Martin uses the CRAP metric, which combines cyclomatic complexity—the number of independent paths through code—with test coverage. Agents can lower the score by adding coverage or splitting complex functions, then run the tool again to check progress. That provides a concrete target instead of asking whether code looks clean; the score does not by itself establish correct behavior 16:55–18:56(opens in a new tab).
  • Agents can critique designs without consistently exercising design judgment: Martin observes that agents can produce a good critique when asked, yet often fail to apply the same discernment while implementing. He also points to context-window degradation as a reason humans still need to supervise long tasks 20:00–21:55(opens in a new tab).
  • Design sense comes from experiencing consequences: Books and experienced mentors help, but Martin says judgment is internalized through years of mistakes. He recommends studying the field without assuming everything old is obsolete, then playing with systems and trying ideas firsthand 22:49–25:29(opens in a new tab).
  • New developers still need direct experience with code: Agents are power tools, not equivalents of syntax highlighting. Martin argues that novices who never learn to recognize code structure lose an important quality signal, and suggests schools or apprenticeships provide that foundation before agent-heavy professional work 26:19–32:07(opens in a new tab).
  • Engineers should understand the material beneath their abstraction: Dodds proposes knowing at least one layer below and one layer above the level where you work; Martin agrees that people directing agents need to understand the code and structures those agents manipulate 33:12–34:57(opens in a new tab).
  • Product engineering joins technical depth with customer empathy: Martin recalls being required to spend a day with a telephone repair worker before building tools for that job. He defines a product engineer as living half in the technology and half in the customer's world, while both speakers argue that ticket-to-code handoffs are becoming obsolete 34:57–40:06(opens in a new tab).
  • The practical exercise is to evaluate a real agent tool: Martin asks listeners to try his Swarm Forge project(opens in a new tab) for coordinating agents, then report whether it addresses a real need—a small exercise in pairing technical experimentation with product feedback 40:54–42:57(opens in a new tab).

Full video: https://www.youtube.com/watch?v=RxxxGkFIUJ0(opens in a new tab)

Search

Search field guides and resources across the site.

    Keyboard shortcuts

    Press ? to open this guide (usually Shift + /). Close it before using other site shortcuts.

    Show keyboard shortcuts
    ?
    Search site
    Ctrl + K
    Close the current dialog or menu
    Esc

    Site shortcuts are ignored while typing. Browser and extension shortcuts may take priority.