ai/courses

Free course

Free AI fundamentals course: how AI actually works.

Eight lessons from “a computer learns from examples” to how ChatGPT, RAG and AI agents work. Plain English, an interactive demo in every lesson, and a short quiz at the end of each one. Optional Python for developers.

Start lesson 1
Lessons
8
Time
About 3.5 hours
Level
Beginner, no math
Price
Free, no signup

01

The lessons.

Each lesson fixes a gap the previous one leaves open, so they work best in order.

  1. 01How machines learnModels, parameters, loss and gradient descent: what “training” actually does.Rules vs learning · Parameters · Loss · Gradient descent · Overfitting25 min
  2. 02Neural networksNeurons, layers and backpropagation, and why one neuron can’t learn XOR.Neurons · Weights and biases · Layers · Activation functions · Backpropagation · Deep learning30 min
  3. 03TokensHow text becomes numbers, and why the model can’t count the r’s in “strawberry”.Tokens · Tokenizers · Byte-pair encoding · Vocabulary · Token pricing20 min
  4. 04EmbeddingsHow a list of numbers can capture meaning, and why king − man + woman ≈ queen.Embeddings · Vector space · Cosine similarity · Semantic search · Vector databases25 min
  5. 05Attention and transformersHow every word looks at every other word, and why that architecture won.Attention · Queries, keys and values · Attention heads · Transformer layers · Positional encoding30 min
  6. 06How LLMs are trainedFrom internet-scale autocomplete to a helpful assistant, in four training stages.Pretraining · Scaling laws · Instruction tuning · RLHF · Reasoning models30 min
  7. 07How LLMs generate textNext-token sampling, temperature, context windows, and where hallucinations come from.Next-token prediction · Temperature and top-p · Context window · Hallucinations · Reasoning tokens25 min
  8. 08RAG, tools and agentsHow products wrap a model with search, tools and loops, and how to check the result.System prompts · RAG · Tool calling · MCP · Agents and evals30 min

02

How each lesson works.

Same four parts every time, so you always know where you are.

  1. 01

    The answer comes first

    Each lesson opens with the short answer to its question, in a few sentences. The rest of the page explains why it is true.

  2. 02

    One demo to play with

    Fit a line by hand, then watch gradient descent do it. Tokenize your own text. Turn the temperature knob. Step through an agent loop.

  3. 03

    A five-minute exercise

    Something to try in ChatGPT, Claude or Gemini, or with a pen. It turns the idea into something you have seen with your own eyes.

  4. 04

    A short quiz

    Five questions with explanations. Finished lessons get a check mark; progress stays in your browser, no account needed.

03

Who it is for.

You don't need math beyond school, code, a GPU or an account. A browser is enough.

Curious about AI

You use ChatGPT or Claude and want to know what is actually happening when you press Enter, without hype or formulas.

About to build with it

You are a developer starting with LLM apps. Tokens, context windows, embeddings and tool calls are the words you will use every day.

Deciding about it

You manage a product or a team and need a solid mental model to judge what AI can do, what it costs and where it fails.

04

Questions.

Is this AI fundamentals course really free?
Yes. All eight lessons, demos and quizzes are free to read and use, with no signup, no email and no paywall. There is nothing to install.
Do I need math or programming to take it?
No. School math is enough: the lessons explain ideas with pictures, analogies and interactive demos. Some lessons include an optional Python snippet for developers; you can skip every one of them.
How long does it take?
About 3.5 hours in total (215 minutes), 20 to 30 minutes per lesson. Most people do one or two lessons a day.
Does it give a certificate?
No. This course is about understanding, not credentials. If you need a certificate for your CV, our guide to AI courses for beginners lists free and paid options that give one.
What does it cover?
How machines learn from examples, neural networks, tokens, embeddings, attention and transformers, how LLMs like ChatGPT are trained, how they generate text and why they hallucinate, and how RAG, tool calling and AI agents turn a model into a product.
What should I learn after it?
If you want to build, take our free PydanticAI course and build a working AI agent in Python, then follow the AI Engineer roadmap. If you want a broader foundation, pick one of the free AI courses in our catalog.