This is the full path, in order, from "I can write a little Python" to building AI agents that call tools and fix their own mistakes. It is free, it is written for students, and every session has code you can run and quick checks to test yourself.

I wrote it the way I wish someone had taught me. Each session starts from the problem the previous model could not solve, then shows the idea that was invented to get past it. So you never meet a technique without knowing why it exists.

How to use this roadmap

  • Go in order. Each session lists what it builds on. Skipping ahead works, but you will keep tripping over words that an earlier session explained.
  • Run the code. Every snippet was executed and the output shown is real. Change a number and see what happens.
  • Use the course map. On any session, the map button opens the full list so you can jump anywhere. The ticks show what you have already read, saved in your own browser only.
  • Do the quick checks. One or two questions inside each article. They take ten seconds and they are where most of the learning sticks.

The story in one minute

Linear regression draws a straight line through data. It is fast and readable, but the world is rarely a straight line. So we learned how models learn (loss functions and gradient descent), and then split into two roads to handle curves. Road A uses trees and kernels, which are brilliant on spreadsheets. Road B stacks neurons into neural networks, which win on images, sound and text.

Neural networks for sequences ran into a memory wall, which attention and the Transformer broke through in 2017. Scale a Transformer up and you get a large language model. Give that model your documents, tools and a loop to think in, and you get an agent. Each stop in that story is a session below.

Prerequisites

Nothing heavy. If you can do these, you are ready:

  • Write basic Python (variables, loops, functions).
  • Load a CSV with pandas and look at it.
  • Read a simple chart.

Session 1 revises the practical parts anyway.

Frequently asked questions

Is this AI and machine learning roadmap really free?

Yes. Every session is a free article on SabaqGuide with runnable code, formulas you can copy and quick-check questions. There is nothing to sign up for.

How long does it take to finish all 30 sessions?

Plan on roughly two months at a steady pace of three or four sessions a week. The first Part (five sessions) is the one that rewards slow, careful work the most.

Do I need strong maths to follow along?

You need school-level algebra and a willingness to read an equation slowly. Every formula comes with a plain-English explanation, correct notation and a copy button, and the code often shows the same thing with real numbers.

Which programming language is used?

Python, with NumPy, pandas, scikit-learn, PyTorch and, in the later Parts, libraries like Hugging Face Transformers and LangChain.

Can I start with generative AI and skip the basics?

You can read those sessions, but they lean on ideas from earlier ones (loss, gradients, attention, embeddings). The course map shows exactly which sessions each one builds on, so you can fill gaps as you meet them.