Skip to content

Learn AI, from first principles to the frontier

A field guide to the whole of artificial intelligence: the maths underneath it, the models that power the boom, the systems that run them, and the people and papers that got us here. 162 pages, each one readable from three altitudes.

Start here See the map

10,000 ft Where an idea sits in the whole field and why it matters. Read only these and you will know the shape of AI.

2,000 ft The mechanism as a map: one diagram and a few steps you could explain to a colleague.

Ground level Derivations, first principles, code you can run, self-tests, and the papers, lectures and books to go deeper.

The tracks

Foundations

  • Mathematical foundations


    Linear algebra, calculus, probability, information theory and optimisation — from first principles, with the AI use of each.

    14 pages

  • Classical machine learning


    Learning from data before deep learning — and the ideas deep learning never stopped using.

    12 pages

  • Deep learning


    Neural networks from a single neuron to deep residual stacks — built by hand, then trained properly.

    13 pages

Models

  • Transformers and LLMs


    Tokens to attention to GPT — the architecture of the boom, every equation derived.

    16 pages

  • Post-training and alignment


    How a raw next-token predictor becomes a helpful, honest assistant — SFT, RLHF, DPO, RL with verifiable rewards.

    10 pages

  • Reinforcement learning


    Learning by acting — from Bellman equations to AlphaZero to RL that trains reasoning models.

    10 pages

  • Generative models and multimodal


    VAEs, GANs, diffusion and flow matching; images, vision-language, audio and video.

    10 pages

Building

  • AI systems and infrastructure


    GPUs, kernels, numerics, distributed training, quantisation, serving — and what it all costs.

    10 pages

  • LLM application engineering


    Building real products on models — prompting, RAG, tools, agents, evals, guardrails and shipping.

    14 pages

  • Data for AI


    Where the data comes from, how it is cleaned, labelled, synthesised and kept honest in production.

    5 pages

  • Projects and practice


    Learn by building — a ladder of projects from a micrograd clone to a production agent, plus self-tests.

    6 pages

Safety & frontier

Story & library

  • The story of AI


    The Thinking Machine Era, rewritten — three booms, the people, the companies and the road ahead.

    12 pages

  • Library


    The canon — papers, lectures, courses, books, blogs and people — plus the glossary and formula sheets.

    9 pages

Three ways in

  • Just get the big picture


    Read the map of AI, then the 2,000-ft index page of each track. A weekend.

  • Become a builder


    LLM engineering and the project ladder, dipping into theory as you need it.

  • Master it properly


    Follow a learning path: maths → ML → deep learning → transformers → post-training → systems.