These exercises are designed to deepen your understanding through hands-on experimentation.
Most require nothing more than access to an AI chat tool (Claude, ChatGPT, Gemini, etc.).
Module 1 Exercises
Exercise 1.1: Token Awareness. Visit a tokenizer visualization tool (e.g., OpenAI's tokenizer page, or similar tools for other models).
Paste in different types of text: English prose, code, a non-English language, technical jargon.
Notice how many tokens each becomes.
Try to predict before you check.
Exercise 1.2: Hallucination Hunt. Ask an LLM to provide five citations from peer-reviewed scientific journals on a fairly obscure topic.
Look up each citation.
How many are real?
How many are fabricated?
How confident did the model sound about each?
Exercise 1.3: Prompt Iteration. Pick a writing task ("write a follow-up email to a customer who hasn't responded").
Try it three ways: (a) a vague prompt, (b) a prompt with context and constraints, (c) a prompt with both context and 1–2 examples of the style you want.
Compare the outputs.
Exercise 1.4: Step-by-Step Reasoning. Give an LLM a complex word problem (e.g., a multi-step logic puzzle).
First just ask for the answer.
Then ask it to "think step by step." Compare results.
Exercise 1.5: Context Limits. Paste a long document into a chat (an article, a chapter from a book).
Ask the LLM specific questions about the beginning, middle, and end.
Does it handle them equally well?
Where does it stumble?
Module 2 Exercises
Exercise 2.1: Manual RAG. Pick a topic where you have specific source material (e.g., a contract, a manual, a wiki page).
For three questions, manually copy the most relevant section into a chat prompt, ask the question, and compare the answer to what you'd get without the source.
Notice the difference in accuracy and specificity.
Exercise 2.2: Embedding Intuition. Most AI chat tools won't show you embeddings directly, but you can simulate the intuition.
Make a list of 10 sentences on different topics.
For each pair, rate (1–5) how related you think they are by meaning.
Now imagine those scores as similarities in embedding space — you've just modeled what an embedding system does.
Exercise 2.3: Chunking Test. Take a long article.
Try summarizing the whole thing with an LLM.
Then try summarizing it after splitting it into 3–5 chunks and summarizing each, then combining.
Compare quality and accuracy.
Exercise 2.4: Bad Retrieval Diagnosis. Try a RAG-powered tool (many companies offer "chat with your documents" features).
Find a question where it gives a wrong or weak answer.
Can you tell whether the issue is bad retrieval (didn't find the right chunk) or bad generation (had the right chunk but answered poorly)?
Module 3 Exercises
Exercise 3.1: Tool Use Observation. If you have access to an AI tool that uses web search (Claude with web search, ChatGPT, Perplexity, etc.), give it a question requiring fresh information.
Read the trace — what searches did it run?
How did it use the results?
How would you have done it differently?
Exercise 3.2: Multi-Step Planning. Give an AI a multi-step task ("plan a 5-day vacation to a city you've never been to, considering my preferences for X and Y").
Note where it succeeds, where it gets stuck, where it makes assumptions.
What tools or information would let it do better?
Exercise 3.3: Agent Design Sketch. Pick a task you'd like an agent to handle (e.g., "monitor my email for things needing my attention and draft replies").
Sketch on paper: what tools would it need?
What system prompt?
What guardrails?
Where would human approval be needed?
Exercise 3.4: Prompt Injection Awareness. Once you understand prompt injection, look at AI products you use.
Where might they be vulnerable?
What inputs could an attacker control?
Don't try anything malicious — just develop the security mindset.
Exercise 3.5: ReAct in Action. When using an AI tool, prompt it to "think out loud before each step and explain its reasoning." Watch how its behavior changes.
This is essentially the ReAct pattern in miniature.