Vibe coding is building software by describing what you want to an AI model and accepting what it produces, mostly without reading the code. You judge the result by running it: if the app looks and behaves right, you keep going; if it breaks, you paste the error back and ask for a fix.
Where the term comes from
Andrej Karpathy, a founding member of OpenAI and former head of AI at Tesla, coined the term in a post on X on February 2, 2025:
There's a new kind of coding I call "vibe coding", where you fully give in to the vibes, embrace exponentials, and forget that the code even exists.
In the same post he wrote "I 'Accept All' always, I don't read the diffs anymore" and called it "not too bad for throwaway weekend projects". The phrase spread fast, and in November 2025 Collins Dictionary named "vibe coding" its Word of the Year, defining it as "the use of artificial intelligence prompted by natural language to write computer code".
Vibe coding vs AI-assisted coding
The difference is whether anyone reads the code.
| Vibe coding | AI-assisted coding | |
|---|---|---|
| Who reads the code | Nobody, or almost nobody | A developer reviews each change |
| How you check it | Click through the running app | Tests, review, type checks |
| Typical tools | AI app builders, chat | Editor assistants, terminal agents |
| Good for | Prototypes, internal tools, landing pages | Production code with users and data |
Both use the same models. The working style is what changes.
Where vibe coding breaks
Vibe coding works until the app holds something that matters: customer data, payments, or other people's accounts. The failures are predictable:
- Secrets in the browser. The model puts an API key in front-end code because that is the quickest way to make the call work. Anyone can read it in the page source. Our free site check looks for exactly this on a live site.
- Data without access rules. A table that every visitor can read or write works perfectly in a demo with one user.
- It works in the preview, not for real. The happy path looks fine. The second booking of the same slot, an expired session or an empty state does not.
- Fixes that break other things. Without tests, each change can undo an earlier one, and nobody notices until a customer does.
- No one can maintain it. When the code has grown past what the model holds in context, small changes get slow and risky.
None of these show up when you judge the app by how it looks.
How to vibe code safely
You can keep the speed and remove most of the risk:
- Ask for a plan before code, and read it. A wrong data model is cheap to fix on paper.
- Keep secrets on the server. A key that starts with
sk_orsk-never belongs in the browser. - Turn on access rules for every database table (row-level security on Supabase).
- Test the flows that matter: sign up, the main action, and the same action twice.
- Scan the build before you publish, and check the live site after.
- Keep the code in Git so you can roll back.
What Pugi's security review checks shows how each build is scanned before it can go live.
Where Pugi fits
Pugi is built for people who want the speed of vibe coding without shipping its failures. You describe the app, read the plan and approve it. A team of AI specialists builds it, a QA role tests it, and every build gets a security review before it can be published. See how that compares with other builders on our comparison page.
Frequently asked questions
Who coined the term vibe coding?
Andrej Karpathy, in a post on X on February 2, 2025.
Is vibe coding bad?
No. It is a fast way to build prototypes and simple tools. It becomes risky when the app handles real users, data or payments and nobody checks the code.
Can non-developers vibe code?
Yes. AI app builders let anyone describe an app and get a working version. Adding a plan step, tests and a security scan makes the result safe to share.
What is the difference between vibe coding and no-code?
No-code tools have you assemble an app from visual blocks inside one platform. Vibe coding produces real source code from a written description, which you can usually export.