AI Kitchen: from first principles

AI starts before the chat box.

Start with a bowl of fruit and a notebook of orders. Follow how examples become a model, how a model generates words, and how an application turns those words into bounded, checkable work.

Complete · 16 of 16 published

Sixteen complete chapters. 168 linked concepts. Read in order, or use the concept map to find a definition and the ideas it builds on.

This is a finite foundational path, not every branch of machine learning or AI. It covers data and learning, neural networks, language and multimodal models, retrieval, tools, agents, harnesses, evaluations, and operation. Advanced mathematics, robotics, and specialist research topics sit outside this first path.

No setup. No paid account. No required labs. Each chapter has an optional small observation with an answer. The cafe and all numerical examples are fictional.

  1. 01

    Can a machine learn from a bowl of fruit?

    Ordinary instructions, examples, and the AI family.

  2. 02

    What counts as an example?

    Data, features, targets, representation, and responsible collection.

  3. 03

    What kind of answer are we asking for?

    Categories, quantities, groups, and reward-driven actions.

  4. 04

    How does a wrong guess become a better one?

    Models, parameters, loss, optimization, and training.

  5. 05

    Why build a network of little calculators?

    Units, activations, layers, architecture, and backpropagation.

  6. 06

    Did it learn the task or memorize the cards?

    Data splits, generalization, overfitting, and leakage.

  7. 07

    How does a word become numbers?

    Vectors, tokens, identifiers, and learned embeddings.

  8. 08

    How does a model connect words across a sentence?

    Order, attention, transformer blocks, and generation boundaries.

  9. 09

    How can one model help with many jobs?

    Foundation models, training stages, modalities, and diffusion.

  10. 10

    Why can the same question get a different answer?

    Context, probabilities, sampling, temperature, and uncertainty.

  11. 11

    How does the assistant find today's recipe?

    Chunks, indexes, search, RAG, memory, and context assembly.

  12. 12

    How can words cause an action?

    APIs, schemas, tool calls, MCP, and reusable skills.

  13. 13

    When does an assistant become an agent?

    Applications, workflows, agent loops, state, and recovery.

  14. 14

    What keeps the agent inside the kitchen?

    Harnesses, context management, permissions, limits, and traces.

  15. 15

    How do we know it helped?

    Evaluation cases, rubrics, tests, judges, and meaningful fractions.

  16. 16

    What does the whole cafe actually need?

    A connected task, deployment, resources, caching, drift, and privacy.

Published . All 16 chapters are available.