Home / Learn

Learn

Learning

Open material for learning to red-team AI models and agents, from first principles to full assessments. Every lesson is free to read, works on a model you run yourself, and cites its sources. Lesson text is CC BY-SA 4.0 and code samples are MIT. The lessons are not legal advice.

Start with Lesson 1Read the blog

Course24 lessons open

Red Teaming RLHF and Post-Training

How post-training wires a refusal habit onto a capable base model, and how a tester measures and reports where that habit gives way. Every lesson works on a model you run or an account you own, cites its sources, and reports rates rather than anecdotes. Lesson text is CC BY-SA 4.0 and code samples are MIT. The lessons are not legal advice.

  1. Post-Training MechanicsHow SFT, reward models and preference optimisation wire the refusal reflex without erasing what the base model learned.
  2. Attacking the LoopThe human raters, reward models, preference data and AI judges that define safe, and where each one bends.
  3. Inference-Time BypassRouting around a refusal at run time by stepping outside the distribution the safety training covered.
  4. Weight Surgery, Automation and Proving GroundsOpen weights and gray-box APIs, red teaming at scale, honest measurement, and where to practise with permission.
  5. Reasoning RL (RLVR), Multimodal and Agentic AlignmentHow verifier-graded reasoning, vision and audio encoders, and tool-use policies fail in ways text RLHF did not.

Open Lesson 1

What a lesson looks like

Every lesson starts with a few questions on the lessons before it, explains one idea from first principles with its sources, then puts it to work in a lab on your own machine. Lesson 1 shows all of the parts.

Open Lesson 1
  1. ObjectivesWhat you can do by the end.
  2. LabHands-on work on a model you run, with a stop rule.
  3. Self-checkShort questions with answers to compare.
  4. WriteupA short finding, read against one rubric.