Design 2: Customer-support agent
Practice this questionOverview
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
- Authenticate
- Route
- Use scoped tools
- Check progress
- 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.