Building a magical AI code editor used by over 1m developers in 4 months: Inside Windsurf

0:00

A lot of the bets we're making inside the  company are for things that are not three, four weeks away.

0:03

We should be cannibalizing  the existing state of our product every six to 12 months.

0:07

Every six to 12 months,  it should make our existing product look silly.

0:10

It should almost make the form  factor of existing product look dumb.

0:13

How do you know when it's time to hire someone?

0:16

I want the company to almost be like this  dehydrated entity.

0:16

Every hire is like a little bit of water, and we only go back and hire  someone when we're back to being dehydrated.

0:24

Any other there skills you think  people should be investing more in with the rise of AI building  more and more of our products?

0:29

The engineers are now able to produce  more technology.

0:29

The ROI of building technology has actually gone up.

0:33

This  actually means you hire more.

0:33

The best thing to do is just get your hands dirty  with all of these products.

0:37

You could be a force multiplier to your organization in  ways in which they never even anticipated.

0:47

Today my guest is Varun Mohan.

0:47

Varun is the  co-founder and CEO of Windsurf, which has quickly become one of people's favorite AI coding tools,  and is basically the main competitor to Cursor with over 1 million users four months in.

0:57

In our  conversation, Varun shares what makes Windsurf unique, why they decided to invest heavily in  enterprise sales very early in their history, why agency is going to be the most important  skill for engineers and product builders to build, also the story of how they started out as a GPU  infrastructure company and realized there was a much bigger opportunity up the stack and the  two pivots that got them to where they're today.

1:20

He also gives a live demo, advice  for being successful at Windsurf, and so much more.

1:24

There's so much to learn about  where things are heading for engineers and product builders in general in this conversation.

1:29

And I'm really excited to bring it to you.

1:32

Thank you to everyone on LinkedIn and Twitter  and my newsletter community for suggesting great questions to dig into with Varun.

1:36

If you enjoy  this podcast, don't forget to subscribe and follow it in your favorite podcasting app or YouTube.

1:41

Also, if you become a yearly subscriber of my newsletter, you get a year free of Perplexity  Pro, Notion Plus, Linear, Granola, and Superhuman.

1:53

Check it out at lennysnewsletter. com.

1:53

With that, I bring you Varun Mohan.

1:59

This episode is brought to you by Brex, the  financial stack used by one in every three US venture-backed startups.

2:05

Brex knows that nearly  40% of startups fail because they run out of cash.

2:11

So they built a banking experience that focuses on  helping founders get more from every dollar.

2:11

It's a stark difference from traditional banking  options that leave a startup's cash sitting idle while chipping away at it with fees.

2:21

To  help founders protect cash and extend runway, Brex combined the best things about checking,  treasury, and FDIC insurance in one powerhouse account.

2:32

You can send and receive money  worldwide at lightning speed.

2:32

You can get 20X the standard FDIC protection through program  banks.

2:37

And you can earn industry-leading yield from your first dollar while still being able  to access your funds anytime.

2:42

To learn more, check out Brex at brex. com/banking-solutions. That's B-R-E-X, . com/banking-solutions.

2:56

This episode is brought to you by Productboard,  the leading product management platform for the enterprise.

3:01

For over 10 years, Productboard has  helped customer-centric organizations like Zoom, Salesforce, and Autodesk build the right  products faster.

3:07

And as an end-end platform, Productboard seamlessly supports all stages of  the product development lifecycle, from gathering customer insights to planning a roadmap, to  aligning stakeholders, to earning customer buy-in, all with a single source of truth.

3:22

And now,  product leaders can get even more visibility into customer needs with Productboard Pulse,  a new voice of customer solution.

3:27

Built-in intelligence helps you analyze trends across all  of your feedback and then dive deeper by asking AI your follow-up questions.

3:37

See how Productboard  can help your team deliver higher-impact products that solve real customer needs and advance your  business goals.

3:42

For special offer and free 15-day trial visit productboard. com/lenny. That's Productboard. com/L-E-N-N-Y.

3:59

Varun, thank you so much for being  here and welcome to the podcast.

4:03

Buddy, thanks for having me. A long time listener.

4:05

Oh, I really appreciate that.

4:05

I'm so excited  to have you here.

4:05

I feel like just you guys have become this overnight success, which  is definitely not an overnight success, but I feel like I've been hearing about  Windsurf more and more as people's favorite AI tool.

4:16

And I just don't think people know  the story behind Windsurf, behind Codeium, the company that you built.

4:21

So I thought it'd  be good to maybe just start there and have you just briefly share the history of Codeium  and how Windsurf emerged out of Codeium. Yeah.

4:31

So the company was actually started  close to four years ago.

4:31

As you know, AI coding was not a thing four years ago.

4:35

ChatGPT was not out four years ago.

4:35

At the time, we actually started out building GPU  virtualization and compiler software.

4:45

Before this, I worked in autonomous vehicles.

4:45

My  co-founder, who I had known since middle school, worked on AR/VR at Meta.

4:50

And for us, we believe  deep learning would touch many, many industries.

4:56

It wouldn't just touch autonomous vehicles.

4:56

It would touch financial services, defense, healthcare.

5:01

And we believe these  applications were hard to build, these deep learning applications.

5:04

So we made it  possible for you to effectively run these complex applications on computers without GPUs, and we  would handle all the complexity of being able to actually run the workload on the GPUs for you.

5:15

And  we were able to optimize these workloads a ton.

5:20

And in the middle of 2022 rolled around and  we had a couple million in revenue and we were managing upwards of 10,000 sort of GPUs. We  had eight people.

5:25

At the time, we were free cash flow positive.

5:29

But I think what we felt was once  these generative models started to get very good, we sort of felt a lot of what we built was not as  valuable.

5:35

And this was a very, very hard moment for us at the company.

5:40

We were only eight people  at the time, but we felt, "Hey, would people be training these very bespoke sentiment classifier  models anymore that were very, very custom models?

5:50

Or would they just ask GPT-N, is this a positive  or a negative sentiment?"

5:50

Probably it's going to be the latter, right?

5:55

And in a world in which  everyone was going to run generative AI models, why would an infrastructure company be a  differentiator?

5:59

Because everyone is going to run the same kind of infrastructure down the line.

6:04

So instead what we decided to do was we believe generative AI was almost going to be like  the next internet.

6:09

And in that case, what we should go out and do is build the next great  apps like Google, like Amazon.

6:12

And we vertically integrated and actually took our infrastructure,  our inference infrastructure to go out and build Codeium at the time.

6:21

And at that time, we were  early adopters of GitHub Copilot and we thought the coding space was going to get tremendously  disrupted in the next coming years.

6:26

So we actually took our infrastructure, we ran our own models  in massive scale.

6:31

We even trained our own models.

6:35

In the very beginning it was very, very  simple.

6:35

It was purely an autocomplete model, which basically means that as the user was  typing, we'd complete the next one or two or three or four lines of code.

6:44

But we provided  the product entirely for free in all the IDEs that developers coded.

6:49

That meant to VSCode,  JetBrains, Eclipse, Visual Studio, Vim, Emacs.

6:49

And the reason why we were able to build it for free  was because of our infrastructure background.

6:56

We were able to optimize these workloads a ton.

7:00

I guess very quickly after that, some large businesses also wanted to work with us.

7:06

And we  built out this enterprise motion to work with these large companies like Dell, JPMorgan Chase.

7:11

And for them the bigger thing wasn't just, "Hey, could we autocomplete code or could we chat with  the code base?"

7:15

It was, "Could you offer us a secure offering that was also personalized to all  the private data inside the company?"

7:19

So we took our infrastructure and made it so that we invested  a ton in making sure that we deeply understood these large companies code bases.

7:28

And that's  what we were working on until six months ago.

7:33

It's not that we've stopped working on that,  but basically what we realized six months ago was we were getting limited by the IDEs  that we were already working in.

7:37

So VSCode, which is a very popular IDE, had a ceiling  for the AI capabilities, we could showcase our users.

7:47

And because of that, we decided to  go out and fork VSCode and build our own IDE with some of these new agentic capabilities.

7:51

And over time in the last couple of years, the model capabilities have also been growing  exponentially year over year.

7:55

And that's sort of where we are right now.

8:00

I skipped a lot of  pieces there, but that's what we're landed.

8:05

There's so many interesting threads there.

8:05

One is just, there's always this question of just where value will accrue in AI.

8:08

And it's so  interesting, you guys started almost at the bottom layer of infrastructure GPUs and then you  went to what people call a GPT wrapper, not actually.

8:19

So I guess any just  lessons there, just thoughts on just where you think value will end up in  this world of AI and the stack of AI tools?

8:28

Maybe I can start by just saying one thing  about startups that I think are really true, it's very unlikely the first thing that you  believe you should go work on is going to be the right thing, which is a very hard thing to  kind of wrangle with being a startup founder, right?

8:43

You need to kind of be irrationally  optimistic that what you're going to do is going to be differentially important.

8:48

Because  otherwise, why would you go out and do what you're doing?

8:51

And if it's obvious, then a  bigger company would've already done it, right?

8:56

But then you also need to be really, really  realistic because most ideas that are, I guess, non-conventional are usually bad ideas,  right?

9:01

So it's this weird tightrope you need to kind of balance on top of where you're pushing  for a future that you believe is true, but all the while you're getting new information.

9:15

You need  to kill the beliefs that you had.

9:15

