Skip to main content

Python AI: Build a Smart Assistant

Python camp course

Python AI: Build a Smart Assistant

Campers write a real Python program that lives on their Mac, listens to typed commands, and answers out loud — one stage at a time, from a single hello to a personalized sidekick they demo to their parents on Friday.

Assistant preview10-stage build
A terminal showing a Python assistant greeting its owner by name, telling a joke, and speaking out loud
10build stages
5 dayscamp-ready pacing
1 fileone assistant.py, all five days

What campers ship

A sidekick that talks back — not ten worksheets

Every stage adds one new skill to the same assistant.py file. By Friday campers have a program that greets them by name, tells jokes, remembers facts, and pulls live data off the internet — and the honest understanding of how every line works.

A talking assistant you can demo to your parents

Real Python: variables, loops, functions, lists, dictionaries, the internet

A program that runs on a real Mac with a real dev workflow (VS Code + uv)

Assistant moments

Each stage adds something campers can hear and use

Every stage produces a change campers can run and talk to. They type a command, the assistant answers out loud — the voice is the proof.

A speech bubble coming from a laptop with a sound-wave icon and the word "Hello!"

It talks back out loud

Stage 1 makes the Mac speak with one speak() helper. From then on every new skill prints AND says its answer in a real voice.

A terminal prompt with several typed commands and spoken replies in a loop

It keeps listening

A while-loop turns the assistant into a command shell. Type command after command and it keeps answering until you tell it to quit.

An assistant delivering a random joke from a list out loud

It tells jokes

A list of jokes plus random.choice means the assistant never tells the same one twice in a row. Campers will spam this command.

An assistant recalling a remembered fact and fetching live data from the internet

It remembers you and reaches the internet

A dictionary lets it remember facts you teach it, and requests pulls a fresh joke or fact straight off the live internet — then speaks it back to you.

Course path

Your assistant gets smarter stage by stage

Each stage names the one new Python idea behind it and the new thing the assistant can do.

For camp flow

Default path first

Each stage default is enough to keep the assistant working and talking. Stretch challenges add depth when campers finish early.

Begin