logo
episode-header-image
May 7
1h 27m

Building Windsurf with Varun Mohan

Gergely Orosz
About this episode

Supported by Our Partners

•⁠ Modal — The cloud platform for building AI applications

•⁠ CodeRabbit⁠⁠ — Cut code review time and bugs in half. Use the code PRAGMATIC to get one month free.

What happens when LLMs meet real-world codebases? In this episode of The Pragmatic Engineer,  I am joined by Varun Mohan, CEO and Co-Founder of Windsurf. Varun talks me through the technical challenges of building an AI-native IDE (Windsurf) —and how these tools are changing the way software gets built. 

We discuss: 

• What building self-driving cars taught the Windsurf team about evaluating LLMs

• How LLMs for text are missing capabilities for coding like “fill in the middle”

• How Windsurf optimizes for latency

• Windsurf’s culture of taking bets and learning from failure

• Breakthroughs that led to Cascade (agentic capabilities)

• Why the Windsurf teams build their LLMs

• How non-dev employees at Windsurf build custom SaaS apps – with Windsurf!

• How Windsurf empowers engineers to focus on more interesting problems

• The skills that will remain valuable as AI takes over more of the codebase

• And much more!

Timestamps

(00:00) Intro

(01:37) How Windsurf tests new models

(08:25) Windsurf’s origin story 

(13:03) The current size and scope of Windsurf

(16:04) The missing capabilities Windsurf uncovered in LLMs when used for coding

(20:40) Windsurf’s work with fine-tuning inside companies 

(24:00) Challenges developers face with Windsurf and similar tools as codebases scale

(27:06) Windsurf’s stack and an explanation of FedRAMP compliance

(29:22) How Windsurf protects latency and the problems with local data that remain unsolved

(33:40) Windsurf’s processes for indexing code 

(37:50) How Windsurf manages data 

(40:00) The pros and cons of embedding databases 

(42:15) “The split brain situation”—how Windsurf balances present and long-term 

(44:10) Why Windsurf embraces failure and the learnings that come from it

(46:30) Breakthroughs that fueled Cascade

(48:43) The insider’s developer mode that allows Windsurf to dogfood easily 

(50:00) Windsurf’s non-developer power user who routinely builds apps in Windsurf

(52:40) Which SaaS products won’t likely be replaced

(56:20) How engineering processes have changed at Windsurf 

(1:00:01) The fatigue that goes along with being a software engineer, and how AI tools can help

(1:02:58) Why Windsurf chose to fork VS Code and built a plugin for JetBrains 

(1:07:15) Windsurf’s language server 

(1:08:30) The current use of MCP and its shortcomings 

(1:12:50) How coding used to work in C#, and how MCP may evolve 

(1:14:05) Varun’s thoughts on vibe coding and the problems non-developers encounter

(1:19:10) The types of engineers who will remain in demand 

(1:21:10) How AI will impact the future of software development jobs and the software industry

(1:24:52) Rapid fire round

The Pragmatic Engineer deepdives relevant for this episode:

IDEs with GenAI features that Software Engineers love

AI tooling for Software Engineers in 2024: reality check

How AI-assisted coding will change software engineering: hard truths

AI tools for software engineers, but without the hype

