Building a magical AI code editor used by over 1 million developers in four months: The untold story of Windsurf | Varun Mohan (co-founder and CEO)
April 20, 2025
AI Summary
5 min readVarun Mohan, co-founder and CEO of Codeium (makers of Windsurf), recounts how his company pivoted twice—from GPU infrastructure to AI autocomplete in IDEs, then to forking VSCode into Windsurf—after generative AI invalidated early assumptions about model diversity and infrastructure moats. These shifts prioritized application-layer differentiation, enterprise needs like code base understanding, and custom UIs unconstrained by existing IDE limits, leading to over 1 million developers trying Windsurf in four months.
Pivots driven by hypothesis testing
Mohan emphasizes balancing irrational optimism with realism: startups rarely nail the first idea, so validate hypotheses ruthlessly without attachment. Pivots happened overnight when transformers homogenized models (reducing infra value) and IDE ceilings limited agentic features. Focus prevented split efforts; even with millions in revenue and cash flow positivity, they bet the company on upstack apps like coding tools, preserving truth-seeking morale for future tests. Every year's engineering output resets hypothesis testing.
Continue reading the full summary in the app — free to try.
Read Full Summary →Free • No credit card required
What you'll learn
- 1 *(00:04:03) **Company Origins and Pivots**
- 2 *(00:08:05) **AI Stack Value Accrual and Pivot Lessons**
- 3 *(00:13:04) **Why Build Windsurf IDE**
- 4 *(00:16:35) **Traction and Future of Engineering**
- 5 *(00:23:07) **Hiring Philosophy and Culture**
- 6 *(00:35:40) **Early Enterprise Sales Investment**
- 7 *(00:37:46) **Differentiation from Cursor and Live Demo**
+ Full timestamped outline available in the app
Show Notes
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:
• 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
More from this podcast
Lenny's Podcast: Product | Career | Growth →