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

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

Lenny's PodcastApr 20, 20251h 14m

Varun Mohan (guest), Lenny Rachitsky (host)

Codium’s evolution: from GPU infrastructure to AI coding tools to Windsurf IDEWhere value accrues in the AI stack: infra vs models vs applicationsHow AI changes software engineering, education, and the skills that matterHiring philosophy, lean org design, and high-agency culture at CodiumEnterprise go-to-market, security/compliance, and working with massive codebasesDesigning Windsurf’s agentic workflows and UI for code understanding and refactoringPersonal lessons on pivots, long-term bets, and cannibalizing your own product

In this episode of Lenny's Podcast, featuring Varun Mohan and Lenny Rachitsky, Building a magical AI code editor used by over 1m developers in 4 months: Inside Windsurf explores inside Windsurf: Reinventing Coding, Hiring, And Product In The AI Era Lenny interviews Varun Mohan, co-founder and CEO of Codium/Windsurf, about building a wildly adopted AI code editor and the pivots that got them there.

Inside Windsurf: Reinventing Coding, Hiring, And Product In The AI Era

Lenny interviews Varun Mohan, co-founder and CEO of Codium/Windsurf, about building a wildly adopted AI code editor and the pivots that got them there.

Varun explains how they moved from GPU infrastructure to AI-assisted coding, then to a full IDE (Windsurf) to unlock deeper agentic workflows and large-enterprise use cases.

He shares how AI will shift engineers’ work toward problem selection and system design, why agency and ruthless prioritization matter more than ever, and how Codium approaches hiring, org design, and enterprise GTM.

The conversation also includes a live demo of Windsurf building and iterating on a web app from a rough mock, illustrating how non-engineers can now meaningfully modify and ship software.

Key Takeaways

Continuously reassess your assumptions and be willing to pivot from success.

Codium was profitable with millions in revenue from GPU virtualization, but once generative models improved and architectures converged on transformers, they concluded infra would commoditize and pivoted up-stack into applications, despite strong existing revenue.

Get the full analysis with uListen AI

Most durable value in AI is likely at the application and workflow layer.

