DHH-FUTURE COURSE GUIDE

DHH on AI and the Future of Programming

A chapter-by-chapter readback of the free course by David Heinemeier Hansson on Lex Fridman.

Length5:15:51
Chapters22
Modules7
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

Ruby on Rails creator DHH explains how agents now write nearly all his shipped code — including an entire Arch-based Linux distro — and what that means for craft, open source and careers.

Who it's for
Read this guide if
  • You want a practitioner's account of agentic coding, not vendor marketing
  • You're curious how Opus, Fable and other models compare on a real Rust translation task
  • You follow open source and want to know how agents change maintaining a project
Skip ahead if
  • You want a hands-on coding tutorial with exercises rather than a conversation
  • You're only interested in the technical segments and would skip long detours on parenting, food and the 1980s
  • You prefer neutral coverage — DHH shares strong opinions on immigration and X's culture
In brief
  • Runs 5 hours 15 minutes (18,951 seconds) — plan multiple sessions
  • 20 chapters across 7 chronological modules
  • Tools discussed: Claude Code, Opus 4.5/5, Fable, Sol, Grok 4.6, Tmux, Herder, Tailscale, NeoVim
  • Focus project: Omachi (Omakase-style Arch Linux distro) and its Quattro release
  • Level: intermediate — assumes familiarity with programming workflows and open source

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

The Agentic Turn

The opening frames DHH's emotional and intellectual response to agents: joy rather than dread, decades of progress compressed into nine months, and Opus 4.5 — released November 24, 2025 — as the moment code output started matching his own. These chapters set the episode's thesis that steering matters more than typing.

0:00

Introduction

The conversation opens by establishing DHH's mood: he describes his reaction to recent AI progress as joy, optimism and amazement rather than existential dread. He claims AI can now deliver most imagined operating-system features in minutes, with even ambitious work taking about two hours. He also introduces the idea that AI transforms the human role in programming — much of the actual coding shifts to agents while people steer through high-level design, vision and taste. Early on he mentions that creating life with someone you love is, in his view, the peak human experience, a theme that returns at the episode's end.

2:00

From Autocomplete to Agents

DHH recounts how AI usage among developers jumped from writing roughly 5–20% of code to 80–100%, especially for products that are not public-facing. He distinguishes this from earlier tools: autocomplete and chatbots never replaced hand-coding for him — chatbots served as tutors and lookup tools, and pre-agentic AI mainly made existing work more efficient. The practical leap, he argues, came not just from raw intelligence but from agents' ability to instrument a computer, use tools, check their own work, and produce meaningful output rather than snippets.

7:30

Opus 4.5 as Turning Point

DHH names Opus 4.5, released November 24, 2025, as the moment things changed: its code output was, in his words, uncannily close to what he would have written himself. He says he could accept it as the final model for 20 years because it did the work as he wanted while remaining inspectable and steerable. He compares the pace to witnessing the internet's shift from pre-internet to post-internet, noting that decades' worth of AI progress arrived within roughly nine months — a compressed transition he finds astonishing rather than frightening.

Agents on Real Codebases

This section moves from enthusiasm to evidence. Sub-agents cut some tasks to a fifth or tenth of the time, Umachi Quattro shipped with 100% agent-written code, yet Basecamp 5 showed the failure mode: many individually plausible agent PRs collectively damaged architecture. The through-line is that judgment of system behavior, not line-by-line review, becomes the human job.

10:30

Sub-Agents and Parallel Work

DHH describes how sub-agents and harnesses can split work across eight parallel agents, cutting some tasks to one-fifth or one-tenth of the previous time. He traces the progression: earlier agentic workflows still required the programmer to steer and review everything, while newer models such as Opus 5, Fable and Sol can take a vague problem, choose their own path, and make the programmer optional in producing the code itself. He trusts agents to recover from their own mistakes, reserving closer review for safety-critical domains like Linux distributions, nuclear power plants and self-driving cars.

