

Production-Ready AI Agents: Evaluation, Guardrails & Observability
An agent that works as a prototype can still fail in production. It loops when a dependency goes down, follows instructions hidden in the data it reads, pays a refund twice after a retry, or quietly gets worse after a small prompt change, while every reply still sounds confident and polite.
This three-hour workshop covers why that happens, and the engineering practices teams use to ship agents that stay reliable, secure, controllable and affordable once real users and real data arrive. Rather than another framework tutorial, the session follows one working agent from prototype to production. Each module pairs a realistic failure, reproduced live, with the engineering practice that catches or contains it: evaluation, guardrails, observability, and release and rollback.
The patterns come from regulated, financial-grade environments, where failures are expensive and agent actions and their operational context must be auditable afterwards. They apply whether you use LangGraph, Microsoft Agent Framework, the OpenAI or Claude agent SDKs, a cloud provider’s agent service or your own orchestration.
By the end, you will be able to assess whether an agent is ready for production, identify its highest-risk gaps, and apply the same controls to your own systems.
What you will work through
Throughout the session you work with one reference agent: a customer-support agent that looks up policy, checks orders and proposes refunds, where every refund needs a support lead’s approval. It runs in two versions, one fragile and one with production controls, so you can see the same failure happen and then be caught.
Evaluation gate. A prompt change that tells the agent to “refund when in doubt” sails past an LLM judge, which still rates the replies highly, and is then blocked by an evaluation gate that finds unauthorised refunds.
Tool outage. An order service goes down mid-conversation. You see how a model handles it on the day, and why step, cost and failure limits, with a handoff to a person, are the guarantee when a model keeps retrying.
Prompt injection. A note in an order’s delivery instructions, written to look like a message from a team lead, “approves” a refund that does not exist. Measured over repeated runs on a current model, the injection pays out some of the time, and when one control blocks it, the agent finds another route. You see which control finally contains it.
Duplicate refund. A payment timeout followed by a retry pays one refund twice. The trace shows exactly what happened, a recorded replay reproduces it without touching payments, and an idempotency key fixes it.
Canary and rollback. A candidate release gets a slice of traffic, breaks policy and is rolled back automatically. Reconciliation then finds the refunds it already paid, which no rollback can undo, and a kill switch shows how to stop refunds instantly.
Every scenario runs live on a real model, and because real models vary from run to run, failures are measured over repeated runs rather than shown once. Every run is recorded, and the same scenarios also run offline against a simulated model, so you can rerun them afterwards without a paid API key.
Why now
Agents are moving from internal prototypes into customer-facing and back-office workflows where they take real actions: issuing refunds, changing records, sending messages. That changes the engineering problem. A chatbot that gives a weak answer is a quality issue; an agent that takes the wrong action is an incident.
At the same time, agent failures are hard to see. Replies stay fluent while decisions drift. Costs climb one loop at a time. A retry that looks harmless in a log can move money twice. Teams that can measure, contain, trace and roll back agent behaviour are the ones that will be trusted to put agents in front of customers.
You will walk away with
A working mental model of how agentic systems fail, including ordinary distributed-system failures such as timeouts, retries and duplicate actions, and the early signals for each
A method for building evaluation sets, acceptance thresholds and release gates that catch regressions in decisions and actions before release
A clear view of what LLM-as-judge can and cannot tell you, and how to calibrate a judge against human labels
Design patterns for budgets, enforced permissions, approval points and prompt-injection containment that limit risk without killing usefulness
A reference observability setup for tracing, costing and debugging agent runs with OpenTelemetry, ready to adapt to your own stack
A release and recovery approach that versions prompts, models and tools together, and separates rolling back a deployment from undoing an action
A production-readiness checklist covering controls, sensitive-data handling and operational ownership: who is alerted, who can disable the agent, and how it falls back, hands off to a person or stops safely
Why this session is different
Most agent content stops at getting an agent to work. This session starts where the prototype ends, and every practice is shown against a concrete failure rather than described on a slide. You see the duplicate refund in the ledger, the loop in the cost figure, and the regression in the evaluation results.
It is also framework-neutral. The reference agent uses a plain, readable agent loop, so every control and every trace span is visible and transfers to whatever framework or platform you use.
And it is honest about limits. Prompt injection is presented as a risk to contain, not a problem with a one-line fix. Rollback is shown as stopping new damage, not reversing what has already happened.
Who should attend
This workshop is for people responsible for getting agentic systems into production and keeping them there:
Software, platform and ML engineers building LLM-based agents
Solution and enterprise architects designing AI platforms
SRE, DevOps and AIOps practitioners who will operate agentic workloads
Technical leads deciding whether an agent is ready to ship
Prerequisites
Familiarity with LLM APIs
Experience building or prototyping at least one agent or tool-calling workflow
No specific framework required
No coding during the session.
Optional, to rerun the scenarios afterwards: the uv package manager, and an OpenAI or Anthropic API key for live runs
Materials provided
All participants receive the following, with 120 days of access to the recording:
The full slide deck
A code repository with the reference agent in a fragile version and a version demonstrating production controls, with a run sheet for every scenario. Every scenario runs live on OpenAI or Claude models, or offline against a simulated model with no API key needed. The offline simulation demonstrates orchestration and controls; it does not validate real model quality or injection resistance.
The Jupyter notebook used to present the session, with every scenario and its explanation
An evaluation set template and an example CI release gate
The exercise worksheets and the production-readiness checklist