A short history of AI

When ChatGPT arrived at the end of 2022, it felt like AI had appeared overnight. One week almost nobody you knew was talking to a computer in plain language; the next, everyone was. It is a tempting story, and it is also wrong in a way that matters, because it hides where these systems came from.
The chat box was new. The science under it was not. What you are using is the visible tip of roughly seventy years of work, a stack of ideas where each one broke the ceiling the last one hit. Knowing that road is not trivia. It tells you which parts of this field are durable and which are fashion, which is the difference between chasing every headline and understanding what you build on.
Telling computers the rules
The field has a birthday. In 1956 a small group of researchers met at Dartmouth College for a now-famous summer workshop and gave the idea its name: artificial intelligence. A few years earlier, in 1950, Alan Turing, the British mathematician who helped invent computing itself, had already posed the question that still hangs over the field, whether a machine could ever convince you it was thinking (an idea now known as the Turing test).
The first answer ran for decades and rested on a sensible-sounding idea: if you want a computer to act intelligent, write down the rules of intelligence by hand. Experts spelled out their knowledge as long lists of if-this-then-that, and the programs that ran them were called expert systems. For narrow, tidy problems, like diagnosing a specific kind of illness or configuring a machine to order, they worked.
Then they hit a wall, and that wall is the lesson of the era. The real world has too many rules, and most of them nobody can state. You tell a cat from a dog in an instant, but try to write the exact rule that separates them and you will be at it all week and still miss cases. Hand-coded knowledge does not scale to the mess of reality, and breaking that ceiling is what the next idea was for.
Letting them learn instead
If you cannot write the rules, the alternative is to let the machine find them. Instead of telling a computer how to tell a cat from a dog, you show it thousands of labelled examples and let it work out the pattern itself. This is machine learning, and it flips the job: you stop programming the answer and start supplying the data, then let the program infer the rule.
The path there was not smooth. Twice the field promised far more than it could deliver, the money dried up, and progress stalled for years at a stretch. Those stretches are remembered as the AI winters, and they are the sharpest warning the history offers. AI has been overhyped before, more than once, and each cycle felt as certain as this one does. The technique that paid off in the end was rarely the one making the loudest promises at the time.
Deep learning breaks through
Early machine learning still leaned on people to hand-pick which features of the data mattered, its own smaller version of the hand-coding problem. The break came from an old idea finally given what it needed: neural networks, loosely inspired by how brain cells pass signals, that learn their own features straight from raw data.
That idea had been around since the 1950s and had never quite worked well enough. Two things changed around 2012. There was suddenly enough data, from a digitised internet, and enough cheap computing power, from the graphics chips built for video games, to train these networks at a size that paid off. A neural network (AlexNet) won a major image-recognition contest by a wide margin, and the field reorganised around the approach almost at once. This is deep learning, the engine under everything that followed.
The shape of that breakthrough repeats often enough to name: the idea was not new, the data and the compute were. A lot of AI progress looks like a sudden leap and is really an old idea meeting the resources it had been waiting for.
The transformer
Deep learning was strong on images. Language was harder, because meaning depends on how words relate across a whole sentence or paragraph, and earlier networks read text one word at a time and lost the thread over any distance.
In 2017 a research paper introduced a design called the transformer, built around a mechanism called attention: instead of reading word by word, it weighs how every word relates to every other word at once. That sounds like a small architectural detail. It was the unlock. A transformer trains efficiently on enormous amounts of text, and it kept improving the more text and the bigger the network it was given. That last property, that scale kept paying off instead of flattening out, set up everything since.
Every model in this handbook, and the chat box behind tools like ChatGPT, is a transformer at heart. When you reach How LLMs work, the prediction loop you learn there is this architecture doing its one job.
The LLM era and the ChatGPT moment
With the transformer in hand, one question took over: what happens if you make it bigger and feed it more? The answer, repeated across a line of models from 2018 on, was that it kept growing more capable in ways nobody had programmed by hand. Trained to do nothing but predict the next word across most of the public internet, these models picked up grammar, facts, translation, and a rough kind of reasoning as side effects of that single task. These are large language models, and the next chapter is about how that prediction actually works.
So why did it feel sudden in late 2022? Because what most people met was not a new model, it was a new door. The underlying ability had been building for years inside research labs and developer tools. ChatGPT wrapped it in a plain chat box that anyone could open, free, with no setup. The technology had been arriving for a decade; the interface arrived all at once, and that is the part the public lived as the beginning.
Standing on decades
Lay the road end to end and the shape is clear. Hand-written rules gave way to machines that learn from data, which gave way to networks that learn their own features, which gave way to the transformer and the discovery that scale keeps paying off. Each step broke the ceiling the step before it hit, across about seventy years. Today's models are the tip of that history, not its start.
This is not a history lesson for its own sake. It is the reason this handbook leads with fundamentals instead of headlines. The field moves in cycles of hype and winter, and the model on top this month will be replaced. What does not get replaced is an understanding of how these systems work, the same way the ideas from each era outlived the products built on them. Respect the road, learn the durable layer, and the next launch becomes something you can place instead of something that knocks you over.
The next chapter, Using AI well, turns from where these systems came from to how to actually work with them: where AI earns a place in your day, where it does not, and how to keep your judgement while the rest of the field loses its head.

