sagelearnai

Worked Problem: A Retail Support Agent That Can Issue Refunds

Prompt: "A retailer wants an AI support agent that can look up orders, explain the returns policy and issue refunds. Design it."

The moment an agent can move money, the interview becomes about control. The model may propose a refund; code decides whether it happens.

In this lesson

  • Learning objectives
  • Clarify and metrics
  • Tools
  • The refund flow
  • Injection defence
  • PII and logging
  • Evaluation
  • Monitoring
  • Self-check

Questions covered

  1. Design a support agent that can issue refunds. What are the key controls?
  2. How would you evaluate this agent before launch?

This lesson is part of AI Architect: System Design & AI Integration. Unlock the full course to read it, take the quiz and track your progress.

See plans →

Last reviewed 2026-11-05.