with-agents

DHH: Future of Programming, AI, Agentic Engineering, Vibe Coding & Linux

DHH on the Future of Programming and Agentic Engineering

Problem-first prompting, architecture, parallel agents, cross-model review, and agent-ready systems

Lex Fridman interviews David Heinemeier Hansson about moving from handwritten code to agent-driven development. DHH reports that agents wrote all new functionality in Omarchy Quattro, while a Basecamp experiment showed that individually plausible generated changes can collectively damage a mature architecture. He recommends describing problems rather than prescribing implementations, preserving system shape, and keeping human judgment on product direction and merges. His speedups, costs, model rankings, and labor forecasts are practitioner reports, not controlled comparisons.

Lex Fridman

David Heinemeier Hansson (DHH) describes shifting from writing code by hand to directing agents, while still judging product direction and architecture. In this interview with Lex Fridman, the creator of Ruby on Rails and Omarchy and CTO of 37signals contrasts fast agent-written features with the accumulated design damage that humans may need to repair.

Product Direction and Architecture

  • The practical shift was from prescribing code to describing problems: DHH says earlier agents still needed him to choose the route and audit the result. He says newer models can start from a fuzzy problem and propose the plan. This is his experience in the domains he works in, not evidence that review is optional across software categories 07:08–12:45(opens in a new tab).
  • Generated changes can still erode a mature system: DHH reports that Omarchy Quattro's new functionality was entirely agent-written. But he says Basecamp's early designer-led experiment produced PRs that looked defensible alone and damaged the architecture in aggregate. Human engineers then cleaned up the system 15:14–17:38(opens in a new tab).
  • Cheap implementation does not supply vision or taste: DHH says large organizations are rarely limited by coding capacity. Their limits are coordination, layers of approval, and a shortage of ideas, vision, and taste. He argues that more code cannot rescue weak direction. His evidence is his own one-person Omarchy work, not a comparison of organizations 18:44–21:40(opens in a new tab).
  • Architecture still reduces the cost of later changes: DHH questions how long human-readable elegance will retain the same economic value. But he says coherent systems currently help agents avoid repeatedly relearning context. He says they also prevent mediocre changes from compounding into a ball of mud 1:00:35–1:02:31(opens in a new tab).

Working with Coding Agents

  • Separate implementation knowledge from product judgment: DHH defines vibe coding as asking an agent to build software without inspecting the implementation. He argues that experienced programmers can overconstrain a capable agent. He also argues that people with strong product judgment may describe better outcomes. He still inspects architecture and critical Omarchy code where he believes that review adds value 50:36–55:49(opens in a new tab).
  • Start with an outcome, then learn from working software: Rather than specifying the whole design up front, DHH recommends manifesting a small version, using it, and revising from experience. Fridman adds that asking for a few alternatives can make human comparative judgment and taste more useful than a long initial specification 56:02–59:21(opens in a new tab).
  • Use editorial judgment to push back on complexity: DHH describes looking at the shape and proportions of an agent's work, then asking it to simplify when the implementation feels too large for the problem. Automated tests provide feedback, but his account still assigns the human an editor's role over system shape 2:13:24–2:16:19(opens in a new tab).
  • Parallel agents change the interface and the cognitive load: He moved his terminal setup from tmux to Herdr, which he describes as tmux plus notifications when an agent needs a decision, and spread his agents across several machines. He reports a limit of roughly 16 active threads. He explicitly calls the pace exhausting and unsustainable. He expects more asynchronous automation to replace continuous task switching 1:32:36–1:40:37(opens in a new tab), 2:43:27–2:48:41(opens in a new tab).
  • Have a model from another provider review the work: DHH's standard practice is to let one frontier model implement a change and another provider's model review it. After he pushes, GitHub Copilot reviews it again. He compares this to asking a good peer to review your code, but the episode provides anecdotes rather than comparative defect data for this workflow 2:37:55–2:40:06(opens in a new tab).
  • Keep execution isolated from untrusted inputs: In his autonomous Omarchy bot, DHH describes a coordinator that directs workers in isolated VMs. This keeps untrusted pull-request code and test output from sharing the model's trusted environment. He also recounts the system noticing that adversarial test feedback could contaminate a later decision 2:58:20–3:00:39(opens in a new tab).

Open Source and the Changing Role

  • Agent triage saves the maintainer's attention for merge decisions: DHH says agents screen duplicate or unsuitable Omarchy contributions and validate candidate fixes in VMs. He says they bring only merge-ready decisions to him. He reports more than 1,000 merged PRs and about 400 open ones. These numbers show the scale of his own project. They do not show that generated contributions are broadly cheaper to govern 28:35–35:25(opens in a new tab).
  • Learn the present workflow instead of forecasting distant roles: DHH advises anxious programmers to focus on what current systems can do, build things, and retain community. He advises this rather than trying to predict several model generations. He distinguishes people who enjoy creating useful software from roles centered only on manually producing assigned code. But he offers no labor-market analysis that resolves how demand will change 1:10:24–1:24:08(opens in a new tab).
  • Prompts can convey intent without fixing the output: Near the end, Fridman and DHH argue that useful prompts can carry style and direction without fully prescribing the result. DHH treats the fact that the same prompt gives different responses as a source of creative alternatives rather than a defect. That framing still requires evaluation when correctness and repeatability matter 4:01:08–4:06:07(opens in a new tab).

Watch the full episode on YouTube(opens in a new tab).

Read the publisher's human-generated transcript(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.