What Is Vibe Coding? Build a Simple App with AI (and Where It Breaks)
You describe an app in plain words. The AI writes the code. You look at the result, say what to change, and repeat until it works. You never read the code itself.
That is vibe coding. It sounds like magic, and for small projects it almost is. But it has sharp edges, and knowing where they are is the difference between a fun weekend project and a broken app you cannot fix. This guide explains the idea, walks you through building a small app, and shows you honestly where the method breaks.
Table of Contents (21)
- What vibe coding actually means
- Where the term came from
- Vibe coding vs normal AI-assisted coding
- The tools you can use (and what they cost)
- The app we will build
- Step 1: set up your tool
- Step 2: describe the app in plain words
- Step 3: run it and test what you see
- Step 4: fix problems by describing them
- Step 5: save your work and share it
- Where vibe coding breaks
- Rules that keep a vibe-coded app safe
- The bottom line
- FAQ
- Do I need to know how to code to try vibe coding?
- What is the best free tool to start vibe coding?
- Is vibe coding the same as using an AI coding assistant?
- Can I build a real business app with vibe coding?
- Why does my vibe-coded app keep breaking when I add features?
- What should I do when the AI cannot fix a bug?
- Sources
What vibe coding actually means
Vibe coding is building software by describing what you want in natural language and letting a large language model write the code. You judge the result by whether it runs and behaves the way you wanted, not by reading every line the model produced.
The key part of the definition is what you skip: reading the code. If an AI writes every line but you review it, test it carefully, and could explain how it works to someone else, that is not vibe coding. That is software development with an AI assistant — a much older and more respectable activity. Vibe coding is the specific case where the review is skipped and the running result is the only test.
That distinction matters, because it decides when the method is safe and when it is not. A throwaway weekend project is one thing. An app that handles real people’s data is another.
Where the term came from
The term was coined by AI researcher Andrej Karpathy, a co-founder of OpenAI and former AI leader at Tesla. On 2 February 2025 he posted on X: “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.”
Karpathy described his own workflow in that post. He talked to Cursor’s Composer agent, often using voice input, and barely touched the keyboard. He clicked “Accept All” on the changes, pasted error messages back into the tool with no comment, and when the AI could not fix a bug he worked around it or asked for random changes until the problem went away. His summary: “I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.” He also scoped his own idea: “It’s not too bad for throwaway weekend projects.”
The phrase caught on fast. By March 2025 Merriam-Webster listed it as a slang term, and Collins Dictionary named “vibe coding” its Word of the Year for 2025. In the year since, the meaning has stretched — many people now use it for any AI code generation at all — but the original sense, building without reading the code, is the one that matters for this guide.
Vibe coding vs normal AI-assisted coding
| Vibe coding | AI-assisted coding | |
|---|---|---|
| Who writes the code | The AI, entirely | The AI drafts, the human reviews |
| Who reads the code | Nobody | The developer, line by line |
| How you check it | Run it and look at the result | Tests, code review, reading diffs |
| Good for | Small personal projects, prototypes, demos | Anything real users depend on |
| Biggest risk | Hidden bugs and security holes you never see | Slower, but you know what shipped |
The honest middle ground is where most people should live: use vibe coding to get started fast, then read the important parts before you share the app with anyone else. Speed first, review second.
The tools you can use (and what they cost)
You have two kinds of tool. Browser-based builders need no installation: you type a description on a website and get a live app. Terminal-based agents run on your own computer and work on real project folders.
Lovable (browser). The free plan gives 5 build credits a day, up to 30 in a month, plus 20 Cloud credits a month. Unused daily credits expire at the end of the day and do not roll over. Publishing and hosting a small app is usually covered by the included grant. Prices checked: December 2026.
Bolt (browser). The free plan gives 1 million tokens a month with a daily limit of 300,000 tokens. Free tokens do not roll over. Website hosting is included, with Bolt branding on free sites, and a site goes offline for the rest of the month if you pass 10 GB of bandwidth or 333,333 requests in a month. Prices checked: December 2026.
v0 (browser). The free plan allows 7 messages a day, and you can deploy apps to Vercel. New users get $5 in credits once. Prices checked: December 2026.
Claude Code (terminal). Needs a paid Claude plan — Pro at $20 a month and up — or an Anthropic Console account billed per token. It runs in your terminal, reads your codebase, edits files and runs commands. Prices checked: December 2026.
For this tutorial we will use Claude Code, because the steps are the same on every computer and the project stays in a folder you own. If you would rather skip the install, Lovable or Bolt will do the same job in a browser — the prompts below work there too, word for word.
The app we will build
A simple to-do list app, in one page. It lets you add a task, tick it off when it is done, delete it, and filter the list to show all, active or completed tasks. Tasks are saved in the browser’s local storage, so they are still there when you reopen the page. No accounts, no database, no server. One small app, five features, and every one of them is easy to test by looking at the screen.
Step 1: set up your tool
The steps below are documented steps, verified from the official Claude Code documentation. They were not run hands-on on this machine.
Install Claude Code with the native installer, which is the recommended method and updates itself in the background. On macOS, Linux or WSL, open a terminal and run:
curl -fsSL https://claude.ai/install.sh | bash
On Windows PowerShell, run:
irm https://claude.ai/install.ps1 | iex
You can also install with npm if you have Node.js 22 or later: npm install -g @anthropic-ai/claude-code. Never put sudo in front of it.
Close the terminal, open a new one, and check the install:
claude --version
You should see a version number. If anything looks wrong, claude doctor prints a full diagnostic report. Then create a folder for the project and start a session inside it:
mkdir todo-app
cd todo-app
claude
The first time, Claude Code asks you to log in with your Claude account in the browser. Then run /init. It creates a CLAUDE.md file with starter instructions for the project. Before you build anything, start Git so every working step is saved:
git init
git add .
git commit -m "Start to-do app"
Step 2: describe the app in plain words
Now describe the app the way you would describe it to a friend. Be specific about what it should do and what it should not do. Here is a prompt that works:
Build a simple to-do list app as a single index.html file. It should have an input box and an Add button, a list of tasks, and each task should have a checkbox to mark it done and a delete button. Add filter buttons for All, Active and Completed. Save tasks in localStorage so they survive a page reload. Keep the design clean and simple, with big tap targets for phones. Do not add any login, account or server code.
Claude Code will write the file. Watch what it does, but do not worry about reading every line yet. When it says it is done, move to the next step.
Step 3: run it and test what you see
Open the file in your browser. If you have Python installed, you can serve the folder with python3 -m http.server 8000 and open http://localhost:8000 in the browser. Or just double-click index.html.
Test it like a user, not like a programmer:
- Add three tasks. Do they appear?
- Tick one off. Does it look done?
- Reload the page. Are the tasks still there?
- Try the Active and Completed filters. Do they show the right tasks?
- Delete a task. Does it disappear, and do the others stay?
- Try an empty task. What happens — and is that acceptable?
Write down anything that looks wrong, in plain words. That list is your next prompt.
Step 4: fix problems by describing them
Paste each problem back into the tool, one at a time, exactly as you saw it:
When I add an empty task, a blank item appears in the list. Do not allow empty tasks — show a short message instead.
The Completed filter still shows active tasks. Fix the filter so it only shows completed tasks.
Small, specific fixes work far better than one giant message listing ten problems. After each fix, test again in the browser. When the app works, commit:
git add .
git commit -m "To-do app working: add, complete, delete, filters"
Step 5: save your work and share it
A working app in a folder on your computer is only useful to you. To share it, put the folder on a free host — GitHub Pages, Cloudflare Pages or Vercel all host a single HTML file for free. Push the folder to a GitHub repository, then connect that repository to one of those hosts, and you get a public link you can send to anyone. Keep the Git history, because it is your undo button: if a later change breaks the app, git log shows you every working version.
Where vibe coding breaks
Debugging. When the app breaks in a way you cannot describe, vibe coding stalls. The AI guesses, you paste the error back, it guesses again. After three or four failed rounds, stop and read the code around the error — or ask the AI to explain what it thinks is happening before it tries another fix.
Security. An AI will happily write a login form that stores passwords in plain text, or a page that puts your API key where anyone can read it. It does not know what is secret unless you tell it. Never let a vibe-coded app handle real passwords, payments or other people’s private data without a human reviewing the security parts line by line.
Larger projects. Vibe coding works best in one file or a handful of files. As a project grows past a few thousand lines, the AI starts forgetting earlier decisions, contradicting itself, and rewriting working code. Break big ideas into small apps, or move to normal AI-assisted coding with tests and reviews.
Silent wrongness. The most dangerous failure is an app that looks right and is wrong — a calculator that rounds the wrong way, a form that saves data in the wrong field, a filter that quietly drops items. Vibe coding judges by appearance, so test the behaviour, not just the screen. Try edge cases: empty inputs, very long text, special characters, reloading mid-task.
Cost. Every fix costs usage. A small app built in an afternoon can eat a surprising amount of a free plan if you ask for change after change. Lovable’s free plan caps at 5 build credits a day, Bolt’s at 300,000 tokens a day. Batch your feedback into one message instead of sending ten tiny ones.
Rules that keep a vibe-coded app safe
- Start with Git, and commit every time the app works.
- Never put secrets, passwords or API keys in a vibe-coded app.
- Test edge cases, not just the happy path.
- Read the code before you share the app with real users — at least the parts that touch data and logins.
- Keep the app small. If it needs a database, payments or user accounts, that is a real project, not a vibe-coding project.
The bottom line
Vibe coding is real, and it is genuinely useful. A person who has never written a line of code can now build a working app in an afternoon, and that is a remarkable change. The trick is to respect what the method is for: small, personal, throwaway projects where you can see every result with your own eyes. Build the to-do app, enjoy the speed, and when you want to build something other people will depend on, slow down and read the code. The vibes will still be there — they just need a little supervision.
FAQ
Do I need to know how to code to try vibe coding?
No. That is the point. You describe what you want in plain words and the AI writes the code. Knowing a little code helps when things break, but it is not required to start.
What is the best free tool to start vibe coding?
Lovable and Bolt both have free plans that cover a small app. Lovable gives 5 build credits a day up to 30 a month; Bolt gives 1 million tokens a month with a 300,000 daily cap. Try both and keep the one whose results you like.
Is vibe coding the same as using an AI coding assistant?
No. In normal AI-assisted coding you review the code the AI writes. In vibe coding you skip the review and judge only the running result. That is the original definition, and it is what makes vibe coding fast — and risky.
Can I build a real business app with vibe coding?
You can build the first version, the prototype, or the demo. For an app with real users, payments or private data, you need code review, tests and security checks. Vibe coding gets you to the starting line faster; it does not replace the rest of the race.
Why does my vibe-coded app keep breaking when I add features?
Two common reasons. First, the AI has forgotten earlier decisions as the conversation grew long — start a fresh session and give it a short summary of the app. Second, the app has grown past the size where one prompt can hold the whole design — split it into smaller pieces and fix one feature at a time.
What should I do when the AI cannot fix a bug?
Stop asking for another fix. Ask it to explain what it thinks the problem is, in plain words. Then read the code around that area yourself, or ask a more experienced developer. Random retries burn your usage credits and rarely help after the third attempt.
Sources
- Wikipedia, “Vibe coding” (term coined by Andrej Karpathy, 2 February 2025): https://en.wikipedia.org/wiki/Vibe_coding
- Simon Willison, “Not all AI-assisted programming is vibe coding” (19 March 2025): https://simonwillison.net/2025/Mar/19/vibe-coding/
- Collins Dictionary, Word of the Year 2025: https://www.collinsdictionary.com/woty
- Claude Code setup and installation documentation: https://code.claude.com/docs/en/setup.md
- Lovable pricing and free plan: https://lovable.dev/pricing
- Bolt pricing and free plan: https://bolt.new/pricing
- v0 pricing: https://v0.app/pricing
- Free vibe-coding tools compared (limits checked 28 November 2026): https://vibecodezero.dev/guides/free-vibe-coding-tools-limits/
- Lovable vs Bolt free plans compared (checked 4 November 2026): https://convika.com/compare/lovable-vs-bolt/
