logo
episode-header-image
Apr 2025
1h 14m

Building a magical AI code editor used b...

Lenny Rachitsky
About this episode

Varun Mohan is the co-founder and CEO of Windsurf (formerly Codeium), an AI-powered development environment (IDE) that has been used by over 1 million developers in just four months and has quickly emerged as a leader in transforming how developers build software. Prior to finding success with Windsurf, the company pivoted twice—first from GPU virtualization infrastructure to an IDE plugin, and then to their own standalone IDE.

In this conversation, you'll learn:

1. Why Windsurf walked away from a profitable GPU infrastructure business and bet the company on helping engineers code

2. The surprising UI discovery that tripled adoption rates overnight.

3. The secret behind Windsurf's B2B enterprise plan, and why they invested early in an 80-person sales team despite conventional startup wisdom.

4. How non-technical staff at Windsurf built their own custom tools instead of purchasing SaaS products, saving them over $500k in software costs

5. Why Varun believes 90% of code will be AI-generated, but engineering jobs will actually increase

6. How training on millions of incomplete code samples gives Windsurf an edge, and creates a moat long-term

7. Why agency is the most undervalued and important skill in the AI era

Brought to you by:

Brex—The banking solution for startups

Productboard—Make products that matter

Coda—The all-in-one collaborative workspace

Where to find Varun Mohan:

• X: https://x.com/_mohansolo

• LinkedIn: https://www.linkedin.com/in/varunkmohan/

Where to find Lenny:

• Newsletter: https://www.lennysnewsletter.com

• X: https://twitter.com/lennysan

• LinkedIn: https://www.linkedin.com/in/lennyrachitsky/

In this episode, we cover:

(00:00) Varun’s background

(03:57) Building and scaling Windsurf

(12:58) Windsurf: The new purpose-built IDE to harness magic

(17:11) The future of engineering and AI

(21:30) Skills worth investing in

(23:07) Hiring philosophy and company culture

(35:22) Sales strategy and market position

(39:37) JetBrains vs. VS Code: extensibility and enterprise adoption

(41:20) Live demo: building an Airbnb for dogs with Windsurf

(42:46) Tips for using Windsurf effectively

(46:38) AI’s role in code modification and review

(48:56) Empowering non-developers to build custom software

(54:03) Training Windsurf

(01:00:43) Windsurf’s unique team structure and product strategy

(01:06:40) The importance of continuous innovation

(01:08:57) Final thoughts and advice for aspiring developers

Referenced:

• Windsurf: https://windsurf.com/

• VS Code: https://code.visualstudio.com/

• JetBrains: https://www.jetbrains.com/

• Eclipse: https://eclipseide.org/

• Visual Studio: https://visualstudio.microsoft.com/

• Vim: https://www.vim.org/

• Emacs: https://www.gnu.org/software/emacs/

• Lessons from a two-time unicorn builder, 50-time startup advisor, and 20-time company board member | Uri Levine (co-founder of Waze): https://www.lennysnewsletter.com/p/lessons-from-uri-levine

• IntelliJ: https://www.jetbrains.com/idea/

• Julia: https://julialang.org/

• Parallel computing: https://en.wikipedia.org/wiki/Parallel_computing

• Douglas Chen on LinkedIn: https://www.linkedin.com/in/douglaspchen/

• Carlos Delatorre on LinkedIn: https://www.linkedin.com/in/cadelatorre/

• MongoDB: https://www.mongodb.com/

• Cursor: https://www.cursor.com/

• GitHub Copilot: https://github.com/features/copilot

• Llama: https://www.llama.com/

• Mistral: https://mistral.ai/

• Building Lovable: $10M ARR in 60 days with 15 people | Anton Osika (CEO and co-founder): https://www.lennysnewsletter.com/p/building-lovable-anton-osika

• Inside Bolt: From near-death to ~$40m ARR in 5 months—one of the fastest-growing products in history | Eric Simons (founder & CEO of StackBlitz): https://www.lennysnewsletter.com/p/inside-bolt-eric-simons

• Behind the product: Replit | Amjad Masad (co-founder and CEO): https://www.lennysnewsletter.com/p/behind-the-product-replit-amjad-masad

• React: https://react.dev/

• Sonnet: https://www.anthropic.com/claude/sonnet

• OpenAI: https://openai.com/

• FedRamp: https://www.fedramp.gov/

• Dario Amodei on LinkedIn: https://www.linkedin.com/in/dario-amodei-3934934/

• Amdahl’s law: https://en.wikipedia.org/wiki/Amdahl%27s_law

• How to win in the AI era: Ship a feature every week, embrace technical debt, ruthlessly cut scope, and create magic your competitors can't copy | Gaurav Misra (CEO and co-founder of Captions): https://www.lennysnewsletter.com/p/how-to-win-in-the-ai-era-gaurav-misra

Recommended book:

Fall in Love with the Problem, Not the Solution: A Handbook for Entrepreneurs: https://www.amazon.com/Fall-Love-Problem-Solution-Entrepreneurs/dp/1637741987

Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email podcast@lennyrachitsky.com.

