yuval.guide — Guides and hands-on courses on DevOps, cloud, Linux, Python, Kubernetes, networking and AI.
The slides The tool is lesson 3 of DevOps for AI Systems, in eleven slides: The parts of an agent: An AI agent: a loop and its tools, around a model: the agent's two parts, and the model they call. One run of the agent loop: three calls to the model, and the context growing between them. What an agent remembers: the …
Read MoreThe slides The tool is lesson 2 of DevOps for AI Systems, in twelve slides: Types of models: Other types of models: seven types, each with what it accepts and what it produces. Multimodal LLMs: images, voice and video beside the text: a screenshot of a dashboard and a question about it. Speech models: voice to text, …
Read MoreThe slides The tool is lesson 7 of DevOps for AI Systems, in thirteen slides. The on-call assistant reads metrics, pods and logs with three read-only tools and opens a ticket with one write tool, and these slides follow how it calls them, how its runs are orchestrated, and how a run survives a crash: Agentic workflows …
Read MoreThe slides The tool is lesson 10 of DevOps for AI Systems, in thirteen slides: The basics of LLM gateways: three failures of services that call a provider by themselves, and what a gateway does about each. The on-call assistant in production: the services in the cluster, the model providers outside it. The LLM gateway: …
Read MoreIn this lab you send one request to a language model and read what comes back. First you set up a small model on your own computer, and your copy of the lab repository: the other labs use both. Then you send one request and read the answer, the tokens the model counted, and what the call would cost. Last you send the …
Read MoreIn this lab you change the assistant's prompt the way code is changed. First you run the on-call assistant, a system prompt and a 20-line Python script. Then you run its eval: four saved questions, each with a check its answer must pass. Last you delete one sentence of the prompt in a pull request, and watch the check …
Read MoreIn this lab you give the model the team's runbooks before it answers. First you read a runbook, and find a fact in it that no model could know. Then you ask the model alone, and it answers with general advice. Last you ask with retrieval: the script finds the nearest runbook sections and sends them with the question. …
Read MoreIn this lab you run an agent, and then attack it through the data it reads. First you read the agent's tools: two that read the cluster, and one that opens a ticket after you approve it. Then you run the agent, and approve the ticket it asks for. Last you plant an instruction in a pod's log, run the agent again, and …
Read MoreDevOps for AI Systems DevOps for AI Systems is a chapter of the DevOps course: the work of running applications built on large language models in production. It is the DevOps of an AI agent: versioning, testing, monitoring, deploying and securing it. Its usual name is LLMOps. The chapter is ten academic hours, in …
Read MoreThe slides The tool is lesson 8 of DevOps for AI Systems, in fifteen slides: The basics of evals: one prompt change shipped after three questions tried by hand, and the same change tested on fifty saved questions. Grading an answer instead of comparing it: one question, two right answers, and an exact-match assert …
Read More