AI explained in short lessons
Short lessons on AI for developers, analysts and anyone curious: how language models work, prompts and RAG, agents and security — with quick exercises and spaced repetition. Free, no sign-up.
AI
- What AI is: rules, examples and models — How AI differs from an ordinary program, where you already use it, what a model is and what to expect from it
- How models learn: knobs, data and the knowledge cutoff — What "training a neural network" means, which stages it takes to train a chatbot and why it doesn't learn from talking to you
- How a language model works: tokens, context, probabilities — Why a model writes piece by piece, what it "remembers", why one question gets different answers and why it can be confidently wrong
- Embeddings: meaning as numbers and search by meaning — How text becomes a list of numbers, why texts with similar meaning get similar numbers, and how search is built on top of that
- Prompts and RAG: how to give a model a task and your own data — How to ask a model so you get what you need, how to get an answer a program can read, and how to make a bot answer from your documents
- Agents and tool calling — How a model "presses buttons" in other programs, when you need an agent and when a simple workflow is enough, and how to keep an agent from doing damage
- Cloud and local models: data, hardware and how to choose — Where your text goes, how much VRAM a model of your own needs, and how to choose between the cloud and your own server
- Security: prompt injection and data leaks — How a model can be tricked through an email or a web page, what never to paste into a chatbot and which habits protect you best