AI Engineering: From Software to AI Systems

Engineer LLM systems with the same rigour you already bring to production software.Work across the whole LLM stack, from retrieval and agents to evaluation, security and production cost, with the judgement to choose the right architecture and defend it.

✦RAG and hybrid search: Learn to chunk and embed a corpus with contextual retrieval, fuse BM25 and dense search with reciprocal rank fusion, and rerank the results with a cross-encoder.
✦MCP and agent tool design: Learn to write tool schemas a model can actually use, expose your corpus as an MCP server, and keep long agent runs on track with compaction.
✦LLM evals and LLM-as-judge: Learn to build a golden set from production traces, calibrate an LLM judge against human labels with Cohen's kappa, and gate every merge on a regression suite in CI.
✦Prompt injection and red-teaming: Learn to check a system for the lethal trifecta, layer guardrails knowing where they stop, and measure attack success rate with a versioned red-team suite.
  1. Module 1: From API Call to AI System
    Budget tokens, enforce structured output as a contract, and treat prompts as versioned code. Requires Python 3.10+; runs offline, or on your own OpenAI or Anthropic key.
  2. Module 2: Context Engineering & Retrieval
    Chunk and embed your own data, combine and rerank retrieval results, and tell apart three failures that look the same from outside.
  3. Module 3: Agents, Tools & MCP
    Design tools the way you design an API, connect them through MCP, and decide when an agent loop is the wrong choice.
  4. Module 4: Evaluation — Making Probabilistic Systems Testable
    Build a golden set, calibrate an LLM judge, and run regression suites in CI that catch quality drift.
  5. Module 5: Security, Guardrails & Blast Radius
    Limit what a fooled model can reach, layer guardrails knowing where they stop, and test your system with adversarial attacks.
  6. Module 6: Production — Observability, Cost & Model Routing
    Trace a live system, route between models to keep cost and latency in check, and ship the finished repository as your capstone.