
A quick tour of the three real projects you'll build: an AI Content Repurposer, a Chat-With-Your-Documents RAG app, and an Autonomous Research Agent. No theory yet — just what's ahead and why it matters.
Get your Python environment, OpenAI API key, and first successful API call running in under five minutes. Everything you need for the rest of the course.
Why your AI bill looks the way it does. Learn what tokens are, how they're priced, and one config change that cuts your cost immediately.
The simplest accurate explanation of what a large language model actually does. No maths, no jargon — one sentence, then we unpack it.
How AI turns words into numbers that capture meaning. Why "King" and "Queen" end up near each other in vector space — and why that makes search possible.
Every model has a memory limit. Learn what the context window is, why your chatbot forgets after a few messages, and strategies to work within the constraint.
Temperature, Top-P, and sampling explained. Why the same prompt can give you five different answers — and how to control the randomness.
Hallucinations aren't a bug to fix — they're a consequence of how prediction works. Learn why they happen, when they're dangerous, and how to reduce them.
The production prompt has five blocks: role, context, task, format, and guardrails. Learn the formula, see it in action, and never write an unstructured prompt again.
Role prompting and few-shot examples. Instead of explaining what you want, show the model — with real before-and-after comparisons.
Chain-of-thought and self-critique patterns. Make the model reason through steps and catch its own mistakes before you see the output.
Structured output and delimiters. The techniques that turn free-form chat into reliable, parseable JSON your code can actually consume.
Live prompt injection demo: I break my own AI assistant with one sentence, then build the guardrails to stop it. Security taught by doing, not by slideshow.
Build a complete pipeline: paste one article and get a summary, LinkedIn post, five tweets, an email, and a video script — with parallel generation and self-critique.
When to use RAG, when to fine-tune, and why 90% of production use cases don't need training. Decision framework with real cost and accuracy comparisons.
Bad chunking is why most RAG systems give terrible answers. Learn structure-aware splitting that preserves meaning — with concrete examples of what breaks and why.
What vector databases actually do, how semantic search works, and which one to pick. Explained visually with a working demo, not a vendor pitch.
Build a complete 7-stage RAG pipeline from scratch: load, chunk, embed, store, retrieve, re-rank, generate. Every stage explained, every line of code shown.
Quick note: if you have a moment, an honest rating of the course so far helps other learners decide, and your written feedback tells me what to improve next. Thank you.
Build a full Chat-With-Your-Documents app: PDF ingestion, hybrid retrieval, re-ranking, page citations, "I don't know" refusals, and access control.
A chatbot answers questions. An agent takes actions. One architectural difference separates them — and it changes everything about how you build.
The ReAct loop: Reason, Act, Observe, repeat. The pattern behind every AI agent from AutoGPT to Devin, explained simply and built from scratch.
Function calling lets the AI invoke your code with proper arguments. Learn how to give an agent tools with real permission boundaries.
Short-term, long-term, and episodic memory. When to use each, how to implement them, and the common mistakes that make agents forget or hallucinate history.
Quick note: if this course has been useful so far, an honest review helps other beginners find it. It takes about 10 seconds, and you can update it any time as you go further. Questions or anything unclear? Ask in the Q&A, I reply to every one.
The honest talk most courses skip. Multi-agent systems sound amazing but cost 5x more and often give worse answers. When they make sense — and when they don't.
Build an autonomous agent that plans its own research, calls APIs, recovers from failures, resists prompt injection, and logs a complete reasoning trace.
Build a 20-case evaluation harness. Learn to measure accuracy, latency, and cost so you can make real trade-off decisions instead of guessing.
Three techniques that cut token spend by 70%+: prompt compression, model tiering, and smart caching. With actual before/after cost numbers.
Streaming, semantic caching, and latency tricks that make your AI app feel instant. Users don't wait for a full response — they see it arrive word by word.
Step-by-step deployment to a live URL. Environment variables, secret handling, HTTPS, and the minimum viable production setup that actually holds.
Logging, monitoring, and safety from day one. What to log, what not to log (PII), and how to catch failures before your users report them.
A structured 30-day plan: what to build each week, which skills to deepen, and how to build a portfolio that proves you can ship AI in production.
Model names and libraries will date. Tokens, embeddings, retrieval quality, and least privilege will not. This lecture tells you explicitly which is which.
This course contains the use of artificial intelligence.
You build three working LLM apps in Python: an AI Content Repurposer that turns one article into a summary, a LinkedIn post, five tweets, an email and a video script; a Chat With Your Own Documents RAG app with page citations; and an autonomous Research Agent that plans its own research, calls tools and logs its reasoning.
Then you measure them with a 20-case evaluation harness, cut token costs, add streaming and caching, and deploy an app to a live URL.
Why this course is different
Three projects, not slides: each part of the course ends in a project or an assignment you build yourself.
Numbers, not adjectives: one extra retrieval step takes accuracy from 61% to 89%, and the cost lecture shows before and after numbers for three techniques that cut token spend by 70%.
Security by doing: a live prompt injection demo that breaks the course's own assistant in one sentence, then the guardrails that stop it.
Straight advice: why most apps need RAG rather than fine-tuning, and when a multi-agent system costs more and answers worse.
What you will build and learn
LLM foundations for builders: tokens and pricing, embeddings, context windows, temperature and top-p, and why hallucinations happen.
Prompt engineering that ships: a 5-block prompt formula, role and few-shot prompting, step-by-step reasoning with self-critique, structured JSON output and prompt injection defences.
Project 1, AI Content Repurposer: a multi-stage pipeline with parallel generation and self-critique.
RAG from scratch: chunking that keeps meaning, vector databases and semantic search, and a 7-stage pipeline (load, chunk, embed, store, retrieve, re-rank, generate).
Project 2, Chat With Your Own Documents: PDF ingestion, hybrid retrieval, re-ranking, page citations, "I don't know" refusals and access control.
AI agents: the ReAct loop built from scratch, function calling with permission boundaries, three types of memory, and when multi-agent systems are worth it.
Project 3, Autonomous Research Agent: it plans its own research, calls APIs, recovers from failures, resists prompt injection and logs a full reasoning trace.
Production: an evaluation harness for accuracy, latency and cost; prompt compression, model tiering and caching; streaming; deployment to a live URL with secret handling and HTTPS; logging and monitoring that keeps personal data out of the logs.
Practice built in
4 assignments: rewrite a fragile one-line prompt into a production prompt, fix a broken RAG system from 9/20 to 16/20 without changing the model, build a bounded agent that writes a company briefing, and take the RAG app from localhost to production-ready.
A 30-day practice plan (downloadable) for after the last lecture.
Who this course is for
Python developers who want to build RAG apps and AI agents that hold up beyond a demo.
Developers and analysts who already use ChatGPT or an LLM API and want to know why it fails and how to fix it.
Tech leads who need to judge the cost, accuracy and security of an LLM feature before it ships.
Scope, stated plainly
About 3 h 43 min of video in 7 sections and 33 lectures, plus 4 assignments.
You set up Python and an OpenAI API key in lecture 2, in about five minutes.
Model names and libraries will date; tokens, embeddings, retrieval quality and least privilege will not. The last lecture says which is which.