And if I were to start with the infrastructure piece, we first went  in with the assumption that model architectures were going to be really, really heterogeneous.

9:24

Working from an autonomous vehicle background, there were many different types of model  architectures out there.

9:28

There were convolutional neural networks, graph neural  networks, recurrent neural networks, LSTMs, sort of lighter neural nets with frustrum  point networks.

9:36

And there were maybe tens of architectures we were dealing with.

9:41

And at that  point we were like, the complexity of this is so high that it's very clear if someone offloaded  the complexity, there would be a lot of value.

9:49

Fast-forward to the middle of 2023,  everything looks like it's going to be a transformer.

9:52

So now our hypotheses  are just wrong.

9:52

So at this point then, most of the value is probably not going to accrue  at purely the, at least this is our belief, at the infrastructure layer.

10:01

It's going to  accrue somewhere else.

10:01

Where is the layer that you can actually differentiate on?

10:05

And  we believe the application layer is a very, very deep layer to go out and differentiate on,  right?

10:08

What are the number of ways we can build better user experiences and better workflows  for developers?

10:12

We think there's effectively no ceiling on that, on how much better we  can make the lives of developers basically.

10:22

You touched on the second thread that  I thought was really interesting here, is just how you guys pivoted from ideas that  were working.

10:24

You were making money, people loved it.

10:29

You said you had millions of dollars  of ARR revenue.

10:29

And then you're just like, "No, we're going to completely change the business."

10:33

So the question there is, just like, what have you learned about knowing what to follow?

10:38

And one thing I heard there that was really interesting is just once your assumptions  change about that you built your idea on, it's time to think this idea  and maybe try something else.

10:48

I think the way we sort of think about this  is even when we're working right now, we just accept that we're going to get a lot of things  wrong.

10:53

We're just going to get a lot of things wrong.

10:57

Obviously that's a very big moment because  that was a bet the company moment in the sense that we basically said, told our investors, "Hey,  we're making money on this."

11:02

We had already raised 28 million of capital and we were just like,  "Hey, we're just going to pivot entirely from this."

11:10

And we did that overnight.

11:10

This wasn't this  thing where we just said, "Hey, maybe a quarter, one or two quarters."

11:15

Because one of the things we  knew that's very important for startups is focus.

11:20

If you're trying to do another thing that you  think is big and you're focused on something that you don't believe is valuable, you're guaranteed  going to fail at the thing you think is going to be big.

11:26

So that's a very obvious thing there.

11:26

But  I think once you go in with the assumption that a lot of your hypotheses are going to be wrong, but  you will do the most concentrated work possible to go out and validate these hypotheses  and you won't be in love with your ideas.

11:41

I think ideas, it's awesome when you have a great  idea, but you should never be too in love with your ideas.

11:45

And you have an organization that  is very truth-seeking.

11:45

I think a lot of people at the company have had their ideas tested over  and over again.

11:50

Even just building Windsurf.

11:50

That is not a complete company pivot, but that's a big  decision that we made at the company.

11:54

You kind of need to make some bets.

11:59

And sometimes you're  wrong and sometimes you're right.

11:59

But if you have an organization that comes out and you feel  like morale is not going to be low if you made the wrong decision, that's the best, right?

12:08

That  means you have optionality for the rest of time.

12:14

And Lenny, one thing that I try  to tell the company about this is, this year the total amount of engineering output  we'll have is much larger than the engineering output we've had since the beginning of the  company's creation 'till now.

12:23

So that almost means every year is a new lease on life for us,  right?

12:28

It's almost a new way for us to test out an entirely new set of hypotheses.

12:34

And maybe  we were wrong about our original hypotheses in the first place.

12:40

What makes us more smart than  everyone else to be right more times than that? That's so empowering.

12:46

It makes me think  about...

12:46

Uri Levine was on the podcast, co-founder of Waze, and he has this  phrase that he wears on his shirt.

12:49

His book is called this Fall in Love with the  Problem, Not the Solution.

12:53

And that feels like that's exactly what you're describing.

12:56

Okay, so let's talk about Windsurf.

12:56

What's the simplest way for people to  understand what is Windsurf? Yeah.

13:04

So Windsurf is an IDE, right?

13:04

It's an  application to go out and build software and build applications.

13:10

The crazy thing is a  lot of people who use the product don't even probably know what an IDE is, which is  crazy.

13:16

And we'll get into that in a second.

13:22

But why did we go out and build Windsurf and  what is Windsurf maybe?

13:22

Why couldn't we have just done this on top of conventional  IDEs like Visual Studio Code?

13:27

So maybe just to get into this a little bit, as we saw  that AI was getting more and more powerful, the way people go out and build technology,  we thought the interface for that was going to change remarkably.

13:39

It was not going to be a  conventional pure text editor where the user is writing a handful of lines of code or most of  the code and the IDE provides maybe some basic feedback on what the user is doing right or wrong.

13:51

And the basic feedback could be, "Hey, there's a bug in your software or compiler error in your  software."

13:56

It could do much more, right?

13:56

It could actually go out and modify large chunks of code.

14:00

One of the key pieces that we recognized was, with this new paradigm with AI, AI was probably  going to write well over 90% of the software, in which case the role of a developer and what  they're doing in the IDE is maybe reviewing code.

14:16

Maybe it's actually a little bit different  than what it is in the past.

14:16

And we'll see this very soon with Windsurf.

14:19

Maybe when you're  using the product, actually a good chunk of the user's time is that you're reviewing what the AI  is outputting.

14:25

So we needed to build custom-review flows into the IDE to actually make it so that  it was easier to actually go out and do that, right?

14:35

Because the developer is not  spending all their time writing code.

14:38

And this is the fundamental premise on why we  built the product.

14:38

We thought we were going to get limited a ton if we had very, very  basic UI out there.

14:41

And I'll give you even a simple example here.

14:46

We have this auto-complete  product that completes a handful of lines of code.

14:51

Now we've actually launched this offering  called Windsurf Tab that basically shows you refactors as well.

14:55

And these refactors  are almost inline refactors.

14:55

And we were able to build a custom UI for that in Windsurf.

15:00

But in VSCode, because of the access to the APIs, we needed to dynamically generate images right  alongside the user's cursor because we just didn't have access to the capabilities  to showcase and edit properly.

15:12

And what we realized is immediately by porting over  to Windsurf, our acceptance rate tripled.

15:21

Same ML models, it just tripled.

15:21

So what that, I  guess, gave us confidence in is yeah, you could argue technology is very important.

15:26

And I think  technology is very important.

15:26

But if our users are getting very little value from the technology  we're sort of building, you need to really clarify, "Maybe we do need to build a new surface  and interface."

15:34

And that's what Windsurf is.

15:39

So the big bet you took there just to make  this super clear, is you were initially working within existing IDEs that everyone  was familiar with.

15:43

And then it was like, "This isn't going to get us where we need to  go.

15:47

We're going to try to convince people to switch to something completely new because it's  going to be so much better. It's our own IDE."

15:56

I think maybe people may not  recognize just how risky that is, convincing engineers to use something  completely new. That's a huge deal. Yeah, no, of course.

16:02

And one of the key pieces,  maybe Lenny, that would be important to share is a lot of our developers do use Visual Studio  Code.

16:08

But there are lots of people that write in languages like Java, sort of C++ and so on and so  forth, and they might use the JetBrains family of IDEs that like IntelliJ.

16:20

And for us, we are  actually still committed to building on those platforms, right?

16:24

We just felt though that one of  the dominant IDEs, which was Visual Studio Code, was limiting the sort of user interface  that we could give to our actual customers.

16:35

What is the current state of traction for  Windsurf?

16:35

You hear all these crazy numbers about all the competitors in your space.

16:39

What  can you share there for folks just to know?

16:43

Yeah, so maybe a handful.

16:43

We launched  the product a bit over four months ago.

16:47

And in that period of time, over a  million developers have tried the product.

16:50

And obviously we have many hundreds  of thousands of monthly active users right now.

16:54

I love how these days like, "oh, a million. Oh, no big deal."

16:54

It's just the numbers are absurd these days.

16:58

We're just getting used  to just 100 million ARR here, million users in four months there.

17:04

It's just like, "Oh, of  course.

17:04

How could you not have that?" But that's absurd.

17:09

It's just like an insane time right now.

17:09

You touched on something that I wanted to get to later, but I may as well bring it up now, the  question of just how engineering will change in the future.

17:18

You throw out the stat that 90% of  code is going to be written by AI in the future.

17:24

Dario from Anthropic recently said the same  thing.

17:24

You guys have a really interesting glimpse into just how things will look in the future.

17:28

So I guess the question is just, how do you think coding specifically will look in the next  few years, how different will it be from today?

17:38

I think when we think about what is an engineer  actually doing, it probably falls into three buckets, right? What should I solve for? How should I solve it? And then solving it.

17:49

I guess everyone who's working in this space is  probably increasingly convinced that solving it, which is just the pure, "I know how I'm  going to do it" and just going and doing it.

17:57

AI is going to handle vast majority, if  not all of it.

17:57

In fact, it probably actually, with some of the work that we've done in  terms of deeply understanding code bases, how should I solve it is also going to get  closer and closer to getting done.

18:06

If you deeply understand the environment inside an  organization, if you deeply understand the code base, how you should solve it, given best  practices when the company also gets solved.

18:19

So I think what engineering kind of goes to is  actually what you wanted engineers to do in the first place, which is, what are the most important  business problems that we do need to solve?

