Evaluation, observability and safety

The difference between a demo and a product: measure quality continuously, see inside every run, and design for the day someone attacks it.

LLM systems fail quietly: the output is fluent and wrong. You will build evaluation sets and regression gates, use LLM judges without fooling yourself, evaluate agents on trajectories, trace every run, and defend against prompt injection and data leakage with layered controls and a governance routine.

By the end: You can put an eval gate in CI, debug any production run from its trace, and describe the threat model of your system with mitigations that do not depend on the model behaving.

6 topics · about 33 hours

Stage progress0 / 6

This is the stage that separates people who can build a prototype from people who can be trusted to run a system. Do not skip it, and do it before you are in production.

  1. 01

    Eval-driven development

    6 h

  2. 02

    LLM-as-judge without fooling yourself

    5 h

  3. 03

    Evaluating agents: trajectories, pass^k and cost

    5 h

  4. 04

    Observability: tracing LLM and agent runs

    5 h

  5. 05

    Guardrails and prompt injection

    7 h

  6. 06

    Red-teaming, threat modelling and governance

    5 h

Build this to prove it

Harden and instrument one of your earlier projects

Take your RAG or agent capstone. Add a golden evaluation set with a CI gate, OpenTelemetry tracing with token and cost attributes, a layered guardrail gateway, and a red-team test suite of at least 30 attacks. Write the threat model and a one-page risk register.

  • Eval suite with confidence intervals and a CI job that blocks regressions
  • Traces for every run, searchable by run id, with tokens, cost and latency
  • Guardrail layer with tests for injection, PII leakage and tool abuse
  • Threat model, risk register and a short incident-response note