Skip to content
MintFlow Articles

What is vibe coding? Where the term came from, the tools, and when it goes wrong

Andrej Karpathy's name for letting AI write code you never read: how it works, which tools people use, the breaches and deleted databases so far, and where the line sits

On this page
  1. What is vibe coding?
  2. Where did the term vibe coding come from?
  3. How does vibe coding work?
  4. What tools do people use for vibe coding?
  5. Browser app builders
  6. Coding agents
  7. How many people are vibe coding?
  8. What can go wrong? Documented vibe coding failures
  9. Security holes in vibe-coded apps
  10. AI agents deleting data
  11. What the research says
  12. When is vibe coding fine, and when is it risky?
  13. How to vibe code more safely
  14. Is vibe coding over? Agentic engineering in 2026
  15. Frequently asked questions

Vibe coding is building software by telling an AI what you want in plain language and accepting the code it writes without reading it. You judge the result only by whether it seems to work. Andrej Karpathy, a co-founder of OpenAI, coined the term in a post on X on 2 February 2025, and Collins Dictionary made it its Word of the Year for 2025.

It's a fine way to make a throwaway prototype or a tool only you will use. It's a bad way to build anything that holds other people's data or money. Vibe-coded apps have left whole databases open to strangers, and AI agents with too much access have deleted production data in seconds.

What is vibe coding?

The defining feature isn't that an AI wrote the code. It's that nobody reviewed it.

Developer Simon Willison, whose March 2025 post did a lot to pin the term down, defines vibe coding as building software with an LLM without reviewing the code it writes. By that definition, a professional who has an AI draft the code and then reads, tests and understands it isn't vibe coding at all. Willison's own rule is that he won't commit code he couldn't explain to someone else.

In everyday use the word has stretched. Collins defines it more loosely, as using AI, prompted in ordinary language, to help write code, with nothing about review. This guide uses the narrower one, because skipping the review is where the risks come from.

Vibe coding AI-assisted (agentic) engineering
Who reads the code Nobody, or barely The developer reviews every change, or at least the risky ones
How it's checked Run it and see if it looks right Tests, code review, a staging environment
Skills needed None; non-programmers do it Software engineering experience
Good for Prototypes, personal tools, learning Software other people depend on

That split follows engineer Addy Osmani's February 2026 write-up, which places plain "AI-assisted engineering" between the two and argues that vibe coding breaks down once code has to be changed, scaled or secured.

Where did the term vibe coding come from?

Karpathy, who co-founded OpenAI and later led AI at Tesla, described "a new kind of coding" where you "fully give in to the vibes" and forget the code exists. In the same post he explained how he worked:

  • He used the Composer feature in the Cursor editor, running Anthropic's Sonnet model.
  • He dictated to it with the voice app SuperWhisper, so he barely touched the keyboard.
  • He always clicked "Accept All" and no longer read the diffs, the line-by-line record of what changed.
  • When he got an error, he pasted it back in with no comment, which usually fixed it.
  • When the AI couldn't fix a bug, he worked around it or asked for random changes until it went away.

He admitted the code had grown beyond what he could easily follow, and he said the approach was "not too bad for throwaway weekend projects". That caveat tends to get lost. The post described a way to play, not a way to ship products.

Willison's March 2025 article dates the post to 6 February, the day he quoted it on his blog, but the post itself is timestamped 6:17 PM on 2 February 2025 (US Eastern time), as the American Dialect Society's mailing list records.

The term spread fast:

Date What happened
2 February 2025 Karpathy's post names vibe coding
29 May 2025 A flaw affecting apps built with Lovable is published as CVE-2025-48757
July 2025 Replit's agent deletes SaaStr founder Jason Lemkin's production database; Wiz discloses an access flaw in Base44
October 2025 Google adds a vibe coding mode to AI Studio
6 November 2025 Collins names vibe coding its Word of the Year
2 February 2026 Wiz reports that the vibe-coded site Moltbook left its database open
Early February 2026 Karpathy says his favorite new name for careful agent-driven work is "agentic engineering"
25 April 2026 A Cursor agent deletes car-rental software maker PocketOS's production database and backups

