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)

Apr 20, 2025 1h 14m 27 insights Episode Page ↗
Varun Mohan, co-founder and CEO of Windsurf, discusses their AI coding tool's rapid growth, strategic pivots, and the importance of "agency" for engineers. He shares insights on the future of coding, unique hiring, and product development.
Actionable Insights

1. Get Hands-On with AI Tools

Actively engage with and learn to use new AI products and tools as quickly as possible. This allows you to become a “force multiplier” in your organization, gaining a significant productivity advantage.

2. Continuously Cannibalize Your Product

Aim to make your existing product look “silly” or “dumb” every 6-12 months by developing new, disruptive innovations. This proactive disruption ensures long-term relevance and prevents stagnation.

3. Hire Only When Dehydrated

Only add new team members when the existing team is “underwater” and truly needs support. This forces ruthless prioritization, prevents internal politics, and ensures every hire is impactful.

4. Ruthless Prioritization for Focus

Concentrate efforts on doing one thing exceptionally well, even if it means deprioritizing or failing at others. This focused approach is critical for startup success.

5. Cultivate High Agency

Develop and prioritize “agency”—the drive and initiative to build things and solve problems independently, rather than just following prescribed paths. This skill is crucial for innovation and adapting to rapid change.

6. Empower Domain Specialists to Build Custom Tools

Enable non-engineering domain specialists (e.g., sales, finance) to build their own custom software using AI. This eliminates reliance on “kitchen sink” SaaS products and creates highly tailored solutions.

7. Product Managers Learn to Code with AI

Product managers should learn to use AI coding tools to make direct edits and push changes themselves. This increases their output, earns respect from engineering, and removes traditional role barriers.

8. Balance Optimism with Realism

Be irrationally optimistic about your vision but also ruthlessly realistic, constantly testing hypotheses. Be willing to “kill” beliefs that are proven wrong by new information.

9. Maintain Laser Focus

When pursuing a new, big idea, fully commit and pivot away from existing efforts you no longer believe are valuable. Divided focus guarantees failure for ambitious endeavors.

10. Prioritize Truth Over Ideas

Avoid becoming overly attached to your own ideas; instead, foster an organizational culture that is “truth-seeking.” This allows for constant testing and adaptation without fear of being wrong.

11. Be Patient and Explicit with AI Tools

When using AI coding tools, be patient and as explicit as possible with your requests, starting with smaller changes. This helps prevent irrelevant outputs and allows you to learn the tool’s capabilities.

12. Leverage AI for Code Refactoring

When refactoring or migrating code, make an initial change yourself and then instruct the AI to propagate that change across the codebase. The AI’s deep understanding allows it to find and modify all corresponding locations.

13. Understand AI Tool Capabilities

Learn the strengths and weaknesses (“hills and valleys”) of AI tools through active use. This allows you to effectively leverage them where they excel and anticipate their limitations.

14. Focus Engineers on Business Problems

Shift engineering focus from pure code writing to identifying and prioritizing the most important business problems and product capabilities. AI handles the “solving it” part, freeing engineers for strategic decisions.

15. Build Foundational System Knowledge

Invest in understanding the underlying principles of how computers and systems work (e.g., operating systems, parallel computing). This foundational knowledge helps make better design decisions and diagnose performance issues.

16. Optimize for Lean Ambition

Strive to be the smallest possible company that can still achieve its ambitious goals. This ensures resources are focused on high-impact work rather than idolizing leanness for its own sake.

17. Avoid Over-Hiring to Prevent Politics

Resist hiring for roles where current staff are not “underwater,” as over-hiring leads to manufactured work and internal politics. This diverts focus from truly important tasks.

18. Value Project Ownership, Not Team Size

Structure teams around projects with directly responsible individuals, allowing flexible movement between important projects. This avoids “owning people” and rewards impact with minimal resources.

19. Hire for Passion and Hard Work

Beyond technical skills, seek candidates who are deeply passionate about the mission and explicitly willing to work very hard. This builds a collaborative culture with high standards.

20. Maintain High Work Ethic Bar

Set a high expectation for effort and commitment across the team. A single team member not pulling their weight can lower morale and the perceived standard for the entire group.

21. Embrace AI Tools in Interviews

Allow candidates to use AI coding tools during interviews, as these are seen as massive productivity improvements. Assess problem-solving ability and how they leverage tools, not just raw coding.

22. Invest in Enterprise Sales Early

Recognize the value of enterprise sales, especially when targeting large companies like the Fortune 500. Product-led growth alone is often insufficient for this market segment.

23. Directly Edit UI Elements with AI

Utilize AI coding tools like Windsurf to directly select and modify specific UI elements on a live preview. This allows for design changes without needing to write code manually.

24. Empower Engineers as Product Managers (for Dev Tools)

For developer-focused products, empower core engineers to act as product managers. This leverages their deep intuition and understanding of the user persona for streamlined decision-making.

25. Keep Teams Small for Technical Depth

Maintain small “two-pizza” team sizes to ensure leaders remain deeply involved and knowledgeable about the technology. This prevents “armchair quarterbacking” in fast-moving technical spaces.

26. Increase Investment in Engineering with AI

Recognize that AI increases the ROI of building technology, making the opportunity cost of not investing higher. Companies should hire more engineers to leverage enhanced productivity.

27. Embrace Discomfort to Act Faster

Cultivate the ability to reevaluate hypotheses and make difficult decisions faster, even if it means entering “uncomfortable” territory. Proactive adaptation is key to staying ahead.