AI agents roadmap: what to learn, in what order

ExplainedAI agentsDevOps, Hands OnBy Cloud Hands On

The skills behind safe, useful AI agents for operations work, from the first loop to a reviewed on-call helper, and where each is covered.

An AI agent is a loop around a model: the model reads a goal and a list of tools, asks for a tool, your code runs it and hands back the result, and so on until the model answers. Agents are useful in operations because so much of the work is reading: logs, metrics, runbooks, tickets.

Learn it in layers. First the loop and tools, because everything else hangs off them. Then safety: approvals, limits and prompt injection, because an agent with tools can do real harm. Then quality: retrieval from your own documents, evaluation sets and traces. Then running it: cost control, pipelines and a real model.

Frameworks and providers change every few months; these ideas don't. Building the loop yourself once makes any framework easier to judge, and shows you exactly where the safety checks belong.

Cost. The whole track runs free with a practice model on your own computer. One task swaps in a real model running free on your own computer with Ollama.

Use it when

How it works

Loop
Model, tool call, result, repeat, with a step limit.
Tools
Clear descriptions, schemas, validation, MCP.
Safety
Read and write tools, approvals, injection defence, least privilege.
Quality
Retrieval, evaluation sets, traces.
Running it
Budgets, pipelines, a real model behind an adapter.

Options

Build the loop yourself
Best for learning and for full control of safety checks.
Use an agent framework
Faster for bigger agents, once you know what it does for you.
Use a ready-made assistant
Quickest, but you take its tools and limits as they are.

Example. A junior SRE at SS Kaiser worked through this track in two weeks, then led the review of a vendor's AI on-call product. Her questions (which tools are writes, who approves, where are the evaluations and traces) found that it could restart services with no approval.

Don't confuse it with

Chatbot
Answers from what it knows; takes no actions.
Agent
Chooses and calls tools to reach a goal.
Automation script
Fixed steps, no model; predictable and cheap.

Words to know

Agent
A model in a loop that chooses tools to reach a goal.
Tool
A function the model may ask your code to run.
Guardrail
A rule in your code that limits the agent whatever the model says.

Where to look

  1. This guide's AI agents in depth section

Practise it

Read it in the guide, next to the tasks and labs.

Open in DevOps, Hands On

Keep going