Skip to content
Ship Like Crazy
Map›Part I · The new way to build🪔 Day 1 / 30⏱ ~50 minFree

Chapter 1. Meeting Sous

What vibe coding is, how LLMs write code, and the tools to start with

Act I · The Promise · with Sous

Chapter title card with the chapter's host character and the day of the countdown.

🎬 Scene🪔 Day 1 / 30

The family dinner

Sunday dinner at Meera Aunty's flat smells of rajma and worry. Downstairs, Meera's Corner, her chai café, has been quiet all week.

Meera Aunty
FlashOrder wants thirty percent of every order now. Thirty! On a ₹40 chai, beta, that's my profit gone.
Jo
Then don't use FlashOrder. We'll build you your own ordering app.

Everyone stops eating. Somebody's spoon clinks.

Meera Aunty
"We"? You do marketing, Jo. You've never written a line of code.
Jo
How hard can it be? Give me until Diwali. Thirty days.

Later that night, back home, Jo opens a laptop and types into Claude: "Make a menu page for a chai café called Meera's Corner."

Forty seconds later there's a menu. Warm colours, prices, little steam icons. It's genuinely lovely. Jo stares at it for a while. Then a small robot in a chef's hat seems to bob up from the screen. That's how Jo will think of the AI from now on: Sous, the sous-chef.

Sous
Yes chef! I added your bestseller too: the Saffron Rose Cold Brew, ₹180.
Jo
Meera Aunty has never made a cold brew in her life.
Sous
Then she has a wonderful opportunity, chef!

That's vibe coding in one scene. Jo described what they wanted in plain English, and an AI built something real in seconds. It was also confidently wrong about something important. This chapter is about both halves of that.

🎯 By the end of this chapter you can…
  • Explain what vibe coding is, and where it stops working
  • Describe in one paragraph how an AI like Claude writes code
  • Name the three families of vibe coding tools and pick one to start with
  • Have your first proper working session with Claude, including fact-checking its work

What vibe coding actually is

In February 2025, the AI researcher Andrej Karpathy posted about a new way he'd been building software: describing what he wanted, letting the AI write it, and barely looking at the code. He called it vibe codingVibe codingBuilding software by describing what you want in plain language and letting an AI write, run and fix the code, while you steer by judging the result.. The name stuck so hard that Collins Dictionary made it their Word of the Year for 2025.

The meaning has stretched since then. Today "vibe coding" covers a whole range:

Where you sitWhat it looks likeTypical tools
Pure vibesYou chat; the tool builds and hosts the whole app. You rarely see code.Lovable, Bolt.new, Base44, Replit
Guided vibesYou chat, but you read the plan, check the result and keep the code in your own repo.Claude Code, Cursor
Agentic engineeringYou direct AI agents like a tech lead: specs, tests, reviews.Claude Code, Codex, Cursor

Karpathy himself now calls the professional end of this range "agentic engineering". This book takes you from the first row to the middle one: you vibe the code, but you verify the result. By the end you'll be comfortable dipping into the third.

What vibe coding is great at

  • Turning an idea into something clickable in an afternoon
  • The boring, common parts of software: forms, layouts, logins, dashboards
  • Explaining code you don't understand, line by line, as many times as you need
  • Fixing errors when you paste the full error message back

Where it stops working (for now)

  • Security. AI happily builds a login screen and forgets to lock the database behind it. Chapter 6 is entirely about this.
  • Facts it can't know. Your aunt's menu, your company's pricing, a library released last month.
  • Big, vague requests. "Build me Uber for chai" produces a pretty demo that falls apart. Small, clear steps work.
  • Debugging its own mess. A popular joke from 2025 put it well: vibe coding is easy; vibe debugging is the hard part. Chapter 10 shows you how to get out of that loop.

How an AI writes code (no maths, promise)

You don't need to understand neural networks to vibe code. You do need a rough mental model, because it tells you when to trust the AI and when to check. Here it is in five steps.

1. Everything is tokens

An LLMLLM (large language model)An AI model trained on huge amounts of text and code that predicts the next piece of text. Claude is one. (large language model) reads and writes text in small chunks called tokensTokenA small chunk of text (a word or part of one) that a language model reads and predicts, one at a time.: a word, part of a word, a bracket, a space. "Masala chai" might be three tokens. A line of code might be fifteen.

2. It predicts the next token, over and over

Given everything so far, the model predicts which token most likely comes next. Then it adds that token and predicts again. A whole web page is just thousands of these predictions in a row.

Sous guesses the next word. Likely isn't the same as true.

Sous completes the sentence 'Meera's best chai is…' with probability bars: masala 62%, ginger 21%, cutting 12%, pizza 0.3%. It picks masala, then adds 'with edible gold flakes', which is stamped MADE UP.

