AI 101
A plain-language introduction to artificial intelligence: what it is, what it does, and how the chatbots actually work.
What is AI?
Artificial intelligence is software that learns patterns from examples instead of only following hand-written rules. Traditional software does exactly what a programmer told it to do. AI is trained: you show it enormous amounts of data, and it works out the patterns itself.
Most of today's AI is built on neural networks — programs loosely modeled on how brains connect — trained on data at a massive scale. When people say "AI" now, they usually mean generative AI: models that create new text, images, audio, and code instead of just sorting or labeling things.
The chatbots — ChatGPT, Claude, Gemini, Grok — are large language models, or LLMs. An LLM is trained on huge amounts of text to do one thing: predict what comes next. At enough scale, that single skill turns into answering questions, writing, translating, coding, and holding a conversation.
How we got here
- 1950s — the field begins; Alan Turing asks whether machines can think.
- 2012 — deep learning takes off when a neural network crushes an image-recognition contest.
- 2017 — Google's Attention Is All You Need introduces the Transformer.
- 2022 — ChatGPT puts an LLM in everyone's browser, and AI goes mainstream.
- Today — models see, hear, and act: multimodal input, and agents that use tools.
The family tree
The buzzwords nest inside each other like Russian dolls. AI is the whole umbrella: machines doing things that take intelligence. Machine learning is the part of AI that learns from data instead of rules. Deep learning is machine learning done with big neural networks. Generative AI is deep learning that creates new content instead of just classifying it. And an LLM is the text-based kind of generative AI — the kind you're chatting with.
AI you already use
Chatbots are just the newest face of it. AI was already in your pocket: the spam filter on your email, face unlock on your phone, traffic predictions in your maps app, the recommendations behind YouTube, Netflix, and Spotify, autocomplete finishing your sentences, your bank flagging a strange charge, and searching your photos for "dog" and having it just work. The difference now is that you can talk to it.
What does it do?
Things people use AI for every day:
- Answer and explain. Questions on any topic, explained at whatever level you ask for.
- Write and edit. Emails, documents, articles, summaries, and rewrites in a different tone.
- Code. Write, explain, and debug computer programs.
- See and hear. Describe and analyze images, transcribe speech, and read text aloud.
- Create media. Generate images, music, and increasingly video from a written description.
- Work with your files. Search your documents and answer questions from them instead of from memory.
- Act as an agent. Use tools, browse the web, and carry out multi-step tasks, not just chat about them.
Just as important is what it doesn't do. An LLM doesn't know things the way a person does, and it can be confidently wrong — making up facts is called a hallucination. It knows nothing newer than its training, and it has no goals or awareness of its own. The right mental model is a fast, extremely well-read assistant whose work you still check.
How does it work, in 30 seconds?
During training, the model reads trillions of words and keeps adjusting billions of internal dials — its parameters — until its guesses about the next word get very good. Text is chopped into chunks called tokens, and the model works one token at a time. Inside, a mechanism called attention, from the Transformer architecture, lets it weigh which earlier words matter most to the word it's producing. Everything else — the chat, the reasoning, the tools — is built on top of that.
Getting good answers
- Be specific. Say what you want, who it's for, and what form it should take — length, tone, format.
- Give context. The background you'd give a smart new coworker. More context in, better answer out.
- Ask follow-ups. Treat the first answer as a draft. Push on it, correct it, ask for a different angle.
- Ask it to explain. "Explain that step by step" or "explain it like I'm new to this" works surprisingly well.
- Split big jobs up. One step at a time beats one giant request.
Using it safely
- Don't paste private information. No passwords, account numbers, or other people's personal details. Treat anything you type as something that could be stored.
- Double-check important answers. Names, numbers, dates, quotes — verify them against a real source. It can be confidently wrong.
- It's a tool, not an authority. For medical, legal, or money decisions, use it to get oriented, then confirm with a qualified human.
- Ask for the other side. On contested topics, ask it to lay out the main viewpoints instead of settling for the first take.
Go deeper
- The paper: Attention Is All You Need (2017) — the Google paper that introduced the Transformer, the architecture every modern LLM is built on.
- The video: Deep Dive into LLMs like ChatGPT — Andrej Karpathy's 3-hour, general-audience walkthrough of how LLMs are trained and how they work.
- The visual version: Transformers, the tech behind LLMs — 3Blue1Brown's animated explanation of the same material, in about 30 minutes.
- The hands-on version: Let's build GPT: from scratch, in code — Karpathy again, this time building a tiny GPT line by line.
- The illustrated walkthrough: The Illustrated Transformer — Jay Alammar's step-by-step visual guide to the Attention paper.
- The glossary: AI Definitions — the terms on this page and more, each explained in a few sentences.