Generative AIIntermediate
CS50's Introduction to Artificial Intelligence with Python
Harvard's introduction to AI with Python. Covers search, knowledge representation, uncertainty, optimisation, machine learning, neural networks, and NLP.
The path at a glance
Reviewed by the FreeCodingCourses.com editorsLast reviewed: How we review
Take the six courses below in order: Python first, then a short primer on how language models work, then prompt engineering, LangChain, retrieval-augmented generation, and finally open-source models on Hugging Face. Each step uses what the one before taught you, so skipping ahead usually costs time later rather than saving it. Plan on nine to twelve months part-time from scratch.
AI and machine learning specialist roles are growing at 40% annually, the fastest-growing job category globally (source: World Economic Forum Future of Jobs Report 2025).
Read first
Follow in order
Every later step is Python code, so this comes first. You are ready to move on when you can write a script that reads a file, calls functions you wrote and handles errors without crashing.
CS50's Introduction to Programming with Python
36h · Free
We skipped Codecademy's Learn Python 3 (24 hours). Writing code in the browser with instant feedback is the gentlest first hour of Python anywhere, and the free tier gets you syntax, control flow, lists, and loops before the projects go behind Pro. CS50P spends its 36 hours on exceptions, file I/O, and unit tests as well, and you want all three the first time an API call comes back with a rate-limit error instead of the JSON you expected.
See what Learn Python 3 coversBefore you write prompts, learn what the model does with them: tokens, context windows and why the same question can get different answers. It is short, which is why it sits ahead of the hands-on steps rather than after them.
Introduction to Generative AI
1h · Free
We skipped CS50's Introduction to Artificial Intelligence with Python (30 hours). It is the heavier course by a long way, and what it teaches is classical AI: search, knowledge representation, optimisation, and small neural networks you write yourself. Almost none of that is what a large language model does. This step's whole job is to tell you what sits on the other end of your API call, and Google's one-hour introduction answers that before you spend a month on a different question. Take CS50 AI later, for the foundations underneath.
See what CS50's Introduction to Artificial Intelligence with Python coversPrompting is the first hands-on skill because every later tool, from LangChain to retrieval, is built out of prompts. You are done when you can get consistent, structured output from a model on purpose rather than by luck.
ChatGPT Prompt Engineering for Developers
1.7h · Free
We skipped Anthropic's Prompt Engineering Interactive Tutorial (4 hours), and our own ranking of free prompting courses puts it first, so that needs explaining. It is nine notebook chapters run against the Claude API, which is more prompting practice per hour than anything else free, and it expects you to have an API key and be comfortable in Jupyter. At step three of a path you want the map before the drills, and DeepLearning.AI's hour gives you summarising, inferring, transforming, and a working chatbot with the environment already set up. Take Anthropic's tutorial the week after, not instead.
See what Anthropic Prompt Engineering Interactive Tutorial coversWith Python and prompting in hand, you can chain model calls into an application with memory and tools. This comes before retrieval because most retrieval systems are built inside a chain like the ones you make here.
LangChain for LLM Application Development
1.9h · Free
We skipped Microsoft's AI Agents for Beginners (11 hours). Eleven open-source lessons with running code in every one is more material than our pick, and it opens on agentic design patterns, tool use, and multi-agent workflows. That is a lot of architecture to take on before you have written a single chain. LangChain for LLM Application Development is just under 2 hours on document loading, splitting, vector stores, retrieval, and agents, taught by LangChain's creator Harrison Chase, so you meet the parts the agent frameworks are assembled from.
See what AI Agents for Beginners coversGrounding answers in your own documents is what a large share of real AI work involves, and it builds directly on the chains from step 4. You are done when you can measure whether retrieval is actually improving the answers.
Building and Evaluating Advanced RAG
2.1h · Free
We skipped freeCodeCamp's Learn Generative AI in 23 Hours, Andrew Brown's free course on YouTube. It runs through prompt engineering, RAG, deployment, and AI agents, which makes it a decent weekend orientation to the whole space, and RAG is one module inside it. Our pick spends all two of its hours on what actually breaks a retrieval app: chunking strategy, sentence-window and auto-merging retrieval, and scoring the answers with TruLens. That last part is the one nobody does, and it is why so many RAG demos look right and answer wrong.
See what Learn Generative AI in 23 Hours coversThis comes last because open-source models make most sense once you know what you need from a model. Here you learn to run and adapt models yourself instead of only calling someone else's API.
Hugging Face LLM Course
30h · Free
We skipped fast.ai's Practical Deep Learning for Coders (nine lessons of about 90 minutes each). It is one of the best courses on the internet and you have a model running in lesson one, and what those lessons train you to do is build models from scratch across vision, tabular data, and NLP. That is the machine learning path's job, not this one. This step is about getting off a hosted API and onto open-weight models you can run and fine-tune yourself, which is what Hugging Face's 12-chapter LLM course covers: tokenization, fine-tuning, reasoning models, and a shareable demo at the end. Neither course awards a certificate, so pick on the material.
See what Practical Deep Learning for Coders coversBeyond the path
Generative AIIntermediate
Harvard's introduction to AI with Python. Covers search, knowledge representation, uncertainty, optimisation, machine learning, neural networks, and NLP.
Generative AIIntermediate
Learn to build and deploy with transformers and large language models in this 12-chapter course from Hugging Face. You'll start with NLP fundamentals, then move into modern LLM techniques: tokenization, fine-tuning, reasoning models, and building shareable demos. By the end, you'll know how to use pre-trained models, customize them on your own data, and integrate them into real applications. Best if you have some Python experience; the course assumes basic familiarity with machine learning. Fair warning: LLM chapters move fast, so budget time for rereading.
Generative AIIntermediate
fast.ai's legendary course on deep learning for practitioners. Takes a top-down approach: you build real models in lesson 1 and understand the theory gradually. Covers CV, NLP, tabular data, and stable diffusion. Completely free.
Generative AIBeginner
freeCodeCamp's generative AI course covering prompt engineering, RAG, model deployment, and AI agents. Taught by Andrew Brown. Completely free on YouTube.
Generative AIAdvanced
Hugging Face's free course on building AI agents. Covers the smolagents framework, ReAct architecture, multi-agent systems, and evaluating agent performance. Free with certificate.
Generative AIBeginner
Anthropic's official interactive prompt engineering tutorial. Nine chapters covering basic prompt structure, role assignment, separating data and instructions, chain-of-thought, and complex real-world prompts. Hands-on with the Claude API.
FAQ
Other goals