18:23

What are the most important capabilities that we need  our application, our product to have?

18:27

And actually going and prioritizing those and actually going  and making the right technical decisions to go out and doing it.

18:36

And I think that's where  engineering is probably heading towards.

18:40

Now, does that mean that no one needs a CS degree?

18:40

I think that's maybe a little bit overplayed a little bit just because maybe here's my argument  for that.

18:46

A lot of developers nowadays that build full stack applications, at least until a  handful of years ago, they probably went to college and took an operating system course.

18:56

And  in theory, they're not really playing around with the operating system, like the kernel scheduler  very frequently.

19:00

But do those principles help them in understanding why their applications  are slow?

19:05

Do they help them in understanding why some design decisions are better than the  other?

19:09

Yeah, that makes them a much better engineer than another engineer.

19:13

And I think  that idea and the understanding of what's going on at the bottom will make a good engineer even  better.

19:18

But also at the same time, it empowers a bunch of people that never understood all of  those things, how to actually build as well, which is another remarkable sort of thing  that fell out through this whole process.

19:33

I don't know if you have kids, but just say  you had kids or you had niece or nephew going into college, let's say, would you suggest  they do do computer science or would you suggest you're not going to have a good time  if that's the career you choose right now? Yeah.

19:47

Maybe I think back a little bit. So I  went to MIT.

19:47

A lot of us at the company went to MIT together on the engineering team.

19:52

I think  when I think about what we learned the most for engineering or computer science, it was not  exactly like how do you write code.

19:59

That is almost a given that you can write code after going  to college.

20:05

It's more like the principles of how you think about a problem and how you break it  down and how you solve it in an interesting way.

20:15

So an example of a class that I really enjoyed  was our distributed systems class.

20:15

And there, you're kind of reading through literature  and understanding how some design decisions were kind of made.

20:24

And I think it's more like a  problem solving kind of course and a major.

20:24

It's a major of how you solve problems given some  constraints of how computers today function, right?

20:35

Like, here's the speed at which memory  sort of operates.

20:35

Here's the speed at which...

20:39

Here's how much computation you can do in  one cycle or one second.

20:39

And based on that, you can make some trade-offs and solve a problem.

20:43

So I don't know if I would say that you shouldn't go get a computer science degree.

20:48

I think computer  science is almost synonymous with problem solving.

20:52

In that case, I think it's pretty valuable.

20:52

Is  everything you learn in your computer science degree useful?

20:56

I'd say a lot of things that  I learned in my computer science degree are not useful.

20:59

I'll give you an example.

20:59

I took a  parallel computing class in Julia.

20:59

I don't think Julia is a very popular programming language  anymore.

21:04

Am I very sad that I took the class? No.

21:08

The principles of parallel computing  are still very useful, I would say, today.

21:11

So what I'm hearing is, skills  that you still want to build, whether it's computer science or maybe  some version of computer science, is kind of building the mental model  of how computers and systems work. That's right.

21:23

Parallel processing, memory, hard drives, internet, things like that.

21:25

And then  there's just problem solving skills, being able to solve interesting problems.

21:29

Is there any other skills you think people should be investing more in with the rise of  AI building more and more of our products?

21:36

I think one of the things that's maybe a little  bit undervalued is this kind of agency piece.

21:42

And I think about this a lot, which is, you have a  lot of people that could go through college and go through school and they're basically told exactly  what to do on a P-set.

21:47

They're given these very, very, I would say, well-defined paths that they  need to take.

21:52

I think maybe in society and just school, we don't prioritize how do you make sure  you get people with real agency that want to build something, right?

22:06

Their goal is not just to  maybe graduate from college and then get a job at a big tech company where they're told  exactly what to do or where to put the pixel for this one website.

22:15

I think that's maybe a  skill set that is undervalued just right now, probably in the last maybe 10 years or so.

22:21

And I  think that's going to be really, really important.

22:28

For a startup, obviously these are skills  that we just look for.

22:28

We look for people that are really high agency because  we just recognize that by default, if we don't innovate and do crazy things,  we're going to die.

22:36

The company is just going to die.

22:39

So we just look for this, right?

22:39

But I  would say for most software engineering jobs, that's probably not the case.

22:44

Just think  about big company X and what they're hiring for on the average software engineering  interview.

22:48

It probably doesn't look like that.

22:52

I love how you phrased that.

22:52

If we  don't do crazy things and innovate, we're going to die.

22:56

That would be a great  title for this podcast episode.

22:56

And I think, I know, it's 100% true.

22:59

There's just  a lot of crazy things happening and a lot of innovation happening.

23:03

And  if you can't keep up, you'll die.

23:07

So let's talk about hiring.

23:07

You have a really  interesting approach to hiring.

23:07

There's a few questions I have here.

23:11

One is just how do you...

23:11

I  know you try to stay really lean.

23:11

That's a common theme across all the AI startups these days.

23:17

How do you know when it's time to hire someone?

23:22

I love the idea of being a lean company, but I  don't idolize it in the way that, "Hey, it is a dream to be a 10% or 20% company that's making  50, 100, 200 million in revenue."

23:27

That's not, I think, what we idolize inside the company.

23:34

I think what we idolize is, be the smallest company we can be to satisfy our ambitions. That's what the goal is.

23:39

And maybe, Lenny, the way I would sort of put that out there  is, if I told you, "Hey, I'm going to build an autonomous vehicle," and I said our team is 10  people, you should rightfully say, "Hey Varun, you're not serious. And you'd be right.

23:54

I'm not  serious at that point.

23:54

So I think the answer is, what is the minimum number of people to go out and  build the crazy ambition project that you have?

24:05

And I think the project we are trying to go  out and do, which is completely transform the way software gets built, we've mentioned  this [inaudible 00:24:11] the company, our goal is to reduce the time it takes  to build apps and technology by 99%, right?

24:15

It is a tremendously sort of ambitious  goal.

24:15

And it's not possible for us to be a 10, 20, 30, 40 person engineering team in the long  term and actually satisfy that goal.

24:21

We think there's a very, very high ceiling.

24:25

So that's  maybe the first key piece there.

24:25

It's like, if we can crack actually being a fairly sizable  company but still operate as if we're a startup, that's the dream. That's the dream.

24:36

In terms of hiring philosophy, the way we sort of think about things is, we only hire for a role  if we're actually underwater for that function.

24:41

So let's say we're going out and building inference  technology.

24:48

Unless we're underwater there, we will not go out and hire someone to go out  and work for that.

24:52

And the reason for that is, I actually think this is a feature.

24:57

When  you hire for a role and you already have enough people there, you get a lot of weird  politics that ultimately ends up happening.

25:08

And it's not because people are bad people.

25:08

I  think most people are really well-intentioned.

25:13

But what happens when you have people that join  a company and in reality you didn't really need them?

25:17

They will go out and manufacture some  other thing that they should go work on.

25:17

They will go out and figure out something else to work  on.

25:21

And realistically, it's not that important, but they will go out and try to convince the  rest of the organization that it is important.

25:30

I just think as a startup, we don't have the  bandwidth to go out and deal with that, right?

25:34

For me, I would like to see everyone just almost  be raising their hands up being like, "I'm dying.

25:40

We need one more person."

25:40

And that's when we go  out and hire someone.

25:40

And one of the analogies I like to give is, I want the company to almost  be this dehydrated entity and every hire is like a little bit of water.

25:50

And we only go back and  hire someone when we're back to being dehydrated.

25:57

I love this metaphor so much. And it sounds  painful.

25:57

It sounds painful that you need to be underwater and raising your hand, "I'm  about to die and dehydrated."

26:03

But I also know that it's a really exciting way to  work.

26:07

It sounds hard, but if you're in it, it's just like...

26:12

I guess talk about just that  side of it because I think it could sound like, "This is terrible.

26:17

I don't want to work this way."

26:19

You know what I actually think, Lenny?

26:19

It's really  good for a handful of reasons, which is that a lot of the...

26:24

We respect and trust the people that  work at the company.

26:24

So this forces ruthless prioritization.

26:29

You have a team that's going out  and doing something.

26:29

They will never ask to work on something that's not important.

26:34

In fact, if  there are two things that they're working on, they're just going to just tell me, "Hey, there  are two things on my plate.

26:37

I just don't have the ability to do two. I can only do one."

26:41

And  they will pick the one that's most important.

26:45

And this actually goes back to one thing that I  think is true about startups and just companies in general.

26:48

You don't win by doing 10 things  well.

26:48

You win by doing one thing really well and maybe you fail nine things.

26:55

This is  the thing that I've told the company, "This is very different than school," right?

26:58

In school you optimize for your total GPA.

26:58

But for companies, I just need to get an A+ on  the one class that matters.

27:03

And then I can get an F in all the other classes.

27:07

And an F in  all the other classes doesn't mean just doing illegal things.

27:13

That basically means  you just deprioritize things that don't matter.

27:16

That actually forces this organizational  prioritization that is just really, really good.

27:22

And Douglas and I, Douglas being my co-founder,  we can tell the company, "These are the two things that are the most important."

27:27

But if we go out  and tell these are the two things that are the most important to the company and then we put  the company has 20% more people than necessary, what's going to ultimately happen?

27:35

It's almost  a forcing function for ruthless prioritization to have fewer people or people that are  just underwater internally at the company.

27:46

