From Idea to First Working Slice With an AI Agent is the second course of the Coding With AI Agents learning path. Give an agent a one-line idea, and it’ll often fill the gaps with plausible guesses rather than ask. This course is about deciding first, before any code.
Along the way, your agent starts an escape room builder from a blank folder and builds its first working slice, the smallest version that runs end to end. It’s for a small escape room business that’s designing a new room, The Lighthouse Keeper’s Study. Today, its designers check each room by hand. The tool says whether a team can finish a room. Here’s the reference version from the course download, run on the two sample rooms:
$ npm start -- rooms/lighthouse-keepers-study.json
...
The Lighthouse Keeper's Study: can be finished.
$ npm start -- rooms/the-smugglers-cellar.json
...
The Smuggler's Cellar: cannot be finished.
The Smuggler’s Cellar fails because a puzzle needs an iron key that nothing unlocks. Your agent will build something different.
What You’ll Learn
By the end of this course, you’ll be able to:
- Turn an idea into a written brief
- Get a plan from your agent and challenge it before any code
- Write the project’s instruction file, which your agent reads at each new session
- Have your agent build a first working slice, then run, test, and commit it
In the final project, an escape room builder, you check your slice against the business’s brief and explain how your project works.
Before You Start
You need:
- JavaScript basics, and a terminal for running Node scripts. The lessons use Node 26.
- Git installed.
- Claude Code or Codex, with a paid plan or API key.
If you’re starting here, welcome. The early lessons recap the setup. You choose what your agent may do without asking, you keep decisions in files because a new session starts fresh, and you check each change before you commit it.
The course download has the sample rooms, a reference version of the first slice, and the slides.
How the Course Works
You’ll work on your own machine, and your agent’s output will differ from the lessons’. Code Mentor, the AI tutor below each lesson, can check yours.
Lessons mix videos, text, and browser exercises with tests, and the course ends with a project and a quiz.
The lessons use Node 26, and their agent steps were checked in December 2026 with Claude Code 2.1 and Codex CLI 0.172.
Start with See What a One-Line Idea Leaves Open.