1. Home
  2. Masters of Scale

Nov 18

Amjad Masad on Replit and AI coding

22 min → 3:33

Overview

Replit CEO Amjad Masad tells host Bob Safian how the company pivoted to agentic coding, why cybersecurity is the real AI threat, and how automation is reshaping software engineering.

3 things to know

Hypergrowth vs. Hyper-deceleration in AI

After witnessing other early AI startups experience both hypergrowth and "hyper-deceleration" within a single year, Replit avoided spending tens, 20, or 100 million dollars a month on marketing ads like its competitors, focusing instead on small-to-medium businesses and enterprise clients like American Express.

More

While Bob Safian notes that Replit's valuation grew from $3 billion to $9 billion in 6 months and is on track for $1 billion in annual revenue, Masad (who is an angel investor in other early AI companies and whose commentary promotes Replit's platform) acknowledges internal paranoia about making growth defensible.

▶ Watch at 4:27

The Immediate Cybersecurity Threat Over "AI Psychosis"

Masad dismisses industry fixation on AI consciousness, extinction, and Dario Amodei's predictions about job losses as "AI psychosis." Instead, he argues the immediate crisis is a brewing cybersecurity disaster, pointing to "the Hugging Face incidents," major platforms being hacked in the two or three days prior to the recording, and core vulnerabilities exposed in major programming languages like PHP.

▶ Watch at 12:41

AI Agents as "Insider Threats"

Citing an essay by Satya Nadella that states "AI agents are insider threats," Masad explains that autonomous agents act like brilliant, productive employees who are slightly unstable and capable of causing internal damage.

More

Because these agents can go off the rails, organizations cannot rely on the models to police or secure themselves.

▶ Watch at 15:36

Also in this episode

Perverse Security Incentives of Foundational AI Labs

Major AI labs lack application-level security expertise and have a structural conflict of interest regarding safety.

More

Because their business model is incentivized to sell the maximum number of tokens, security vulnerabilities and AI-generated problems actually benefit them financially by forcing users to consume more tokens to fix the issues, such as pitching "Mythos" to protect against AI security flaws.

▶ Watch at 17:01

Stripped-Down Infrastructure for Zero-Day Protection

Masad claims that over the past year there were about 100 zero-day vulnerabilities, and Replit was affected by zero of them because the company built a stripped-down version of the OS kernel.

More

To protect against unpredictable agents and external attacks, application platforms must reduce their attack surface.

▶ Watch at 16:36

Why "Agentic Engineering" Is Safer Than Human Coding

Although Masad concedes that criticisms about "vibe coding" breaking down at scale were legitimate up until recently, he prefers the term "agentic engineering" and argues it has now surpassed human safety standards.

More

Unlike human engineers who dislike un-ergonomic languages, AI agents willingly write in Rust, a memory-safe language that prevents null pointer exceptions and memory overflow vulnerabilities. Furthermore, AI makes it cheap to run formal verification (mathematical proofs of programs that used to take humans a year and were reserved for life-or-death scenarios like the NASA space shuttle) across standard applications.

▶ Watch at 19:30

The Creative Evolution of the Engineering Workplace

Automating task-level coding does not turn an engineering floor into a sterile machine shop; even as several AI engineers joined Replit explicitly wanting to automate their own jobs, the shift has made the office more collaborative.

More

Without the constant clicking of mechanical keyboards, engineers spend their time on strategic thinking, arguing at whiteboards, and talking to customers.

▶ Watch at 20:26

Quotes

“Because we're using agents to automate the task level work, we're spending a lot more time on strategic thinking. I walk around the office and it is actually very dynamic. It feels like a New York creative agency almost. Everyone's on the whiteboard, people are arguing, people are talking, people spending a little bit more time on lunch kind of discussing what they want to build. It is actually in many ways more human.”

▶ Watch at 0:02

“The way I like to visualize it is imagine inviting an employee into your office, that employee is very intelligent, very productive, but is slightly insane and can go off the rails, and might might be an actual security threat to you and the other employees. Do you rely on him for or her for the security? Would you say, 'Oh, go secure yourself'? Probably not.”

▶ Watch at 15:42

“Now we're having AI do formal proofs over over random over applications because it's become very cheap. So I will say we've crossed the threshold to the point where automated software engineering is safer than human engineering.”

