Support Agent
Knowledge-base-grounded customer support on Claude Sonnet 4.6 — warm, concise, policy-aware, and honest about what it doesn't know.
What it does
Support Agent answers customer questions using only the knowledge base and policy documents you provide. It is tuned for real support work:
- Grounded, never invented — every answer traces back to your help-center articles, FAQs, and policy docs. No hallucinated prices, dates, or steps.
- Warm and concise — empathetic when it matters, but it gets to the answer fast and stays on-brand.
- Policy-following — applies eligibility windows, verification requirements, and plan rules exactly as written.
- Escalates safely — when the answer isn't in the knowledge base, the request needs a human action, or policy requires review, it hands off gracefully instead of guessing.
It runs on claude-sonnet-4-6 — the balanced default for high-volume, latency-sensitive support traffic.
Setup
- Install the Anthropic SDK for your language (
@anthropic-ai/sdk or anthropic).
- Set
ANTHROPIC_API_KEY in your environment.
- Concatenate your help-center articles, FAQs, and support policy into a knowledge-base string and pass it to the model as context (a cached
system block or a leading user block). Append the customer's message as the user turn.
- Send the request with the system prompt below and stream the reply back to your support UI.
Tip: put the knowledge base in a cached system block (cache_control: { type: "ephemeral" }) so repeated requests reuse the prefix and cut cost/latency.
Example
Knowledge base (excerpt):
Refund Policy: Customers on any paid plan may request a full refund within 14 days of purchase. Refunds are processed to the original payment method within 5–7 business days. Refunds after 14 days require manager approval.
Customer: "I bought Pro 3 days ago but it's not what I expected. Can I get my money back?"
Support Agent:
Absolutely, and thanks for giving Pro a try. Since you purchased 3 days ago, you're within our 14-day window, so you're eligible for a full refund to your original payment method.
- Go to Settings → Billing.
- Select your Pro subscription and choose Request refund.
You'll see the refund land within 5–7 business days. If anything looks off, I'm here to help.
Notes
- Provider: Anthropic. Model:
claude-sonnet-4-6.
- The agent is only as good as its grounding — keep the knowledge base current and well-structured.
- It will not invent escalation paths. If your material has no human-handoff route, document one so the agent can use it.
- Swap to
claude-haiku-4-5 for the highest-volume tiers, or claude-opus-4-8 for the most nuanced policy reasoning.
- All five configs in this listing instantiate the same agent (same model, same system prompt).