What is vibe coding?
Building software by describing it to AI: where the term came from, the build loop, and when to slow down.
Where the term came from
In February 2025, AI researcher Andrej Karpathy (a co-founder of OpenAI) described a new way he was building small projects: talking to an AI coding tool, accepting what it wrote, pasting error messages back in, and barely looking at the code. He called it vibe coding, and the name stuck.
Today people use the term more loosely: building software mainly by describing what you want in plain language and letting AI write most of the code. You steer by intent and by testing results instead of typing every line.
The vibe coding loop
Every build, big or small, runs the same loop:
- Describe: say what the user should see and be able to do.
- Generate: the AI writes or changes code.
- Run: open the preview and use it like a real user.
- Check: does it do what you asked? Anything broken, ugly or unsafe?
- Refine: describe the next change or paste the exact error. Repeat.
- Save: commit working versions so you can always go back (see the GitHub guide).
Two kinds of tools
Prompt-to-app builders (Lovable, Bolt, v0, Replit and others) run in your browser and are made for people who don't write code. You describe an app; they build it, show a live preview and can host it.
Coding agents (Cursor, Claude Code, GitHub Copilot, OpenAI Codex and others) work inside a real codebase. They are made for builders who want an AI that reads, edits and runs code across a whole project. Many people start with a builder and move to an agent as their project grows.
Where vibe coding shines, and where to slow down
It shines for prototypes, personal tools, internal dashboards, landing pages, class projects and testing a business idea quickly.
Slow down when real people's data, money or safety is involved. Security researchers have repeatedly found vibe-coded apps with secret keys in the browser code and databases left open to anyone. Those mistakes are easy to prevent once you know to look (see Build safely). Pure 'accept everything, never look' vibe coding is for throwaway projects; anything you ship to others needs review.
The mindset
You are the product owner and the tester. The AI is a fast builder that needs clear direction. You don't need to memorise syntax, but you do need to understand the parts of an app well enough to describe them, test them and notice when something is off. That is exactly what this library teaches.
Key terms
- Vibe coding
- Building software mainly by describing what you want to an AI and testing the results. Coined by Andrej Karpathy in 2025.
- Prompt
- What you give the AI: instructions, a question and any material to work from.
- Preview
- A live, working view of your app while you build it.
- Prompt-to-app builder
- A browser tool that builds, previews and often hosts an app from your chat description.
- Coding agent
- An AI that reads, edits and runs code across a whole project.
- Bug
- A mistake that makes software behave wrongly.
- Debugging
- Finding and fixing bugs, often by reading the exact error message.
- Prototype
- A rough early version made to test whether an idea works.
Try it
Your first 15-minute build
- Open a prompt-to-app builder such as Lovable, Bolt, v0 or Replit (free tiers are fine).
- Prompt: 'Build a one-page tip calculator. Inputs: bill amount and tip percent (10, 15, 20). Show tip and total. Big friendly buttons, works on phones.'
- Use the preview like a customer. Try a weird input like a negative number.
- Ask for one improvement based on what you found. You just ran the loop.
Ask an AI tutor about this guide
Copy a prompt into ChatGPT, Claude or Gemini to go deeper. Check what it tells you against the guide.
- Explain it like I'm 12
- Quiz me (5 questions, one at a time)
- Show me a real example for my situation
- What do beginners get wrong?
Knowledge check
Five questions. Get 4 right to earn the Vibe Coder badge. You can retake it as often as you like.
Question 1 of 5
Finished the Vibe coding guides? Take the Vibe coding track test for ten mixed questions.
My notes
Write what clicked, what confused you, and what you want to try. Saved in this browser only.
Learn it live
Digital Builders University runs small live workshops where you build something real with an instructor beside you, starting with Vibe Coding 101.
See workshopsPractise it
- Build Challenge: Tip and bill splitter (Warm-up, 30 minutes)
- Build Challenge: Mini browser game (Warm-up, 1 to 2 hours)
- Game: Prompt Fixer (pick the prompt that gets the best result)
Official sites
- Lovable (opens in a new tab)
- Bolt (opens in a new tab)
- v0 by Vercel (opens in a new tab)
- Replit (opens in a new tab)
Last reviewed November 25, 2026. AI tools change fast; check each tool’s own site for current features, plans and prices.
