Learn

Video courses and interactive notebooks, with worked examples and sources. Pick the level that fits you and move up when you are ready.

IntroductoryNo background needed. Everyday language.

PractitionerFor people who run, buy or build systems.

TechnicalHands-on. Assumes security or engineering experience.

Introductory10 videos, about 47 minutes

AI from the Ground Up

What happens when you talk to an AI assistant, why it forgets, why it can be wrong, and how it connects to documents and tools.

Start with video 1

TechnicalPublic introduction and course outline

AI security testing

Understand the system, then test it. Each lesson pairs an explanation with an example and shows what a result does and does not prove.

00AI Security Testing Course6:57
01AI ReconnaissanceNot yet available on this site
02Prompt InjectionNot yet available on this site
03MCP PermissionsNot yet available on this site

PractitionerOne longer explainer

Same model. Different results.

How the model, its instructions, its tools and the application around it work together, and why the same model behaves differently in different products.

24:14

Why the Same AI Can Behave Differently

Notebooks

23 study notebooks

Read at your own pace, explore the examples and check what you have learned. Each notebook shows its intended level and the background it assumes.

Models & toolsTechnicalStudy guide

Training an AI

Follow the training lifecycle, compare alignment methods and explore data pipelines, GPU memory and worked Python examples.

Before you start: Familiarity with Python and basic machine learning concepts.

Open notebook

ResearchPractitionerStudy guide

EU AI Act: high-risk systems

Study risk categories, responsibilities and high-risk requirements with a timeline, reference material and self-check questions.

Before you start: An understanding of how AI systems are developed or used in an organisation.

Open notebook

Agents & MCPTechnicalStudy guide

MCP Servers: stdio and Legacy HTTP+SSE

Study the 2024-11-05 protocol architecture, stdio and legacy HTTP+SSE examples, with a link to current transport documentation.

Before you start: Experience reading TypeScript, JSON and HTTP examples. Some examples cover the older HTTP+SSE transport.

Open notebook

AI securityTechnicalTechnical notebook

Prompt injection and agent security

Examine direct and indirect injection, context boundaries, testing methods and layered architectural controls.

Before you start: An understanding of LLM applications, tool use and security testing.

Open notebook

Models & toolsTechnicalTechnical notebook

Post-training alignment: RLHF, DPO and GRPO

Work through reward models, preference optimisation and group-relative learning, including loss functions and Python examples.

Before you start: Python, probability and familiarity with training neural networks.

Open notebook

ResearchPractitionerTechnical notebook

AI governance, risk and compliance

Compare the EU AI Act, NIST AI RMF and ISO/IEC 42001, and examine a governance intake example.

Before you start: An understanding of organisational risk and the AI system lifecycle. Includes an optional code example.

Open notebook

Models & toolsTechnicalTechnical notebook

Transformer architecture and attention

Explore attention, GQA, RoPE, KV-cache memory and FlashAttention, with mathematical explanations and a verification exercise.

Before you start: Python, linear algebra and familiarity with neural network training and inference.

Open notebook

AI securityTechnicalStudy guide

Model Context Protocol (MCP): Authorization

Trace protected HTTP access, distinguish token audience from permission, and test a small authorization decision model.

Before you start: Basic HTTP requests and the difference between a client and server. Python is optional.

Open notebook

Models & toolsPractitionerStudy guide

Model Serving: Batching and Request Queues

Compare a batch barrier with slot refilling using a visible request timeline and a deterministic scheduler.

Before you start: Know that requests can finish at different times. No GPU or serving framework is required.

Open notebook

AI securityTechnicalStudy guide

RAG Document Access Control

Follow authenticated identity into retrieval policy and compare filtering before and after a top-k cut.

Before you start: Basic RAG retrieval and the idea of users, groups and document permissions.

Open notebook

Models & toolsPractitionerStudy guide

Model Serving: Health Checks and Timeouts

Separate startup, readiness and liveness decisions, then inspect what a request timeout can and cannot guarantee.

Before you start: Basic services and requests. Python async familiarity helps with the optional timeout note.

Open notebook

Models & toolsPractitionerStudy guide

Binary Classification: Probability Calibration

Distinguish calibration from accuracy, calculate a binary Brier score, and examine how aggregation hides probability errors in a synthetic example.

Before you start: You should understand basic probabilities, averages and binary labels, and be able to read simple Python.

Open notebook

Models & toolsPractitionerStudy guide

LLM Inference: Prefill, Decode and the KV Cache

Trace prompt processing, the first selected output token and subsequent decode forwards; distinguish processed cache positions from sampled tokens and calculate a synthetic KV memory budget.

Before you start: You should understand tokens, transformer layers and basic Python lists and arithmetic.

Open notebook

AI securityPractitionerStudy guide

Membership Inference: False Positives and Base Rates

Evaluate training-data membership claims using confusion counts, low false-positive rates and explicit assumptions about candidate populations.

Before you start: You should understand training and test datasets, binary classification and basic probability.

Open notebook

Models & toolsTechnicalStudy guide

RAG: HNSW, Hybrid Retrieval and Tool Use

Study retrieval-augmented generation, HNSW search, lexical–dense rank fusion, reranking, context evaluation, and guarded tool execution through a synthetic Python lab.

Before you start: You should understand transformer inference, vector similarity, basic probability, and Python functions and dictionaries.

Open notebook

Models & toolsTechnicalStudy guide

PEFT and Quantization: LoRA, QLoRA, DoRA, GPTQ and AWQ

Analyze adapter updates, training-state memory, quantized weight storage and calibration-based quantization, then work through merging and a synthetic NF4 teaching lab.

Before you start: You should understand matrix multiplication, gradients, floating-point precision and the purpose of an optimizer.

Open notebook

Models & toolsTechnicalStudy guide

Sparse Mixture-of-Experts: Routing, Load Balancing and Expert Parallelism

Study conditional computation, method-specific routing, capacity limits, balancing objectives and distributed expert placement through worked calculations and a synthetic Python lab.

Before you start: You should understand Transformer feed-forward layers, softmax, matrix multiplication and basic gradient-based optimization.

Open notebook

AI-assisted study material with worked examples and source links. Each notebook records its provenance and review scope. Levels describe the background assumed, rather than a qualification.