Everyone listening that works at a big company  knows exactly what you mean when you described when there's just too many people, they will all  find work to do and they will all be pitching ideas.

27:55

They all want to show impact, they want to  do well in their performance reviews.

27:55

That's just the nature of too many people at a company.

27:59

And so I think this all really resonates.

28:04

To even getting even deeper on just what it  looks like when someone's underwater to tell you it's time to hire, is it just someone  coming to you, "Varun, I need someone on this team.

28:12

This is just not possible"?

28:12

What  does that look like even more practically?

28:16

Yeah, I think it's basically along those lines.

28:16

It's that, "Hey, there's some pressure to get something done in a short period of time."

28:21

By  the way, one of the things that we do believe though for software, if you want to do great  things, it's not possible to just say, "Hey, I want to get it done in one month" if it is  like...

28:28

Because you have to think about it from this perspective.

28:32

If a software project could get  built in two to three weeks, what does that really mean about the true complexity and differentiation  of what you built?

28:36

It's probably not very high, unless you believe you are way smarter than  everyone else.

28:41

But I think that's hubris, right?

28:44

I think we actually have a very exceptional  engineering team.

28:44

But also at the same time, I don't think our engineering team is so  exceptional that we can do things in three weeks that the rest of the world can't do in six to nine  months.

28:52

That's kind of stupid to believe that.

28:57

So I think basically it comes down to  that person coming out and being like, "Hey, look, I don't have enough time to do  X."

29:01

Us having a conversation to be like, "Okay, what can you do then?"

29:06

And if the answer  is, "I can only do less than that," then maybe we make a decision actually, "Oh wow, that's  great.

29:11

Maybe we actually should deprioritize Y."

29:15

Because this is actually also another thing  that's very hard even for people like me and my co-founder.

29:19

It's that we also want to do a  lot of things.

29:19

There's an urge to do a lot of things.

29:24

But if we are forced to make a decision  constantly on like, "We cannot do X," it's very clarifying.

29:30

It's very clarifying because our  engineering interview process is also extremely low acceptance rate.

29:35

So it's not very easy for  us to very quickly spin up people and have them join the company really, really quickly either.

29:39

So I think it's clarifying for everyone.

29:39

It's clarifying for the person that wants more  people.

29:46

We can just tell them, "Hey look, we don't believe you should be doing this  other thing."

29:50

And it's also clarifying for us because we can also get on the same page  with them.

29:54

And sometimes we just kind of agree, "Hey..."

29:58

Our teams are very flexible that, "Hey,  actually we do need to get something done."

29:58

And one of the things that we've kind of tried to  make sure is true on our engineering team is, people's value to the company does not have  anything to do with the size of their team.

30:11

There are projects inside the company, there  are directly responsible individuals for these projects inside the company.

30:15

And if we  feel like one project is very important, then people can move from one project to the next.

30:18

There's no notion of someone owning people at the company.

30:23

That is a very bad and gnarly idea.

30:23

In fact, the person that is the most valuable at the company is the person that can do  the most crazy sort of project out there with as few people as possible.

30:32

And that's  what you should be rewarding internally.

30:35

How many people do you have  at coding at this point?

30:38

So we have close to 160 people and the  engineering team is over 50 people right now. Awesome.

30:42

Oh, what's the other bigger  functions?

30:42

So [inaudible 00:30:46]- We have go-to-market. We have a... Yeah. Oh, right. Okay.

30:48

I want to talk about that,  the sales learning that you guys had. Okay.

30:51

But let's close out this hiring conversation.

30:51

So  we talked about what you look for...

30:51

To tell you it's the time to hire, what do you look for  in the people that you interview and hire?

31:01

One of the key pieces that we look for, we have  a very high technical bar.

31:01

So assuming that they actually meet the technical bar, I think  we sort of look for people that are really, really passionate about the mission of what  we're actually trying to solve and people that are willing to work very hard.

31:12

I think one of the  things that we don't try to do is convince people, "Hey look, we are a very chill company  and it's great to work here."

31:17

I think, no, this is a very exciting space. It's very  competitive.

31:22

You should expect us to lose if the people at the company are not kind of...

31:26

They're not working very hard.

31:26

And I think one of the biggest dog whistles I hear is, when I  ask people how hard are you willing to work, some people actually ultimately say, "Hey, I work  very smart."

31:36

And I basically ask them a question, "If we have many smart people at our company that  also work hard, what's the differentiator going to be?

31:46

Are you just going to pull them down?"

31:46

Because I think one of the things that's true about companies is it's like this massive  group project.

31:50

And I think the thing about a person that is not pulling their weight  that's bad.

31:55

It's not the productivity, right?

31:59

At some point when the company becomes  many hundreds of engineers, I'm not going to be thinking about the one engineer that's not pulling  their weight.

32:02

It's the team of people they work with that are almost basically saying, "Is this  the bar internally at the company?

32:06

Is this the expectation?"

32:11

And I guess, Lenny, if I told you  you have a team of five people and the four other people you're working with just don't care, how  much are you going to feel like you should care? Not too much. Exactly.

32:22

So for us, I think that's what  we more care about.

32:22

We have a culture where it's very collaborative.

32:27

It's not an individual sport, but people feel like they can rely on other  people to get complex sort of tasks done.

32:35

So the question you asked there just basically is,  how hard are you willing to work?

32:35

How hard do you want to work?

32:40

And I know some people, there's this  whole group of folks that are just like work-life balance, "How dare you ask me to work crazy  hours?"

32:46

And I love just the filter upfront of, "If you work here, you will work really  hard.

32:52

You'll work a lot of hours.

32:52

It's a crazy space to be in.

32:57

And we will win  by working smart and also really hard." Yeah.

33:03

You said at some point earlier  that your engineering pass rate, as you said, it was like 0.

33:07

6% of  candidates, something like that.

33:10

Yeah, it's probably post or take home.

33:10

It's probably that actually.

33:10

So the take home itself filters probably  another 10, 15X on top of that.

33:18

Here's a question that I've been hearing more  and more, is just, how do you do interviews these days with tools like Windsurf  out there that solve all your problems?

33:25

We are okay with people using the tools because  I think one of the worst things is like, if someone comes here and doesn't like using  these tools, we believe there are massive productivity improvements.

33:33

We do bring people  into the company on site so we can actually see how they think through problems on a whiteboard  and all these other pieces.

33:39

So we do want to see how they think on their feet and hopefully  they're not just taking what we're saying, putting it in a voice translator and sticking  it into ChatGPT and getting the answer out.

33:51

So there is a way to do this.

33:51

My viewpoint on  this is the tools are really, really important, but I do think we still look for some  problem solving ability.

33:57

If the only way you can solve a hard problem is put it  into ChatGPT, I think that's a concern to us.

34:07

Today's episode is brought to you by Coda.

34:07

I personally use Coda every single day to manage my podcast and also to manage my  community.

34:12

It's where I put the questions that I plan to ask every guest that's coming  on the podcast.

34:16

It's where I put my community resources, it's how I manage my workflows.

34:20

Here's how Coda can help you.

34:20

Imagine starting a project at work and your vision is clear,  you know exactly who's doing what and where to find the data that you need to do your part.

34:29

In  fact, you don't have to waste time searching for anything because everything your team needs  from project trackers and OKRs to documents and spreadsheets lives in one tab all in Coda.

34:38

With Coda's collaborative all in one workspace, you get the flexibility of docs, the structure  of spreadsheets, the power of applications, and the intelligence of AI all  in one easy to organize tab.

34:54

Like I mentioned earlier, I use Coda every single  day.

34:54

And more than 50,000 teams trust Coda to keep them more aligned and focused.

35:00

If you're a startup  team looking to increase alignment and agility, Coda can help you move from planning to execution  in record time.

35:04

To try it for yourself, go to coda.

35:09

io/lenny today and get six months free of the  team plan for startups. That's C-O-D-A, .

35:09

io/lenny to get started for free and get six  months of the team plan. coda. io/lenny. Okay.

35:24

Let's talk about this go-to-market sales  experience that you guys had.

35:24

So you started obviously like most people, started building  without sales team.

35:28

And then you realized, from what I hear, that that was a huge miss and  a big opportunity to talk about there because that's really unique, I think, that you guys  have a large sales team and go-to-market team.

35:40

Yeah, we actually made this decision  pretty early in the company's history, I would say.

35:43

We hired our VP of sales over a  year ago actually.

35:43

And the go-to-market team is now over 80 people inside the company.

35:49

So it's  a pretty sizable function inside the company. Yeah.

35:55

Maybe a little bit of a backstory here.

35:55

So  when we started the company, actually we had a handful of angels that actually were operators,  go-to-market operators.

35:59

So an example of one was Carlos Delatorre who used to be the CRO of  MongoDB.

36:04

And I think for us, we never viewed enterprise sales and sales as a very negative  thing.

36:09

I think this is a interesting thing that technical founders sometimes don't really  like.

36:13

They think sales is a very negative part of the process.

36:18

Everything should be product-led  growth.

36:18

I think it's not that black and white.

36:24

I think enterprise sales is really valuable.

36:24

But maybe when we were a GPU virtualization company and we were an infrastructure company,  the reason why we never hired a salesperson is, I didn't know how to scale the function.

36:33

I was the one who was selling the product.

36:37

So ultimately speaking, if it was hard for me to  sell the product incrementally, I didn't know how we could make that into a process that we could  then go and scale.

36:41

