Lesson 20: Capstone Project: Design and Build Your Own AI Assistant
This is the lesson where everything in the course comes together. Your capstone is to design and build your own AI assistant — a small, real application that helps with a genuine task, built the way this course taught you: grounded in real documents, honest about its limits, and safe for its users. You will not be judged on how impressive the technology is, but on how clearly you thought about the job, the data, the evaluation and the people who will use it.
Start by choosing a job that matters to real people. Good choices are small and concrete: a study helper that answers questions from your school's history textbook, a support assistant that answers questions from a club's rulebook, a revision companion that quizzes students from their own notes, or a helper that summarises a local newsletter for busy readers. Avoid jobs that need facts the model cannot check, or that would make decisions about people — hiring, grading, medical advice. Write down, in one paragraph, who the user is, what they want to achieve, and what a good answer looks like, with an example.
Build it in layers
Next, build in the order from Lesson 13. First, a simple version: a well-written prompt with a clear role, a format and constraints, tested on twenty real questions that you read and judge yourself. Then add retrieval: collect the documents the assistant should answer from, split them into chunks, and let the model answer from the retrieved passages, showing its sources. Then add guardrails: it must say when the answer is not in the documents, it must refuse questions outside its job, and it must never invent dates, names or numbers. Then build your test set — twenty questions with known good answers — and run it every time you change something.
Present it honestly
Finally, present your work. Your presentation should cover six things: the job and who it helps; the documents you used and their limits; how the assistant works — prompt, retrieval, guardrails — in plain words; your honest evaluation, including examples of answers it got wrong and what you did about them; the risks, including hallucination, privacy and misuse, and how you handled each; and what you would do next if you had more time. End with the limits: what your assistant cannot do, and what would be needed to do better. A capstone that shows its failures and its fixes is stronger than one that claims to work perfectly.
Keeping the assistant honest after launch
Launching your capstone is not the end of the work; it is the start of a quieter kind. A live assistant needs the same care as any live system: run your test set every week, and investigate when the score falls. Read a sample of real answers, looking for the new failure modes that appear as users ask questions you never expected. Keep the documents current — a rulebook that changed last month will make the assistant confidently wrong until the documents are updated. Watch for drift: if users start asking about new topics, the assistant's job has changed, and its prompts and documents must change with it. And keep a record of what you changed and why, so that the next person to look after the assistant can understand it. An assistant that is looked after this way can serve its users well for a long time; one that is launched and forgotten will slowly become wrong, and its users will be the first to notice.
When you finish, you will have built something real: an assistant that answers from evidence, shows its sources, admits what it does not know, and respects its users. That is the standard this course has been building towards — not the most powerful model, but the most trustworthy application. Keep the project, keep the test set, and keep asking the question from Lesson 14: is this answer correct, is it complete, is it grounded, and is it safe? If you can answer yes to all four, you have built something worth using.
Watch & Learn
One video to watch for this unit, from a trusted educator.
- Can we build AI without losing control over it? | Sam Harris — TED
Sam Harris argues that superintelligent machines are coming and we have not yet grappled with the problems they raise — a thought-provoking close to the course's safety unit.
Key Terms
- Capstone project
- A final project that brings together everything in a course: designing, building, evaluating and presenting a complete application.
- AI assistant
- An application built around a language model that helps users with a specific job, grounded in documents and guarded by rules.
- Test set
- A set of questions with known good answers, run regularly to check whether the application is getting better or worse.
- Grounding
- Basing an answer on real, checkable sources, so it can be verified rather than taken on trust.
- Evaluation
- Judging how good an application is, using automatic checks, human judgement, and tests against known answers.
- Limits
- An honest statement of what an application cannot do, and what would be needed to do better.
Discussion Questions
- Why should a capstone assistant answer from documents rather than from the model's memory? What changes for the user?
- Your assistant gets some answers wrong. Should you hide that in your presentation, or show it? What does each choice say about your work?
- What job would you choose for a real AI assistant in your school or community, and why that job rather than a flashier one?
Practice Questions
- What makes a good capstone job for an AI assistant?
- In what order should you build the assistant?
- What should the assistant do when the answer is not in its documents?
- What six things should your presentation cover?
- Why is showing your assistant's failures a strength, not a weakness?
Show answers
- A small, concrete job that matters to real people, such as answering questions from a textbook. Avoid jobs that need facts the model cannot check or that make decisions about people.
- Simple prompt first, then retrieval, then guardrails, then a test set. Test the simple version on twenty real questions before adding each layer.
- Say so, rather than inventing an answer. That is a guardrail: it must never invent dates, names or numbers.
- The job, the documents, how it works, the honest evaluation, the risks, and what you would do next. It should end with the limits and what would be needed to do better.
- Because it shows you evaluated honestly and fixed what you found. A capstone that shows its failures and fixes is stronger than one that claims to work perfectly.