AI EngineeringInterview preparation
Advanced·Concept·2 min read

Design 2: Customer-support agent

Practice this question

Overview

A bounded assistant for knowledge questions, account lookups, clarification, and escalation. It may perform approved low-risk actions.

Why this matters

Support requests mix language, records, and missing information.

An everyday example

A service representative consults several systems.

A technical example

Intent router selects FAQ RAG, claim status, ticket draft, or staff handoff.

How it works

  1. Authenticate
  2. Route
  3. Use scoped tools
  4. Check progress
  5. Respond/escalate.

Architecture and flow

UI → router/graph → knowledge + account services → answer/ticket.

The insurance assistant example

Explain a document request and create a reviewed support ticket.

When to use it

Repeatable support tasks with known allowed outcomes.

When to avoid it

Do not autonomously decide disputes or payouts.

Interview answer

“I give support agents narrow tools and explicit escalation, and evaluate real resolution and safe failures.”

Benefits, trade-offs, and production considerations

Persist cases and run outcomes; control external sends and ticket deduplication. Avoid optimizing apparent resolution while customers must contact staff again.

Adapted from 13_AI.MD · “Design 2: Customer-support agent”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.