A complete course from how LLMs work through production. The lessons are written in Markdown, and one command builds both a reading site and Reveal.js lecture slides.
ai-learn/
βββ content/ # Course content (Markdown, the only source of truth)
β βββ stage-01.md # Foundations Β· LLM principles and prompting
β βββ stage-02.md # Orchestration Β· LangChain / LlamaIndex
β βββ stage-03.md # RAG Β· retrieval-augmented generation
β βββ stage-04.md # Agents and MCP
β βββ stage-05.md # Fine-tuning
β βββ stage-06.md # Evals
β βββ stage-07.md # Inference optimization and deployment
β βββ stage-08.md # Production engineering Β· LLMOps
β βββ stage-09.md # Capstone Β· an end-to-end AI product
βββ assets/style.css # Shared design system
βββ build.py # Build script, including a content linter
βββ _SPEC.md # Writing rules for lesson content
βββ run.sh # Build and preview locally
βββ dist/ # Build output (generated)
βββ index.html # Reading site home
βββ stage-XX.html # One page per stage
βββ slides/ # Reveal.js lecture slides
# First run: create a virtualenv and install dependencies
python3 -m venv .venv
./.venv/bin/pip install markdown pygments
# Build (lint runs first and rejects invalid content)
./.venv/bin/python build.py
# Lint only
./.venv/bin/python build.py --lint
# Build and preview locally
./run.shOpen dist/index.html to read the course, or dist/slides/index.html for lecture mode.
| Key | Action |
|---|---|
β / Space |
Next slide |
β |
Open the detail slides for the current section |
S |
Open speaker notes |
F |
Full screen |
ESC |
Slide overview |
Every lesson has four parts, and build.py checks that they are present:
- Concepts β What / Why / How, plus a practitioner's note
- Code β Runnable, commented examples against current APIs
- Further reading β Official docs, papers, and substantial posts
- Practice β A short exercise with acceptance criteria
Each stage ends with a project.
Edit content/stage-XX.md, then run ./.venv/bin/python build.py again. The writing rules live in _SPEC.md. The linter checks content against that file.