15:16

Quattro at 100% Acceleration

The key data point: agent acceleration on Omachi Quattro reached 100% — DHH hand-wrote none of its shipped code. He reviewed the overall shape and critical model-layer lines but did not inspect much of the UI or auxiliary code, judging the system by its behavior rather than by reading every line. He contrasts this with domains where review matters more, and discusses AI's offensive security skill: one model, Fable, was reportedly too capable at finding exploitable holes to release safely, since combined vulnerabilities can yield Remote Command Execution — a skill rare among human attackers.

16:11

The Basecamp 5 Lesson

Agents have been harder to use on Basecamp and Hey's large, established codebases. DHH recounts that for Basecamp 5, designers produced many individually plausible pull requests that collectively damaged the architecture, requiring humans to restore coherence. The discussion raises whether programming experience is needed to vibe-code on substantial existing codebases; DHH counters that purely human-written codebases can also become awful. He adds that in teams, implementation is rarely the bottleneck — human bandwidth, communication and layers of approvals consume more productivity, and realizing 10x or 100x gains requires working directly with agents rather than through intermediaries.

Open Source and the Polyglot Programmer

DHH argues organizations are limited by taste, not typing capacity, and shows agents made him a polyglot — writing C++ as a Ruby specialist. As maintainer he merged over 1,000 pull requests in three months, calling this the best time to be an open-source maintainer, a shift he compares to the Reformation's disintermediation.

20:13

Ideas Over Implementation

DHH argues that organizations are usually limited by ideas, vision and taste rather than implementation capacity — producing more code alone does not guarantee compelling software. He cautions that AI's rapid progress has been widely available for only about six months, so expecting it to have already transformed development economics is premature. Looking forward, he suggests agents may let individuals build Linux replacements for software like Premiere and Photoshop: shared user frustration and corporate bureaucracy could make open source or new companies move faster than incumbents facing the classic innovator's dilemma.

25:59

A Ruby Developer Writes C++

Agents made DHH a polyglot programmer. Previously focused on Ruby, he wrote C++ applications for Omachi Quattro: he built a basic C++ and Qt writing app in about 20 minutes, then replaced Typora with his own Amarite within two days. Desktop platforms, he notes, may be open to change for the first time in roughly 40 years, since agents can help people replace software that ties them to Windows by building only the features they personally need — even if that is just 5% of a product's functionality. Building for oneself can then become the starting point for broader open-source release.

33:39

The Golden Age of Maintainers

DHH calls this the best time to be an open-source maintainer. Over three months working on Quattro, he merged over 1,000 pull requests; Omachi had about 400 unmerged at one point, roughly double the previous week, with agents reviewing and summarizing submissions and filtering wrong or duplicate ones. He compares agents' disintermediation of programmers to the Reformation, argues agent-written PRs often beat the median human contribution and are easier to reject without hurt feelings, and sees wider participation as fulfilling open source's original promise.

Building Omachi

From Ubuntu-based beginnings, Omachi grew deeper into the stack until agents wrote everything under DHH's direction. The plugin marketplace hit 330 entries in three days, and DHH defines vibe coding precisely: shipping software you never reviewed. This module grounds the episode's claims in a concrete shipped product.

40:22

From Ubuntu to Agent-Written

DHH traces Omachi's development: the first version, Omakoup, was built on Ubuntu; the newer distro began deeper in the stack. Progression went from hand-written bash scripts, to partial agent acceleration, to — three months before the recording — agents writing everything under his direction. He describes the resulting abundance of capability as intoxicating and sometimes overwhelming: nearly any desired operating-system feature seemed achievable in minutes. A clear mission, creating the perfect computer, helped channel that capability toward one goal instead of scattering across multitasking.

47:30

Plugins and a Thriving Marketplace

