Debugging behavior
Debug agent behavior by isolating one configuration area at a time. Change one setting, save, retest, and only then move to the next likely cause.
Steps
- Reproduce the issue in Widget Preview.
- Note the exact prompt, expected answer, and actual answer.
- Check the Profile tab if the agent ignored its role, scope, or instructions.
- Check Knowledge if the answer used the wrong source or missed a known fact.
- Check Capabilities if a tool, workspace action, artifact, API call, or guardrail behaved incorrectly.
- Check AI Model if the answer is too short, too random, too slow, or too expensive.
- Check Response if tone, format, or structured JSON output is wrong.
- Check Channels if the issue appears only in Slack, WhatsApp, voice, or email.
- Save the change and retest the same prompt.
Common causes
| Symptom | First place to check |
|---|---|
| Wrong persona or missing business context | Profile tab |
| Hallucinated or stale answer | Knowledge tab |
| Tool does not run | Capabilities tab |
| Unsafe answer is not blocked | Guardrails |
| JSON is malformed | Structured output & JSON schema |
| Channel reply differs from preview | Channels tab |