learn generative AI

Learn Generative AI

The complete path from Python foundations to a deployed AI product — 55 topics across 9 phases. Read them in order, or jump to whatever you need next.

9Phases
55Topics
44Core concepts
~24Weeks, full path

Phase 01 · 2-4 weeks

Absolute foundations

Before AI: the small set of general skills every single AI task sits on top of. Skip these and every later phase feels like magic instead of engineering.

Goal you can write a Python script that calls a public web API, reads the JSON reply, and handles an error - and push it to GitHub.

Phase 02 · 2-3 weeks

How LLMs actually work

You don't need the math, but you need the mental model. Engineers who understand what's really happening inside the model debug in minutes what others fight for days.

Goal you can explain to a friend why the same prompt gives different answers, why the model 'forgets' long conversations, and what a token costs.

Phase 03 · 2-3 weeks

Talking to models: the API layer

Where AI engineering actually begins: calling models from code, controlling their output shape, and surviving the real world of streams, errors and rate limits.

Goal you've built a working terminal chatbot with streaming, memory, one tool it can call, and graceful error handling.

Phase 04 · 1-2 weeks

Prompt engineering

Writing instructions that reliably steer the model. Cheaper than fine-tuning, faster than switching models - always the first lever to pull when quality disappoints.

Goal you can take a flaky prompt and make it reliable, and explain *why* each change helped using few-shot, CoT, and structural techniques.

Phase 05 · 2 weeks

Embeddings & vector search

How machines compare meaning. This is the machinery under semantic search, recommendations, deduplication - and the entire retrieval half of RAG.

Goal you've built a working semantic search over 100+ documents and can explain why 'cheap flights' matches 'affordable airfare' with zero shared words.

Phase 06 · 2-3 weeks

RAG - retrieval-augmented generation

The most-deployed LLM architecture in industry: let the model look facts up in *your* data before answering, with citations. Search plus generation, engineered properly.

Goal you've shipped a chatbot over your own documents that answers with citations, says "I don't know" when it should, and scores >80% on your eval set.

Phase 07 · 3-4 weeks

AI agents

Models that do more than answer: they plan, call tools, observe results, and loop until the job is finished.

Goal you can build a small agent from scratch with two or three tools and explain every turn of the loop.

Phase 08 · 3-4 weeks

LangChain & LangGraph agentic systems

The practical vocabulary and building blocks used in LangChain and LangGraph projects: chains, runnables, parsers, loaders, retrievers, state graphs, checkpoints, multi-agent routing, and tracing.

Goal you can build a LangChain RAG agent, move it into a LangGraph workflow, trace it in LangSmith, and explain every term in the agentic glossary.

01 LangChain core: messages, prompts and chains LangChain is a framework for composing LLM apps from Chat Model calls, Prompt Template objects, messages, parsers, tools and retrievers. Core Deep dive 02 Output parsers and structured responses An Output Parser turns model text into the shape your app expects: plain strings, JSON Output, validated objects or Structured Output. Core 03 Documents, loaders and text splitters A Document is text plus Metadata, usually created by a Document Loader and broken into Chunk objects by a Text Splitter. Core 04 Retrievers and RAG chains A Retriever turns a query into relevant Source Documents using embeddings, vector search and ranking strategies. Core 05 Agent executor, ReAct and toolkits An Agent Executor runs an Agent loop: Reasoning chooses an Action, a Tool runs, an Observation returns, and Decision Making selects the next step. Core 06 LangGraph state, nodes, edges and checkpoints LangGraph is a framework for stateful AI workflows built from Node functions connected by Edge rules over shared State. Core 07 Agentic AI goals, tasks and context Agentic AI is AI that works toward a Goal by breaking it into Tasks, choosing Actions, reading Observations and updating State inside an Environment. Core 08 Reflection and advanced reasoning patterns Advanced agents improve answers by using Reflection, Self-Correction, Self-Verification and structured reasoning patterns. 09 Agent memory types and updates Agent memory includes Working Memory for the current reasoning step, Short-Term Memory for the current task and Long-Term Memory across sessions. 10 Agent design patterns Agent design patterns describe how agents are arranged: Single-Agent Pattern, Multi-Agent Pattern, Planner-Executor Pattern, Supervisor Pattern, Router Pattern, Swarm Pattern, Hierarchical Agents and Blackboard Pattern. 11 Multi-agent routing and ops Multi-Agent systems coordinate specialized agents through a Router, Supervisor Agent, Worker Agent roles, fallback paths, guardrails and tracing. Core

Phase 09 · 3-4 weeks

Production AI engineering

The engineering layer that makes AI systems reliable, affordable, observable, secure, and deployable for real users.

Goal you have deployed a small AI product with streaming, tracing, evals, cost controls, and a clear security posture.