Customer support agents field user questions, retrieve relevant articles, answer with citations, escalate when the question is outside scope. Simple concept; many failure modes in production.
search_kb(query), the main retrieval toolget_user_context(user_id), user history, plan, ticketscreate_ticket(summary, priority), escalationsend_reply(user_id, text), actually respondSee the RAG section of the site. Bad retrieval = agent has no good context = bad answers. Invest in hybrid retrieval, reranking, and eval.
When agent can't answer, don't fake competence. Escalate with all context preserved so the human doesn't start from zero.
Pulling user context helps answers but leaks can embarrass. Never cross user boundaries. Audit carefully.
Agent should say "I don't know, let me get a human" more readily than "here's my best guess." In support, confident wrong answers are worse than acknowledged gaps.