LLMOps and safety: running agents responsibly

LLMOps is the day-to-day work of running AI in production. Four pillars: observability (see what the agent did), evaluation (measure quality), guardrails (block unsafe inputs and outputs) and security (limit damage if something goes wrong).

Everyday analogy

Running an airline: flight recorders (observability), regular safety checks (evaluation), rules about what can be carried on board (guardrails), and locked cockpit doors (security).

Example

A banking agent logs every step (observability), is tested nightly on 500 real questions (evaluation), refuses to reveal account numbers (guardrails), and can only read, never move, money (least privilege).

👀Observabilitysee every step📊Evaluationtest quality often🛡️Guardrailsblock unsafe actions💰Cost controlbudgets and alerts
Four pillars of running agents responsibly.

Observability

Trace every prompt, tool call, cost and delay.

LangSmith, Langfuse, Arize Phoenix, OpenTelemetry

Evaluation

Test sets, metrics and LLM-as-judge, run after every change.

DeepEval, Ragas, promptfoo

Guardrails

Check inputs and outputs: block harmful content, redact personal data, keep the agent on topic.

NeMo Guardrails, Llama Guard, Guardrails AI

Security

Least-privilege access, prompt-injection defence, audit logs, and keeping secrets and keys in a vault.

Never put passwords or API keys in prompts.

Try it yourself

About 10 min

Plan the monitoring

  1. For an agent idea, list what you would log (questions, tool calls, costs, errors).
  2. Pick two numbers to watch weekly, e.g. accuracy and cost per task.
  3. Write what happens if one goes wrong.

What you should see: Running AI safely is mostly about watching the right numbers.

Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.

Build it for real · guided projectBuild an AI workflow that summarises feedback for youAbout 75 min · No coding needed · step by step
Test what you learned

Take a quick quiz, or look up any word in the glossary.