Omachi's plugin system lets users extend or rewrite the interface, panels and features. DHH cites about 17 independent implementations for adding iCal support to its calendar and a marketplace that reached 330 plugins within three days of launch. The distro includes skills that teach agents how to build operating-system extensions. He also critiques vocabulary: he dislikes 'agentic' as overused marketing jargon, and says 'vibe coding' evokes early-2000s 'script kiddies' who ran downloaded PHP scripts without understanding them — a comparison he offers with mixed feelings.

50:24

What Vibe Coding Actually Is

DHH defines vibe coding as telling an agent to build software without reviewing its implementation, distinguishing it from programming, which involves understanding loops, conditions and variables. He notes counterintuitive findings: over-prescriptive instructions can hurt agent performance — he cites a reported 80% reduction in Opus 5's system prompt — so the emerging skill is high-level guidance without over-specifying. He connects this to agile's insight that people discover what they want only after trying software: start rough, refine through use, and let agents produce several designs to choose between.

Craft, Careers and Flow

This module confronts what agents mean for craft and livelihood: beautiful code still helps agents but pays less, handcrafted code becomes romanticized like the Commodore 64, and job effects may follow a Jevons paradox. DHH also details his parallel workflow — Tmux, Herder and Tailscale across machines running about 16 threads.

1:03:00

Handcrafted Code and the Commodore 64

Beautiful, coherent code still helps agents make changes without relearning context or turning a codebase into a 'ball of mud', but its economic payoff is diminishing. DHH compares coding for the Commodore 64's one megahertz CPU and 64K of memory — constraints that made optimization essential — with modern abundance where those techniques create less value. He notes handwritten code is increasingly romanticized like cowboy culture: people still build for vintage consoles, citing recreated Game Boy hardware and a new Game Boy Tetris with a roughly 400% speed-up. His public Ruby, he says, now trains agents that write 'like DHH would'.

1:11:47

Jobs, Jevons and Drudgery

On employment, DHH is uncertain: AI lowers software's cost, which could increase demand — a possible Jevons paradox, like ATMs ultimately accompanying more bank tellers. But automation can displace too, as mechanized harvesting did farm labor. He argues handing routine drudgery to machines is civilizational progress, noting programmers spend only a fraction of 2,000 annual hours in flow. His advice to young developers: don't predict AI two model hops ahead; focus on learning and using the current state of the art, and consider building openly for community and camaraderie.

1:34:34

A Parallel Agent Workflow

DHH explains how working with agents changes tooling: flow shifts from single-threaded focus on one problem to parallel processing across many. He uses Tmux panes and splits in the terminal, and Herder — described as Tmux plus agent notifications — to track activity and alert him when an agent needs a decision. To run agents across four to five machines he uses Tailscale, described as a WireGuard network, accessing computers remotely without complex VPNs. He contrasts manually writing 20–30 lines per hour with producing hundreds across 16 threads, while stressing line counts measure nothing about quality.

Speed Records and Model Bake-Offs

Two obsessions anchor this stretch: shaving Omachi's install toward a 45-second world record, and a systematic bake-off asking multiple models to translate a Python library into Rust. Results ranged from a 9.6x speedup in 45 minutes for roughly $550 to failures and $23 slow completions.

1:53:00

The 45-Second Install

DHH details Omachi's performance obsession: a new Mac took 42 minutes of updating before use, a new Windows PC an hour and 35 minutes, while Omachi installs in under a minute — the current world record is 45 seconds. Techniques included preloading packages while users answered setup questions, a video-game-style background-loading trick, shrinking the ISO from 7.5 GB to about 5.85 GB, swapping a 200 MB JetBrains font package for a 16 MB one, and recompressing NVIDIA packages with ZSTD to save about 200 MB. He cites the Mercedes W126 and a Rolex rated to 4,000 meters as examples of building beyond requirements.

2:30:56

Fable Translates Python to Rust

