This is it — your capstone. Everything from the lab comes together here: prompting (Ch. 1–4), training a model (Ch. 5), code (Ch. 6–7), agents (Ch. 8), and interfaces (Ch. 9). You're going to plan, build, ship, and demo a real AI project that's entirely yours.
Real engineers don't just code — they follow a process. So will you: Plan → Build → Test → Ship → Demo → Reflect.
Step 1 — Plan (don't skip this!)
Great projects start on paper, not in code. Write a one-page plan answering:
- What does it do? One sentence. ("A kind study coach that quizzes me on any topic.")
- Who is it for? ("Kids my age who hate boring revision.")
- What will it use? A persona + system prompt? Memory? A tool? A Gradio interface? (Most capstones use a system prompt + Gradio. Add memory or a tool if your idea needs them.)
- How will I know it works? Write 3 things it must do well.
Tip
Pick something you actually want to exist. You'll build a much better project if you care about it. Stuck? See the idea list at the bottom.
Step 2 — Build
Start from this complete, working template and make it yours. It combines a persona (Chapter 3), the API (Chapter 7), and an interface (Chapter 9):
import gradio as gr
SYSTEM = """You are StudyQuest, a friendly, encouraging study coach for kids.
Rules:
- Keep answers short, clear, and positive. Never be mean.
- If asked for a homework answer, give a helpful HINT first, not the full answer.
- End each reply with a tiny encouragement."""
def coach(question):
message = client.messages.create(
model="claude-haiku-4-5",
max_tokens=350,
system=SYSTEM,
messages=[{"role": "user", "content": question}],
)
return message.content[0].text
gr.Interface(
fn=coach,
inputs=gr.Textbox(label="Ask StudyQuest"),
outputs=gr.Textbox(label="Coach says"),
title="StudyQuest 🎯",
description="Your friendly AI study coach.",
).launch(share=True)
Make it yours: rewrite SYSTEM to create your assistant — its job,
personality, and rules. Change the title and description. If your plan needs
memory or a tool, bring in the code from Chapter 8.
Step 3 — Test (try to break it!)
Engineers test on purpose. Be your project's toughest user:
- Ask it the things it should be great at. Does it follow all your rules?
- Try to break it: ask something silly, rude, or off-topic. Does it stay kind and in-character?
- Check your Chapter 4 habits: does it ever make things up? Add a rule to your system prompt to handle it.
Every time you find a problem, fix a rule and re-test. This loop is the real work of building AI.
Step 4 — Ship
Run it with launch(share=True) and get your public link. Your project is now a
real, usable app. 🎉
Stay safe
Apply everything from your AI Charter (Chapter 4) to your finished project:
- Only share your link with people you trust — it uses your account's credit.
- Make sure your assistant is kind, safe, and honest for whoever uses it — you're responsible for what you ship.
- Never collect or ask for users' private information.
Step 5 — Demo
Show your project off! Pick one:
- Record a 60-second video: introduce it, show it working, share one cool moment.
- Demo it live to family or friends.
- Write a short "project card": what it does, what you built it from, and one thing you're proud of.
Step 6 — Reflect
In your "My AI Helpers" doc, answer:
- What was the hardest part, and how did you solve it?
- Which chapter's skill did you lean on most?
- What would you add in version 2?
Check yourself
- Why do engineers plan before they build?
- What does it mean to test by trying to break your project?
- Name two things from your AI Charter that apply to anything you ship.
Capstone project ideas 🛠️
Pick one, or invent your own:
- Study Coach — quizzes you, gives hints not answers (the template above).
- Story Forge — co-writes adventures where you choose what happens next.
- Kindness Bot — turns a grumpy message into a kind one.
- Trivia Agent — uses a
roll_diceor scoring tool to run a quiz game. - Language Buddy — chats with you in simple Spanish/French and helps you learn.
- Idea Machine — brainstorms project or invention ideas from three words.
Make it simpler · ages 9–11
With a grown-up, build the Story Forge from the template — just change the
SYSTEM prompt to "You are a story narrator. Continue our adventure based on what
I choose, and always end by asking what I do next." Then play your story and
share the link. You planned, built, and shipped an AI app! 🌟
Level up · ages 13–16
Level up your capstone: combine memory + a tool + a persona into a true agent with an interface, and host it permanently on Hugging Face Spaces so your link never expires. Then write a proper README: what problem it solves, how it works, and what you'd improve. That's a portfolio piece you can show off for years.
You did it. 🎓
You started by sending your first prompt. Now you can plan, build, and ship real AI projects — with code, agents, interfaces, and a strong sense of how to use AI responsibly. That is genuinely what a young AI engineer does.
You've earned the AI Engineer badge — the final one. 🏅
This is the end of the lab, but the start of everything you'll build next. Pick a bigger idea. Keep shipping. The future is yours to make. 🚀