Latest / Elon Musk Podcast / AI UPDATE: What is Vibe Coding, and how to make money with it
Transcript
- 0:00So 45% of all AI generated code actually introduces critical
- 0:05security vulnerabilities. Which is, I mean, the sheer
- 0:08scale of that risk is just staggering when you put it next
- 0:12to the stories coming from business leaders right now.
- 0:15Take Sebastian Simi Kowski, the CEO of Klarna.
- 0:18He is openly shared that he has absolutely no formal coding
- 0:22background. None yet.
- 0:24He now generates completely functional software prototypes
- 0:27from scratch just by typing out natural language instructions.
- 0:31Wild. Right, he is doing in a matter
- 0:34of minutes what used to require an entire engineering team
- 0:37working for weeks. So how does the software
- 0:39industry harness this incredible speed of natural language coding
- 0:43without building digital products that just immediately
- 0:45collapse under their own weight? Well.
- 0:47We have to look at this concept Andre Carpathy talked about,
- 0:50which really completely changes the focus of software creation.
- 0:53He described a toward relying entirely on casual natural
- 0:56language prompts. The person creating the software
- 1:00essentially just ignores the underlying code, right?
- 1:03They focus purely on describing the desired outcome.
- 1:06Yeah, you completely bypass traditional syntax.
- 1:08Like if you sit down to build something today using this
- 1:11method you no longer have to worry about missing a semi colon
- 1:14or defining variables. Or setting up complex logic
- 1:18loops. Exactly.
- 1:19You just describe the behavior you want to see on the screen.
- 1:22And AY Combinator Report actually looked at their latest
- 1:25cohort of startups and found that a full quarter of them
- 1:28built the vast majority of their code bases using these exact AI
- 1:32tools. 1/4 of them. That is huge.
- 1:34Yeah, Jack Dorsey even took this approach to build an entire
- 1:39peer-to-peer messaging app called Bit Chat, and he relied
- 1:42heavily on an AI assistant named Goose to do it.
- 1:45I mean, think about the mechanics of how Jack Dorsey or
- 1:48anyone else approaches that. You fundamentally change the
- 1:51relationship between the creator and the creation.
- 1:54Instead of writing specific rigid instructions for a
- 1:57computer processor, you describe an application's behavior to an
- 2:00intermediary, and the machine handles the entire translation
- 2:04process into machine logic. It is remarkably similar to
- 2:08being a movie director instead of a camera operator.
- 2:10Oh, I like that. Right, like as a director you do
- 2:13not need to know how to adjust the focal length on the lens or
- 2:16how to wire the lighting grid safely.
- 2:18Or how to balance the audio inputs on the mixing board?
- 2:21Exactly. You just describe the scene you
- 2:22want. You dictate the mood, the
- 2:24action, the pacing, right? And the AI essentially builds
- 2:29the set, lights it perfectly, and rolls the camera for you.
- 2:33You direct the outcome rather than operating the heavy
- 2:36machinery. And that shift in roles
- 2:39completely alter startup economics.
- 2:41Yeah, it lowers the barrier to entry so drastically that
- 2:45non-technical founders execute complex ideas instantly.
- 2:50Yeah. Like if you have a solid
- 2:51understanding of business logic and user experience.
- 2:54Yeah. You no longer need to spend
- 2:55months hunting for a technical Co founder.
- 2:57Right, you completely skip the phase of securing hundreds of
- 3:00thousands of dollars in seed funding just to build a a
- 3:02minimum viable product. Exactly.
- 3:04A founder can now launch dozens of experimental products for the
- 3:08cost of what used to be a single fragile prototype.
- 3:10But we really have to look at the massive flip side of that
- 3:13incredible speed. Relying purely on AI output
- 3:17creates what researchers call Demo Ware.
- 3:19Demo Ware. Right.
- 3:20Yeah, these products look incredibly polished on the
- 3:23surface. You click the buttons, the
- 3:25animations are smooth. The database seems to update
- 3:27Florida State. But underneath the shiny
- 3:29interface, they are structurally disastrous.
- 3:32Completely Tensai Security researchers analyzed these
- 3:35applications and found they easily allow massive logic
- 3:38failures. For example, users in a newly
- 3:42generated e-commerce app were able to order negative
- 3:45quantities of item. Or sellers were successfully
- 3:48setting negative prices for their goods.
- 3:50Exactly. Because the AI understands the
- 3:52mechanical action of how to make a button click register in a
- 3:55database, but it completely misses the human business logic.
- 4:00It does not understand why a negative price mathematically
- 4:03ruins a business because it only knows how to process the input
- 4:07it was given. Right, Not the context behind
- 4:09why the application exists in the real world.
- 4:12Wait back up for a second. The research highlighted a
- 4:14specific vulnerability called hallucinated dependencies.
- 4:19What exactly is happening there? Why would the AI invent
- 4:22something that causes a security failure?
- 4:24Well, you have to remember how large language models function
- 4:27at their core. They are essentially highly
- 4:29sophisticated auto complete engines.
- 4:32They are not looking up answers in a pristine database of
- 4:35verified facts. They are predicting which words
- 4:38statistically belong together based on their training data.
- 4:41Right. So if your project needs a
- 4:43specific tool, say a PDF parser in Python, the AI statistically
- 4:49guesses a package name that sounds perfectly real.
- 4:52It follows the standard naming convention so closely that it
- 4:55looks legitimate. Even if that specific library
- 4:58has never existed. Exactly.
- 4:59And attackers are actively looking for those exact educated
- 5:02guesses. Oh absolutely.
- 5:03They constantly monitor public forums and public code bases for
- 5:06these fake names, and when they spot an AI suggesting A
- 5:09hallucinated library, they immediately register that exact
- 5:13package name in real public repositories.
- 5:15And fill it with malware. Right, so the the next time your
- 5:19AI confidently tells you to download that library, your
- 5:22system pulls the attacker's malware straight into the
- 5:25application, breaking the entire system instantly.
- 5:29So the AI fixes your typos, but it plants time bombs.
- 5:33That is exactly what happens and the consequence limits this
- 5:36casual AI coding to throw away projects.
- 5:39Yeah, it is brilliant for a weekend hackathon or an internal
- 5:43dashboard that only two people in your office will ever use,
- 5:46right? But when startups try to scale
- 5:48these fragile foundations, non-technical founders hit a
- 5:51massive brick wall. The code base becomes a tangled
- 5:55web of redundant logic and security holes.
- 5:57Because they do not understand the underlying code, they cannot
- 6:00fix the structural flaws exactly.
- 6:02They are ultimately forced to hire expensive senior developers
- 6:05to come in, untangle the mess, and often rewrite the entire AI
- 6:09generated code base from scratch.
- 6:11Which completely negates the initial cost savings they got
- 6:14from skipping the engineering phase in the first place.
- 6:16Yeah, and this tension between speed and stability has caused
- 6:20the tool ecosystem to split. We now have distinct platforms
- 6:24addressing completely different user needs.
- 6:26Right On one side you have platforms like Lovable and Bolt
- 6:30dot new. These allow users to scaffold
- 6:33full web applications entirely in the browser.
- 6:36They handle everything automatically exactly.
- 6:38Setting up the databases, configuring the servers,
- 6:41managing the deployment. You type a prompt and you get a
- 6:43live working URL. Those visual builders are
- 6:47perfect for getting a non-technical bounder to a
- 6:49working prototype in an afternoon.
- 6:52But on the other side of the market you have the professional
- 6:54tier. Tools like Cursor and Windsurf
- 6:57act as AI native code editors. They do not hide the code from
- 7:01the user. They augment the engineer who is
- 7:04actively writing it. Right, these tools index entire
- 7:08local repositories using retrieval augmented generation.
- 7:11You mentioned they compute numerical vector embeddings for
- 7:13every single file. Explain how translating code
- 7:16into math actually helps the AI understand the project.
- 7:19Well, think of a vector embedding like a massive 3
- 7:23dimensional map of concepts. Instead of just using a standard
- 7:27text search to find the exact word password, the AI maps your
- 7:32entire code base so it knows that authentication, login, and
- 7:36security token all live in the exact same neighborhood of
- 7:39meaning. Yeah, by converting the code
- 7:42into these mathematical relationships, the AI
- 7:45understands the full context of your project.
- 7:48If you ask it to change how user authentication works, it knows
- 7:51exactly which 50 files need to be updated simultaneously to
- 7:55make that happen. I have to push back on the
- 7:57narrative that surrounds these tools though.
- 7:59Really. Yeah.
- 8:00Does this mean human engineers are obsolete?
- 8:02No. I mean, if the AI knows exactly
- 8:04which 50 files to change and understands the context
- 8:07perfectly, it sounds like you do not need an experienced
- 8:10developer sitting there. I completely disagree with the
- 8:12idea of human obsolescence here. OK, why?
- 8:14To use Cursor effectively, particularly those multi file
- 8:18refactoring capabilities, you still need a deeply
- 8:21sophisticated understanding of software architecture.
- 8:24The AI might suggest just changing a Core Data model
- 8:27across 20 files, but the human sitting at the keyboard has to
- 8:31know if that specific architectural change will break
- 8:35the application's scalability when you hit a million users.
- 8:38That makes sense. If you do not actually know how
- 8:40to code or how complex systems interact at a high level, cursor
- 8:45is remarkably useless to you it. Will just help you write
- 8:48terrible architecture much faster.
- 8:49Exactly. Choosing the right tool
- 8:51determines the absolute ceiling of the project.
- 8:54A browser based builder gets your idea off the ground for
- 8:57market testing. But an AI native environment
- 8:59gives a seasoned engineer the power to safely modify massive,
- 9:03complex systems without breaking them.
- 9:06You really have to match the tool to the expertise of the
- 9:09user and the required lifespan of the product.
- 9:11Which is why we are moving away from casual prompting and
- 9:15entering an era of agentic engineering right?
- 9:17Instead of treating an AI like a Magic 8 ball.
- 9:20Where you submit a single request and hope it writes an
- 9:22entire flawless application. Developers are orchestrating
- 9:25fleets of autonomous AI agents. And these systems directly
- 9:30mirror established human engineering teams.
- 9:33You do not have one single agent trying to do everything at once.
- 9:37No, you have one agent entirely dedicated to writing the
- 9:40implementation code. And you have another agent whose
- 9:42only job is to run aggressive tests against that code to find
- 9:46flaws. Exactly.
- 9:47And you have a third agent functioning as a security
- 9:49reviewer, scanning specifically for those hallucinated
- 9:53dependencies and logic errors we talked about earlier.
- 9:56Frameworks like Gastown are already managing dozens of these
- 9:59parallel instances. We intentionally introduce
- 10:02friction into the process in a human team.
- 10:05A quality assurance testers job is to ruthlessly try to break
- 10:09the code the developer just wrote.
- 10:11Agentic engineering creates that exact same adversarial
- 10:14relationship between two AI bots.
- 10:17One bot's entire mathematical reward system is based entirely
- 10:21on finding the blind spots in the other bot's code.
- 10:23Oh wow. They collaborate, argue and
- 10:25refine the output continuously before a human ever reviews the
- 10:29final product. It is exactly like moving from a
- 10:32solo musician improvising a tune on a street corner to conducting
- 10:37a full Symphony Orchestra. That is a great way to put it.
- 10:40The solo musician is fast and spontaneous.
- 10:43That is great for a simple melody, but an orchestra
- 10:46involves dozens of highly specialized instruments.
- 10:50The conductor does not play the violin or bang the timpani,
- 10:53right? They stand at the podium,
- 10:54keeping the tempo, signaling when the string should swell and
- 10:58ensuring every single section is harmonizing correctly.
- 11:02Every instrument has a specific, highly regulated role.
- 11:06And the conductor's expertise is entirely in the orchestration,
- 11:09not the individual execution of the notes.
- 11:11Exactly. The consequence of this agentic
- 11:13approach is that it completely restores rigor to the
- 11:16development process. It removes the fragility of the
- 11:20demo where trap. It forces the human back into
- 11:22the role of a strategic overseer.
- 11:24You are the conductor, you define the constraints, you
- 11:27design the overall architecture, and you establish the governance
- 11:29rules. By doing that you build highly
- 11:32secure enterprise grade software at exponential speeds.
- 11:35Completely avoiding the security pitfalls of blindly trusting a
- 11:39single AI output. So the era of manually typing
- 11:42every single line of syntax is fading, but the discipline of
- 11:46planning, testing, and securing those systems is more crucial
- 11:49than ever. You are simply trading the
- 11:51manual labor of writing code for the intellectual labor of
- 11:54architectural oversight. It really leaves you wondering
- 11:57how universities will adapt their curriculums in the near
- 12:00future. What happens to computer science
- 12:03education when the highest paid skill in the industry shifts
- 12:06away from memorizing programming languages and moves entirely
- 12:09toward managing and auditing an autonomous AI workforce?
- 12:13If you're not subscribed yet, take a second and hit follow on
- 12:15whatever app you're using. It helps us keep making this.
- 12:17We appreciate you being here.