Skip to content
Lex Fridman PodcastLex Fridman Podcast

Cursor Team: Future of Programming with AI | Lex Fridman Podcast #447

Aman Sanger, Arvid Lunnemark, Michael Truell, and Sualeh Asif are creators of Cursor, a popular code editor that specializes in AI-assisted programming. Thank you for listening ❤ Check out our sponsors: https://lexfridman.com/sponsors/ep447-sb See below for timestamps, transcript, and to give feedback, submit questions, contact Lex, etc. *Transcript:* https://lexfridman.com/cursor-team-transcript *CONTACT LEX:* *Feedback* - give feedback to Lex: https://lexfridman.com/survey *AMA* - submit questions, videos or call-in: https://lexfridman.com/ama *Hiring* - join our team: https://lexfridman.com/hiring *Other* - other ways to get in touch: https://lexfridman.com/contact *EPISODE LINKS:* Cursor Website: https://cursor.com Cursor on X: https://x.com/cursor_ai Anysphere Website: https://anysphere.inc/ Aman's X: https://x.com/amanrsanger Aman's Website: https://amansanger.com/ Arvid's X: https://x.com/ArVID220u Arvid's Website: https://arvid.xyz/ Michael's Website: https://mntruell.com/ Michael's LinkedIn: https://bit.ly/3zIDkPN Sualeh's X: https://x.com/sualehasif996 Sualeh's Website: https://sualehasif.me/ *SPONSORS:* To support this podcast, check out our sponsors & get discounts: *Encord:* AI tooling for annotation & data management. Go to https://lexfridman.com/s/encord-ep447-sb *MasterClass:* Online classes from world-class experts. Go to https://lexfridman.com/s/masterclass-ep447-sb *Shopify:* Sell stuff online. Go to https://lexfridman.com/s/shopify-ep447-sb *NetSuite:* Business management software. Go to https://lexfridman.com/s/netsuite-ep447-sb *AG1:* All-in-one daily nutrition drinks. Go to https://lexfridman.com/s/ag1-ep447-sb *OUTLINE:* 0:00 - Introduction 0:59 - Code editor basics 3:09 - GitHub Copilot 10:27 - Cursor 16:54 - Cursor Tab 23:08 - Code diff 31:20 - ML details 36:54 - GPT vs Claude 43:28 - Prompt engineering 50:54 - AI agents 1:04:51 - Running code in background 1:09:31 - Debugging 1:14:58 - Dangerous code 1:26:09 - Branching file systems 1:29:20 - Scaling challenges 1:43:32 - Context 1:48:39 - OpenAI o1 2:00:01 - Synthetic data 2:03:48 - RLHF vs RLAIF 2:05:34 - Fields Medal for AI 2:08:17 - Scaling laws 2:17:06 - The future of programming *PODCAST LINKS:* - Podcast Website: https://lexfridman.com/podcast - Apple Podcasts: https://apple.co/2lwqZIr - Spotify: https://spoti.fi/2nEwCF8 - RSS: https://lexfridman.com/feed/podcast/ - Podcast Playlist: https://www.youtube.com/playlist?list=PLrAXtmErZgOdP_8GztsuKi9nrraNbKKp4 - Clips Channel: https://www.youtube.com/lexclips *SOCIAL LINKS:* - X: https://x.com/lexfridman - Instagram: https://instagram.com/lexfridman - TikTok: https://tiktok.com/@lexfridman - LinkedIn: https://linkedin.com/in/lexfridman - Facebook: https://facebook.com/lexfridman - Patreon: https://patreon.com/lexfridman - Telegram: https://t.me/lexfridman - Reddit: https://reddit.com/r/lexfridman

Lex FridmanhostMichael TruellguestAman SangerguestArvid LunnemarkguestSualeh Asifguest
Oct 5, 20242h 29mWatch on YouTube ↗

At a glance

WHAT IT’S REALLY ABOUT

Cursor Team Reveals How AI Will Radically Transform Programming Workflows

  1. Lex Fridman interviews the founding Cursor team about rethinking the code editor around modern AI models. They explain why they forked VS Code to tightly integrate custom models for autocomplete, code editing, and multi-file diffs, aiming to eliminate “low-entropy” keystrokes and make coding radically faster and more fun. The conversation dives deep into technical topics such as speculative decoding, KV caching, mixture‑of‑experts models, retrieval and embeddings, synthetic data, and test-time compute. Throughout, they argue the near‑ to mid‑term future is a human‑AI hybrid programmer, with humans retaining control, judgment, and system design while AI handles boilerplate, migration, and increasingly sophisticated edits and verification.

IDEAS WORTH REMEMBERING

5 ideas

Forking the editor enables deeper AI integration than extensions can

Cursor forked VS Code instead of building a plugin so they could control everything from UI to model routing, caching, and background agents. This end‑to‑end ownership lets them rapidly experiment with new capabilities, not just bolt AI onto an old workflow.

The core goal is to delete ‘low-entropy’ work from programming

Cursor aims to remove predictable keystrokes—things the model can confidently infer from context—so humans focus on decisions, design, and intent. Cursor Tab generalizes autocomplete to ‘next edit / next action prediction,’ allowing users to accept entire diffs and navigation steps with a single key.

Custom small models can outperform frontier models on narrow editor tasks

For tasks like fast code edits, next-cursor prediction, and reliably applying diffs, Cursor trains specialized smaller models (often MoE) tuned to long prefill / short output patterns. These models, combined with tricks like speculative edits and KV caching, yield higher quality and far lower latency than just calling a big general LLM.

Fast, usable AI coding tools depend heavily on systems-level optimizations

User-perceived speed comes from techniques like KV cache reuse, cache warming while the user types, speculative decoding over existing code, multi-query/MLA attention to shrink KV size, and smart batching. Many breakthroughs are in infrastructure and UX, not just model weights.

Diff and verification UX is now a major bottleneck for large AI changes

As models propose larger multi-file edits, humans can’t realistically review raw diffs. Cursor is experimenting with AI-assisted diff visualization: highlighting “important” regions, graying out repetitive changes, flagging likely bugs, and reordering review paths to guide the programmer through what truly matters.

WORDS WORTH SAVING

5 quotes

Fast is fun.

Cursor team

The goal of Cursor Tab is to eliminate all the low‑entropy actions you take inside the editor.

Michael (Cursor)

We’re building the engineer of the future, a human–AI programmer that’s an order of magnitude more effective than any one engineer.

Cursor engineering manifesto (paraphrased and discussed by the team)

I think Cursor, a year from now, will need to make the Cursor of today look obsolete.

Swale (Cursor)

Agents are not yet super useful for many things… I think we’re getting close to where they will actually be useful.

Arvid (Cursor)

Purpose and evolution of code editors in the age of AICursor’s origin story, architecture, and decision to fork VS CodeAI-assisted coding features: Cursor Tab, Apply, diffs, and codebase chatModel engineering: custom small models, MoE, speculative decoding, KV caching, attention variantsRetrieval and indexing: embeddings, vector DBs, Merkle-style syncing, local vs cloud trade-offsSynthetic data, RLHF/RLAIF, process reward models, and test-time compute (e.g., o1)Future of programming: agents, bug finding, formal verification, and the human–AI hybrid engineer

High quality AI-generated summary created from speaker-labeled transcript.

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.

Add to Chrome