
Everyone uses ChatGPT, Claude and Gemini. Very few people understand what is actually happening inside them.
This course changes that. It is Part 1 of the AI Agents series, and it gives you the foundation every AI builder needs: how large language models work, how they are trained, how to prompt them well, how to control their output, how to call them from code, and where they fail.
There is no heavy maths and no hype. Every lesson is short (5 to 11 minutes), focused on one idea, and paired with a written reference, a quiz and a hands-on exercise.
What you will learn
Where LLMs sit in the AI landscape and how we got from N-grams to transformers
How a language model predicts the next token, and why that simple objective is so powerful
Tokens, embeddings, attention and the transformer architecture, explained visually
Pre-training, fine-tuning, RLHF, and what "parameters" and "scale" really mean
Prompt engineering that still matters in 2026: few-shot, chain-of-thought, meta prompting, pre-flight prompting, prompt chaining, system prompts, and prompts as tested, versioned code
Prompt injection and how to defend against it
Model settings: temperature, top-p, top-k, max tokens, stop sequences and reasoning effort
Context windows, memory and token budgets
Open vs. closed models, the major providers today, and the open-model ecosystem
Your first API call, multi-turn conversations, streaming and error handling in Python, ending with your own terminal chat app
Hallucinations, bias and responsible AI, with a practical builder's checklist
Why a standalone LLM is not enough, and the building blocks of AI agents
Up to date for 2026. The course covers today's model lineups (Claude Opus 5.5 and Fable 5.2, GPT-6, Gemini 4, Qwen, Llama and more) and today's practices: reasoning effort, evals, prompt caching, context engineering, the Responses API and MCP.
Hands-on throughout. You will run models locally with Ollama and call frontier models through the Claude API, so you learn by doing, not just watching.
By the end you will understand LLMs well enough to use them with confidence, explain them to others.