That's the whole trick, and it explains both the magic and the mistakes. "Masala" is very likely to be followed by "chai", so the model gets it right. "Meera's bestseller is…" has no true answer anywhere in its training, so it produces something plausible: a Saffron Rose Cold Brew.

3. It learned from enormous amounts of public code

Models like Claude learned from huge amounts of text and code. So common patterns (a login form, a pricing table, a database query) are easy for them. Rare or brand-new things (a library released last month, your company's internal tools) are where they guess.

💚 Use this to your advantage

Pick popular, boring tools: Next.js, Tailwind, Supabase, Stripe. The AI has seen them thousands of times and makes far fewer mistakes with them. Chapter 2 explains the stack this book uses.

4. It only knows what's in front of it

The model doesn't remember your project between conversations. It sees only its context windowContext windowEverything the model can see right now: your prompt, files it has read, its notes. It knows nothing about your project outside it.: your messages, files it has read, and any notes you've given it. That's why later chapters have you write a short spec file and a CLAUDE.md file. They're how you give Sous a memory.

5. Agents loop until it works

A chat model answers once. An agentAgentAn AI that loops: plan, use a tool (read a file, run a command), look at the result, decide the next step, until the job is done. keeps going: it makes a plan, takes an action with a tool (reads a file, runs a command, opens a browser), observes the result, and fixes what's wrong. Then it loops. Claude Code is an agent. This loop is why modern AI can fix its own errors, not just make them.

The agent loop: plan → act → observe → fix

Sous circles a loop of four steps, Plan, Act, Observe and Fix. Tests fail on laps one and two; a bug is squashed; on lap three tests pass.

🤔 So why is it confidently wrong?

Because it predicts plausible text, not true text. It doesn't have a little voice saying "I'm not sure about this one". That's your job, and it's mostly simple:

  • Run the code. Errors are honest.
  • Check facts you care about against a real source.
  • Ask it to explain anything you don't understand.
  • When it states a package or function name, make sure it exists.
🎮 Play

Next Token

I don't know things. I guess what comes next. Very, very well. Usually.

Guess the next word before Sous does.

  • ▸ Read the unfinished sentence.
  • ▸ Pick the word a language model would most likely choose.
  • ▸ See model-style probabilities after each pick.

The tools you can use today

There are dozens of vibe coding tools, and they change monthly. They fall into three families, and once you know the families, new tools are easy to place.

FamilyExamplesDo you see the code?Best for
Prompt-to-app buildersLovable, Bolt.new, Base44, Replit, v0Hidden or optionalValidating an idea in a day. Hosting and a database are usually included.
AI code editorsCursor, Windsurf, GitHub CopilotYes, in an editorSteering real code in a familiar editor.
Coding agentsClaude Code, OpenAI Codex, Gemini CLIYes; the agent edits your filesWhole features end to end, multi-file changes, running tests.

A pattern many builders use: validate an idea in a builder in an afternoon, then rebuild the production version with an editor or agent like Claude Code, where you own the code.

📝 Prices and rankings change monthly

Most of these tools have a free tier and paid plans from about $20–25 a month as of late 2026. Check the official sites before you choose; this book won't go out of date because it teaches the families, not the price lists.

Which one should you start with?

  • You want to see something working tonight: a builder like Lovable or Bolt.new.
  • You want to own your code and learn properly (this book's path): claude.ai for thinking and design, Claude Code for building.
  • You already use VS Code: Cursor or Claude Code in your editor.

In this book you'll use claude.ai for ideas, specs and designs from Chapter 1, and Claude Code for building from Chapter 2 onwards.

📰 Real-world story
A solo founder's six-month-old app sold for $80 million

Maor Shlomo built Base44, a prompt-to-app builder, as a bootstrapped side project. Six months later, in June 2025, Wix bought it for $80 million in cash. Wix later reported Base44 had reached $100 million in annual recurring revenue by March 2026.

The tools are getting cheap. What's scarce is knowing what to build, and building it carefully. That's what the rest of this book teaches.

Source: TechCrunch ↗

Myths worth dropping now

🙅 “I never need to understand code.”

You need to understand systems, not syntax. Where data lives, what runs on whose computer, who's allowed to see what. That's Part II and III of this book, and it's what separates apps that work from apps that leak.

🔓 “AI-built apps are insecure by nature.”

They're insecure by default. A 2026 scan of over a thousand vibe-coded apps found almost all had at least one security flaw. The flaws are predictable, which means they're fixable. Chapter 6 gives you the checklist.

🎲 “The AI will tell me when it's unsure.”

It usually won't. Sous will invent a cold brew with total confidence. Build the habit of checking now, while the stakes are a menu page.

🎮 Play

Fact or Fabrication

I answered some questions about Meera's café. All very confidently. Some might be… creative.

Spot the confident nonsense in Sous's answers.

  • ▸ Read each statement Sous made.
  • ▸ Mark it Fact or Made up.
  • ▸ Check against Meera's real menu card.

Your first proper session with Claude

Enough theory. Let's have Jo's first evening with Sous, properly this time.

🛠️ Lab

Your first conversation with Claude

⏱ 30 min0/6
  1. Go to claude.ai and sign up. The free plan is enough for this chapter.

    Have a look at three things: the chat box, Projects (folders that keep files and instructions for a piece of work), and artifacts (documents, pages and apps Claude makes that open beside the chat).

    ✅ You should see: An empty chat with a message box at the bottom.
  2. Paste the prompt below, including Meera's real menu. Giving real details stops Sous inventing them.

    💬
    Make Meera's menu page
    Make a one-page menu for a small chai café called Meera's Corner in Ludhiana.
    
    Real menu (use exactly these, don't add items):
    - Masala chai ₹40
    - Cutting chai ₹25
    - Ginger chai ₹45
    - Bun maska ₹50
    - Veg sandwich ₹90
    
    Style: warm, friendly, easy to read on a phone. Prices in rupees.
    Make it as an artifact I can see next to our chat.
    ✅ You should see: A menu page appears beside the chat, with those five items.
  3. Ask for three changes, one at a time. For example:

    1. "Use deep orange and cream, like masala chai."
    2. "Add a line at the top: Order ahead, skip the queue."
    3. "Make the prices bigger and line them up on the right."

    Notice how each small, specific request works better than one big one.

    ✅ You should see: Three versions of the page; each change applied without breaking the others.
    😵 Stuck?
    If a change breaks something, say exactly what you see: "The prices disappeared after your last change. Bring them back and keep the new colours."
  4. Open the code view of the artifact. Pick one section you don't understand and ask:

    💬
    Explain it like I'm new
    Explain the part of this code that draws the price list, line by line, in plain English. Assume I've never coded. Keep each explanation to one sentence.
    ✅ You should see: A short walkthrough you can follow. Read it, even if it doesn't fully click yet.
  5. Compare the page against the real menu above, item by item. Prices, spellings, nothing extra. If anything is invented or changed, ask Claude to fix it and say exactly what's wrong.

    ✅ You should see: A page that matches the real menu exactly.
  6. Create a new Project called QueueLess. In its instructions, write two lines:

    We're building QueueLess, a pre-order and loyalty web app for Meera's Corner, a chai café in Ludhiana. Use the real menu in this project; never invent menu items or prices.

    Add the menu as a file in the project. From now on, start QueueLess chats inside this project so Sous always has the context.

    ✅ You should see: A QueueLess project with instructions and one file.
💬
Ask for a plan before code (use this habit from now on)
I want to add [describe the change] to [the page/app].
Before writing any code, give me a short numbered plan: what you'll change, and anything you need to know from me. Wait for my OK.
🎮 Play

Agent Loop

Help me fix Meera's menu page. I just need the steps in the right order, chef.

Put the agent's steps in order to fix a broken page.

  • ▸ Tap the cards in the right order.
  • ▸ Each round is one trip around plan → act → observe → fix.
  • ▸ Finish three rounds to ship the fix.

What you've learned

  • Vibe coding means describing what you want and letting AI build it, while you judge the result.
  • AI predicts likely text, so it's brilliant at common patterns and confidently wrong about things it can't know.
  • Agents loop (plan, act, observe, fix), which is how they correct their own mistakes.
  • Tools come in three families: builders, editors and agents. This book uses claude.ai and Claude Code.
  • Give real details, ask for small changes, ask for a plan first, and check facts.
🎬 Scene🪔 Day 1 / 30

Midnight, still at the laptop

Jo sends Meera Aunty a screenshot of the menu. Five items, correct prices, no cold brew.

Meera Aunty
Very nice, beta. Now put it on the internet so customers can see it.
Jo
Sous, how do I put it on the internet?
Sous
Easy, chef! First, open your terminal and—
Jo
My what?

Upstairs, a chair scrapes. Someone has been listening through the ceiling.

❓ Quiz

Checkpoint quiz

Question 1 of 6

What does an LLM do, at its core?

☕
CHECKPOINT · CHAPTER 1

Badge: First Order

Lab steps ticked
0
Games played
0 / 3
Quiz best
not yet
Next: Chapter 2 · Dev Uncle's Workshop →