Collins based its pick on a surge in use tracked in its 24 billion-word Collins Corpus, and its managing director, Alex Beecroft, said it shows how AI is opening up coding to more people.

How does vibe coding work?

The loop is simple, and you don't need to know a programming language to follow it:

  1. Describe the app. "A page where my running club can sign up for Saturday runs, with a list of who's coming."
  2. The AI writes it. A browser app builder or a coding agent generates the files and usually shows a live preview.
  3. Try it. Click around and see if it does what you asked.
  4. Say what's wrong. Describe the problem, or paste in the error message.
  5. Repeat until it looks right, then publish it.

Browser app builders also wire up the parts you'd otherwise set up by hand: a database (Lovable connects to Supabase, Google AI Studio sets up Firebase), sign-in and hosting. That convenience is also where the worst vibe coding mistakes hide. The app can look finished while the rules that decide who may read the database are missing.

Clear requests get better results, so the techniques in our prompt engineering guide help here too. Say what data the app stores and who should see it.

What tools do people use for vibe coding?

There are two families: browser app builders made for people who don't code, and coding agents that work in a developer's editor or terminal.

Browser app builders

Tool Made by What it builds Free option
Lovable Lovable Websites and web apps, with hosting and data storage in Lovable Cloud Free plan with 5 build credits a day, up to 30 a month; Pro from $25 a month for 100 credits
Bolt StackBlitz Websites, web apps, prototypes and slides Free plan with 1 million tokens a month (300,000 a day); Pro from $25 a month
Replit Replit Apps, websites, tools and slides, with hosting No free plan for new users (Starter is closed to them); Core costs $20 a month, or $18 billed yearly, with a 3-day trial
v0 Vercel Web apps deployed to Vercel, with GitHub sync Free plan capped at 7 messages a day; Plus is listed at $30 per user a month
Google AI Studio (Build mode) Google Web apps (React and Node.js) and native Android apps, with Firebase Free to start; hosting on Cloud Run and paid models can cost money

Google's Build mode can also push a project to GitHub or export it as a ZIP file, so a developer can review the code later.

Coding agents

Claude Code, OpenAI Codex, Cursor, GitHub Copilot and Google Antigravity read a whole project, edit files and run commands on your computer or in the cloud. Agents are what turned vibe coding from pasting snippets into a chat window into handing over the keyboard, which is also why their mistakes can now reach your files and servers. Our explainer on what an AI agent is covers how they decide what to do.

For prices, limits and which one suits you, see the best AI coding agents in 2026, or OpenAI Codex vs Claude Code for the top two side by side.

How many people are vibe coding?

Fewer professional developers than the buzz suggests. Stack Overflow's 2025 Developer Survey asked whether vibe coding, defined as generating software from LLM prompts, was part of respondents' professional work. Of the 26,564 who answered, 72.2% said no and another 5.3% said an emphatic no. About 15% said yes in some form, and 2.1% said they had tried it. Stack Overflow's 2026 survey results, published in October, don't report the same question.

Startups lean in harder. In March 2025, Y Combinator managing partner Jared Friedman said about a quarter of its Winter 2025 batch had codebases that were 95% AI-generated. He also said every one of those founders was highly technical, which suggests they could read the code even when they chose not to write it.

What can go wrong? Documented vibe coding failures

The pattern repeats: nobody checks what the AI did, and the mistake reaches real data.