Lenny may be an investor in the companies discussed.



This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit www.lennysnewsletter.com/subscribe
Up next
Today
First interview with Scale AI’s CEO: $14B Meta deal, what’s working in enterprise AI, and what frontier labs are building next | Jason Droege
Jason Droege is the CEO of Scale AI, a company that provides foundational training data to every major AI lab. He previously co-founded Scour with Travis Kalanick and built Uber Eats from idea to $20 billion in revenue. In this conversation, Jason shares lessons from getting sued ... Show More
1h 24m
Oct 5
How to find hidden growth opportunities in your product | Albert Cheng (Duolingo, Grammarly, Chess.com)
Albert Cheng has led growth at three of the world’s most successful consumer subscription companies: Duolingo, Grammarly, and Chess.com. A former Google product manager (and serious pianist!), Albert developed a unique approach to finding and scaling growth opportunities through ... Show More
1h 25m
Sep 28
A 4-step framework for building delightful products | Nesrine Changuel (Spotify, Google, Skype)
Nesrine Changuel helped build Spotify, Google Chrome, and Google Meet. Her work has helped her discover the importance of emotional connection in building successful products. At Google, she served as a dedicated “delight PM,” a role specifically focused on making products more d ... Show More
1h 24m
Recommended Episodes
Nov 2024
How to Do Product Discovery Right with Pawel Huryn, 175K+ on LinkedIn, Senior PM and Author
This episode is a masterclass in modern product management—featuring cutting-edge frameworks, actionable strategies, AI integration, competitive edge tactics, and aligning product goals with overarching business objectives.In today's episode, we cover:Junior PM Roles Are Done – 0 ... Show More
1h 32m
Sep 9
The State of AI: Elon’s $1T Package, Apple’s $600B for Trump & How Startups Win w/ Dave, AWG & Blitzy Founders Brian Elliott & Sid Pardeshi | EP #193
Get access to metatrends 10+ years before anyone else - https://qr.diamandis.com/metatrends Salim Ismail is the founder of OpenExO Dave Blundin is the founder & GP of Link Ventures Dr. Alexander Wissner-Gross is a computer scientist and founder of Reified, focused on AI and compl ... Show More
1h 28m
Oct 6
Google: The AI Company
Google faces the greatest innovator's dilemma in history. They invented the Transformer — the breakthrough technology powering every modern AI system from ChatGPT to Claude (and, of course, Gemini). They employed nearly all the top AI talent: Ilya Sutskever, Geoff Hinton, Demis H ... Show More
4h 6m
Sep 30
Marketing Stunts That Helped this AI Company Raise $100M
Want our database of 100+ Creative AI Use Cases to create your own marketing stunts? Get it here: https://clickhubspot.com/edj Episode 78: Can bold marketing stunts and radical creativity really shape the success of an AI company? Nathan Lands (https://x.com/NathanLands) is joine ... Show More
30m 9s
Sep 2024
Superhuman 2.0: The AI edge, top productivity hacks, and the future of email | E2002
This Week in Startups is brought to you by… NetSuite. The number one cloud financial system that unifies accounting, financial management, inventory, and HR into a single platform. Giving you ONE source of truth. Download the CFO’s Guide to AI and Machine Learning today! Visit ht ... Show More
1h 14m
Apr 2025
Exclusive 🦉 “Education Super App” — Duolingo CEO Luis von Ahn announces next product on TBOY
How do you get someone to learn everyday? Make it addictive… in a good way. Luis von Ahn has mastered engagement with Duolingo, transforming it into the largest education app on earth with over 40M daily users. And in our exclusive interview, Duolingo CEO announces the next produ ... Show More
52m 55s
Aug 6
S8E8: Luis von Ahn Is Making Screen Time Count
Luis von Ahn was a tenured professor of computer science at Carnegie Mellon University who had sold a company to Google. “You were pretty set, a lot of us would say, so why were you so hungry to build something new with Duolingo?” asks Ayesha Karnik, MBA ’25. “For the first time ... Show More
57m 51s
Aug 13
How AI Is Rewriting the Rules of Marketing with Nick Lafferty, Growth Marketer at Profound | Ep. 339
Search is changing for the first time since Google launched. And it’s changing fast. Daniel’s out, Tamara’s IN. In this episode, she sits down with Nick Lafferty, Growth Marketer at Profound, to unpack the seismic shift from traditional SEO to AI-powered search engines like ChatG ... Show More
30m 56s
Apr 2025
Next-Gen Founders: Startups in the Age of AI (Edu)
Is AI making startups easier—or just changing the rules of the game?In a world where execution is cheap and accessible, building a successful startup is more competitive than ever. In this episode, Chris Saad and Yaniv Bernstein unpack the reality of every business having access ... Show More
53m 2s
Aug 26
Alphabet Inc.
In its first six years from 1998 to 2004, Google built one of the greatest products of all time (and certainly the greatest business of all time) with Search. Then in its next six years from 2005 to 2011, Google built seven (!) more billion+ user products: Gmail, Maps, Drive and ... Show More
4h 11m