Loading video player…

From Idea to First Working Slice With an AI Agent (Overview)

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:

Language: Shell
$ 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.

Download

Course Slides (.pdf)

403.1 KB
Download

Sample Code (.zip)

23.3 KB

00:00 Welcome to From Idea to First Working Slice With an AI Agent. It’s course two 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.

00:15 This course is about deciding first, before any code.

00:21 Here’s a first taste of a first working slice, the smallest version that runs end to end. It says whether a team can finish a room.

00:31 It’s for a small escape room business that’s designing a new room, The Lighthouse Keeper’s Study. Today, its designers check by hand that a team can finish each room.

00:43 You’ll turn an idea into a written brief. You’ll get a plan and challenge it. You’ll write the instruction file your agent reads at each new session. Then your agent builds a first working slice that you run, test and commit.

00:59 In the final project, you check your slice against the business’s brief and explain how it works.

01:06 You need JavaScript basics, Node 26, and Git. You need Claude Code or Codex, on a paid plan or API key. If you’re starting here, welcome. The early lessons recap your permissions, decisions kept in files, and a commit once you’ve checked each change.

01:26 The download has the sample rooms and a reference version.

01:31 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.

01:46 Start with See What a One-Line Idea Leaves Open.

Become a Member to join the conversation.