Skip to main content
tech futures.Introduction to AI

Lesson 7: Problem Solving with Vibe Coding and Agentic AI

Vibe Coding

Vibe coding is what happens when you use many prompts in a row to build something, test it, fix it and improve it.

Prompts are the building blocks, vibe coding is putting together these prompts to build a useful app or program.

How does it work?

Every prompt you send adds to the LLM's context window -- the text the model has access to when generating a response.

The LLM predicts code in exactly the same way it predicts ordinary words: one token at a time, based on what's most likely to come next. It doesn't understand the code in the way a human programmer does, but it can generate code that works based on patterns it has learned from its training data.

Simple example