Person
Dhanji R. Prasanna
This page collects what Dhanji R. Prasanna said on Lenny's Podcast about how Block, the company behind Square, Cash App, Afterpay and Tidal, is becoming more AI-focused. Prasanna says Jack Dorsey travelled to Sydney and spent two days walking and talking with him before offering him the CTO job.
The quotes cover Block's move to a single engineering organization and a single design organization, and its AI tool Goose. Prasanna says Block is trending toward 20 to 25% of manual hours saved across the company through AI. He also looks back at earlier roles, including head of engineering at Cash App and his time at Google.
1 episodes · 29 quoted claims
Dhanji Prasanna says Jack Dorsey sensed roughly two and a half years before the interview that Block needed to change because the industry was shifting.
“So about two and a half years ago or so, Jack really felt like things needed to change. I think he had a sense that the industry was going in a different direction.”
Lenny's Podcast · 0:05:59
Jack Dorsey gathered about 40 of Block's top executives weekly to discuss company matters, and Prasanna was added to that group.
“So he got about 40 of the company's top executives into a room on a weekly basis. And they all used to sort of talk everything through that was going on.”
Lenny's Podcast · 0:05:59
Jack Dorsey traveled to Sydney and spent two days walking and talking with Dhanji Prasanna before offering him the CTO job.
“And then Jack came over to Sydney and spent two days with me. And, you know, both of us like long walks. So we walked all around Sydney and talked it through up and down.”
Lenny's Podcast · 0:06:58
Early in his tenure Prasanna started eight or nine special projects with two to five engineers each and reinstated Block's company-wide hack week.
“So we got about two to five engineers per project. There were about eight or nine different projects. And we had reinstituted the company-wide hack week.”
Lenny's Podcast · 0:08:25
Before the reorganization, Block's business units such as Square and Cash App ran as a GM structure, each with its own CEO reporting to Jack Dorsey.
“So they were effectively run as a portfolio of independent companies and they had their own CEOs who all reported to Jack and it was still one single executive team.”
Lenny's Podcast · 0:09:21
After the reorganization, all Block engineers report into one engineering organization and all designers into one design organization.
“So all engineers report into one single team now. All designers report in one single team and they're single head of engineering, single head of design, et cetera.”
Lenny's Podcast · 0:10:29
Prasanna compared Block's move to a functional structure with Steve Jobs reorganizing Apple along functional lines when he returned.
“this is what Jobs did when he came back to Apple as well. He reorganized Apple to be functional.”
Lenny's Podcast · 0:11:17
Block's major brands are Square, Afterpay, Cash App and Tidal, and it also has Bitkey and Proto focused on Bitcoin.
“So Square, Afterpay, Cash App, and Tidal are four major brands. And then we also have BitKey and Proto that are focused on Bitcoin for us.”
Lenny's Podcast · 1:01:29
Prasanna says Block estimates it is trending toward 20 to 25% of manual hours saved across the whole company through AI.
“And we feel across the whole company, we're probably trending towards 20 to 25% of manual hours saved. And I think that's just the start of all of this.”
Lenny's Podcast · 0:16:38
Block's 8 to 10 hours saved figure for AI-forward engineers is self-reported and cross-checked against measures like pull requests and feature throughput.
“And this is self-reported. And then we also have a number of check metrics to try and validate that. So we look at PRs, we look at throughput of features, we look at a whole bunch of things.”
Lenny's Podcast · 0:16:38
Block's enterprise risk management team used Goose to build a self-service risk system, compressing weeks of work into hours according to Prasanna.
“we'll have our enterprise risk management team build a whole system for self-servicing enterprise risk. And this is compressing like weeks of work into hours.”
Lenny's Podcast · 0:17:54
Block built Gosling, a mobile counterpart to Goose that operates Android through its accessibility API to automate UI testing.
“we have this other tool called Gosling, which is a goose for mobile effectively. So it operates your Android OS at a native level using the accessibility API.”
Lenny's Podcast · 0:18:32
The Model Context Protocol was created by Anthropic, Block was an early contributor, and it wraps existing tools so language models can use them.
“And this is something that Anthropic came up with that we were a very early contributor to. And the model context protocol is very simply just a set of formalized wrappers around existing tools or existing capabilities.”
Lenny's Podcast · 0:22:22
Goose has a pluggable provider system that works with Claude models, OpenAI models or open-source models.
“you can either bring your own API keys and use the Claude family of models or OpenAI's family of models, or you can use open source models”
Lenny's Podcast · 0:24:06
Prasanna says Goose is named after the character from the film Top Gun, and that the engineer who named it resembles that character.
“goose is a top gun reference okay um so what our engineer that came up with it uh he also looks exactly like goose”
Lenny's Podcast · 0:27:51
Prasanna says an engineer named Brad created Goose, believing early that agents would unlock the value of large language models.
“So Brad, our creator of Deuce, believed very early on, I think long before we heard the buzzword going around, that agents would be how we unlock value from LLMs.”
Lenny's Podcast · 1:09:23
Prasanna says Goose's median session length is five minutes and the average seven, and Block is trying to extend sessions to hours.
“Our median session length is five minutes and on average seven. But we're trying to push it to hours.”
Lenny's Podcast · 0:33:15
Prasanna says an experimental new Goose version succeeds on about 60% of an overnight wish list of features and struggles on the remaining 40%.
“And it's successful, I would say, on like 60 % of those things if the features are well enough described. And it struggles on the remaining 40 where you have to kind of intervene and massage it.”
Lenny's Podcast · 0:37:14
Block uses a tool that selects which tests to run for each change, cutting about 50% of test runs.
“we have this really cool tool that analyzes our test suites and selects the right test to run for changes that were made. So we cut down basically 50 % of test runs this way”
Lenny's Podcast · 0:52:21
Prasanna says the biggest change to Block's approach to headcount came from moving to a functional structure rather than from AI.
“I think what's changed for us is much different, and it has nothing to do with AI. It's that what we talked about earlier is moving from our GM structure to a functional structure.”
Lenny's Podcast · 0:44:32
Prasanna says Goose gathered his son's therapy receipts into one Apple Notes entry by controlling his computer with AppleScript.
“it picked AppleScript as a way to do it because it had the MCP extension to control my computer”
Lenny's Podcast · 0:56:58
Prasanna recalls Google engineers worrying about YouTube's code base around the time Google acquired it.
“I was working at Google around the time YouTube was acquired. And I just remember there was this whole wash of angst about how horrible the YouTube code base is”
Lenny's Podcast · 1:01:59
Google Video predated YouTube and supported more formats, higher resolution and hour-long uploads, but was far outpaced by YouTube.
“Google Video, which is a product that I don't know if people remember, it existed before YouTube. It supported more formats. It supported higher resolution. You could upload hour-long videos.”
Lenny's Podcast · 1:02:41
Prasanna was head of engineering at Cash App as it grew from about 10 engineers to over 200 and reached roughly 10 to 20 million users.
“So in the early days of Cash App, I was head of engineering from when we were about 10 engineers to 200 plus and took us to about 10 plus or 20 million users thereabouts.”
Lenny's Podcast · 1:05:32
Prasanna says Cash Card's core functionality was built in about a weekend or a week, but ironing out edge cases took far longer.
“in Cash Card, for example, we built the entire functionality of Cash Card, I would say, pretty much in a weekend or maybe a week of sort of integration and work.”
Lenny's Podcast · 0:41:58
Prasanna says Block became the first public company to launch a Bitcoin product, which began as a hack week idea worked on by Jack Dorsey, him and another engineer.
“we became the very first company that was a public company to launch a bitcoin product and that was again a hack week idea that um actually jack and me and another engineer worked on”
Lenny's Podcast · 1:09:59
Prasanna says Google Wave had 70 to 80 engineers building it before it had users outside Google, and he views it as an example of starting too big.
“I worked at Google on this product called Google Wave, which was trying to be everything to everyone. And, you know, we were 70, 80 engineers building this thing before it even really had any users outside Google.”
Lenny's Podcast · 1:11:28
Prasanna worked at a social networking startup called Secret, which rose quickly and then collapsed.
“I worked at this social networking startup called Secret, which, you know, burned hot for a bright minute and then blew up.”
Lenny's Podcast · 1:14:23
During his 'mad scientist' period at Square, Prasanna worked part time as a consultant on various projects because of family needs.
“And I was working part time, mostly because I had very young kids with lots of additional needs. And I was a consultant on various different projects.”
Lenny's Podcast · 1:07:41