See the transcript and other references from the episode at ⁠⁠https://newsletter.pragmaticengineer.com/podcast⁠⁠

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



Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe
Up next
Aug 6
The state of VC within software and AI startups – with Peter Walker
Brought to You By:•⁠ WorkOS — The modern identity platform for B2B SaaS.•⁠ Statsig ⁠ — ⁠ The unified platform for flags, analytics, experiments, and more.• Sonar — Code quality and code security for ALL code.—In this episode of The Pragmatic Engineer, I sit down with Peter Walker ... Show More
1h 19m
Apr 2025
Building Reddit’s iOS and Android app
Supported by Our Partners• Graphite — The AI developer productivity platform. • Sentry — Error and performance monitoring for developers.—Reddit’s native mobile apps are more complex than most of us would assume: both the iOS and Android apps are about 2.5 million lines of code, ... Show More
1h 26m
Apr 2025
Working at Amazon as a software engineer – with Dave Anderson
Supported by Our Partners• WorkOS — The modern identity platform for B2B SaaS.•⁠ Modal⁠ — The cloud platform for building AI applications• Vanta — Automate compliance and simplify security with Vanta.—What is it like to work at Amazon as a software engineer? Dave Anderson spent o ... Show More
1h 27m
Recommended Episodes
Aug 2024
Venture returns, recovering startups, and VC conflicts | E1995
This Week in Startups is brought to you by… Coda. Coda empowers your startup by bringing words, tables, and teams together. Strategize, plan, and track goals effectively with all your valuable data in one place. Go to https://www.Coda.io/twist to get started for FREE and get 6 fr ... Show More
1h 27m
May 2024
#207 Data Driven Venture Capital with Andre Retterath, Partner at Earlybird VC
As we close out our focus on how the venture capital industry identifies and decides which future companies to fund, it might be easy to fall into the trap of thinking that the latest methods for discovering future unicorns are ubiquitous among all VCs. However, many VCs still wo ... Show More
52m 25s
Jul 2024
Five levels of AI, venture's recovery & the hottest construction startups | E1979
This Week in Startups is brought to you by… Vanta. Compliance and security shouldn't be a deal-breaker for startups to win new business. Vanta makes it easy for companies to get a SOC 2 report fast. TWiST listeners can get $1,000 off for a limited time at http://www.vanta.com ... Show More
1h 24m
Dec 2022
The keys to framing a winning investor pitch
It wasn’t very long ago that venture capital was so free-flowing it seemed as if any entrepreneur with a half-decent idea could raise an initial round of financing. Those halcyon days are clearly now past us, with inflation, rising interest rates, and slowing economic growth (or ... Show More
31m 47s
Sep 2024
Career Progression at Startups - Caution: NOT How Big Companies Do It (Edu)
One of the toughest challenges in early-stage startups is managing employee career development. Unlike big corporations, startups thrive on chaos, ownership, and self-driven growth, meaning traditional professional development programs often fall flat.  In this episode, Chris Saa ... Show More
53m 11s
Dec 2024
Investing & Fundraising - The Truth About VC w/ Nick Crocker (Replay)
How much value do VCs truly bring beyond their capital? And what makes the difference between a supportive partnership and a dysfunctional founder-investor relationship? In this episode, Chris Saad and Yaniv Bernstein welcome Nick Crocker, General Partner at Blackbird Ventures, t ... Show More
54m 38s
Oct 2024
20VC: The Truth About Multi-Stage Firms; Why Portfolio Services are for VCs not Founders | Why Politics is Rife & Decision-Making is Broken in Large VCs | Why Reserves are Bad for Founders & How Bouti
Mark Goldberg is a Managing Partner and Co-Founder at Chemistry, a $350M fund announced just yesterday with the mission to lead the best seed and Series A rounds. Before Chemistry, Mark was a Partner at Index Ventures, where he led early stage investments in Plaid, Bridge, Pilot, ... Show More
56m 21s
Jun 16
Apps Are Obsolete: How Startups Can Leverage the New Era of AI Agents (Spotlight)
What if your next startup competitor doesn’t have a single employee?AI agents aren’t just another software trend — they’re redefining the interface between humans, data, and execution, yet many founders still confuse basic chatbots with the true potential of these agents.In this ... Show More
46m 43s
Dec 2023
THE BIGGEST STARTUP OPPORTUNITIES IN 2024 BY LEAN STARTUP GUY ERIC RIES
Greg interviews Eric Ries, author of "The Lean Startup" and founder of The Long Term Stock Exchange.They talk about how to test business ideas, why businesses with a social mission will outperform, and opportunities in AI.►►Subscribe to Greg's weekly newsletter for insights on co ... Show More
46m 41s