AI agents and MLOps
Automate operations with AI safely: agents that call tools under tight permissions, AI in pipelines, and the ML lifecycle.
Work through the sections in order. Each how-to page has the steps and commands; open it in its guide to tick off steps and save your progress on this device.
1. Automation and AI
Remove toil: scheduled housekeeping, alerts that open tickets, ChatOps, runbooks, and AI used safely. (DevOps guide)
- Choose what to automate first15 minutes, Look only
- Schedule housekeeping with GitHub Actions20 minutes, Free
- Turn alerts into tickets automatically25 minutes, Free
- Run approved commands from comments (ChatOps)25 minutes, Free
- Fix known problems with runbooks30 minutes, Free tier
- Use AI in pipelines safely20 minutes, Free
2. AI agents in depth
How AI agents work and how to run them safely: the agent loop, tool descriptions, MCP servers, approvals, prompt injection, retrieval from runbooks, evaluations, traces, budgets, a pull request reviewer and a real model. Free practice mode: a stand-in model on your own computer, so you learn the whole loop at no cost. (DevOps guide)
- Run an agent loop with a practice model30 minutes, Free
- Describe and check tools so the agent uses them well25 minutes, Free
- Serve your tools from an MCP server30 minutes, Free
- Add approvals and limits to an agent25 minutes, Free
- Defend an agent against prompt injection25 minutes, Free
- Answer from runbooks with retrieval25 minutes, Free
- Test an agent with an evaluation set30 minutes, Free
- Trace every step an agent takes20 minutes, Free
- Put a budget on an agent20 minutes, Free
- Add a practice AI reviewer to pull requests30 minutes, Free
- Run the agent against a real model40 minutes, Free
- Final project: an on-call helper agent1 to 2 hours, Free
3. MLOps in depth
Running machine learning like software: a repeatable training run, experiment tracking, data versions, quality gates, a model registry with champion and challenger, batch and online serving, drift checks, retraining, a pipeline in CI and the same ideas on Azure Machine Learning. Free on your own computer with Python and MLflow. (DevOps guide)
- Train, test and save a first model30 minutes, Free
- Track experiments with MLflow30 minutes, Free
- Know which data trained which model20 minutes, Free
- Stop weak models with a quality gate15 minutes, Free
- Register models and promote with aliases30 minutes, Free
- Score a file of records in a batch15 minutes, Free
- Serve a model as a web endpoint20 minutes, Free
- Spot drift in the data a model sees20 minutes, Free
- Retrain and promote only when it's better20 minutes, Free
- Train and gate a model in a pipeline30 minutes, Free
- Run the same training on Azure Machine Learning45 minutes, Costs money
- Final project: a pipeline from data to scored orders45 minutes, Free
Also in this topic
Explained
How things work, including services that cost too much to practise on a free account.
- Automation in DevOps: beyond CI/CDWhere automation pays off after the pipeline: infrastructure, operations, security, and AI with a person in charge.
- AI in DevOps: help, not autopilotWhat AI is good at in a DevOps team, where it goes wrong, and the guard rails that keep it safe.
- AI agents for Kubernetes: how they work, how to keep them safeWhat a troubleshooting agent actually does, the tools it needs, and the guard rails that stop it becoming the incident.
- AI agents roadmap: what to learn, in what orderThe skills behind safe, useful AI agents for operations work, from the first loop to a reviewed on-call helper, and where each is covered.
- Tool calling: how a model uses your functionsWhat the model actually sees, what it sends back, and why the descriptions you write decide what it does.
- MCP explained: the Model Context ProtocolWhat MCP servers and clients are, how they talk, and what to check before connecting one to your AI tools.
- Guardrails and approvals for AI agentsHow to let an agent help without letting it do harm: read and write tools, approvals, limits and least privilege.
- Prompt injection explainedHow text inside logs, pages and tickets can take over an AI agent, and the design choices that limit the damage.
- Retrieval (RAG) for runbooksHow an agent can answer from your own documents and say where the answer came from.
- Evaluating an AI agentHow to test something that answers differently each time: evaluation sets, behaviour checks and pass rates.
- Controlling the cost of AI agentsWhere agent costs come from and the simple controls that keep them predictable.
- Observability for AI agentsWhat to record about every agent run, and how to spot runs that need a person.
- AI agents in CI/CD pipelinesWhere AI helps in pipelines (reviews, summaries, failure explanations) and the rules that keep it safe.
- MLOps roadmap: what to learn, in what orderThe skills behind running machine learning models like reliable software, from a first trained model to a pipeline that retrains and promotes safely.
- The machine learning lifecycleThe steps every model goes through, from a business question to a model in use and back again.
- Versioning data and modelsWhy a model's version is code plus data plus settings, and simple ways to record all three.
- Training pipelines and quality gatesTurning training into small, repeatable stages that stop as soon as something is wrong.
- Model registry: versions, aliases and promotionHow a registry lets apps ask for 'the current model' while you decide, with evidence, which version that is.
- Serving models: batch and onlineThe two ways to put a model to work, and how to choose between them.
- Monitoring models and driftWhy models get worse without anyone touching them, and how to notice before your users do.
- Azure Machine Learning conceptsWhere each MLOps piece lives in Azure: workspace, compute, jobs, registry and endpoints.