Docs/Agent Studio/Testing Agents

Testing Agents

How to test and refine your agents before going live.

Why Testing Matters

Thorough testing prevents embarrassing failures and ensures your agents handle real-world scenarios correctly. Always test before deploying to production.

Built-in Test Call

Use the test call feature:

  1. 1Open your agent in Agent Studio
  2. 2Click 'Test Call' in the top right
  3. 3Your browser will simulate a call
  4. 4Speak naturally and test various scenarios
  5. 5Review the transcript and identify issues

What to Test

Cover these scenarios in your testing:

  • Happy path - Normal booking/inquiry flow
  • Edge cases - Unusual requests or questions
  • Tool usage - Booking, contact lookup, tags
  • Fallbacks - Questions outside agent's scope
  • Transfers - Handoff to human when needed
  • Multiple languages (if applicable)

Testing Checklist

Before going live, verify:

  • Agent correctly identifies the business
  • Booking tool works with correct calendar
  • Contact lookup returns accurate data
  • Tags are applied correctly
  • Transfer/escalation works as expected
  • Agent stays in character throughout

Iterative Improvement

After initial deployment:

  • Monitor call recordings and transcripts
  • Identify common failure points
  • Update prompts based on real conversations
  • Re-test after every prompt change