AI across the DevOps familyBuilding with AI in operations: context, retrieval, evaluation, security, serving, cost and observability
10 lessons · about 186 minutes of reading · Helmsman Pro
This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.
Sign in and start
In short
Hands-on AI engineering for DevOps, SRE and platform teams: context engineering and AGENTS.md, retrieval over runbooks, golden-set evaluation, the OWASP LLM Top 10, serving models on GPUs with batching and quantisation, AI cost control, AI in incidents and CI/CD, observability with OpenTelemetry's gen_ai conventions, and a capstone agent with guardrails.
Before you start: Courses c40 and c41, and comfort with Kubernetes and Python.
What you'll learn
- Goal, constraints, example and output format in every request
- AGENTS.md: build, test and lint commands, conventions and no-go actions
- Check reasoning, run the tests, read every diff
- No secrets or regulated data in unapproved tools; keep prompts as templates
- Chunk, embed, index; retrieve the closest chunks, answer from them with citations
- Clean, current documents matter more than the model
- Hybrid search for exact terms; metadata filters; re-index on change
- Permissions enforced at retrieval time; 'I don't know' is a valid answer
- A golden set of real cases kept in the repository
- Automatic checks where answers are checkable; rubrics where not
- Validate a model judge against human scores
- Every failure becomes a test; gate releases on critical cases
Lessons
1. Context engineering: prompts, AGENTS.md and instructions that hold up
Get reliable work from AI assistants by giving them the right context: clear task framing, examples, constraints and output formats, repository instructions in AGENTS.md, and the habit of checking what comes back.
Sign in to open the lesson
2. Retrieval for operations: an assistant grounded in your runbooks
Build an assistant that answers from your own runbooks, postmortems and documentation instead of guessing: chunking and embeddings, vector search, citations, freshness and access control.
Sign in to open the lesson
3. Evaluating AI output: golden sets, regression tests and human review
Know whether an AI feature works before users find out: build a golden set of real cases, score answers automatically where you can, use rubric-based review where you can't, and run evaluations on every prompt or model change.
Sign in to open the lesson
4. LLM application security: the OWASP Top 10 for LLMs in practice
Defend AI features against the attacks that matter: prompt injection direct and indirect, sensitive data disclosure, improper output handling, excessive agency, system prompt leakage, poisoned retrieval and unbounded consumption.
Sign in to open the lesson
5. Serving models at scale: GPUs, batching, quantisation and autoscaling
Run inference the way platform teams do: GPU scheduling on Kubernetes, inference servers such as vLLM with continuous batching, quantisation to fit models on cheaper hardware, and autoscaling on the signals that matter.
Sign in to open the lesson
6. AI FinOps: tokens, caching, model choice and budgets
Keep AI spend predictable: what drives cost per request, prompt caching and response caching, routing easy work to small models, batching offline jobs, and the budgets, tags and alerts that stop surprises.
Sign in to open the lesson
7. AI in incident response: triage, timelines and postmortems with humans in charge
Use AI where it speeds incidents up without taking control: summarising alerts and logs, suggesting likely causes from past incidents, keeping the timeline, drafting status updates and postmortems, with people making every decision.
Sign in to open the lesson
8. AI in CI/CD: review bots, test generation and policy gates
Put AI to work in the delivery pipeline without lowering the bar: assistants that review pull requests and explain changes, generated tests that humans keep, and the gates that make sure AI-written code meets the same standards as everyone's.
Sign in to open the lesson
9. Observability for AI applications: tracing, quality and cost signals
Operate AI features like any other service: trace every model and tool call with OpenTelemetry's generative-AI conventions, track latency, errors, tokens and cost, and add quality signals so you notice when answers get worse.
Sign in to open the lesson
10. Capstone: an operations agent with guardrails, evaluations and observability
Bring the course together: design, build and operate a small agent that helps on-call engineers, grounded in runbooks, limited in what it may do, tested with evaluations and red-team cases, and observable in production.
Sign in to open the lesson
Common questions
Do longer prompts always work better?
No. Relevant, specific context helps; padding and contradictions hurt. Keep what matters for this task.
Do I need a dedicated vector database?
Not at first. pgvector in an existing Postgres handles millions of chunks; move to a dedicated service only for scale or features you need.
How many cases do I need?
Start with 30 to 100 real ones; add every failure you find. Coverage of real situations matters more than the count.
Are guardrail products enough?
They help detect some attacks, but treat them as one layer; least privilege and output handling do the heavy lifting.
Do I need Kubernetes to serve models?
No. A single VM with an inference server is fine to start. Kubernetes helps once you run several models, share GPUs or need autoscaling.
Is self-hosting always cheaper at scale?
Not always: GPUs, idle time and engineering effort count. Compare cost per million tokens at your real utilisation.
Will this replace on-call engineers?
No. It removes searching and note-taking so engineers spend their time on decisions.
Should AI-assisted pull requests be labelled?
If your organisation or customers require it, yes; it also helps you measure AI's effect on quality.