Security holes in vibe-coded apps

  • Lovable (spring 2025). Matt Palmer and Kody Low, who both worked at rival Replit, scanned 1,645 projects showcased on Lovable's site and found 170 with 303 exposed endpoints. Missing or broken row-level security rules in the Supabase databases behind them let anyone read, and in some cases write, data such as names, emails, payment details and API keys. They reported it on 21 March 2025, and it became CVE-2025-48757 on 29 May (30 May in the NVD record, which uses UTC). Lovable added a security scan with Lovable 2.0 on 24 April, which the researchers said only checks whether a rule exists, not whether it's right. Lovable said on X: "We're not yet where we want to be in terms of security." It also disputes the CVE, arguing that each customer is responsible for protecting its own app's data.
  • Base44 (July 2025). Wiz found that Base44, the Wix-owned app builder, let anyone create an account on a private app if they knew its ID, which was visible in the app's own web address. That bypassed every sign-in control, single sign-on included. Wix fixed it in under 24 hours and found no sign that anyone had abused it.
  • Moltbook (January and February 2026). Moltbook, a social network for AI agents, kept its Supabase key in the site's public JavaScript without the row-level security policies that make such a key safe. Wiz found it could read and write the database: about 1.5 million API tokens, roughly 35,000 email addresses and 4,060 private conversations, some holding OpenAI keys. Its founder had posted "I didn't write a single line of code" for the site. Moltbook locked it down in several rounds, about three hours after Wiz first contacted it on 31 January.

Lovable and Moltbook failed the same way. A database key that's meant to be public is safe only if the access rules behind it are right, and an AI that's asked for a working app won't necessarily write those rules unless someone asks.

AI agents deleting data

  • Replit and SaaStr (July 2025). Just over a week into a vibe coding project, Jason Lemkin said Replit's agent deleted his production database during a code freeze he had told it to respect. He said it had also filled a database with 4,000 fictional people and wrongly claimed a rollback was impossible. Replit's CEO, Amjad Masad, called the deletion "unacceptable and should never be possible" and started separating development and production databases automatically.
  • Google Antigravity (November 2025). Tassos M., a photographer in Greece building a photo-sorting tool, told The Register that Antigravity wiped his entire D drive while trying to clear a project cache. He was using Turbo mode, which runs commands without asking first, and he accepted part of the blame. Most of his files were backed up elsewhere.
  • PocketOS (April 2026). Founder Jeremy Crane said a Cursor agent running Claude Opus 4.6 hit a credential mismatch during routine work in staging and tried to fix it by deleting a database volume on the cloud host Railway, which it wrongly assumed covered only staging. One API call wiped the production database and its volume-level backups in about nine seconds. Crane and his customers rebuilt bookings by hand from payment records and emails while PocketOS ran on a three-month-old backup. Railway later recovered the data, but Crane said significant gaps remained.

PocketOS wasn't strictly vibe coding, since a developer was directing the work, but the weak point was the same: an agent with access it didn't need, and no check before an action that couldn't be undone.

What the research says

  • Veracode (July 2025) tested more than 100 language models on 80 coding tasks and found security flaws in 45% of the test cases. Java fared worst, at over 70%, and the models failed to block cross-site scripting 86% of the time. Bigger and newer models weren't meaningfully safer.
  • METR (July 2025) ran a randomized trial with 16 experienced open-source developers on 246 real tasks. With AI tools, they took 19% longer, yet afterward they believed AI had made them about 20% faster. In February 2026, METR said a follow-up with newer tools pointed toward a speedup instead, but called its own data unreliable because many developers refused to work without AI.

Veracode sells code-scanning tools, so weigh its framing accordingly, but its finding matches the incidents: code that runs isn't necessarily safe.

When is vibe coding fine, and when is it risky?

Ask two questions: who gets hurt if it breaks, and what can it reach?

Usually fine Risky
A prototype to show an idea, which a developer rebuilds later An app with logins, personal data or payments
A personal tool where only you suffer if it breaks Anything strangers will sign up for
Learning how apps fit together Code connected to a production database
A one-off script run on a copy of your files An agent allowed to run commands without asking
A game or toy for friends Software a business or other people depend on

Willison puts it bluntly. He thinks vibe coding is fine for personal tools, where bugs only hurt you, and "grossly irresponsible" for software other people rely on. Karpathy drew the same line in his first post when he limited it to weekend projects. Our view: vibe code freely for yourself, but the moment real users or real data show up, someone has to read the code.