I didn't know how we could take the revenue of the business from a couple million  to hundreds of millions and let alone even tenths.

36:54

So if I didn't know how to do that, how could I go  out and hire someone and make them scale it out?

36:58

On the other hand, for Codeium, very quickly,  a lot of large enterprises reached out to us.

37:02

And from that alone in the middle of 2023, we  started, I guess, me and a handful of other folks at the company started selling the product  and we were doing tens of pilots concurrently with large enterprises and we were very quickly able  to understand that there was a large enterprise motion that needed to be built in this space.

37:19

So by the end of 2023, we actually hired our VP of sales.

37:24

And very quickly after that,  scaled our sales team.

37:24

Yeah, I mean look, if you want to sell to the Fortune 500, it is very  hard to do that purely by swiping a credit card. Let's talk about Cursor.

37:36

I don't want  to spend too much time with competitors, but that's what everyone's always thinking about  when they think of you guys.

37:39

You guys are kind of the leading players, I think, in the space  also.

37:42

There's Copilot, but that's different.

37:46

So what's the simplest way to  understand how you guys are different from Cursor and also just how  you think you win in the space long-term?

37:53

So I think maybe a handful of things that  I could share.

37:53

So on the product side, I think we've invested a lot in making sure  code-based understanding for very large code bases is really high quality.

38:01

And that's just  because of where we started.

38:01

We worked with some of the worlds are just companies like Dell,  JPMorgan Chase.

38:05

Companies like Dell have singular code bases that are over 100 million lines of  code.

38:10

So being able to understand that really, really quickly to make large scale changes  is something that we've spent a lot of time doing.

38:18

And that requires us actually building  our own models that can consume large chunks of their code base in parallel across  thousands of GPUs and almost rank them to be able to find out what the most important  snippets of code are for any question that are asked about the code base.

38:30

So we've gone  out and built large distributed systems based on our infrastructure background to  go ahead and do that. That's maybe one.

38:38

Let me actually follow that thread because I  think people may underestimate just how big of a deal that is.

38:42

So when we talk about, we had  the founders of Bolt and Lovable on the podcast, so those products, they build something from  scratch, they built, they write the code for you.

38:51

So that versus just loading, say, Windsurf  on your million line code base, say, at Airbnb or Uber.

38:59

Like, understanding what the hell you have  and how it works and where to go change things without breaking it is insanely hard.

39:05

And so what  I'm hearing is that's kind of a big differentiator as you guys started there actually.

39:10

And then  Windsurf is now building up that advantage. That's right. Yeah.

39:15

So that's a big thing  that we spent a lot of time on, which is just understanding what the code base is doing.

39:19

And actually one of the other things is, what are all the user interactions with respect to the code  base?

39:24

And happy to show that also in a bit here. Awesome.

39:31

The second key piece probably is we're not only  tied to Windsurf actually.

39:31

This is probably a weird statement given even we are talking about  Windsurf, which is that actually we're pretty focused on supporting IDEs like JetBrains.

39:42

JetBrains or IntelliJ has over 70 to 80% of all Java developers coding in JetBrains  based IDEs, right?

39:49

The reason why we don't feel as big a need to almost build a competing  product to JetBrains is JetBrains is actually a very sort of extensible product in a way that  VSCode is not.

40:00

VSCode is not very extensible.

40:05

So I think for us, our goal here is not only  just to satisfy a subset of users that can actually switch onto our IDE, but we want to give  this agentic sort of experience to every sort of developer out there.

40:12

And if that means there are  Java developers that write in JetBrains, that's fine.

40:17

We work with a lot of large enterprises that  have 10 plus thousand developers where over 50% of the developers are on JetBrains.

40:22

It's a very large  product.

40:22

And by the way, that company itself is a privately held company that makes many hundreds  of millions of dollars a year.

40:28

So it's a very, very large company.

40:32

So for us, that's another  key piece.

40:32

We actually want to meet developers sort of where they are.

40:37

And if they use a  different platform, we'll work on that too.

40:42

The third key piece, and this probably sounds  another key piece for enterprises, is we work in a lot of very secure environments.

40:47

We have  FedRAMP compliance, which means we can sell to very large government entities.

40:53

We have a hybrid  mode of actually using the product, which means that all the code that lives that is indexed,  it actually lives on the tenant of the user, right?

41:02

Code is one of the most important pieces  of IP for the company.

41:02

So I think just if you were to look at it from a big company perspective,  there are many reasons why over the years of just building an enterprise product, we've handled  a lot of complexities that large companies want to see.

41:16

But that's part of it is because of the  history of how we got here in the first place.

41:21

Okay, Varun, enough teasing.

41:21

Let's do a live  demo of Windsurf so folks can see what it's like.

41:25

And then I'm just going to ask you a  bunch of questions as we're going through it.

41:28

So I'll let you pull up a little shared  screen where you have Windsurf pulled up. Great.

41:33

So some context, this is a very basic  React project.

41:33

There's nothing in it right now.

41:38

So if you were to open any sort of file,  it's the default React app project.

41:38

I have this basic image here.

41:45

You can pass Windsurf images  of what you'd like the project to look like, of what I would like an Airbnb for  dog's website to kind of look like. Beautiful.

41:56

Beautiful mock-up by the way.

41:56

I love that this is like all you need. This is all you need. This is all you  need.

41:59

So basically what we're going to do is we're going to say, "Hey..."

42:04

One  of the cool parts about Windsurf is it can actually work in an existing project  already.

42:08

So I can basically say, "Hey, change this React app to show an Airbnb for dog's  website based on this image and preview it."

42:25

So now it'll just go out and start executing  code, reading through the repository.

42:25

Obviously, it doesn't know what the current code base  actually looks like.

42:31

And it'll go out and analyze the code base to actually find out the set  of changes necessary.

42:35

So we'll go out and wait and see what it's going to do.

42:41

But while we're  doing that, let's continue the conversation. Awesome.

42:45

Okay, so first of all, so you open up  Windsurf.

42:45

You had a boilerplate React project ready to go.

42:52

And Windsurf had never really seen  this code before.

42:52

You ask it to do stuff on your code base, which is just like, "Change this to  Airbnb for dogs using this design." Amazing. That's right. That's exactly right. Yeah. Okay, cool.

43:04

So we'll let it run and  we'll talk.

43:04

Let me ask you this question that I've been asking everyone that comes  on that is building a product that helps engineers build products and product  managers build products and designers.

43:15

Say you could sit next to every single new user  that opens up Windsurf and whisper a couple tips in their ear to help them be successful with the  product.

43:20

What would be a couple tips you'd share?

43:25

Tip number one is just be a little bit patient  and both patient and explicit.

43:25

When you ask the application to go out and make some changes, it  could actually go out and make many irrelevant changes.

43:39

One of the things that I think prevents  this the most is just be really, really explicit or as explicit as possible.

43:45

And one of the  things I ask people to do is in the beginning, start by making smaller changes.

43:49

If there's a very  large directory, don't go out and make it refactor the entire directory because then if it's wrong,  it's going to basically it destroy 20 files.

44:00

And I think from there, one of the key pieces  I think that comes from the users that use the product is they sort of learn what the hills and  valleys of the product are.

44:04

The analogy I like to give are kind of similar to autocomplete.

44:09

When  you use a product like autocomplete, you would think a product that is suggesting things but only  getting accepted 30% of the time would be really, really annoying.

44:18

But the reason why it's not  very annoying is actually because you've actually learned that, hey, 70% of the time, I don't  need to accept this.

44:24

And the times that I do, I know to get value from it.

44:30

And you also know  beforehand if a sort of command that you write is very complex, you just expect, "Hey,  the autocomplete is not going to work for it."

44:40

So I think it's almost like a, understand  what the hills and valleys of the product are.

44:45

The crazy thing is, every three months  that kind of gets changed and reevaluated.

44:49

It almost becomes the case that it becomes  materially better than it was in the past.

44:49

So I think maybe patience and being explicit are maybe  the two important key pieces I would tell users.

44:59

And I think something that was kind  of between the lines there is get a gut feeling of what the model is capable of,  like how specific to be versus how abstract it can be.

45:08

And there's kind of this gut  feeling you start to build over time. That's right. Yeah.

45:12

And with that, it feels like we have an actual  preview. Guess what?

45:15

We have a nice- Cute dogs. A nice dog app.

45:21

And one of the cool parts is  that we've also done beyond just modifying code is actually being able to point to different  pieces.

45:26

And I guess I could just kind of say...

45:26

I could point to different elements and say, "Hey,  make the background..."

45:31

This is not great design, but I could basically say, if I took  this element, "Make this background red and just take a particular element and just  change it and make it red."

45:46

And it should go out and be able to go out and do this.

45:51

The preview aspect of the product of being able to showcase the app while it's getting built  helps in that, now actually you can live entirely in app world.

46:00

You don't even maybe even need to  look at the code.

46:00

Granted this looks hideous, but in some ways if I wanted to,  I could go out and do that, right?

46:09

This is what happens when there's no more  designers.

46:09

Like, [inaudible 00:46:11]. Yeah.

46:11

When there's no more designers. Sure.

46:11

Maybe the answer is like, when you ask me what should people be doing, they should study  great taste. Having great taste.

46:15

Because I think taste is also a very, very hard, right?

46:19

But maybe the other key piece, Lenny, that I wanted to showcase here is obviously you  could keep going here.

46:24

I could take different components and kind of change them.

46:28

