Test
Testing Your Agent
Test your agents thoroughly before deploying to production.
Testing Your Agent
Test your agents thoroughly before deploying to production.
Testing Methods
Test Panel (In-Editor)
The fastest way to test while building:
- Open your agent in the editor
- Click the Test tab in the right panel
- Start a conversation with your agent
- See responses in real-time
- View conversation logs and debug info
Features:
- Real-time interaction
- View agent's reasoning
- Debug function calls
- No phone number required
- Best practice: keep warm-up enabled to reduce first-turn latency (the first test run may take slightly longer while models/connectors prime).
Web Demo
Test with voice in your browser:
- Navigate to your agent in the Agents list
- Click Test in Browser or the play button
- Allow microphone access
- Speak to your agent
- Listen to responses
This simulates a real voice call without using a phone number.
Test Calls
Make actual phone calls to test your agent:
- Purchase or connect a test phone number
- Assign your agent to the number (inbound)
- Call the number from your phone
- Experience the conversation as users will
Recording Playback
Review past test conversations:
- Open the agent editor
- Go to the Test tab
- Find previous test sessions
- Click to play back recordings
- Review transcripts
What to Test
Basic Functionality
| Test | What to Check |
|---|---|
| Greeting | Does the agent introduce itself correctly? |
| Intent Recognition | Does it understand different phrasings? |
| Knowledge Retrieval | Can it find and use knowledge base info? |
| Error Handling | How does it handle unclear inputs? |
Conversation Flow
For Conversation Flow agents, test each path:
- Happy Path - The expected conversation flow
- Alternate Paths - Different user responses
- Edge Cases - Unexpected inputs
- Transitions - Moving between flow nodes
Functions
Test all configured functions:
- Trigger each function during conversation
- Verify correct parameters are passed
- Check response handling
- Test error scenarios (API failures, etc.)
Voice Quality (Voice Agents)
Test audio characteristics:
- Clarity - Is the voice clear and understandable?
- Pacing - Is the speech speed appropriate?
- Interruptions - How does it handle being cut off?
- Background Noise - Test with ambient noise
Testing Checklist
Before First Deploy
- Greeting works correctly
- All conversation paths tested
- Knowledge base queries return relevant results
- Functions execute successfully
- Error handling is graceful
- Voice sounds natural (voice agents)
After Changes
- Changed functionality works as expected
- Existing functionality still works (regression)
- New edge cases handled
- Performance is acceptable
Iterating Based on Tests
Document Issues
Track problems you discover:
- What scenario caused the issue?
- What was the expected behavior?
- What actually happened?
- Screenshots/recordings if helpful
Prioritize Fixes
Focus on issues by impact:
| Priority | Description |
|---|---|
| Critical | Agent can't complete basic tasks |
| High | Significant user experience issues |
| Medium | Minor issues, workarounds exist |
| Low | Cosmetic or edge case issues |
Fix and Re-test
- Update agent configuration
- Test the specific fix
- Run regression tests on related functionality
- Deploy when confident
Common Issues and Solutions
Agent Doesn't Understand Questions
Causes:
- Prompt instructions too vague
- Missing context in knowledge base
- Unexpected phrasing
Solutions:
- Add example phrases to prompts
- Expand knowledge base content
- Add synonyms and variations
Responses Are Too Long/Short
Causes:
- Prompt instructions don't specify length
- Agent trying to be too helpful/brief
Solutions:
- Explicitly set response length in prompts
- Add examples of ideal response length
- Adjust verbosity settings
Knowledge Not Being Used
Causes:
- Knowledge base not connected to agent
- Content not matching queries
- Retrieval threshold too strict
Solutions:
- Verify knowledge base is linked in agent settings
- Improve knowledge base content structure
- Adjust retrieval sensitivity
Functions Not Triggering
Causes:
- Function trigger conditions too narrow
- Missing parameters in conversation
- API configuration errors
Solutions:
- Broaden trigger conditions
- Adjust prompts to gather required info
- Test API endpoint independently
Conversations Feel Robotic
Causes:
- Overly formal prompts
- No personality defined
- Lack of conversational phrases
Solutions:
- Add personality traits to prompts
- Include small talk capabilities
- Add filler phrases and acknowledgments
Best Practices
Testing Strategy
- Test Early - Don't wait until "done"
- Test Often - After every significant change
- Test Systematically - Use a checklist
- Test Realistically - Use actual user scenarios
Involving Others
- Internal Testing - Team members test first
- Beta Testing - Limited external testing
- Feedback Collection - Gather structured feedback
- Iteration - Incorporate feedback before full launch
Environment Management
- Development Agent - Test changes freely
- Staging Agent - Final testing before production
- Production Agent - Live with real users
Use separate agents or duplicate/export to manage versions.