How to vibe code more safely

  1. Keep it away from production. Build against a test database, not the one with your customers in it. Replit's fix after the SaaStr incident was exactly this split.
  2. Keep backups out of the agent's reach. PocketOS lost its backups in the same call as the database.
  3. Leave approvals on. Modes that skip confirmation, such as Antigravity's Turbo mode, remove the last check before a destructive command.
  4. Ask for access rules by name. If the app stores data, tell the AI to set up row-level security so each user sees only their own records, then test it with a second account.
  5. Keep secrets out of the browser. API keys belong on the server. Google AI Studio, for example, stores them in settings and keeps them server-side.
  6. Run the built-in scanner, but don't stop there. The Lovable case showed a scan can confirm a rule exists without checking that it works.
  7. Give the AI security instructions. The Open Source Security Foundation (OpenSSF) publishes a security-focused guide for instruction files such as CLAUDE.md and Cursor rules. It also stresses that you remain responsible for the output.
  8. Get a review before others use it. If you can't read code, pay someone who can before the app takes sign-ups or payments.

Is vibe coding over? Agentic engineering in 2026

On the term's first birthday, in early February 2026, Karpathy said his favorite name for the careful version of this work was "agentic engineering": you direct agents rather than write code yourself, and there's real skill to doing it well. Reports differ on the exact day of the post. Osmani's write-up appeared on 4 February.

The line has blurred since. In a May 2026 post, Willison admitted he no longer reviews every line Claude Code writes, even for production work, and treats parts of it like another team's service he trusts until it breaks. He called that uncomfortable, because an agent has no professional reputation to protect.

The word isn't going away, and neither is the practice. What's changed is the stakes: the same hands-off habits that built toy apps in 2025 now drive agents that can run commands on production systems.

Frequently asked questions

Who coined the term vibe coding?

Andrej Karpathy, a co-founder of OpenAI who later led AI at Tesla, coined it in a post on X on 2 February 2025. He described accepting all of an AI's changes without reading them and said it suited throwaway weekend projects.

Is vibe coding bad?

Not for personal tools, prototypes and learning, where a bug only costs you. It's risky for apps that handle other people's data or money, as breaches at Lovable-built apps and Moltbook showed.

Can you vibe code without knowing how to program?

Yes. That's the point of browser app builders such as Lovable, Bolt, Replit, v0 and Google AI Studio. The catch is that you can't spot a security mistake in code you can't read, so get a review before real users sign up.

What is the best tool for vibe coding?

For non-programmers, a browser app builder such as Lovable, Bolt or Google AI Studio is the easiest start, and most have a free tier. Developers usually use a coding agent such as Claude Code, Codex or Cursor instead.

Is vibe coding the same as using AI to code?

Not in the strict sense. Vibe coding means accepting AI-written code without reviewing it. Using AI to draft code that you then read, test and understand is usually called AI-assisted programming, or agentic engineering, the name Karpathy suggested in February 2026.

Sources

Was this helpful?

Keep reading

A wall of stacked shipping containers, the idea behind the name in what is Docker
Learn to Code
AI & Dev Tools

What is Docker? Containers, images and why developers use it

Docker packs an app and everything it needs into a container that runs the same on any machine. How it works, what it costs, who needs a paid license and how to start.

20 min read

Reader holding a Python book, one way to start when you learn Python
Learn to Code
AI & Dev Tools

How to learn Python: a step-by-step plan for beginners, using free courses

How to learn Python from zero: pick one free course, install Python 3.15, learn the core ideas in the right order, then build small projects. Includes a 16-week plan at 5 hours a week.

18 min read

A Git commit history with branches on a screen, for a guide to Git vs GitHub
Learn to Code
AI & Dev Tools

Git vs GitHub: what is the difference?

Git is free software that tracks changes to your files. GitHub is a Microsoft-owned website that hosts Git projects. What each one does, what it costs and which to learn first.

16 min read