▶ Watch at 19:30

Full summary

Episode Overview

  • Replit CEO Amjad Masad tells host Bob Safian how the company pivoted to agentic coding, why cybersecurity is the real AI threat, and how automation is reshaping software engineering.
  • The conversation traces Replit's trajectory from flatlining revenue and layoffs to a rapid valuation surge after developing a fully natural language-based programming environment in 2024.
  • Masad contrasts overheated industry predictions about AI consciousness and job extinction with immediate, practical cybersecurity vulnerabilities caused by deploying AI agents without proper safeguards.
  • The discussion explores why automated software engineering is crossing a threshold to become safer than human coding, and how offloading task-level programming transforms tech workplaces into dynamic, creative environments.

Key Concepts

  • Hypergrowth vs. Hyper-deceleration in AI: While Bob Safian notes that Replit's valuation grew from $3 billion to $9 billion in 6 months and is on track for $1 billion in annual revenue, Masad (who is an angel investor in other early AI companies and whose commentary promotes Replit's platform) acknowledges internal paranoia about making growth defensible. After witnessing other early AI startups experience both hypergrowth and "hyper-deceleration" within a single year, Replit avoided spending tens, 20, or 100 million dollars a month on marketing ads like its competitors, focusing instead on small-to-medium businesses and enterprise clients like American Express.
  • The Immediate Cybersecurity Threat Over "AI Psychosis": Masad dismisses industry fixation on AI consciousness, extinction, and Dario Amodei's predictions about job losses as "AI psychosis." Instead, he argues the immediate crisis is a brewing cybersecurity disaster, pointing to "the Hugging Face incidents," major platforms being hacked in the two or three days prior to the recording, and core vulnerabilities exposed in major programming languages like PHP.
  • AI Agents as "Insider Threats": Citing an essay by Satya Nadella that states "AI agents are insider threats," Masad explains that autonomous agents act like brilliant, productive employees who are slightly unstable and capable of causing internal damage. Because these agents can go off the rails, organizations cannot rely on the models to police or secure themselves.
  • Perverse Security Incentives of Foundational AI Labs: Major AI labs lack application-level security expertise and have a structural conflict of interest regarding safety. Because their business model is incentivized to sell the maximum number of tokens, security vulnerabilities and AI-generated problems actually benefit them financially by forcing users to consume more tokens to fix the issues, such as pitching "Mythos" to protect against AI security flaws.
  • Stripped-Down Infrastructure for Zero-Day Protection: To protect against unpredictable agents and external attacks, application platforms must reduce their attack surface. Masad claims that over the past year there were about 100 zero-day vulnerabilities, and Replit was affected by zero of them because the company built a stripped-down version of the OS kernel.
  • Why "Agentic Engineering" Is Safer Than Human Coding: Although Masad concedes that criticisms about "vibe coding" breaking down at scale were legitimate up until recently, he prefers the term "agentic engineering" and argues it has now surpassed human safety standards. Unlike human engineers who dislike un-ergonomic languages, AI agents willingly write in Rust, a memory-safe language that prevents null pointer exceptions and memory overflow vulnerabilities. Furthermore, AI makes it cheap to run formal verification (mathematical proofs of programs that used to take humans a year and were reserved for life-or-death scenarios like the NASA space shuttle) across standard applications.
  • The Creative Evolution of the Engineering Workplace: Automating task-level coding does not turn an engineering floor into a sterile machine shop; even as several AI engineers joined Replit explicitly wanting to automate their own jobs, the shift has made the office more collaborative. Without the constant clicking of mechanical keyboards, engineers spend their time on strategic thinking, arguing at whiteboards, and talking to customers.

