Skip to content
Library Foundation 14 min read

Courses

A course is a curriculum someone has already sequenced, with exercises that force you to do the thing rather than watch it. This page lists 67 of the best AI courses that are open to anyone (most of them free), grouped by subject, with what each is for, what to actually do in it, and the page of this site it pairs with, plus routes through them and an honest estimate of what they cost in hours.

10,000 ft

The strongest universities put their AI teaching online: Stanford's CS229, CS231n, CS224N and CS336, MIT's 6.S191 and 6.5940, Berkeley's CS285, CMU's 11-785. With their notes and assignments, they are the same education their students get, minus the grade. Alongside them sit practitioner courses (fast.ai, Hugging Face, Karpathy's Zero to Hero) that go top-down from working code, and specialist programmes for safety and systems. Courses are the backbone of a self-directed AI education; this site's tracks are designed to be read alongside them, so each entry below names the track page that covers the same ground. For the lecture videos on their own, see Videos and lectures; for planning a whole route, Learning paths.

How to take a course so it sticks

The assignments are the course. Lectures transmit the picture; problem sets build the skill. If you only have time for one, do the assignments and skim the lectures, not the reverse. Most university courses below publish their assignments with starter code; the autograders are usually private, so write your own tests (a gradient check, a shape assertion, a tiny dataset you can overfit).

Budget honestly. Stanford's rule is that one unit of credit means about three hours of work per week (Stanford Bulletin), and a quarter has ten weeks of teaching. CS336 is a 5-unit course that its own site calls "very implementation-heavy", so for an enrolled student it is about

\[ 5 \text{ units} \times 3 \,\tfrac{\text{h}}{\text{unit}\cdot\text{week}} \times 10 \text{ weeks} = 150 \text{ hours}, \]

of which its 22 hours of recorded lectures are about 15%. Self-studying, expect something similar: a serious university course is 100–150 hours, a practitioner course 30–60, a short course 1–5.

One at a time, with a cadence. Pick a fixed weekly slot, finish one course, then start the next. If a course stalls, it is usually a prerequisite gap: drop back to the maths course, do the relevant section, return. The techniques in How to study AI so it sticks (retrieval practice, spacing, building) are what turn 150 hours into lasting skill.

Find a cohort if you can. Courses with a forum or Discord (fast.ai, Hugging Face, the Berkeley LLM Agents MOOC, ARENA, BlueDot) give you people to get unstuck with. Explaining a solution to someone else is the fastest test of whether you understand it.

Choosing a course

If you are… And you want… Start with Then
A programmer with little maths to build things quickly fast.ai Part 1 Zero to Hero, then the maths courses as needed
A programmer with little maths first principles Imperial M4ML or MIT 18.06 CS229
Comfortable with linear algebra and probability the full theory CS229 or Caltech CS156 CS231n, CS224N
A deep learning practitioner to train LLMs CS336 MIT 6.5940, CMU DLSys
A product engineer to ship LLM features Hugging Face LLM course Berkeley LLM Agents, AI Evals
Any of the above to work on safety BlueDot ARENA, CS329H
A founder or manager the landscape, not the maths Elements of AI Google ML Crash Course, then this site's map of AI

Routes through the courses

Routes through the courses: university spine (left to right) and the practical on-ramp (top)
Routes through the courses: university spine (left to right) and the practical on-ramp (top). fast.ai Part 1 code-first, Zero to Hero build GPT, Maths 18.06 · Stat 110, Machine learning CS229 or CS156, Deep learning CS231n or 11-785, NLP CS224N, LLMs from scratch CS336, Systems 6.5940 · DLSys, Agents and apps LLM Agents · HF Agents, RL CS285 or CS234, Generative CS236 · 6.S184, Safety ARENA · BlueRoutes through the courses: university spine (left to right) and the practical on-ramp (top). fast.ai Part 1 code-first, Zero to Hero build GPT, Maths 18.06 · Stat 110, Machine learning CS229 or CS156, Deep learning CS231n or 11-785, NLP CS224N, LLMs from scratch CS336, Systems 6.5940 · DLSys, Agents and apps LLM Agents · HF Agents, RL CS285 or CS234, Generative CS236 · 6.S184, Safety ARENA · Blue

Four concrete routes. Video hours are measured from the official playlists (October 2026); work hours assume you do the assignments, at the 100–150 hours per university course estimated above.

Route Courses, in order Lecture video Total work
LLM builder CS229 → CS231n (2017) → CS224N → CS336 28 + 19.5 + 27.5 + 22 ≈ 97 h about 400–600 h: a year at 10 h/week
Practical engineer fast.ai Part 1 → Zero to Hero → HF LLM course → HF Agents course 12.6 + 19.4 h + text courses about 150–200 h
Researcher (generative / RL) CS229 → CS231n → CS236 → CS285 28 + 19.5 + 24 + CS285's short parts about 400–600 h
Safety engineer Zero to Hero → BlueDot → ARENA → CS329H 19.4 h + programme time about 250–400 h

Whichever route you take, read the matching track on this site alongside: the maths and classical ML tracks with CS229, the deep learning track with CS231n, the transformers track with CS224N and CS336, and the project ladder as your own assignments.

Mathematics

Machine learning and AI foundations

Deep learning

Language models and NLP

Generative models and multimodal

Reinforcement learning

Systems, efficiency and MLOps

LLM applications and agents

Safety, alignment and governance

Where this leads

  • Learning paths: how the courses above fit with this site's tracks into a plan for your goal.
  • Videos and lectures: the recorded lectures for most of these courses, plus talks to watch between them.
  • Books: the textbooks these courses assign, many free online.
  • The project ladder: your own assignments, graded by whether the thing works.
  • Self-assessment: interview-grade questions to check a course actually stuck.