Test Agent

Test your AI voice agent before deploying to production

Overview

Before deploying your AI voice agent to handle real customer calls, it's important to thoroughly test its behavior and responses. urvo provides two ways to test your agent:

  • Phone Call Testing: Test your agent by having it call a real phone number. Perfect for testing the full telephony experience. Requires an assigned phone number.
  • In-Platform Testing: Test your agent directly in your browser without needing a phone number. Instant testing with quick iteration.

Accessing the Test Agent Feature

To test your agent:

  1. Navigate to Agents in your dashboard.
  2. Click on the agent you want to test to open its configuration.
  3. In the left sidebar, click the "Test Agent" button.
  4. A popup will appear with two testing options: Call and In-Platform.

Option 1: Phone Call Testing

The Call option allows your agent to place an outbound call to a phone number you specify. This is the best way to test the complete telephony experience, including audio quality and call handling.

Prerequisites

To use phone call testing, you must first assign a phone number to your agent. You can import a Twilio phone number or connect via SIP trunking to enable this feature. See Add a Phone Number to learn how to import a Twilio number or configure SIP trunking for your agent.

Call Configuration

When using the Call testing option, configure the following settings:

Setting Description
Phone number (From) Select a phone number to call from. This is the number assigned to your agent that will be used as the caller ID.
Call name Enter a name for this test call. This helps you identify the call in your call history and logs.
Phone number (To) Enter the phone number you want the agent to call (e.g., +1 555 123 4567). The agent will dial this number.

Making a Test Call

  1. Select the Call tab in the Test Agent popup.
  2. Choose a phone number from the "Phone number" dropdown (the number to call from).
  3. Enter a descriptive Call name for easy reference.
  4. Enter the Phone number you want the agent to call.
  5. Click "Start Call" to initiate the test call.
  6. Answer the call on your phone and interact with your agent.

Tip: Use a personal phone or a colleague's phone to receive test calls. This allows you to experience the agent exactly as your customers will.

Option 2: In-Platform Testing

The In-Platform option allows you to test your agent directly in your browser without needing a phone number. This is perfect for quick testing and iteration during development.

How to Test In-Platform

  1. Select the In-Platform tab in the Test Agent popup.
  2. Click the orb (circular button) to start a conversation with your agent.
  3. Speak to your agent through your computer's microphone.
  4. Listen to the agent's responses through your speakers or headphones.
  5. Click the orb again when you want to end the call.

Browser Requirements: Make sure your browser has permission to access your microphone. You may see a permission prompt when starting your first test call.

Benefits of In-Platform Testing

  • No phone number required: Test immediately without any setup
  • Instant feedback: Make changes and test again in seconds
  • Cost-effective: No telephony charges for test calls
  • Quick iteration: Perfect for refining prompts and responses

Production Testing

Once you've tested your agent using the methods above, you can move to production testing by assigning a phone number and receiving real inbound calls.

Setting Up for Production

  1. Add a phone number via Twilio or SIP trunking.
  2. Assign the phone number to your agent in the agent's configuration.
  3. Call the assigned phone number to test inbound call handling.
  4. Monitor calls in the Calls History dashboard.

Best Practice: Start with a limited rollout by sharing the phone number with a small group of testers before making it available to all customers.

Testing Best Practices

Before Testing

  1. Review your agent's prompt and instructions
  2. Prepare a list of test scenarios
  3. Include edge cases and unusual requests
  4. Test in a quiet environment

During Testing

  1. Speak naturally as a customer would
  2. Test interruptions and turn-taking
  3. Verify tool integrations work correctly
  4. Note any unexpected responses

After Testing

  1. Review call recordings in the logs
  2. Refine prompts based on results
  3. Test again after making changes
  4. Document successful configurations

Common Test Scenarios

  1. Standard customer inquiries
  2. Off-topic questions
  3. Transfer scenarios
  4. Background noise handling

Troubleshooting

No audio during in-platform testing

  1. Check that your browser has microphone permissions enabled
  2. Verify your microphone is working in your system settings
  3. Try using headphones to prevent echo

Phone call not connecting

  1. Verify the phone number you're calling is correct
  2. Check that your assigned phone number is properly configured
  3. Ensure your Twilio or SIP trunk credentials are valid

Agent not responding as expected

  1. Review the agent's instructions and prompts
  2. Check that the knowledgebase is properly attached
  3. Verify tool configurations are correct

Next Steps

After successfully testing your agent, you're ready to:

  1. Add a phone number for production calls
  2. Analyze calls to monitor performance
  3. Review best practices for optimal results