AI in 10 Minutes

AI pioneers Turing, McCarthy, LeCun, Fei-Fei Li, Hinton and the Transformer team around a baby that stands for AI agents, 2024 onwards.

A ten-minute tour

This page is a short walk through what AI is, how machines learn, and what you can build with the pieces we have today.

No formulae, no code. Six stops, a family tree, a short timeline, and a glossary at the end. If a word feels new, keep going; the glossary will catch it.

1. What AI is

People often treat “AI” as one thing. It is a family.

flowchart TB
  AI["AI — the grandparent"]
  ML["Machine Learning — the parent"]
  DL["Deep Learning — the child"]
  LLM["LLMs — the grandchild"]
  AP["Agentic programming — the newest generation"]
  AI --> ML --> DL --> LLM --> AP

The family, from the grandparent to the newest generation.

Artificial Intelligence is the grandparent: the old idea of a machine that can do something we would call intelligent. Machine Learning is the parent: instead of writing every rule by hand, the machine learns patterns from examples. Deep Learning is the child: the same idea, using stacked neural networks that learn their own features. Large Language Models (LLMs) are the grandchild: deep networks trained on huge amounts of text, very good at predicting the next word. Agentic programming is the LLMs’ child, the newest generation: programs that use a language model to plan, call tools, and take the next step until a job is done.

That is the family, one line of descent. The dates tell you when each generation became practical.

When What happened Famous example
1950s Rules-based AI Logic Theorist (1956)
1990s Machine learning from data Deep Blue beats Kasparov (1997)
2012 Deep learning AlexNet wins ImageNet
2017 to 2022 Transformers and LLMs Attention Is All You Need (2017) and ChatGPT (2022)
2024+ Agents and agentic programming Cursor and GitHub Copilot agent mode

In the 1950s, most AI was a list of rules written by people: if this, then that. In the 1990s, machines started learning those patterns from data. In 2012, deep networks suddenly became very good at vision, and the field shifted. From 2017 to 2022, the transformer architecture led to the large language models everyone now uses. From 2024 on, the interesting work is less “write one more prompt” and more “give the model tools and a loop” — agents and agentic programming.

Keywords: AI, Machine Learning, Deep Learning, LLMs, agentic programming.

Go deeper: Foundations and What is Machine Learning. For the newest generation, jump to RAG and agents.

2. Learning from examples

A child does not learn “dog” from a legal definition. They see many dogs, get told “yes, that’s a dog” or “no, that’s a cat”, and slowly get better. Machine learning works the same way.

You collect data: examples, often with the right answer attached. You pick a model: a flexible function with knobs you can turn. Training is the work of turning those knobs so the model’s guesses get closer to the right answers. Prediction is using the finished model on a new example it has not seen.

Think of a post office sorting handwritten postcodes. Nobody writes a complete rule for every kind of “7”. They show the model thousands of written digits and let it learn the shape.

Keywords: data, model, training, prediction.

Go deeper: the Data section and Classic ML. The smallest walk-through of a learning loop is The learning loop.

3. Neural networks

A neuron is a tiny unit: it takes some numbers in, weighs them, and sends one number on. Weights are the knobs — how much the neuron listens to each input. Layers are rows of neurons stacked one after another: the output of one row is the input of the next. That stack is a neural network.

Backprop (back-propagation) is how the stack learns. After a guess, the network works backwards from the error and gently nudges each weight. You do not have to design the features by hand. The layers learn them.

A picture: a kitchen brigade. The first station preps, the next cooks, the last plates. Each station has habits (weights). If the plate comes out too salty, you walk back down the line and adjust. That walk back is backprop.

Keywords: neuron, weights, layers, backprop.

Go deeper: ANN: Overview and ANN: Evolution.

4. Training vs inference

These are two different jobs.

Training is study: look at examples, measure the error, update the weights. It is slow, uses a lot of compute, and happens relatively rarely. Inference is the exam: the weights stay frozen, and a new input goes through the network once, forward only.

You do not rewrite the textbook in the exam hall. You use what you already know, once, on a question you have not seen.

The same split is in a kitchen. Training is recipe development: taste, add a pinch of salt, taste again. Inference is serving tonight’s bowl. The recipe is already written.

Keywords: training, inference.

Go deeper: Training vs Inference.

5. LLMs: predict the next word

A large language model is a typist who has read a huge library. You start a sentence. The typist guesses the next word, then the next, then the next. That is almost the whole trick, done at a very large scale.

A token is a piece of text the model actually sees — often a word, sometimes a part of a word. A transformer is the architecture most modern LLMs use: it is very good at looking at a stretch of tokens and deciding which earlier ones matter for the next guess. A prompt is what you give the typist to start them off. Context is how much of the conversation (or document) they can keep in view at once.

The typist is not “thinking” in the everyday sense. They are doing inference: frozen weights, one next token at a time. How that serving stack works — caches, batching, the time to the first word — is a later page.

Keywords: token, transformer, prompt, context.

Go deeper: What is a language model?, Evolution of LLM Architecture, and LLMs: Inference.

6. What you can build

Once you have a trained language model, you can do more than chat.

RAG (Retrieval-Augmented Generation) is handing the typist a relevant folder before they answer. You search your own documents, put the useful passages in the prompt, and then ask. The model is no longer limited to what it memorised in training.

An agent is a typist who can also use tools — a search box, a calendar, a calculator — look at the result, and decide the next step. Agentic programming is writing programs in that style: plan, call a tool, check, loop, until the job is done.

AI for developers is the practical side: calling a model from a real program, giving it context, checking what came back, and keeping the rest of the application honest.

Keywords: RAG, agents, agentic programming, AI for developers.

Go deeper: RAG and agents and AI for developers.

Glossary

A short list of every keyword on this page, in the order they first appeared.

  • AI (Artificial Intelligence) — the broad family: machines that do something we would call intelligent.
  • Machine Learning — learning patterns from examples, instead of writing every rule by hand.
  • Deep Learning — machine learning with stacked neural networks that learn their own features.
  • LLM (Large Language Model) — a deep network trained on a huge amount of text, used to predict the next token.
  • Agentic programming — writing programs that use a language model to plan, call tools, and loop until a job is done.
  • Data — the examples a model learns from, and later the new cases it is asked about.
  • Model — a flexible function with knobs (weights) that can be trained.
  • Training — turning the knobs so the model’s guesses get closer to the right answers.
  • Prediction — using a trained model on a new example.
  • Neuron — a tiny unit that takes numbers in, weighs them, and sends one number on.
  • Weights — the knobs: how much a neuron listens to each input.
  • Layers — rows of neurons stacked one after another.
  • Backprop — working backwards from the error to nudge each weight.
  • Inference — running a trained model with frozen weights; a forward pass only.
  • Token — a piece of text the model actually sees, often a word or part of a word.
  • Transformer — the architecture most modern LLMs use to decide which earlier tokens matter for the next guess.
  • Prompt — the text you give a language model to start it off.
  • Context — how much of the conversation or document the model can keep in view at once.
  • RAG (Retrieval-Augmented Generation) — search your documents, put the useful passages in the prompt, then generate.
  • Agent — a model that can use tools, look at the result, and decide the next step.
  • AI for developers — putting a model inside a real program: call it, give it context, and check what came back.
Back to top