AI & Generative AI for Developers
From what a language model is through to shipping a retrieval-based assistant: prompting, structured output, tools, RAG, agents, evaluation and cost.
Prerequisites
- Ability to program in at least one language
- Basic understanding of HTTP APIs
About this course
This course takes AI from vocabulary to working software. It starts with plain explanations of machine learning, language models, tokens and embeddings, because a great deal of confusion about AI behaviour dissolves once those are clear.
It then moves to building. You will call a model from code, get reliably structured output, let a model use tools, and connect a model to your own documents through retrieval. The emphasis throughout is on treating model output as untrusted input that needs validating.
Evaluation, guardrails, prompt injection and cost control are treated as core engineering topics rather than optional extras, because a feature that is impressive in a demo and unreliable in production has not been finished.
Course roadmap
All 22 lessons are written and available.
- 01What Is AI, Really?Distinguish AI, machine learning, deep learning and generative AI, and set accurate expectations.13 min
- 02Machine LearningExplain learning from data versus writing explicit rules.14 min
- 03Generative AIDescribe what generative models produce and how that differs from classification.12 min
- 04Large Language ModelsExplain in plain terms what an LLM does when it responds.15 min
- 05Tokens and Context WindowsExplain how tokens and context limits drive cost and behaviour.15 min
- 06EmbeddingsDescribe how text becomes vectors and why that enables meaning-based search.14 min
Module 02
Prompting and Structured Output
Get results you can rely on in code, not just results that read well.
- 01Prompt EngineeringWrite prompts that give consistent, usable results.17 min
- 02Structured OutputGet schema-conforming output you can validate instead of parsing prose.16 min
- 03Tool and Function CallingLet a model invoke your functions, validating everything it returns.19 min
- 04Your First Model IntegrationCall a model API from code and handle errors, latency and cost.18 min
- 01Why RetrievalExplain why supplying context beats expecting a model to know your data.14 min
- 02Vector DatabasesStore embeddings and query them by similarity.16 min
- 03Building a RAG PipelineAssemble retrieval and generation into a working question-answering flow.20 min
- 04Chunking and Retrieval QualitySplit documents so retrieved context is actually relevant.17 min
Module 04
Agents and Workflows
Multi-step behaviour, and an honest look at when a simple chain is better.
Module 05
Evaluation, Safety and Cost
What turns a convincing demo into something you can actually operate.
- 01Evaluating Output QualityMeasure whether an AI feature is good enough to ship, and keep measuring.19 min
- 02GuardrailsConstrain behaviour and handle unacceptable output safely.18 min
- 03AI Security and Prompt InjectionDefend against untrusted content reaching a model with your privileges.20 min
- 04Cost and LatencyControl token spend and keep responses fast enough to use.17 min
- 05Using AI Tools as a DeveloperUse AI assistants to learn faster while verifying everything you accept.16 min
Projects for this course
AI Knowledge Assistant
The flagship AI project: a full assistant with retrieval, tool use, conversation, guardrails, evaluation and cost tracking.
Document Question Answering
Your first retrieval project: ask questions about a set of documents and get answers grounded in them, with citations.
On completion
What you should take away
- A language model predicts text; it does not look up facts, which explains most of its failure modes
- Structured output plus validation is what makes model responses safe to use in code
- Retrieval is how a model answers questions about your data without retraining
- Agents add capability and unpredictability together, so scope them deliberately
- Evaluation, guardrails and cost tracking are part of shipping, not follow-up work
Recommended next course
Software Architecture
Structure systems deliberately: layering, SOLID, clean architecture, patterns, and honest guidance on when each is the wrong choice.
Continue to ArchitectureHave a project worth talking through?
Tell us what you're building or what's slowing your current system down. We'll give you a direct read on scope and approach.