DHH asked Fable to translate a dependency-heavy Python Terminal Text Effects library into a pixel-perfect, dependency-free Rust executable. In under 45 minutes Fable produced a 3-megabyte binary, cutting startup from 86 milliseconds to 2 milliseconds and speeding execution 9.6x — later improved 46x after two auto-research runs. DHH neither knew Rust nor inspected the code; when Fable ran out of tokens, Opus 5 finished using Fable's unreviewed eight-step plan. He estimated the run near $550 in tokens but judged it worthwhile versus roughly nine months of learning Rust.

2:37:29

Eight Models, One Task

The same task became a model benchmark. Sol finished in about 90 minutes for an estimated $46; Grok 4.6 achieved a 10x speedup for about $55; Deep Seek V4 Pro took 2 hours 45 minutes for about $23, while V4 Flash failed; GPT Luna struggled despite 12 prompts and produced an incomplete wrapper. DHH ranks Fable best overall at planning and Opus 5 second, with GPT-Soul and Grok 4.6 sometimes matching it. His standard workflow: one frontier model does the work, a differently sourced model — like Codex X-High — reviews it, and he notes even GitHub Copilot now finds legitimate issues.

Frontier Questions and Life Beyond Code

The closing arc widens: agents become asynchronous co-workers via an Omabot, DHH calls Quattro one of the greatest releases of his career, and programming becomes 'programming in English'. A hidden Memento Mori calendar feature and Copenhagen croissants close a conversation about meaning, mortality and what to build next.

2:43:00

Agents as Co-Workers

DHH describes testing agents as co-workers inside Basecamp, where they take to-dos or cards asynchronously. Because the human in the loop is the bottleneck, an Omabot is being built to process pending to-dos, PRs and issues on a schedule and email a review list via the Hey CLI, with humans making final decisions. He admits constant agent task-switching is mentally exhausting — continuous problem-solving without downtime — though exhilarating. He expects automation of development and debugging to ease the pace, enabling daily email reviews rather than live firefighting.

3:35:00

Quattro and the Linux Bet

DHH calls Omachi 4 Quattro one of the greatest software releases of his career: three months of work fulfilled many goals with fewer personally written lines of code, as a team effort guided by agents whose coaching he found satisfying. He sees Linux desktop adoption as increasingly likely because its openness and arcane configuration suit agents, while the Mac's locked-down design hinders them. Despite skeptical open-source communities, Linus Torvalds welcomes AI in Linux, kernel contributions are rising sharply, and Linux already underpins AI infrastructure. He has invested about 3,000 hours in the project.

4:02:00

Programming in English

DHH says he still loves Ruby and Rails but has been 'programming in English', finding natural language more expressive and delightful. He advises prompting 'more like poetry than like a robot': strategic ambiguity conveys style and high-bandwidth meaning, while over-specific instructions get followed too literally. He values non-determinism as an ingredient of creativity, compares human writing to next-token prediction, and sees 'glimmers of consciousness' in agents that infer and improve on vague intent — while questioning whether expressed regret after mistakes is genuine remorse or anthropomorphism.

5:01:40

Memento Mori and Croissants

The conversation closes on finitude and pleasure. Omachi's calendar hides a 'Memento Mori' feature showing the estimated share of one's life elapsed, defaulting to a 90-year lifespan — a reminder DHH values for using time well. He argues for stepping back from extreme health optimization, having stopped wearing an Aura sleep ring after four years. Lighter notes: he claims the best croissants he has found are at a Copenhagen 7-Eleven, unbeaten after trying 15 recommended American places, and praises the Louisiana museum cafeteria near Copenhagen, which serves excellent Nordic food quickly to about 200 waiting people.

Moment by moment

