AI Tutorials
The best tutorials, courses, and guides on the web, hand-picked and grouped by topic. Every link goes to the original creator.
AI & Deep Learning Foundations
Start here if neural networks still feel like magic. These build the intuition everything else rests on.
Neural Networks (video series)
Beautifully animated explanations of neural nets, backpropagation, and transformers. The best visual intuition you will find.
3Blue1Brown
VideoBeginnerFreeIntro to Large Language Models
A one-hour, non-technical tour of what LLMs are, how they are trained, and where they are heading.
Andrej Karpathy
VideoBeginnerFreePractical Deep Learning for Coders
Top-down, code-first course that has you training real models in the first lesson. Ideal for programmers new to ML.
fast.ai
CourseBeginnerFreeNeural Networks: Zero to Hero
Build backprop, language models, and finally GPT from a blank file. The most loved hands-on path into modern deep learning.
Andrej Karpathy
CourseIntermediateFreeDive into Deep Learning
Interactive open textbook with runnable PyTorch code for every concept, used in 500+ universities.
d2l.ai
BookIntermediateFreeGenerative AI for Beginners
21 bite-sized lessons on building generative AI apps, from prompting to RAG to agents, with Python and TypeScript samples.
Microsoft
GitHub repoBeginnerFree
Building LLMs from Scratch
Understand transformers by writing one. Tokenizers, attention, pretraining, and everything in between.
The Illustrated Transformer
The classic visual walkthrough of attention and the transformer architecture. Read this before writing any code.
Jay Alammar
GuideBeginnerFreeLet's build GPT: from scratch, in code, spelled out
Two hours that take you from an empty notebook to a working GPT trained on Shakespeare.
Andrej Karpathy
VideoIntermediateFreeDeep Dive into LLMs like ChatGPT
A full-stack tour of how chat models are built: data, tokenization, pretraining, post-training, and RL.
Andrej Karpathy
VideoBeginnerFreeBuild a Large Language Model (From Scratch)
Companion code to the bestselling book. Step-by-step notebooks that implement, pretrain, and fine-tune a GPT-style model in PyTorch.
Sebastian Raschka
GitHub repoIntermediateFreenanochat
A minimal, end-to-end ChatGPT clone: tokenizer, pretraining, fine-tuning, eval, and a web UI, trainable for about $100 of GPU time.
Andrej Karpathy
GitHub repoAdvancedFreenanoGPT
The simplest, fastest repository for training and fine-tuning medium-sized GPTs. Small enough to read in an afternoon.
Andrej Karpathy
GitHub repoIntermediateFreeCS336: Language Modeling from Scratch
Stanford course where you build every piece of an LLM yourself, including data pipelines, kernels, scaling, and alignment. Lectures are on YouTube.
Stanford University
CourseAdvancedFreeThe Smol Training Playbook
Hard-won lessons from training SmolLM3: architecture choices, data mixtures, infrastructure, and what actually goes wrong.
Hugging Face
GuideAdvancedFree
Fine-tuning LLMs
Adapt open models to your data and task with LoRA, QLoRA, instruction tuning, and preference optimization.
Hugging Face LLM Course
Free course on the Transformers ecosystem, from tokenizers and fine-tuning to building and sharing reasoning models.
Hugging Face
CourseBeginnerFreeFine-tuning LLMs Guide
A beginner-friendly walkthrough of LoRA and QLoRA fine-tuning with free Colab notebooks that run on a single GPU.
Unsloth
GuideBeginnerFreeHow to fine-tune open LLMs in 2025
Practical, code-heavy tutorial using TRL, QLoRA, and Flash Attention, with advice on when fine-tuning is worth it.
Philipp Schmid
GuideIntermediateFreeThe LLM Course
A hugely popular roadmap and notebook collection covering SFT, DPO, model merging, quantization, and deployment.
Maxime Labonne
GitHub repoIntermediateFreeTRL (Transformer Reinforcement Learning)
The standard library for SFT, DPO, GRPO, and reward modeling. Its docs double as a tour of modern post-training.
Hugging Face
DocsIntermediateFreePEFT (Parameter-Efficient Fine-Tuning)
Docs and task guides for LoRA, prompt tuning, and other methods that fine-tune huge models on modest hardware.
Hugging Face
DocsIntermediateFreeLlamaFactory
Fine-tune 100+ open models through a web UI or CLI with no code, supporting LoRA, QLoRA, DPO, and more.
hiyouga
GitHub repoIntermediateFreeAxolotl
Config-driven fine-tuning framework used by many open-model teams, with multi-GPU and multi-node support.
Axolotl
GitHub repoAdvancedFreeModel optimization and fine-tuning
How to decide between prompting, evals, and fine-tuning, and how to fine-tune hosted OpenAI models.
OpenAI
DocsBeginnerFree
RLHF, Alignment & Reasoning
How raw pretrained models become helpful assistants and reasoners.
Illustrating RLHF
Clear, diagram-driven explainer of reinforcement learning from human feedback and why it matters.
Hugging Face
GuideBeginnerFreeThe RLHF Book
Free online book covering reward models, PPO, DPO, RL for reasoning, and the full post-training stack.
Nathan Lambert
BookAdvancedFreeDeep RL Course
Hands-on reinforcement learning fundamentals, from Q-learning to PPO, which underpin modern LLM post-training.
Hugging Face
CourseIntermediateFree
Building AI Agents
LLMs that plan, use tools, and take actions. Patterns, frameworks, and the protocols that connect them.
Building effective agents
The most cited essay on agent design: start simple, and know when a workflow beats an autonomous agent.
Anthropic
GuideBeginnerFreeHugging Face AI Agents Course
Free, certified course that builds agents with smolagents, LlamaIndex, and LangGraph, ending in a benchmarked final project.
Hugging Face
CourseBeginnerFreeAgentic AI
Andrew Ng's course on the four core agentic patterns: reflection, tool use, planning, and multi-agent collaboration.
DeepLearning.AI
CourseIntermediatePaidA practical guide to building agents
Concise PDF playbook on choosing models, designing tools, writing instructions, orchestration, and guardrails.
OpenAI
GuideBeginnerFreeEffective context engineering for AI agents
How to curate what goes into an agent’s context window across long-running tasks: compaction, memory, and sub-agents.
Anthropic
GuideIntermediateFreeWriting effective tools for agents
Practical advice on designing, evaluating, and iterating on the tools your agents call.
Anthropic
GuideIntermediateFreeIntroduction to LangGraph
Free course on building stateful, controllable agents with graphs, memory, and human-in-the-loop steps.
LangChain Academy
CourseIntermediateFreeAI Agents for Beginners
Lessons with code on agent design patterns, tool use, agentic RAG, planning, and multi-agent systems.
Microsoft
GitHub repoBeginnerFreeModel Context Protocol (MCP)
The open standard for connecting agents to tools and data. Start here to build your own MCP server or client.
Model Context Protocol
DocsIntermediateFreeClaude Agent SDK
Build production agents on the same harness that powers Claude Code, with tools, subagents, and MCP built in.
Anthropic
DocsIntermediateFreeOpenAI Agents SDK
Lightweight Python framework for multi-agent workflows with handoffs, guardrails, and tracing.
OpenAI
DocsIntermediateFreeLLM Powered Autonomous Agents
A foundational survey of agent components (planning, memory, tool use) that still frames how the field thinks.
Lilian Weng
GuideAdvancedFree
RAG & Retrieval
Ground LLMs in your own documents with embeddings, vector search, reranking, and smarter chunking.
Retrieval Augmented Generation (RAG)
Structured course on designing, evaluating, and deploying RAG systems, from retrievers to production monitoring.
DeepLearning.AI
CourseBeginnerPaidRetrieval Augmented Generation series
Readable articles on embeddings, chunking strategies, hybrid search, and rerankers.
Pinecone
GuideBeginnerFreeIntroducing Contextual Retrieval
A simple technique that cuts retrieval failures by up to 67% by adding context to each chunk before embedding.
Anthropic
GuideIntermediateFreeRAG Techniques
Dozens of runnable notebooks on advanced RAG: query rewriting, HyDE, fusion retrieval, graph RAG, and more.
Nir Diamant
GitHub repoIntermediateFreeIntroduction to RAG
Explains the stages of a RAG pipeline (loading, indexing, storing, querying, evaluating) and how to build each one.
LlamaIndex
DocsBeginnerFree
Prompt Engineering
Get dramatically better results from the models you already have.
Prompt engineering overview
Anthropic’s official guide: clear instructions, examples, XML structure, chain of thought, and prompt chaining.
Anthropic
DocsBeginnerFreeInteractive Prompt Engineering Tutorial
Nine hands-on notebook chapters with exercises that teach prompting step by step.
Anthropic
GitHub repoBeginnerFreePrompt engineering guide
OpenAI’s strategies for prompting GPT and reasoning models, with message roles and formatting tips.
OpenAI
DocsBeginnerFreePrompt Engineering Guide
Comprehensive, research-backed reference covering every major prompting technique, with papers and examples.
DAIR.AI
GuideIntermediateFree
AI Engineering, Evals & Production
Ship LLM features that actually work: evaluation, system patterns, and lessons from teams in production.
Your AI Product Needs Evals
The essay that convinced a generation of AI engineers to build evaluation systems first.
Hamel Husain
GuideIntermediateFreeWhat We Learned from a Year of Building with LLMs
Tactical, operational, and strategic lessons from six practitioners who shipped LLM products.
Applied LLMs
GuideIntermediateFreePatterns for Building LLM-based Systems & Products
Seven key patterns (evals, RAG, fine-tuning, caching, guardrails, defensive UX, feedback) explained in depth.
Eugene Yan
GuideIntermediateFreeAI Engineering (book resources)
Companion repo to the bestselling O’Reilly book on building applications with foundation models. The book itself is paid.
Chip Huyen
GitHub repoIntermediateFree5-Day Gen AI Intensive
Self-paced version of Google’s popular intensive: whitepapers, codelabs, and livestreams on LLMs, agents, and MLOps.
Google & Kaggle
CourseBeginnerFreeClaude Cookbooks
Copy-ready notebooks for tool use, RAG, multimodal, sub-agents, and evaluation patterns.
Anthropic
GitHub repoIntermediateFreeOpenAI Cookbook
A large library of worked examples for common tasks, from embeddings and evals to agents and realtime voice.
OpenAI
GuideIntermediateFree
Running & Serving Models
Run open models on your laptop, or serve them fast and cheap in production.
Ollama
The easiest way to download and run open models locally, with a one-line install and an OpenAI-compatible API.
Ollama
DocsBeginnerFreellama.cpp
The engine behind most local LLM tools. Efficient CPU and GPU inference with GGUF quantized models.
ggml.org
GitHub repoIntermediateFreevLLM
High-throughput serving engine with PagedAttention and continuous batching, the go-to for self-hosting at scale.
vLLM
DocsAdvancedFreeLLM inference optimization
Practical guide to KV caching, static caches, speculative decoding, quantization, and attention optimizations.
Hugging Face
DocsAdvancedFree
Image & Diffusion Models
How image and video generators work, and how to build with them.
Diffusion Models Course
Free course on the theory and practice of diffusion models, from training your own to fine-tuning and guiding Stable Diffusion.
Hugging Face
CourseIntermediateFreeThe Illustrated Stable Diffusion
Visual explanation of how text-to-image diffusion works: the text encoder, the denoising loop, and latent space.
Jay Alammar
GuideBeginnerFreeFrom Deep Learning Foundations to Stable Diffusion
Part 2 of fast.ai: implement Stable Diffusion and the deep learning stack beneath it from the ground up.
fast.ai
CourseAdvancedFreeDiffusers
The standard library for running and fine-tuning image, video, and audio diffusion models, with task tutorials.
Hugging Face
DocsIntermediateFree
Know a great resource we missed? Tell us.