Agents

How do you build an AI customer support agent?

A support agent retrieves from your knowledge base, reads the customer's history, classifies intent and urgency, then drafts a cited reply or performs a safe action such as tagging or routing. Keep refunds, account changes and legal commitments behind human approval. Measure containment, citation accuracy, escalation quality and draft edit rate rather than deflection alone.

Key facts

Core toolsKnowledge base retrieval, ticket read, tagging, routing, reply drafting
GroundingAnswers cite knowledge base articles with versions
BoundariesRefunds, account changes and commitments require approval
EscalationSentiment, repeated contact and policy triggers hand off to a human
Quality metricsContainment, citation accuracy, escalation quality, draft edit rate
PrivacyRedact personal data in logs and scope retrieval per customer
ModelsSmall models for triage, frontier for hard cases, on one API key
StatusFunction calling, streaming, embeddings and RAG are live

TL;DR

  • Start with triage and drafted replies; let humans send the first hundred.
  • Ground every answer in a cited article and admit gaps instead of improvising.
  • Escalate on sentiment, repetition and policy — not only on confidence.
  • Measure edit rate and escalation quality, not just deflection.
  • Keep account changes and refunds behind explicit approval.

How it works, step by step

  1. Clean the knowledge base first; retrieval cannot fix contradictory articles.
  2. Connect ticket read and tagging tools so the agent sees real customer context.
  3. Expose retrieval as a tool with citations and version metadata.
  4. Draft replies for agent review before enabling any automatic sending.
  5. Add routing and escalation rules with clear triggers and an SLA.
  6. Track containment, citation accuracy, edit rate and resolution time weekly.
  7. Expand automation only in the categories where quality metrics hold.
1Clean the knowledgebase first;retrieval cannot2Connect ticket readand tagging toolsso the agent sees3Expose retrieval asa tool withcitations and4Draft replies foragent review beforeenabling any5Add routing andescalation ruleswith clear triggers6Track containment,citation accuracy,edit rate and

Try it yourself

Open the AI agent builder →

What a support agent should own

The safest valuable scope is read, understand, draft and route. The agent reads the ticket and account history, finds the right articles, classifies the issue and urgency, drafts a response with citations, and routes it to the right queue. That already removes most handling time while keeping the human in control of what customers receive.

As quality proves out, expand to low-risk actions: tagging, updating ticket fields, sending password-reset links, or answering in categories with short, verifiable answers. Anything with financial or contractual consequence stays human-approved.

The workflow: retrieve, decide, draft, escalate

  • Retrieve: hybrid search over help centre articles, internal macros and past resolutions, filtered by product and region.
  • Decide: classify intent, urgency and whether the issue is answerable from documentation.
  • Draft: produce a reply that cites its sources and states any assumptions.
  • Escalate: hand off on sentiment shifts, repeat contacts, legal or security keywords, or low retrieval confidence.

Escalation should carry context forward so customers do not repeat themselves. Summarise the thread, the attempted steps and what the human needs to check.

Measuring support quality honestly

Deflection rate is a vanity metric on its own: an agent that refuses to help inflates it. Track containment with resolution confirmed, citation accuracy on sampled replies, escalation appropriateness and the edit rate reviewers apply to drafts. A falling edit rate over time is the clearest signal that quality is improving.

Privacy is part of quality. Scope retrieval to the requesting customer and tenant, redact personal data in logs, and set retention for conversation content. On Plugsky, embeddings, RAG, function calling and streaming are live on the OpenAI-compatible API, with 30+ models on one key so triage runs on a small model and hard cases on a frontier one. Scoped keys, RBAC and audit logging cover review requirements. Plans are on the live pricing page; files and batch endpoints are coming soon.

Honest comparison

StageAgent roleAutomation levelMetric
TriageClassify intent and urgencyAutomaticRouting accuracy
AnsweringDraft cited repliesReview then sendEdit rate, citation accuracy
Low-risk actionsTag, update fields, send linksAutomatic with limitsError rate, rework
Money or account changesPrepare the actionHuman approvalApproval latency, reversals
EscalationSummarise and hand offAutomaticRepeat contact rate

Frequently asked questions

Will an AI support agent replace my team?

In most organisations it reduces handling time per ticket rather than headcount. Triage, drafting and routing are automated; judgement, escalations and sensitive conversations remain human.

How do I stop it hallucinating policy?

Ground every answer in retrieved knowledge base articles, require citations, and make the agent say when documentation does not cover the case. Contradictory articles must be cleaned up first.

Should the agent send replies automatically?

Not initially. Review drafts for the first weeks, measure the edit rate, and enable automatic sending only in categories where accuracy is consistently high.

How does escalation work?

Escalate on sentiment, repeated contact, policy keywords, low retrieval confidence or customer request. Pass a summary so the human starts with full context.

How do I handle personal data?

Scope retrieval per customer, redact personal data from logs, set retention limits and use region-locked deployment where regulation requires it.

Which metrics matter most?

Containment with confirmed resolution, citation accuracy, escalation appropriateness and reviewer edit rate. Track them together so improvement in one is not hiding regression in another.

Can it work in multiple languages?

Yes, with a multilingual model and a knowledge base in the customer's language. Validate quality per language rather than assuming parity.