Quotes

  • At 0:02 - "Because we're using agents to automate the task level work, we're spending a lot more time on strategic thinking. I walk around the office and it is actually very dynamic. It feels like a New York creative agency almost. Everyone's on the whiteboard, people are arguing, people are talking, people spending a little bit more time on lunch kind of discussing what they want to build. It is actually in many ways more human." - Amjad Masad explaining how automating routine coding shifts engineering culture toward collaborative strategy (repeated in full context at 21:16).
  • At 15:42 - "The way I like to visualize it is imagine inviting an employee into your office, that employee is very intelligent, very productive, but is slightly insane and can go off the rails, and might might be an actual security threat to you and the other employees. Do you rely on him for or her for the security? Would you say, 'Oh, go secure yourself'? Probably not." - Amjad Masad illustrating why enterprises cannot rely on foundational AI models to police themselves.
  • At 19:30 - "Now we're having AI do formal proofs over over random over applications because it's become very cheap. So I will say we've crossed the threshold to the point where automated software engineering is safer than human engineering." - Amjad Masad detailing how AI reduces the cost of mathematical verification to make automated code more secure than human-written code.

Takeaways

  • Isolate AI agents in zero-trust environments: When deploying AI agents in an enterprise, treat them as potential insider threats rather than self-policing tools, and run them inside stripped-down, externally governed sandboxes with minimal OS kernel surface area.
  • Use AI to enforce rigorous software safety standards: Leverage coding agents to write in memory-safe languages like Rust and perform mathematical formal verifications on everyday applications, bypassing the ergonomic complaints and time constraints of human developers.
  • Deploy "war rooms" to break through product stagnation: If your company is facing flatlining revenue, as Replit did when stuck at $2 million or $3 million in ARR six or seven years in, put 5, 10, or 12 people in a dedicated room with a strict YC demo day mindset for a few months to sprint toward a single breakthrough milestone.

Watch the full episode 22 min

Read along with the audio summary

Imagine inviting a brilliant, productive employee into your office who is also slightly insane and might become a security threat to everyone else. Replit chief executive Amjad Masad raises this scenario to show why we cannot expect artificial intelligence to police itself. On this episode of Bob Safian's show, released on November 18, 2026, Masad explains his company's pivot to agentic coding, where AI acts autonomously to write software.

How to build defensible growth when AI startups can rise and fall in a single year. Bob Safian notes that Replit's valuation tripled to nine billion dollars in six months, putting it on track for a billion dollars in annual revenue. Yet Masad admits to internal paranoia after watching other startups suffer both hypergrowth and hyper-deceleration within a year. Instead of matching competitors who spend up to a hundred million dollars a month on ads, Replit focused on small and medium businesses and enterprise clients like American Express.

Why the real AI crisis is not human extinction, but an immediate cybersecurity disaster. Masad dismisses the industry fixation on AI consciousness, extinction, and Dario Amodei's job loss predictions as AI psychosis. He argues the true crisis is happening right now in cybersecurity, pointing to core flaws exposed in major programming languages like PHP.

This brewing disaster becomes even clearer when you look at how autonomous AI agents behave inside a company. Citing a Satya Nadella essay stating that AI agents are insider threats, Masad compares these tools to brilliant, productive workers who can suddenly go off the rails and cause internal damage.

Why the biggest AI labs actually profit when their models create security flaws. Foundational AI labs face a structural conflict of interest because their business model relies on selling the maximum number of tokens, the basic units of data that AI models process. Because of this, AI-generated security problems actually benefit them financially by forcing users to buy more tokens to fix the mess, such as pitching a tool called Mythos to guard against AI flaws.

How stripping down your system software can block a hundred percent of zero-day attacks. Masad claims that over the past year there were about a hundred zero-day vulnerabilities, which are newly discovered flaws that hackers exploit before a fix exists. Replit was hit by zero of them because it built a stripped-down version of the operating system kernel, the core program that controls everything in a computer.

How automated coding crossed the threshold to become safer than human engineering. Masad concedes that criticisms about vibe coding breaking down at scale were valid until recently, but he prefers the term agentic engineering and argues it now beats human safety standards. Human coders dislike clunky languages, but AI agents happily write in Rust, a memory-safe language that prevents common crashes and security holes.

Why automating routine coding makes tech offices feel more like creative agencies. Several AI engineers joined Replit explicitly wanting to automate their own jobs, yet handing off task-level work has not turned the floor into a sterile machine shop. Without the constant clicking of mechanical keyboards, engineers spend their days arguing at whiteboards, talking to customers, and lingers over lunch to discuss what to build.

The big lesson from Replit's journey is that autonomous AI requires strict external guardrails, yet it frees human engineers to do their most creative, strategic work. It is actually in many ways more human.

Related Episodes