Oct 26, 2025 · 1h 26m · lennys-podcast
How Block is becoming the most AI-native enterprise in the world | Dhanji R. Prasanna
gold bands on the timeline = statements, start to end. Hover to read, click to jump. CC turns on captions
Block CTO Dhanji R. Prasanna reveals how Block became an AI-native enterprise through the development of their open-source agent Goose and a radical functional reorganization. He shares practical insights on autonomous developer workflows, Conway's Law, and hard-earned engineering lessons prioritizing customer utility over pristine code.
How this conversation actually went
Every chapter scored 0–10 on four independent dynamics. Hover any point for the reasoning behind the score. Lenny holds 24.9% of the talking time here. How this is scored →
speaking balance: gold is Lenny, purple is the guest (3 minute bins)
Dhanji bluntly dismisses one of engineering's sacred cows, asserting that code cleanliness has no bearing on building a winning product.
Hardest push from Lenny ▶ 35:45 Pushback on rewriting codebases from scratchLenny directly challenges Dhanji's suggestion of deleting and rewriting codebases by citing the classic software engineering doctrine against ground-up rewrites.
Biggest teaching moment ▶ 34:45 Autonomous multi-hour agents replacing vibe codingDhanji educates Lenny on why short-turnaround vibe coding is obsolete, showing how agents can run multiple overnight experiments in parallel.
Lenny holds their own ▶ 11:10 Synthesizing functional restructuring principlesLenny demonstrates organizational design expertise by crisply breaking down Block's transition from GM silos into centralized functional engineering.
the scores for every segment, with the reasoning behind each
| Chapter | Topic | Lenny as informed peer | Guest teaching | Guest disagreement | Lenny pushing back | Why |
|---|---|---|---|---|---|---|
| The AI Manifesto and Taking the CTO Role | 4 | 5 | 2 | 1 | Lenny opens by inquiring about Dhanji's famous memo to Jack Dorsey and establishes background context on Dhanji's rise from senior engineer to CTO. Dhanji recounts how he urged Block leadership to centralize AI efforts. | |
| Restructuring Block: From GM Model to Functional Tech Organization | 5 | 6 | 1 | 1 | Lenny synthesizes the architectural takeaways around functional leadership versus business unit silos. Dhanji explains the transition away from independent GM units to unified technical reporting. | |
| Conway's Law and Unifying Technical Standards | 4 | 6 | 3 | 1 | Dhanji notes that Conway's Law made the initial structural reorg painful rather than seamless, correcting any assumption that everyone was immediately on board. Lenny asks how this translates to day-to-day engineering workflows. | |
| Measuring Realized AI Gains and Non-Technical Software Creation | 5 | 7 | 2 | 2 | Lenny frames the debate between AI hype and practical adoption. Dhanji provides specific numbers around hours saved and schools the audience on how non-technical departments gain the most leverage from custom automated tools. | |
| Introducing Goose and the Model Context Protocol | 4 | 7 | 1 | 1 | Lenny asks Dhanji to define Goose and explain its architectural foundation. Dhanji explains the mechanics of the Model Context Protocol (MCP) and how it grants LLMs actionable execution capabilities. | |
| Pluggable LLMs and Broad Industry Adoption of Goose | 4 | 6 | 1 | 1 | Lenny clarifies how Goose interfaces across foundational models and local setups. Dhanji outlines how Goose dynamically writes its own MCPs to orchestrate tools across disparate enterprise systems. | |
| Open Source Philosophy and the Origin of the Name Goose | 3 | 5 | 1 | 1 | Lenny expresses surprise that Block open-sourced Goose rather than commercializing it as a standalone startup. Dhanji articulates Block's foundational philosophy of building public open-source protocols. | |
| The Future of Development: Overnight Autonomy and Disposable Codebases | 4 | 8 | 3 | 2 | Dhanji presents a radical view of future software development where code is entirely disposable and whole applications are deleted and rewritten overnight by autonomous agents. Lenny highlights the contrast with traditional software engineering rules against full rewrites. | |
| Human Taste, Portfolio Judgment, and Avoiding AI Slop | 4 | 6 | 2 | 1 | Lenny asks for concrete examples of where human intervention remains indispensable. Dhanji details how humans are needed for high-level taste and questioning underlying operational assumptions rather than automating flawed processes. | |
| Build vs. Buy and Focusing on Core Competencies | 5 | 6 | 2 | 1 | Lenny raises the classic build versus buy debate in the AI era. Dhanji cautions against building internal tools that distract from core business empowerment, illustrating with past Cash Card edge cases. | |
| Sponsor Segment: Persona | 4 | 6 | 1 | 1 | Following an ad read, Lenny asks about headcount planning and hiring criteria in an AI-augmented company. Dhanji clarifies that headcount needs shift because of functional architecture rather than AI tool adoption alone. | |
| Who Benefits Most from AI and the Reorganization Hot Take | 5 | 7 | 2 | 2 | Lenny explores which engineering seniority tier benefits most from AI tooling. Dhanji argues that non-technical staff achieve the most profound leverage and reiterates that organizational reorg outperforms AI tooling for pure productivity. | |
| Optimizing Engineering Systems and Deleting Redundant Processes | 5 | 6 | 1 | 1 | Lenny cites Elon Musk's optimization principles about questioning process requirements. Dhanji provides a personal workflow example of using Goose and AppleScript to automate personal expense receipts. | |
| Goose Distribution and Desktop Extensibility | 3 | 6 | 1 | 1 | Lenny asks how accessible Goose is for general users and how it contrasts with existing developer tools. Dhanji explains its desktop Electron distribution and extensible protocol nature. | |
| Counterintuitive Wisdom: Code Quality vs. Product Success | 5 | 8 | 3 | 1 | Dhanji shares a counterintuitive lesson that code quality has virtually zero correlation with product market success, citing YouTube's early architecture compared to Google Video. Lenny validates the insight with examples of hyper-growth chaos. | |
| Cash App's Early Growth, Controlled Chaos, and the Mad Scientist Role | 4 | 6 | 1 | 1 | Dhanji explains how Cash App scaled through deliberate controlled chaos and creative autonomy for engineers. Lenny brings up Dhanji's former internal title as Block's official Mad Scientist. | |
| Starting Small and the Original Bitcoin Hackathon | 5 | 6 | 1 | 1 | Lenny asks for core leadership tenets. Dhanji emphasizes starting small, recalling the three-person hackathon team with Jack Dorsey that launched Block's first Bitcoin integration. | |
| Fail Corner: Google Wave, Google Plus, Secret, and Startups | 4 | 6 | 1 | 1 | In fail corner, Dhanji reflects on lessons from high-profile unsuccessful projects including Google Wave, Google Plus, and Secret. Lenny quips that those failed products probably had immaculate architecture. | |
| Staying Grounded in Core Values Amid Industry Hype | 4 | 5 | 1 | 1 | Dhanji offers grounded perspective for operators overwhelmed by AI industry developments, advocating for anchoring in user utility. Lenny synthesizes the core takeaways around focus. | |
| Lightning Round: Books, Culture, Hardware, and Life Mottos | 4 | 4 | 1 | 1 | In the lightning round, Dhanji shares literary recommendations including Russian classics and Tennyson poetry, praises the open hardware of the Steam Deck OLED, and shares his philosophy on career autonomy. |