AI System Design·Question 1 of 11Quick-fire

Design a customer support agent for an enterprise. Walk me through it.

Quick-fire answer from the Awesome Generative AI Guide (MIT)

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Start from requirements: accuracy bar, latency budget, escalation policy, cost ceiling, and compliance. Use retrieval over the company's knowledge base for grounding, tools for actions (look up an order, file a ticket) with least privilege, and a clear handoff to a human for low-confidence or high-stakes cases. Wrap it in evaluation and observability, add input and output guardrails (including against indirect injection from retrieved content), and roll out behind a fallback with a human in the loop. Name the tradeoff at every choice, and reach for an agent loop only where fixed retrieval will not do.

Full worked answer

Start from requirements: accuracy bar, latency budget, escalation policy, cost ceiling, and compliance. Use retrieval over the company's knowledge base for grounding, tools for actions (look up an order, file a ticket) with least privilege, and a clear handoff to a human for low-confidence or high-stakes cases. Wrap it in evaluation and observability, add input and output guardrails (including against indirect injection from retrieved content), and roll out behind a fallback with a human in the loop. Name the tradeoff at every choice, and reach for an agent loop only where fixed retrieval will not do.

Learn more: Real-world agentic systems (Agentic AI Crash Course)

What a good answer covers

  • Start from requirements: accuracy bar, latency budget, escalation policy, cost ceiling, and compliance
  • Use retrieval over the company's knowledge base for grounding, tools for actions (look up an order, file…
  • Wrap it in evaluation and observability, add input and output guardrails (including against indirect…
  • Name the tradeoff at every choice, and reach for an agent loop only where fixed retrieval will not do

Key terms: Learn more

Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep