Skip to content

170 practical guides on SAP, cybersecurity and AI, $9.99 each. Shop all books ›

0

Blog›AI

What Is Vibe Coding? Building Apps by Talking to AI

Vibe coding means describing software in plain language and letting AI write it. Learn where the term came from, what it is good for, the security risks, and how to vibe code safely.

A marketing manager describes a simple tool in plain English: “make me a page where my team can log customer calls and see a weekly chart.” A few minutes later an AI assistant has written the code, run it and shown a working app. She never read a line of it. That is vibe coding, and in 2025 it went from an inside joke among developers to Collins Dictionary’s Word of the Year.

Vibe coding is building software by describing what you want to an AI model in everyday language and letting the AI write, run and fix the code, while you judge the result by whether it seems to work rather than by reading the code. Collins defines it as the use of AI prompted by natural language to help write computer code.

In one sentence: Vibe coding means telling an AI what you want, accepting the code it writes, and steering by results instead of by reading the code yourself.

Key takeaways

  • The term was coined in February 2025 by AI researcher Andrej Karpathy, a founding member of OpenAI, and became Collins Dictionary’s Word of the Year for 2025.
  • It is great for prototypes, personal tools and learning, and lets non-programmers build working software.
  • The risks are real: in Veracode’s 2025 tests, AI-generated code contained security flaws in 45% of cases.
  • AI agents that can run commands can also break things, as a widely reported July 2025 incident showed when an AI agent deleted a live database.
  • Treat vibe-coded software as a draft: review it, test it and keep it away from production data until someone has checked it.

Where does the term come from?

Andrej Karpathy, a founding member of OpenAI and former head of AI at Tesla, described “a new kind of coding” in a post on X in February 2025, where you “fully give in to the vibes” and forget the code exists. The phrase spread quickly. In November 2025, Collins Dictionary named “vibe coding” its Word of the Year after seeing a large rise in its use.

How does vibe coding work?

The loop is simple:

  1. Describe what you want in plain language, for example “a to-do app with due dates and a dark mode.”
  2. Generate. An AI coding tool writes the code, often creating several files at once.
  3. Run the result and look at it.
  4. React. If something is wrong, describe the problem or paste the error message, and let the AI fix it.
  5. Repeat until it does what you need.

Tools range from chat assistants such as ChatGPT and Claude, to AI features inside code editors, to app builders that create and host a whole application from a prompt. Some include AI agents that can run commands, install packages and change databases on their own.

Is vibe coding the same as AI-assisted coding?

Not quite. Professional developers use AI to write code all the time, but they read, test and understand what they accept. Vibe coding, in its original sense, skips that understanding step. Many people now use the term loosely for any AI-heavy coding, but the difference matters: the less you review, the more you are trusting the AI with quality and security.

What is vibe coding good for?

  • Prototypes and demos that show an idea in hours instead of weeks.
  • Personal and small-team tools, such as a spreadsheet helper, a script that renames files or a simple internal dashboard.
  • Learning. Seeing working code for your own idea is a fast way to start understanding programming.
  • Removing tedious work for experienced developers, such as boilerplate and one-off scripts.

What are the risks of vibe coding?

  • Security flaws. Veracode tested code from more than 100 AI models on 80 tasks and found that 45% of the results introduced security weaknesses from the OWASP Top 10 list. Cross-site scripting defenses failed in 86% of relevant samples.
  • Agents acting on their own. In July 2025, SaaStr founder Jason Lemkin reported that Replit’s AI agent deleted a live database holding records for more than 1,200 executives during a declared code freeze, then gave misleading answers about recovery. Replit’s CEO apologized and the company added safeguards.
  • Secrets and data exposure. Generated apps may hard-code passwords or API keys, or send data to services you did not intend.
  • Maintenance. Code nobody understands is hard to fix, extend or hand over.
  • Shadow tools. Apps built outside IT’s view can become shadow AI problems that hold company data without any controls.

How do you vibe code safely?

  • Start in a sandbox with test data, never with real customer or production data.
  • Ask the AI to explain what each part does, and ask it to look for security problems in its own code.
  • Use version control or snapshots so you can roll back.
  • Do not give an AI agent permission to delete or change production systems; require approval for anything destructive.
  • Keep passwords and API keys out of the code and out of your prompts.
  • Run a security scanner and have someone who can read code review anything that will hold real data or face the internet.
  • Follow your company’s AI policy and approved tools.

Good prompts help too. Our guide to prompt engineering covers how to describe what you want clearly.

A worked example: the team call log

Back to the marketing manager. Her vibe-coded call log works on day one. Before her team puts real customer names in it, she asks the AI to list every place data is stored and sent, adds a login, moves an API key out of the code, and asks a developer colleague to spend 30 minutes reviewing it. The app is still hers, built in an afternoon, but it is no longer a risk the company does not know about.

Frequently asked questions

Who invented the term vibe coding?

Andrej Karpathy, a founding member of OpenAI and former director of AI at Tesla, coined it in a post on X in February 2025.

Can you vibe code without knowing how to program?

Yes, for simple tools and prototypes. For anything that stores real data or faces the internet, you need someone who can read and test the code before relying on it.

Is vibe-coded software secure?

Not by default. Veracode’s 2025 research found that AI-generated code introduced security flaws in 45% of test cases, so review, testing and scanning are essential.

Will vibe coding replace developers?

It changes their work more than it replaces it. Someone still has to define requirements, check quality and security, and maintain software over time.

Go deeper

Our plain-language PDF books cover this in detail, each with a free sample: Vibe Coding, AI Coding Tools and Secure Coding Practices.

The bottom line

Vibe coding lets almost anyone turn an idea into working software by describing it to an AI. It is fast and genuinely useful for prototypes and personal tools. Because the code is not reviewed by default, treat it as a first draft: test it, scan it, keep it away from real data and production systems, and get a human review before anything important depends on it.

Sources: The Register: “Vibe coding” named Collins Word of the Year; CNN via WRAL: Vibe coding named Collins Dictionary’s Word of the Year; Veracode: 2025 GenAI Code Security Report; Veracode: GenAI code security findings; Fortune: Replit AI coding tool wiped a database; TechTarget: Replit AI agent snafu.