AF-Q11Conceptual IntermediateAgentforce#agentforce#ai-testing

How do you test an agent before go-live?

Your confidence:Not rated

Model answer

  • Turn-level tests: utterances โ†’ expected subagent, actions, response qualities.
  • Conversation-level tests with personas (impatient, confused, malicious).
  • Adversarial and safety tests: injection, cross-customer data, harmful requests.
  • Custom evaluations for your success criteria; LLM-as-judge calibrated with humans.
  • Thresholds: for example selection accuracy, answer quality, zero critical failures.
  • Regression on every change via CLI in the pipeline.
  • Sources: real transcripts, FAQs, edge cases.

โœ” Key points to hit

โœ– Red-flag answers

  • Testing a few happy paths manually
  • Exact-string expectations

โ†ช Follow-ups

How many tests?

Enough to cover each subagent, action and risk; hundreds for a customer-facing agent is common.

Do tests cost credits?

Yes; size suites sensibly and run the full suite on releases.