sagelearnai

How to Get the Most from This Course

This course is text-first and hands-on. There are no videos to scrub through. Every lesson is designed to be read in one sitting, tried immediately, and checked with a short quiz.

What's in a lesson

ElementPurpose
ExplanationThe concept from first principles: what it is, why it works, when it fails
DiagramsArchitectures and data flows drawn out
CodeRunnable Python (sometimes JavaScript) you can paste into a notebook
⚡ Interactive widgetsManipulate the idea directly: tokenize text, compute attention, tune sampling, chunk documents
CalloutsTips, warnings and the interview angle for each topic
Quiz3–5 questions with explanations. Your best score is saved

Try a widget right now. Drag the arrows, and watch cosine similarity change. You'll meet this idea again in embeddings and RAG:

Suggested path

Modules 0–1tooling + basics 2–3 + P1prompting, evals 4–5 + P2RAG, deploy 6–7 + P3agents, fine-tune 8–11 + P4 + prepLLMOps, design, prep
  • New to programming with LLMs? Go in order.
  • Already shipping LLM apps? Skim Modules 0–2, then focus on Evaluation, RAG, Agents and the projects.
  • Preparing for interviews? Do Modules 1, 3, 4, 6, 8 and 10, the Interview Readiness section, and pair them with the AI Interview Prep question bank, Mock Interview and DSA Patterns.

The four projects

ProjectYou buildKey skills
1 · Prompt LabA prompt playground with an evaluation harnessPrompting, eval datasets, metrics, LLM-as-judge
2 · Docs CopilotA cited Q&A assistant over real documentationChunking, hybrid retrieval, reranking, streaming, monitoring
3 · Research AgentA tool-using agent with search and a code sandboxTool calling, agent loops, budgets, safety, agent evals
4 · Specialist ModelA small fine-tuned model that beats a prompted baseline on one taskDataset engineering, LoRA, evaluation, serving

Each project has milestones with acceptance criteria, so you know when a stage is actually done.

Setup you'll need

  • Python 3.10+ and a code editor (VS Code or similar).
  • An API key from at least one LLM provider. Most have free or low-cost tiers. You can also run open models locally with tools like Ollama.
  • Optional: a GPU (or a free cloud notebook) for the fine-tuning module.

Module 0 walks through all of this.

Tracking progress

  • Click Mark complete at the end of each lesson.
  • Quiz scores, completed lessons and streaks appear on My Progress.
  • Everything is stored locally in your browser: no account, no tracking.
How to learn this well

After each lesson, do one small thing with it: run the code, change a parameter, break it on purpose. Retrieval practice (the quizzes) and building (the projects) are what make it stick.

Last reviewed 2026-11-05.