internalsGet Pro

AI Engineering · Module 11

Observability and operations

Lessons
9
Free
0
Reading
~3 h

Your progress

0 / 9 lessons done

Sign in to track

Lessons

  1. Deploying an AI service: containers and the cloudA model call that works on your laptop meets restarts, deploys, load balancers and autoscalers in production. Each one has defaults chosen for 100 ms web requests, and a 10-second model call breaks them in quiet ways: drafts lost in a deploy, streams cut at 60 seconds, workers that never scale.18 min
  2. Tracing LLM calls: seeing every stepAn LLM feature is a chain of searches, model calls and checks, and when a user says an answer was strange you need to see that exact chain. Tracing gives you that record without turning your tracing tool into a second copy of every customer’s data.17 min
  3. Monitoring quality in productionAn AI feature can get worse while every server is healthy, because the model’s inputs changed and nothing broke. Engineers who run these features in production have to measure the quality of the outputs themselves, or a customer finds the problem for them.17 min
  4. Prompt and model versioning in productionWhen a customer complains about one AI reply, the first question is what produced it. If prompts, models and settings change in different places with no shared id, nobody can answer, and a bad edit reaches every customer at once.18 min
  5. AI user experience: waiting, uncertainty and correctionsA good model behind a confusing screen gets ignored, and a weak model behind a confident screen gets trusted too much. Most of what people feel about an AI feature comes from the screen: how it waits, how it shows doubt and how it takes a correction.17 min
  6. User feedback loops: learning from real usageEvery AI feature that people correct is producing free labels about where it fails. Teams that capture and count those corrections fix the right things; teams that don’t keep guessing from a few complaints.17 min
  7. Model upgrades: switching without regressionsEvery model your product calls will be replaced and later retired. Changing the model id is one line; finding out what else changed, before your users do, is the work.18 min
  8. Incident response for AI featuresAn AI feature can go wrong for hundreds of customers while every server stays healthy. The team that has a switch, a query and a runbook ready stops it in minutes; the team that doesn’t learns about it from its customers.19 min
  9. Lab: adding tracing to an agentAn agent that misbehaves in production leaves you with one question: what did this run actually do? A trace answers it step by step, and adding one to a hand-written loop takes about 40 lines once you know where each span starts and what it may hold.20 min

Practise with

No tools or paper guides for this module yet.

Terms this module teaches 33

Open glossary

Binomial floor

The smallest spread a rate measured over n outputs can have from chance alone: √(p × (1 − p) ÷ n). Small slices can’t be steadier than this, whatever their history shows.