Because many companies will eventually share similar infra and model layers, Codium believes differentiation comes from deeply understanding user workflows (e. ...

Get the full analysis with uListen AI

AI will write most code; human leverage shifts to problem selection and system design.

Varun frames engineering as three parts: what to solve, how to solve it, and actually solving it; AI is rapidly eating the last two, pushing humans toward identifying the right business problems, constraints, and architectural decisions.

Get the full analysis with uListen AI

Agency is becoming a critical career advantage across roles, not just for engineers.

People who proactively define problems, experiment with AI tools, and ship solutions (including PMs, sales, and ops) can now directly build or modify software, making them outsized contributors versus peers who wait for others to act.

Get the full analysis with uListen AI

Hire only when underwater and reward impact, not team size.

Codium’s philosophy is to run “dehydrated” and add headcount only when teams are clearly overloaded, which forces ruthless prioritization, reduces politics and make-work, and values people who can achieve big outcomes with minimal resources.

Get the full analysis with uListen AI

Enterprise readiness (security, scale, and IDE coverage) is a major moat.

Codium invested early in enterprise sales, FedRAMP, hybrid deployments, and deep support for massive codebases and multiple IDEs (including JetBrains), enabling them to serve Fortune 500-scale organizations where code is core IP.

Get the full analysis with uListen AI

To stay ahead, you must cannibalize your own product every 6–12 months.

Varun deliberately pushes the team to build things that make the current product look silly or outdated, balancing incremental user requests with longer-term, disruptive internal roadmaps that users don’t yet know to ask for.

Get the full analysis with uListen AI

Notable Quotes

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

Varun Mohan

Engineers are now able to produce more technology. The ROI of building technology has actually gone up. This actually means you hire more.

Varun Mohan

I wanted the company to almost be like this dehydrated entity. Every hire is like a little bit of water, and we only go back and hire someone when we're back to being dehydrated.

Varun Mohan

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

Varun Mohan

Your goal is not to get an A in every class. I just need to get an A+ in the one class that matters and an F in all the other classes.

Varun Mohan

Questions Answered in This Episode

How far do you think AI can realistically go in handling ‘what to build’ versus humans deciding business and product priorities?

Lenny interviews Varun Mohan, co-founder and CEO of Codium/Windsurf, about building a wildly adopted AI code editor and the pivots that got them there.

Get the full analysis with uListen AI

For a non-engineer today (PM, marketer, sales), what concrete learning path would you recommend to fully exploit tools like Windsurf in the next 12 months?

Varun explains how they moved from GPU infrastructure to AI-assisted coding, then to a full IDE (Windsurf) to unlock deeper agentic workflows and large-enterprise use cases.

Get the full analysis with uListen AI

What signals should a founder watch for to know they must pivot, even when revenue and customer love are already there?

He shares how AI will shift engineers’ work toward problem selection and system design, why agency and ruthless prioritization matter more than ever, and how Codium approaches hiring, org design, and enterprise GTM.

Get the full analysis with uListen AI

How do you prevent a ‘dehydrated’ hiring model from burning people out or causing quality to slip over time?

The conversation also includes a live demo of Windsurf building and iterating on a web app from a rough mock, illustrating how non-engineers can now meaningfully modify and ship software.

Get the full analysis with uListen AI

In a future where vertical SaaS can be quickly recreated in-house with AI, what kinds of software companies still have strong moats?

Get the full analysis with uListen AI

Transcript Preview

Varun Mohan

(instrumental music) A lot of the bets we're making inside the company are for things that are not, you know, three, four weeks away. We should be cannibalizing the existing state of our product every six to 12 months. Every six to 12 months, it should make our existing product look silly. It should almost make the form factor of our existing product look dumb.

Lenny Rachitsky

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

Varun Mohan

I wanted the company to almost be like this dehydrated entity. Every hire is, is like a little bit of water, and we only go back and hire someone when we're back to being dehydrated.

Lenny Rachitsky

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

Varun Mohan

The engineers are now able to produce more technology. The ROI of building technology has actually gone up. This actually means you hire more. The best thing to do is just get your hands dirty with all of these products. You could be a force multiplier to your organization in ways in which they never even anticipated.

Lenny Rachitsky

(instrumental music) Today, my guest is Varun Mohan. 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 one million users four months in. 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 gonna 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 are today. He also gives a live demo, advice for being successful at Windsurf, and so much more. There's so much to learn about where things are heading for engineers and product builders in general in this conversation, and I'm really excited to bring it to you. Thank you to everyone on LinkedIn and Twitter and my newsletter community for suggesting great questions to dig into with Varun. If you enjoy this podcast, don't forget to subscribe and follow it in your favorite podcasting app or YouTube. Also, if you become a yearly subscriber of my newsletter, you get a year free of Perplexity Pro, Notion Plus, Linear, Granola, and Superhuman. Check it out at lennysnewsletter.com. With that, I bring you Varun Mohan. This episode is brought to you by Brex, the financial stack used by one in every three US venture-backed startups. Brex knows that nearly 40% of startups fail because they run out of cash, so they built a banking experience that focuses on helping founders get more from every dollar. It's a stark difference from traditional banking options that leave a startup's cash sitting idle while chipping away at it with fees. To help founders protect cash and extend runway, Brex combined the best things about checking, treasury, and FDIC insurance in one powerhouse account. You can send and receive money worldwide at lightning speed. You can get 20X the standard FDIC protection through program banks, and you can earn industry-leading yield from your first dollar while still being able to access your funds anytime. To learn more, check out Brex at brex.com/banking-solutions. That's brex.com/bankingsolutions. This episode is brought to you by Productboard, the leading product management platform for the enterprise. For over 10 years, Productboard has helped customer-centric organizations like Zoom, Salesforce, and Autodesk build the right products faster. And as an end-to-end platform, Productboard seamlessly supports all stages of the product development life cycle, from gathering customer insights, to planning a roadmap, to aligning stakeholders, to earning customer buy-in, all with a single source of truth. And now, product leaders can get even more visibility into customer needs with Productboard Pulse, a new voice of customer solution. Built-in intelligence helps you analyze trends across all of your feedback, and then dive deeper by asking AI your follow-up questions. See how Productboard can help your team deliver higher impact products that solve real customer needs and advance your business goals. For a special offer and free 15-day trial, visit productboard.com/lenny. That's productboard.com/L-E-N-N-Y. (instrumental music) Varun, thank you so much for being here, and welcome to the podcast.

Install uListen to search the full transcript and get AI-powered insights

Get Full Transcript

Get more from every podcast

AI summaries, searchable transcripts, and fact-checking. Free forever.

Add to Chrome