We have a lot  of plans here that are beyond just point and click changing components.

46:34

But one of the cool pieces  is the AI.

46:34

There's an AI review flow as well, which is kind of like what I was saying.

46:41

The goal  of AI has now changed a lot in that it is now modifying large chunks of code for you.

46:44

And the  job of a developer now is to actually review a lot of the code that the AI has generated.

46:51

And granted  right now during this podcast, I'm not going to review all the code that's getting generated.

46:56

But let's say I want to go out and modify some of this code.

46:59

And this is where if you're an  actual developer that actually wants to go modify, maybe I don't like my variable name being  called title.

47:03

I want it to be called Title String instead, like this.

47:06

And if I wanted to go  out and make that change and change to go out and say Title String and that's what I'm going to  do, I'm just going to tell the AI to continue.

47:18

The cool part about this is Windsurf not only  knows about what the agent has done.

47:18

It also knows everything that the user has done.

47:24

Our goal  here is to have this almost flow-like state where everything the user has done, the AI also knows.

47:28

And it is able to predict the intent.

47:28

And as you can see, it said, "I noticed that the interface  property title was changed to Title String."

47:38

And then it now has gone out and modified  all the locations within the app from title to Title String.

47:42

And now it no longer says that.

47:42

So this is where even if I'm writing software and I want to go and make point changes, the AI can go  out and quickly make these changes on the user's path.

47:54

Imagine doing a refactor or a migration  and you just change one part of the code.

47:54

You can just tell the AI to continue the rest.

47:59

And  because it deeply understands the code base, it should go out and find all the corresponding  places to go out and make the change.

48:03

And obviously now when I reload my app, there's  no bug in the app. It still loads properly.

48:12

I could obviously tell it to do even cooler things  like make the app retro.

48:12

I don't know what that means, but I guess I could do that.

48:18

And it should  go out and make the change correspondingly for me.

48:23

But yeah, that's maybe the high level parts  there where the AI is not only able to operate entirely in app space but also on the code  space of the users going out and modifying code and to bridge the gap between the two.

48:35

So  it should add leverage not only non-developers that are just purely building apps, but also  developers that are just hands-on keyboard too. Amazing.

48:44

By the way, if you're  not on YouTube, you can't see, but you can just select any element of the  page and then reference that in your ask of, "Here's what I want changed."

48:52

I didn't know  that was a feature.

48:52

And that is extremely cool.

48:57

So interestingly, so having just looked at  Lovable and Bolt and Replit and apps like that, it's basically doing all the things those  apps do. Oh, wow.

49:01

There's the retro version. That's good.

49:05

I like that it built on your  red and made it really nice actually.

49:11

Actually the red looks way better now.

49:12

Yeah, a little green button. This is great. Okay. Cool.

49:15

So I don't think people realize this, but  apps like Windsurf, that it could actually do a lot of agentic work for you where you  just tell it, "Here.

49:19

I want you to do this" versus it's auto completing code for you.

49:23

The big difference is you need to start it with some code base so you have this  kind of boilerplate React project.

49:30

Is there a reason you guys aren't taking that  step and just doing that automatically for you?

49:35

Is it because you're targeting engineers and  they don't need that or is there other reasons?

49:39

Lenny, the interesting thing is the base app that  you saw for this was also generated by Windsurf.

49:44

The reason why we sort of didn't generate  it is installing all the dependencies takes like three or four minutes.

49:48

And for the  demo, I didn't want to wait.

49:48

But totally, actually most of the users of the product,  probably zero-to-one build these apps.

49:57

And if I can say one interesting thing is, when  we launched Windsurf, actually we tasked everyone at our company to go out and build an app with  Windsurf.

50:02

That included our go-to market team and our sales team.

50:06

There was a crazy stat that  I think people would find surprising, but we've saved over half a million dollars of SaaS products  we were going to buy because our go-to-market team has now built apps instead of buying them.

50:16

Our head of partnerships, instead of buying a partner portal product, has actually built its own  partner portal.

50:20

He had never built software in the past.

50:29

We've actually come up with ways inside  the company to deploy these apps easily in a secure way.

50:35

And we're actually now building  very, very custom software for our company to operate more efficiently, which is, I would  not have expected this probably six months ago.

50:44

That is incredibly interesting.

50:44

You  don't need to name company names, but I guess what's a space you're least  bullish on that you think is going to have the most problem here with people building  their own version of these sorts of products?

50:56

I think maybe my viewpoint are these very, very  verticalized niche products I think are going to get...

51:04

They're going to get competed down a  ton.

51:04

And I think sales products are an example of one of these things. And maybe this is a...

51:10

I don't want to be very negative, but it's very hard inside a company like ours to task our best  engineers to build a best in class sales product.

51:21

There's not enough interest to do that.

51:21

Or to  build a best in class legal software product or finance software product.

51:27

It's very, very  hard for us to.

51:27

And actually that's a very big moat for these companies that built these  products that they were able to come out, have an opinionated stance on how to do this,  hire good enough engineers to go out and build the software.

51:40

Our company is unwilling to do  that.

51:40

So previously, we would go out and buy the technology because there would be no alternative.

51:45

But now one of the crazy things is that the domain specialists now have access to build the tools  that they ultimately wanted, which is actually crazy.

51:57

If you think about why were these software  companies able to exist these vertical software companies, the reason is because they had many  features.

52:03

The kitchen sink of features worked for a lot of companies, but each individual company  only wanted 10% of the features.

52:07

But the problem is, each individual company was not capable of  maintaining a piece of software or building the custom piece of software for 10% of the features,  but that has now changed entirely. Now they can. Yeah.

52:22

There's always been a story of like,  "Why would I spend any time building my own software if I could just..."

52:25

But  now it's like five minutes of time.

52:29

Five minutes and maybe even more custom to  your system.

52:29

How many times have you bought a software and you're almost like, "Why is  there no integration to X? And I actually use X." How annoying is that?

52:39

That actually  makes the software less useful to you.

52:43

So I think what's cool is when you go back,  if someone zooms back to the beginning of when you started the demo, it's basically a PM  talking to an engineer, "Hey, build me a Airbnb for dogs.

52:54

Here's a stupid mock that I made  with some boxes."

52:54

That's almost like a bad PM talking to an engineer and it just actually works.

53:02

That's what's insane about this.

53:02

And so that's why this example you're sharing of go-to-market folks,  building their own things, it's like they don't need to know anything about product building.

53:11

It's just describe it in some ridiculous way and draw a couple boxes of what you want it  to look like and it makes something for you.

53:20

Which shows that agency is what matters.

53:20

If  you have a product manager that has an idea, there's no reason for why that idea  cannot be more well fleshed out.

53:28

How many times do you have a product  manager that just continualize ideas, but it just feels like they are extremely unsure  on how to execute on it?

53:32

They just want to say things for sake of saying things?

53:37

But for the  people that have ideas and a lot of, I guess, agency, they can go out and prove out what they  want without any sort of external resources.

53:47

I think even more acutely for  product folks listening to this, it's the salesperson coming to you being  like, "Hey, I want this thing.

53:51

It's going to help me with my sales team."

53:55

And you're  like, "I don't have a million things to build.

53:58

I don't have time for this."

53:58

And  so that problem goes away, which I think will make a lot of product leaders really happy.

54:01

The model that this is sitting on, is it Sonnet? Yeah.

54:08

So just to break down how it ultimately  works, we have a model that does planning.

54:08

And I would say right now Sonnet is a really, really  good planning model.

54:13

I think OpenAI's GPT-4o is also good.

54:18

But the crazy thing is what we try to  do is we try to make the Anthropic based model or Sonnet model try to do as much of the high level  planning as possible.

54:25

And then what we try to do internally is run all the models necessary to  do high quality retrieval for the agent.

54:30

As you could see, the agent needed to understand what  the rest of the code base ultimately did.

54:34

We actually make sure we run models to actually  chunk up the entire code base and understand the code base so that obviously it would not be  a good idea if we had a 100 million line code base to send that entire code base to Anthropic.

54:46

First of all, you couldn't do that. That's over 1.

54:51

5 billion tokens of code.

54:51

So obviously that  would be three or four orders of my actually larger than the largest context lens right now.

54:56

But you also wouldn't want to do that from a cost and latency standpoint too. So that's one.

55:00

And  the second piece that you saw was the model is able to very quickly make edits to the software  as well.

55:05

We have custom models that we built that are post trained on top of popular open source  models that can make these edits really, really quickly to the code base.

55:15

And the reason why you  would want to do that is it's A, faster, and B, also that model can actually have more of the  code base in context too.

55:20

So it can be better at applying changes than even Anthropics model too.

55:25

So I think the way we like to think about it is, our only goal is how do we build the best product  possible?

55:30

How do we build the best product possible and how do we make the ceiling as high as  possible?

55:34

And we will go out and build models and train models wherever necessary.

55:39

But if we're not  going to be good at a task and we think the open source is better or Anthropic's better, we'll  go and just use the open source or Anthropic.

55:47

And so the models you guys are building, those are built on open source  models that people are releasing? Yeah.

55:51

Interestingly, the one that does retrieval  is actually completely pre-trained in-house that actually does that.

55:55

But yeah, for a lot of  different pieces, it's based on open source.

56:01

Interestingly for the one that does the edits and  auto-complete, that is also in-house.

56:01

As you're typing, we actually do some auto-complete related  stuff.

56:07

