Troubleshooting AI Agents
Overview
This guide helps you diagnose and resolve common issues with AI agents. Use this systematic approach to identify problems and implement solutions.Common Agent Issues
1. Agent Not Responding
Symptoms:- Customers not receiving responses
- No new conversations being handled
- Agent appears inactive
- Agent not connected to WhatsApp number
- Agent instructions are unclear or conflicting
- Required capabilities not enabled
- Knowledge collections not properly connected
- Subscription expired or payment issues
- Check Channels tab - verify WhatsApp connection
- Review agent instructions for clarity
- Verify capabilities are enabled in Configuration tab
- Check Collections tab for connected knowledge bases
- Verify subscription status and payment information
- Channel Issues: Reconnect WhatsApp numbers in Channels tab
- Instructions: Clarify and refine agent behavioral guidelines
- Capabilities: Enable required features in Configuration
- Collections: Connect relevant knowledge databases
- Billing: Check subscription status in Billing settings
2. Poor Response Quality
Symptoms:- Irrelevant or unhelpful responses
- Customer complaints about agent behavior
- High handover rates
- Inconsistent conversation handling
- Insufficient or unclear agent instructions
- Missing knowledge collections
- Evaluator settings too strict
- Conflicting capability configurations
- Outdated or incorrect information
- Review recent conversations for patterns
- Check agent instructions for specificity
- Verify connected knowledge collections
- Review evaluator configuration
- Test agent responses manually
- Instructions: Provide more detailed, specific guidelines with examples
- Knowledge: Connect relevant collections and update content
- Evaluator: Adjust target score or disable if too restrictive
- Capabilities: Review settings for conflicts or redundancy
- Content: Update knowledge collections with accurate information
3. Agent Handover Issues
Symptoms:- Excessive handovers to humans
- Handovers not working when needed
- Customers frustrated with handover process
- Human operators not receiving transfers
- Handover capability not enabled
- Unclear handover instructions
- No human operators available
- Handover triggers too sensitive or restrictive
- Technical issues with handover system
- Check if handover capability is enabled
- Review handover instruction clarity
- Verify human operator availability
- Test handover scenarios
- Check system logs for errors
- Enable Handover: Turn on capability in Configuration tab
- Instructions: Provide clear, specific handover guidelines
- Staffing: Ensure human operators are available and trained
- Triggers: Adjust sensitivity of handover conditions
- Technical: Contact support for system-level issues
4. Configuration Not Saving
Symptoms:- Changes don’t persist after saving
- Error messages when trying to save
- Configuration reverts to previous state
- Save button not responding
- Network connectivity issues
- Invalid configuration values
- Missing required fields
- Permission restrictions
- Browser or cache issues
- Check internet connection stability
- Validate all configuration values
- Ensure required fields are completed
- Verify user permissions
- Try different browser or clear cache
- Network: Check internet and retry saving
- Validation: Correct invalid values in configuration
- Required Fields: Complete all mandatory fields
- Permissions: Contact administrator for access rights
- Browser: Clear cache, try incognito mode, or different browser
5. Tool Integration Problems
Symptoms:- Tools not responding or functioning
- Error messages from connected tools
- Inconsistent tool behavior
- Tool connections showing as disconnected
- Tool not properly configured
- Authentication issues with external services
- Tool compatibility problems
- Missing tool dependencies
- Rate limits or quota exceeded
- Check tool status and configuration
- Verify authentication credentials
- Review tool compatibility requirements
- Check for missing dependencies
- Monitor usage limits and quotas
- Configuration: Review and correct tool settings
- Authentication: Verify and update API keys/credentials
- Compatibility: Check system version compatibility
- Dependencies: Install or update required components
- Limits: Monitor usage and upgrade quotas if needed
Performance Issues
Slow Response Times
Possible Causes:- Large knowledge collections
- Complex tool integrations
- Network latency
- High system load
- Optimize knowledge collection size
- Review tool performance
- Check network connectivity
- Contact support for system issues
Inconsistent Behavior
Possible Causes:- Conflicting instructions
- Multiple overlapping capabilities
- Outdated knowledge content
- Tool conflicts
- Simplify and clarify instructions
- Review capability interactions
- Update knowledge collections
- Test tools individually
Systematic Troubleshooting Approach
Step 1: Identify the Problem
Questions to Ask:- What specific behavior is occurring?
- When did the problem start?
- Is it affecting all conversations or specific ones?
- Are there error messages or logs?
Step 2: Gather Information
Check These Areas:- Recent configuration changes
- System status and alerts
- Performance metrics
- User feedback and reports
Step 3: Test and Isolate
Testing Methods:- Use agent sandbox for controlled testing
- Disable capabilities one by one
- Test with different scenarios
- Check individual tool functionality
Step 4: Implement Solutions
Best Practices:- Make one change at a time
- Test after each modification
- Document changes made
- Monitor impact of changes
Step 5: Monitor and Verify
Follow-up Actions:- Monitor performance metrics
- Collect user feedback
- Continue testing edge cases
- Document successful solutions
Emergency Troubleshooting
Agent Completely Stopped
Immediate Actions:- Check system status page
- Verify subscription and billing
- Test WhatsApp connectivity
- Contact technical support
- Switch to backup agent if available
Data Loss or Corruption
Immediate Actions:- Stop making changes
- Document what happened
- Contact support immediately
- Preserve any backup information
- Don’t attempt manual fixes
Security Concerns
Immediate Actions:- Disable affected agent
- Change authentication credentials
- Review access logs
- Contact security team
- Document incident details
Prevention Strategies
Regular Maintenance
Weekly Tasks:- Review performance metrics
- Check error logs
- Test key functionalities
- Monitor conversation quality
- Update knowledge collections
- Review and optimize configurations
- Audit tool integrations
- Plan improvements
Monitoring and Alerts
Set Up Monitoring For:- Response times
- Handover rates
- Error frequencies
- Tool performance
- Customer satisfaction
Documentation
Maintain Records Of:- Configuration changes
- Known issues and solutions
- Performance baselines
- Contact information for support
When to Escalate
Contact Technical Support When**:
- Agent completely stops responding across all channels
- System-wide configuration issues affect multiple agents
- Data loss or corruption is suspected
- Security-related concerns arise
- Third-party integration failures persist after troubleshooting
Information to Provide**:
- Agent ID and name
- Specific error messages
- Timeline of when issues started
- Steps already taken to resolve
- Impact on business operations
Recovery Procedures
Configuration Recovery
If Settings Are Lost:- Check for automatic backups
- Restore from documented configurations
- Recreate settings systematically
- Test functionality after restoration
Conversation Recovery
If Conversations Are Affected:- Identify affected conversations
- Check for data integrity
- Notify affected customers if needed
- Implement temporary workarounds
Performance Recovery
After Resolving Issues:- Gradually restore full functionality
- Monitor performance closely
- Communicate with stakeholders
- Document lessons learned