DHH’s new way of writing code
Summary
David Heinemeier Hansson (DHH), co-founder of 37signals and creator of Ruby on Rails, discusses his dramatic shift to an "agent-first" AI workflow after initially being skeptical of AI coding tools. This change, largely driven by the capabilities of models like Opus 4.5 and agent harnesses, has significantly accelerated his productivity and ambition in software development. DHH highlights how AI agents, particularly when used with tools like OpenCode and Claude Code, enable rapid prototyping and complex project execution, such as developing the Umachi Linux distribution and a Basecamp CLI. He emphasizes that while AI accelerates code generation, human judgment, taste, and a high bar for code quality remain paramount, especially for senior developers who can effectively review and direct agent output. This shift is leading to an "exploding pie" of new projects and a re-evaluation of traditional software development methodologies and team structures.
Key takeaway
For AI Engineers and Software Architects evaluating new development paradigms, embrace an "agent-first" workflow to dramatically increase productivity and tackle previously unfeasible projects. Focus on honing your judgment and design sensibilities, as these human skills become even more critical for guiding AI agents and ensuring high-quality, maintainable software, rather than merely generating code.
Key insights
AI agents, particularly advanced models, are transforming software development by dramatically increasing individual productivity and project ambition.
Principles
- Aesthetics is truth in software design and engineering.
- Smaller, highly capable teams accelerate product development.
- The UNIX philosophy of small, interoperable tools is validated by AI agents.
Method
Adopt an "agent-first" workflow, starting new projects by prompting AI agents to generate initial drafts. Review and refine agent-produced code, leveraging senior expertise for quality assurance and complex problem-solving.
In practice
- Use agent harnesses (e.g., OpenCode) with frontier models like Opus for coding.
- Employ multiple AI models simultaneously for varied task speeds and critiques.
- Prioritize code quality and human review for agent-generated code in production.
Topics
- AI Agent Workflow
- Ruby on Rails
- 37signals
- Software Craftsmanship
- Developer Productivity
Best for: Software Engineer, AI Engineer, Director of AI/ML
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by The Pragmatic Engineer.