I'm happy to show that, but I think a lot of users are familiar with that capability.

56:11

So  I think the way we like to look at it is like, what could we be best at and we will go out and  trade.

56:15

But if we're not going to be best at it, we should not just, for the sake  of ego, go out and trade something.

56:23

This may be getting too technical, but just, is there anything interesting  around what you train on?

56:27

Yeah, so one of the interesting things that we  have from our users, and this is where we try to think like, "Why would we be any better?"

56:32

is that, actually every hour, we get probably tens of millions of pieces of feedback from our  users.

56:37

We get a lot of feedback on what they like and what they don't like.

56:42

For something like  autocomplete, we get a lot of preference data, a lot of preference data.

56:46

And the preference data  is weird.

56:46

It doesn't look like data that you find on the internet.

56:50

It's like data as the user  is typing.

56:50

Imagine you're typing some code in a code base, the code's going to be incomplete as  you're typing it, right?

56:56

It's not going to be in a full-fledged form.

57:01

It's not like it is on GitHub.

57:01

But we have a lot of data that looks like this.

57:06

So we are uniquely well-positioned to  actually build a good model that can complete code even when it's in an incomplete  state when the models that are out there, the frontier models have consumed very little code  that looks like this.

57:14

So for that case we're like, "Hey, we can go out and do a much better  job potentially."

57:18

And we'll go out and train models on all the preference data we have.

57:22

The same is kind of true on retrieval, right?

57:26

There's a way to find out, are we  retrieving the right data?

57:26

Did the user accept the code change after that?

57:30

Was the retrieval  actually a good retrieval a signal that we can get?

57:34

So basically the way we like to look at it  is, if something is just purely code planning, there's not a great reason why we would be the  best at that.

57:40

I can't come up with a coherent argument for that.

57:47

But for something  that looks more along the lines of, "Hey, here's an intermediate code base  that is very gnarly and here are some changes that need to get made" and we know  the evolution of the code or we've seen the evolution of code across millions of users,  we feel like we can do a great job of that.

58:03

I think what's interesting about this is another differentiator/moat for companies  that end up winning in this space, is you just have more and more of that  data than other companies if you're ahead. Yeah.

58:13

This is sort of why maybe at a high level we  like the zero-to-one app building product space. I think it's really...

58:19

It's a good product space.

58:19

But ultimately I think it needs to boil down to you understanding the code, because otherwise,  you're living at too high a plane where it's not clear why you would be able to be the best at that  compared to everyone else. It's not really clear. As a company, you mean? As a company. Versus as a user.

58:37

It feels like it might get competitive in  a way that it's not clear where you would continue to differentiate over and over with time. I see.

58:45

Because if they're just sitting on  top of Sonnet and just doing what every other Sonnet wrapper is doing, there's  not a lot of differentiation or moat.

58:54

It depends on how you do it.

58:54

But maybe if I was  to say this, if the inputs you're consuming are just web elements, extremely high level web  elements, then the interface might be high level enough that it's hard to maybe get better  than maybe what the frontier models are doing just across the board.

59:09

You are just better  off just plugging in Sonnet for everything. Got it. Awesome.

59:14

One thing I wanted to come  back to that I wrote down that I think is really important for people to understand,  you talked about how with Windsurf it's not necessarily...

59:21

There's a boilerplate code  base that you want to start with because it's actually...

59:26

Because it's not an abstracted  zero-to-one app builder.

59:26

It's an actual IDE you're coding in.

59:30

And you talked about how  has to install dependencies, which is kind this painful thing.

59:35

And the reason it has to do  that is because running locally on your machine versus in the cloud, like, say, Lovable and  Replit and all these guys, although I think Bolt runs in your browser in this really cool way.

59:44

So that's an important distinction.

59:44

This is like you're running this locally in your machine and  has all the libraries you need to actually run it.

59:54

No, I think that's important.

59:54

I think we believe  a lot of people sort of build software in what are called code spaces and things in a remote machine.

59:59

I just think it's that a lot of developers like building locally for what you said.

1:00:04

Like if you're  doing things that are more than just full stack applications, you might have dependencies on  your machine that are just system dependencies that are just gnarly to install.

1:00:13

Let's imagine  you're building a GPU-based application and the Nvidia drivers, they're necessary.

1:00:16

You just  want to give people the flexibility to build where they can build.

1:00:21

And I think the IDE and  building locally has been a thing that people have done for decades, so probably it's not  going to go away in the next couple of years.

1:00:29

I love that your sales folks now  are running local host servers.

1:00:33

Well, with the browser previews, it's easier,  right?

1:00:33

You kind of just open it up on the side. Yeah. Yeah. Oh my god. Okay.

1:00:37

I have a few more  questions just about how you think and operate at Codeium.

1:00:43

So you guys are kind of at the forefront  of how product teams are going to operate.

1:00:43

You're seeing the future every day.

1:00:48

And so I'm curious if  there's ways you guys have structured your teams, engineers, product design that might be  different from how other companies are doing it or have tried stuff that has worked really  well or tried stuff that's a huge disaster?

1:01:02

One interesting decision that we kind of have  for core engineering is that we don't have pure product managers for the core engineering side  of the company.

1:01:07

And by the way, that's purely because we build for developers and our product is  built by developers.

1:01:13

So I think the intuition from our own developers is hopefully valuable.

1:01:20

If not,  we might be hiring the wrong type of people.

1:01:20

So I think our developers are, in some sense, flexing  to be more product conventional product managers.

1:01:32

Now on the other hand, if we were building  something that looked more like Uber or the persona was very different and we didn't  ourselves understand it, I think the organization wouldn't look the way it looks.

1:01:39

For the enterprise side of the company, because we do work with a lot of large enterprises  where the requirements are not something that our engineers would automatically understand, I don't  think our engineers wake up and they're like, "We need FedRAMP."

1:01:52

This is probably something  that a lot of customers come to us with and tell us.

1:01:57

We have people that flex in this  product strategy role that understand what the customer wants and understands the  technical capabilities that we have to best build a product that would help them at scale.

1:02:09

So I think we have an interesting organization in this regard, but mostly I would say  because we are a developer-based product, I would say that's true.

1:02:19

And then also kind of like what you said for the engineering team itself, the team structure  is, it's fairly flat.

1:02:23

We try to go with two pizza teams, teams that are fairly small just because  I think the problem is when a team gets too big, the person leading the team is no longer able to  get in the weeds of the technology itself.

1:02:34

And I think in a space that's moving this quickly,  I think it's dangerous to have leaders that don't understand the technology deeply and are  not building.

1:02:43

It's very, very dangerous because there's too much armchair quarterbacking.

1:02:47

And so  I think that's maybe one other decision we made.

1:02:56

And then teams are very, very flexible.

1:02:56

So  if we decide something is a new priority, we're very quick to change the way a team looks.

1:03:01

And it's very centrally planned in this regard.

1:03:08

The two pizza team concept, I saw a tweet  long ago where someone from India, was like, there's always talk about two pizza teams, but  pizzas in India are much smaller.

1:03:13

And so the teams end up being smaller and they're like, "Why  can't we build as much of these teams in the US?" Oh man. Okay.

1:03:23

So how many PMs do you have?

1:03:23

So you said  you have 150 employees, something like that? Yeah.

1:03:28

So in terms of the  product strategy function, we have three people in that role right now. I see. So it's like product...

1:03:35

They're  in their titles is product strategy, not necessarily product management? That's right. Interesting.

1:03:41

And then 50 engineers,  you said 80-ish sales folks? Yes, that's right.

1:03:45

And then obviously we  have functions like recruiting parts of G&A, like finance.

1:03:50

We have marketing at the company.

1:03:50

So some other functions internally as well. It's interesting.

1:03:56

And this is something  that you hear all the time with companies like Dario for example, from Anthropic  talking about how 90% of code is going to be written by AI.

1:04:03

But all at the same time,  all you guys are hiring engineers like crazy. Yeah. Is that contradictory?

1:04:10

It's that contradictory, will there  be an inflection point of like, "All right.

1:04:13

Now we don't need them anymore."

1:04:15

I think it really comes down to, do you get  incremental value by adding more engineers internally? I'm going to take...

1:04:19

First of all,  maybe just to set the record straight, if AI is writing over 90% of the code, that doesn't mean  engineers are 10X as productive.

1:04:23

Engineers spend more time than just writing code.

1:04:29

The review code,  test code, debug code, design code, deploy code, right? Navigate code.

1:04:34

There's probably a lot of  different things that engineers do.

1:04:34

There's this one famous law in parallel computing, it's called  Amdahl's Law.

1:04:39

I don't know if you've heard about it.

1:04:43

But it basically says if you have a graph  of tasks and you have this critical path and you take any one task and parallelize it a ton,  which is make it almost take zero amount of time, there's still a limit of the amount of how  much faster it made the whole process go.

1:04:56

So maybe put simply, let's say you have  100 units of time and only 30 units of time is being spent writing software  and I took the 30 and made it three, I only took the 100 and made it 73.

1:05:03

It's only a  27% improvement in the grand scheme of things.

1:05:09

So I think look, we are definitely seeing over 30,  maybe close to 40% productivity improvements.

1:05:09

But I think for the vision that we're solving for,  even if I were to say the company in the long tail had 200 engineers, it'd probably be too  low still at that point.

1:05:19

So the question is, how much more productivity do you get per person?

1:05:24

