Open-Weight LLMs & Agentic AI
A four-day, hands-on workshop. You will run Qwen models on your own hardware, give them tools and your own documents, build an agent, measure whether it works, and ship something you actually use.
Start with Day 1 Browse the notebooks Get the code
All 20 notebooks are readable on this site and open in Google Colab with one click — no GitHub account, no install, no GPU to get started.
New to the vocabulary? The glossary opens with an everyday analogy for every term — a router is a receptionist, an orchestrator is a wedding planner, overfitting is memorising past exam papers.
What you will be able to do
By the end of four days, without an API key and without an internet connection:
- Explain what a language model computes, and why it behaves the way it does.
- Download and run open-weight models on your own laptop, GPU or Colab.
- Choose the right model size, quantization and runtime for given hardware.
- Get structured, validated output that your program can rely on.
- Give the model tools it can call, safely.
- Build retrieval over your own notes, with citations and refusals.
- Write an agent loop from scratch and debug it when it misbehaves.
- Fine-tune a model with LoRA — and know when not to.
- Measure all of the above instead of guessing.
Prerequisites
You need comfortable Python (functions, classes, dicts, list comprehensions) and the ability to use a terminal. You do not need machine-learning background, a GPU, or any paid service.
| You have | You can do |
|---|---|
| Any laptop, 8 GB RAM | Everything, using Qwen3-0.6B / 1.7B |
| 16 GB RAM or Apple Silicon | Everything, comfortably, with Qwen3-4B |
| An NVIDIA GPU | Everything, plus fine-tuning and vLLM |
| None of the above | Everything, in free Google Colab |
The four days
| Day | Theme | Notebooks | You end the day able to |
|---|---|---|---|
| 1 | Foundations & first run | 01–04 | Run a model locally and control its output |
| 2 | Making it practical | 05–07 | Serve it over an API and get trustworthy JSON |
| 3 | Knowledge & agents | 08–10 | Build RAG over your notes and an agent with tools |
| 4 | Adapt & ship | 11–12 | Fine-tune, evaluate, and present a capstone |
Set up in five minutes
git clone https://github.com/berdakh/ROBT407LLM.git
cd ROBT407LLM
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python scripts/check_env.py
Then open notebooks/01_llm_foundations.ipynb.
No install at all? Every notebook has an Open in Colab badge — see Run in Colab.
Full instructions, including Colab and Windows: Setup.
Background reading: the handbook
The notebooks teach you to build. The handbook explains what you are building on — and it stands alone, with no code to run.
| Chapter | |
|---|---|
| 1 | How we got here — why each piece was invented |
| 2 | How models work — tokens, attention, context |
| 3 | How LLMs are trained — every phase, from raw data to your fine-tune |
| 4 | The model landscape — base vs instruct, foundation vs frontier |
| 5 | The tool ecosystem — every tool, and the problem it solves |
| 6 | Protocols and standards — the OpenAI API, tool calling, MCP |
Deep-dive guides
The notebooks are hands-on; these are the reference material behind them.
- Open-weight models — what “open weights” really means, licences, formats, where to get them, how to choose.
- The Qwen family — which model for which job.
- Agentic AI — the long version: loops, planning, memory, multi-agent, MCP, evaluation, and how agents fail.
- Privacy and safety — running on your own data responsibly.
- Deployment — from notebook to service.
- Troubleshooting — when it breaks.
- Cheat sheet — the commands and snippets you will actually reuse.
- Glossary — every term, defined plainly.
A note on honesty
Small open-weight models are not as capable as the largest hosted models. This workshop does not pretend otherwise. What it teaches is how to close much of that gap with retrieval, tools, structure and evaluation — and how to know, with evidence, when you have not closed it.