TimeWhy it matters
7:30DHH names Opus 4.5 (Nov 24, 2025) as the moment agent code became indistinguishable from his own
15:16Umachi Quattro ships with 100% agent-written code — zero lines hand-written
16:11Basecamp 5 cautionary tale: plausible agent PRs collectively wrecked the architecture
2:30:56Fable translates Python to Rust in 45 minutes, 9.6x speedup, ~$550 — without DHH knowing Rust
5:01:40The Memento Mori calendar feature reframes the whole conversation about time and meaning

Do this next

  1. Try DHH's review pattern on your next task: one frontier model writes, a differently sourced model (e.g., Codex) reviews before you look
  2. Pick a small personal tool you rely on, describe the outcome rather than the implementation, and see if an agent rebuilds it in under an hour
  3. Audit your own prompts for over-specification — cut them back and test whether outcome-level guidance improves results

Common questions

What is Omachi?

Omachi is an opinionated Arch Linux-based desktop distribution DHH built with Ryan Hughes, centered on the Hyperland Wayland tiling compositor and designed as a polished developer workstation alternative to macOS and Windows. The 'Oma' comes from Omakase, meaning chef's choice — it ships a preselected set of apps despite bloat objections. Quattro is its latest version, and DHH has invested roughly 3,000 hours in the project.

How much of DHH's code do agents write now?

For Omachi Quattro, 100% — he hand-wrote none of the shipped code, reviewing only the overall shape and critical model-layer lines. He says developer AI use broadly shifted from writing 5–20% of code to 80–100%, especially for non-public-facing products. On older, larger codebases like Basecamp, agents remain harder to use, and he still steers architecture there.

Which models performed best in his tests?

DHH ranks Fable best overall and at planning, with Opus 5 second; GPT-Soul and Grok 4.6 sometimes match or surpass Opus 5. On the Rust translation, Fable delivered a 9.6x speedup in under 45 minutes for about $550, Sol did it in 90 minutes for ~$46, Grok 4.6 for ~$55, and Deep Seek V4 Pro in nearly three hours for ~$23, while GPT Luna and Deep Seek V4 Flash failed.

What is DHH's definition of vibe coding?

Vibe coding means telling an agent to build software without reviewing its implementation — distinct from programming, which requires understanding loops, conditions and variables. He built the Amarite writing app without inspecting its C++ at all, treating it as a black box. He notes the emerging skill is giving high-level outcome guidance without over-specifying, since overly prescriptive prompts can hurt agent performance.

Does DHH think AI will take programming jobs?

He is genuinely uncertain. AI could lower software's cost enough to raise demand — a Jevons paradox, like ATMs ultimately accompanying more bank tellers — but automation can also displace workers, as mechanized farming did. His advice to young developers: don't try to predict AI two model hops or two years ahead; focus on learning and using the current state of the art, and consider building openly for community support.

What is DHH's workflow for running many agents?

He runs about 16 threads at full acceleration across four to five machines, using Tmux panes in the terminal, Herder for agent notifications, and Tailscale (a WireGuard network) to reach remote machines like a local network. His standard quality pattern is one frontier model doing the work and a differently sourced model reviewing it — for example Opus 5 or Fable followed by Codex X-High.

Why does he think Linux wins in the agent era?

Because Linux's openness and arcane configuration suit agents: error messages and available source code let agents diagnose problems, and he says agents have solved every Linux issue he encountered since the start of the year. Linus Torvalds welcomes AI in the kernel, contributions are rising, and Omachi's install-record speed and agent-driven customization signal what he calls the malleable, agentic computer.

Is this video a tutorial?

No — it's a 5-hour conversation between Lex Fridman and DHH covering opinions, workflows and stories rather than step-by-step instruction. You'll get concrete numbers, tool names and benchmark results, but no exercises or code walkthroughs. Viewers wanting hands-on agentic coding practice should pair it with their own experiments in Claude Code or a similar harness.

Spot a mistake?

Every chapter summary and timestamp on this page is hand-checked against the video, but a five-hour conversation invites slips. If you spot an error in a fact, quote or timestamp, please tell us and we'll fix it.

More course guides