Actually, maybe just to even say one of those thing for some of these large companies, let's say  you took the CIO of a company like JPMorgan Chase, right?

1:05:35

Her budget on software every year is  $17 billion and there's over 50,000 engineers inside the company and you told her, "Hey, each  of these engineers are now able to produce more technology."

1:05:48

That's effectively what you've done,  right?

1:05:48

The right calculus that JPMorgan Chase or any of these companies will make is the ROI of  building technology has actually gone up.

1:05:53

So the opportunity cost of not investing more into  technology has gone up, which means that you should just invest even more.

1:06:04

And maybe in the  short term you have even more engineers, right?

1:06:08

Now, that's not true across the board.

1:06:08

There are some companies that are happy with the amount of technology they're  building and there's a ceiling on the amount of technology they want to build.

1:06:13

But  for companies that actually have a very high technology ceiling, this doesn't mean you  stop.

1:06:16

This actually means you hire more.

1:06:22

This is a great bull case for engineers.

1:06:22

I  feel like the canary in the coal mine for the engineering profession is when companies  like yours slow down on hiring engineers. Yep. That's not happening. [inaudible 01:06:32].

1:06:32

It seems like Anthropic  is also hiring a lot to get it done. Yeah. Everyone is.

1:06:33

So I think that's really  promising.

1:06:33

I think if you're in college still, makes sense to get into engineering at this point. Okay.

1:06:37

Let me ask you this question as kind of a final question maybe.

1:06:42

What's maybe the  most counterintuitive thing you've learned about building AI products, building  Windsurf and just being in a space?

1:06:54

I think one of the weird things is online,  everyone is very excited about the short-term wins that we are making, right?

1:06:58

Like what  we're putting out maybe weekly.

1:06:58

We do these waves every couple of weeks.

1:07:02

But actually a lot  of the bets we're making inside the company are for things that are not three, four weeks,  maybe three, six months, nine months away.

1:07:12

That's what we're working on internally.

1:07:12

Because I think this is kind of, Lenny, what I was mentioning to you before.

1:07:15

One of the  goals that I tell everyone at our company is we should be cannibalizing the existing state  of our product every six to 12 months.

1:07:20

Every six to 12 months, it should make our existing  product look silly.

1:07:25

It should almost make the form factor of our existing product look dumb.

1:07:29

So there's this weird tension where you want to have a product in market and you want to  incrementally iterate and listen to users and keep making it better and better.

1:07:39

But I would  say we were the first identical IDE product out there.

1:07:44

That's what we landed with.

1:07:44

And I think the  value of that is going to depreciate very quickly unless we continue to re-prove ourselves.

1:07:50

And we  will need to re-prove ourselves in ways in which our users are not even asking.

1:07:54

So there's this  tension here, where incremental feels very safe, right?

1:08:00

Add this one more button.

1:08:00

Users say, "Hey,  I would like to be able to have this drop down to do X."

1:08:04

But that is not the reason why we're  going to win.

1:08:04

That's almost table sticks.

1:08:04

Yeah, we'll decide to do some of these.

1:08:10

We might  not decide to do a lot of these things.

1:08:10

But it's these longer term efforts inside the company  that almost disrupt the existing product that are ultimately the reason why we're going to succeed.

1:08:19

It's this weird tension that you need to have in your head of, you can't also not listen to your  users at all because they're the reason you exist.

1:08:29

This reminds me of a recent podcast guest.

1:08:29

We had  Gara from captions on the podcast and he told us that he has two roadmaps.

1:08:35

They have two roadmaps  at the company.

1:08:35

They have the real roadmap, like the typical roadmap based on feature  requests and user feedback and data and things like that.

1:08:43

And then they have the secret  roadmap, which is completely not informed by users or data/ it's just them making bets  on where they think the world is going. That's right.

1:08:53

And I love that he calls it the secret  roadmap just to make it very mysterious and- That's smarts. That's very smart. Okay.

1:08:57

I have one more question. I apologize.

1:09:00

What's one thing that you wish he  had known before starting Codeium?

1:09:04

Honestly, I wish I had...

1:09:04

Maybe humility is the  wrong term, but this idea of just being okay with being wrong faster.

1:09:11

I always think about things  on when we make decisions.

1:09:11

Me and my co-founder, we always talk about it.

1:09:18

We're almost like,  "Hey, I wish we had made the decision to do this a couple months earlier."

1:09:22

We always talk about  this.

1:09:22

And the weird thing is outside looking and everyone's like, "Wow, actually the decision was  made at the right time."

1:09:27

But in my head I'm always banging my head being like, "What if we had made  it a couple months earlier?"

1:09:32

I think part of that is I waxed poetically about like, "Oh, you need  to be irrationally optimistic and uncompromisingly realistic."

1:09:43

But it's very hard to do this in  practice because you drink your own Kool-Aid too.

1:09:48

Because if you're not drinking your own, you won't  get up out of bed.

1:09:48

The answer is already solved.

1:09:53

It's not actually any of these startups.

1:09:53

The  answer is Microsoft is going to be the winner in any software category. Isn't that the answer?

1:09:57

Just  because of distribution, resources and capital, they're going to commoditize every space.

1:10:04

So I think in some ways this amount of just understanding that, hey, re-evaluate your  hypotheses and get into an uncomfortable space way more frequently is something I need to remind  myself even to this day.

1:10:18

And probably something that I didn't know coming in and starting  the company.

1:10:23

We started the company at peak zero time.

1:10:27

At that time, probably everything  seemed like it was going to moon.

1:10:27

And there was probably a lot of irrational confidence,  I would say, that we shouldn't have had.

1:10:36

Varun, we covered so much ground.

1:10:36

What an  incredible conversation.

1:10:36

I learned so much just sitting here listening and asking you  questions.

1:10:40

Is there anything else that you wanted to share I leave listeners with, any last  piece of nuggets or wisdom before I let you go?

1:10:51

To be honest, I could give predictions about  the space.

1:10:51

Probably most of them are going to be wrong.

1:10:55

I think the best thing to do is just get  your hands dirty with all of these products.

1:10:55

And I think one of the most obvious things  that's going to happen is, in the next year, there will be a tremendous amount of alpha for  anyone that is able to take maximum advantage of these tools.

1:11:10

Just imagine how many of your  coworkers just don't even know the existence of these tools, don't know what they can do and  how much less productive they will be.

1:11:14

And I would just say get your hands as dirty  as possible, as quickly as possible.

1:11:24

And when you say get your hands dirty,  basically it's like download Windsurf, start coding.

1:11:27

Ask it to build things for you. Yeah, build apps. Build apps.

1:11:29

Start using it for  maybe even making mocks, modifying your existing code base.

1:11:36

There's probably ways in which you  could be a force multiplier to your organization and ways in which they never even anticipated,  right?

1:11:40

Imagine if you were a product manager that could actually very quickly make edits to  the code base and just start pushing changes yourself.

1:11:49

You probably get a tremendous amount of  respect from your own engineering peers.

1:11:49

You could probably get way more done because of that.

1:11:53

I feel  like there's no sort of ceiling at that point.

1:12:00

I think this is such an underestimated point  you're making here.

1:12:00

There's apps that can build things from scratch and then there's  apps like this that can edit your existing code base if you're a PM at...

1:12:09

What's the  largest company you work with, people-wise?

1:12:15

Publicly, let's just say JPMorgan Chase. Okay.

1:12:19

They have over 50,000 developers. Okay.

1:12:20

So you could be a PM at JPMorgan Chase  and be like, "I have a problem I need to solve.

1:12:25

I want to move this metric.

1:12:25

I want to change  the step in the signup flow."

1:12:25

You just open up Windsurf and tell it to do the thing you want.

1:12:31

And then can you push straight to GitHub and do a- Yeah.

1:12:37

Actually, you could do that too. ...

1:12:39

merge [inaudible 01:12:39]- Yeah. Okay. PR?

1:12:40

Yeah, it could make a PR for you. Oh, my God. This is insane.

1:12:41

Folks,  future is out of control. Okay.

1:12:41

Man, that was such an important point at  the end there because I think people may not realize this.

1:12:48

They see all these other  apps, they're like, "Oh, [inaudible 01:12:51], prototypes," but this is legitimately  something a PM can actually do work with. Yeah.

1:12:55

When you think about the people, at least  that, I don't know, Lenny, who you respect the most, they're the people that somehow, despite  their title, their level of agency and just output just all the way down to the weeds to  the highest level strategy is just perfection, right?

1:13:10

They know when to go all the way down.

1:13:10

And I think sometimes you see people that talk about roles and they irrationally feel like, "Oh,  because I'm this role, I'm not allowed to touch this."

1:13:18

Well now everything's open season, right?

1:13:18

And I think this is an opportunity to almost go all the way down to the weeds and all the way up  to the top and just be effective on every level. Unbelievable. All right.

1:13:29

Well with that, we'll leave folks.

1:13:31

Varun, thank  you so much for being here. Awesome. Thanks a lot, Lenny.

1:13:36

What an incredible conversation. Thanks, Varun. Bye everyone.

1:13:42

Thank you so much for listening.

1:13:42

If you found  this valuable, you can subscribe to the show on Apple Podcasts, Spotify, or your favorite  podcast app.

1:13:45

Also, please consider giving us a rating or leaving a review as that really helps  other listeners find the podcast.

1:13:51

You can find all past episodes or learn more about the show at  lennyspodcast. com.

1:13:56

See you in the next episode.