Course · Intermediate
Build LLM Apps 2026
Build applications on top of large language models the way AI teams do in 2026: call a model from Python, write prompts that hold up, get structured output, use tools, search your own documents with RAG, and prove it all works with evals.
- Level
- Intermediate
- Units
- 8 units, 46 lessons
- Time
- About 10 hours
- Access
- Unit 1 free, the rest with Pro
- Practice
- 92 problems the judge checks
- Certificate
- Yes, anyone can verify it
What you will be able to do
- Call a language model from Python and handle streaming, errors, retries and cost
- Write prompts with clear structure, examples and an exact output format
- Get validated JSON from a model and run a safe tool-calling loop
- Build search with embeddings, keywords, hybrid ranking and reranking
- Build a RAG app that answers from your documents and cites its sources
- Measure an LLM app with a golden set, retrieval metrics and careful LLM-as-judge
Before you start: The Faurus course Introduction to Computer Programming (or the same Python: functions, lists, dictionaries, classes, try and except). SQL units 1 to 6 help in unit 6.
Syllabus
8 units, in order
- Unit 1Free
Python for LLM apps
The Python an LLM app needs beyond the basics: JSON, type hints and dataclasses, ranking with key functions, generators for streams, retries, and the shape of a web API call.
- Unit 2
How LLMs work, for builders
Enough of the inside of a language model to build on it well: next-token prediction, tokens and context windows, sampling settings, choosing a model, and why models make things up.
- Unit 3
Calling a model from code
Use a chat API from Python against the Faurus practice model: messages and roles, conversation history within a token budget, streaming, rate limits and retries, and prompt caching.
- Unit 4
Prompting that works
Write prompts that a teammate can read and a model follows: clear structure, examples, reasoning, prompt chains, context engineering, and prompts kept as versioned code.
- Unit 5
Structured output and tool use
Make models return data your code can trust and let them call your functions: JSON output, validation and repair, tool definitions, the tool-calling loop, and extraction pipelines.
- Unit 6
Embeddings and search
Find the right text fast: embeddings and similarity, keyword search with BM25, hybrid ranking, vector indexes and filters, and storing vectors next to your data with pgvector.
- Unit 7
Retrieval-augmented generation
Answer questions from your own documents: the RAG pipeline end to end, chunking, reranking, rewriting questions, citations and refusing when the documents do not say.
- Unit 8
Evals: proving your app works
Measure before you change things: golden sets, retrieval metrics, code-based checks, LLM-as-judge and its biases, regression evals and signals from real users.
How a course works
Short lessons. Real checks.
Read a little
A short explanation with an example, written for students, not for experts.
Change it and run it
Edit the example code in the lesson and run it to see what changes.
Check, then solve
A quick check, then practice problems the judge checks on hidden tests.
Checkpoints and a final test
Pass them to finish the course and get your certificate.