Testing & Debugging Agents
Overview
Always test your agents before going live. Mosco provides a built-in simulator and reasoning inspector to verify agent behavior.
Built-in simulator
1. Open any agent's workspace
2. Click 'Test Call' or 'Test Chat'
3. Interact as a customer would
4. The agent responds using its full configuration (prompt, knowledge, tools)
5. Review the conversation and check for issues
Reasoning inspector
After a test or live conversation, you can inspect the agent's reasoning:
- What knowledge base entries it referenced
- Which tools it considered using
- Why it chose a particular response
- Confidence level of each response
This helps identify prompt improvements or knowledge gaps.
Going live
Once testing is satisfactory:
1. Connect your phone number or chat widget
2. Set the agent status to 'Active'
3. Monitor the first few live conversations from the Inbox
4. Use 'Take Over' to step in if the AI needs help
5. The AI learns from each interaction