AI Engineering Academy

From neural networks to production LLM, RAG, MCP and agent systems – step by step, with working code.

Code tested with Python 3.13 Β· PyTorch 2.15 Β· NumPy 2.5 Β· scikit-learn 1.9 (CPU)

0 / 5 chapters completed
5 of 16 chapters published – further chapters are in preparation.
Your progress is stored in this browser.

Learning roadmap

  1. Chapter 1 Not started

    AI, Machine Learning and Generative AI Fundamentals

    Beginner 2–3 h Β· 1 labs
    • Distinguish AI, machine learning, deep learning and generative AI precisely
    • Explain supervised, unsupervised, self-supervised and reinforcement learning
  2. Chapter 2 Not started

    Mathematics and Python for AI

    Beginner 3–4 h Β· 2 labs
    • Work with vectors, matrices and tensor shapes in NumPy
    • Understand derivatives, gradients and the chain rule as used in training
    Prerequisites: Chapter 1
  3. Chapter 3 Not started

    Neural Networks and Deep Learning

    Intermediate 3–4 h Β· 1 labs
    • Explain neurons, layers, activations and why depth helps
    • Understand backpropagation and automatic differentiation
    Prerequisites: Chapter 2
  4. Chapter 4 Not started

    Transformer Architecture and Attention

    Intermediate 4–5 h Β· 2 labs
    • Explain tokens, embeddings and positional information
    • Derive scaled dot-product attention and causal masking
    Prerequisites: Chapter 3
  5. Chapter 5 Not started

    Building and Training a Small GPT from Scratch

    Advanced 5–6 h Β· 1 labs
    • Build a character-level tokenizer and data pipeline
    • Assemble embeddings, transformer blocks and a language-model head
    Prerequisites: Chapter 4
  6. Chapter 6 In preparation

    Fine-Tuning with LoRA and QLoRA

    Advanced 4–5 h Β· 1 labs
    • Explain full fine-tuning versus parameter-efficient fine-tuning
    • Understand low-rank adaptation and 4-bit quantised base models
    Prerequisites: Chapter 5
    Outline only – content in preparation.
  7. Chapter 7 In preparation

    Running Local LLMs with Ollama, llama.cpp and vLLM

    Intermediate 3 h Β· 1 labs
    • Choose between Ollama, llama.cpp and vLLM for a use case
    • Understand quantisation formats, context length and memory needs
    Prerequisites: Chapter 4
    Outline only – content in preparation.
  8. Chapter 8 In preparation

    Prompt Engineering and Structured Output

    Intermediate 3 h Β· 1 labs
    • Design system prompts, few-shot examples and output schemas
    • Validate JSON output and handle refusals and truncation
    Prerequisites: Chapter 7
    Outline only – content in preparation.
  9. Chapter 9 In preparation

    Embeddings and Vector Databases

    Intermediate 3–4 h Β· 1 labs
    • Explain embedding models and similarity measures
    • Compare exact and approximate nearest-neighbour search (HNSW)
    Prerequisites: Chapter 8
    Outline only – content in preparation.
  10. Chapter 10 In preparation

    Retrieval-Augmented Generation (RAG)

    Intermediate 4–5 h Β· 1 labs
    • Design ingestion, chunking, retrieval and generation
    • Add citations, re-ranking and evaluation
    Prerequisites: Chapter 9
    Outline only – content in preparation.
  11. Chapter 11 In preparation

    Model Context Protocol (MCP)

    Intermediate 4 h Β· 2 labs
    • Explain hosts, clients, servers, transports and primitives
    • Implement an MCP server with tools and resources
    Prerequisites: Chapter 10
    Outline only – content in preparation.
  12. Chapter 12 In preparation

    AI Agents and Tool Orchestration

    Advanced 4–5 h Β· 1 labs
    • Design the plan–act–observe loop and its stopping rules
    • Restrict tools with permissions, budgets and human approval
    Prerequisites: Chapter 11
    Outline only – content in preparation.
  13. Chapter 13 In preparation

    AI Application Development with Spring AI and Python

    Intermediate 4–5 h Β· 1 labs
    • Build chat, RAG and tool calling with Spring AI
    • Compare the Java and Python ecosystems for AI backends
    Prerequisites: Chapter 10
    Outline only – content in preparation.
  14. Chapter 14 In preparation

    AI Infrastructure, GPUs, Docker and Kubernetes

    Advanced 4–5 h Β· 1 labs
    • Size GPU memory for inference and fine-tuning
    • Containerise inference servers and schedule GPUs on Kubernetes
    Prerequisites: Chapter 7
    Outline only – content in preparation.
  15. Chapter 15 In preparation

    AI Security and Responsible Deployment

    Advanced 3–4 h Β· 1 labs
    • Defend against prompt injection, data exfiltration and tool abuse
    • Secure the AI supply chain: models, datasets and dependencies
    Prerequisites: Chapter 12
    Outline only – content in preparation.
  16. Chapter 16 In preparation

    LLMOps, Evaluation, Monitoring and Production Deployment

    Advanced 4 h Β· 1 labs
    • Build evaluation suites and release gates
    • Monitor quality, latency, cost and safety in production
    Prerequisites: Chapter 13, Chapter 14
    Outline only – content in preparation.

Capstone project: Build Your Own Production-Ready AI Platform

In preparation

The final project brings every chapter together: an authenticated web chat on a local or hosted LLM, with RAG over your documents, an MCP client and server, controlled tool calling, a vector database, evaluation and monitoring – deployed with Docker and optionally on Kubernetes.

  • Web-based chat interface
  • Authenticated backend
  • Local or hosted LLM
  • RAG document retrieval
  • MCP client and server
  • Controlled tool calling
  • Vector database
  • Monitoring and evaluation
  • Docker deployment
  • Kubernetes deployment option
flowchart LR
  U[Browser chat UI] -->|session / token| API[Authenticated backend]
  API --> ORCH[Orchestrator - prompts, tool policy]
  ORCH --> LLM[LLM - local or hosted]
  ORCH --> RET[Retriever]
  RET --> VDB[(Vector database)]
  ING[Ingestion - chunking, embeddings] --> VDB
  ORCH -->|MCP client| MCPS[MCP server - approved tools]
  MCPS --> SYS[(Internal systems)]
  API --> OBS[Monitoring and evaluation]
  ORCH --> OBS

All course content can be read without an account. AI-supported practice (dictation, rapid typing, quizzes, explanations) requires a login.