Validate your appβs health and readiness before deployment.
Overview
Diagnostics performs comprehensive checks across all app componentsβagents, tools, events, memory, and orchestration logic. It automatically detects missing or misconfigured elements and prioritizes issues for efficient remediation.
Run Diagnostics β Scan Configuration β Identify Issues β Generate Report β Fix Issues
Running Diagnostics
- Navigate to your appβs Overview page.
- Click Run Diagnostics.
- Wait for the scan to complete.
- Review the diagnostic report.
What Gets Checked
| Category | Checks |
|---|
| Agents | Configuration completeness, tool linkages, knowledge connections, instruction quality, deprecated bindings |
| Tools | Workflow tool deployment status, code tool syntax errors, MCP server connectivity, parameter validation, missing dependencies |
| Events | Event trigger configuration, workflow bindings, parameter mappings, handler assignments |
| Knowledge | Search AI application links, index status, connector health, data freshness |
| System | Graph compilation, LLM configuration, orchestration logic, environment variables |
Report Structure
Severity Levels
| Level | Icon | Meaning |
|---|
| Error | π΄ | Critical issue preventing deployment |
| Warning | π‘ | Potential problem that should be addressed |
| Info | π΅ | Informational note or suggestion |
Report Views
Overview Tab: High-level summary
ββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Diagnostics Report β
ββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Status: β οΈ Issues Found β
β β
β π΄ Errors: 2 β
β π‘ Warnings: 3 β
β π΅ Info: 5 β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββ
Agents Tab: Agent-specific issues
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Agents β
βββββββββββββββββββββββββββββββββββββββββββββββββββ ββ€
β β
β Support Agent β
β π΄ Missing tool: get_order_status (not deployed) β
β π‘ Knowledge source βfaq_dbβ index is stale β
β [Fix now] β
β β
β Billing Agent β
β β
No issues found β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Tools Tab: Tool-specific issues
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tools β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β Workflow Tools β
β π΄ process_refund: Not deployed β
β [Deploy now] β
β β
β MCP Tools β
β π‘ crm_tools: Server connection timeout β
β Last successful connection: 2 hours ago β
β [Test connection] β
β β
β Code Tools β
β β
All code tools validated β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Common Issues
Missing Tool Deployment
π΄ Error: Tool 'get_order_status' is not deployed
Agent 'Support Agent' references this tool but it hasn't been
deployed. The agent won't be able to invoke it.
Fix: Navigate to Tools β get_order_status β Deploy
Stale Knowledge Index
π‘ Warning: Knowledge source 'product_catalog' index is stale
Last indexed: 7 days ago
Source last updated: 2 days ago
Some responses may use outdated information.
Fix: Navigate to Knowledge β product_catalog β Reindex
Missing Environment Variables
π΄ Error: Environment variable 'API_KEY' is not set
Tool 'external_api_call' requires this variable but it's
not configured in the current environment.
Fix: Navigate to Settings β Environment β Add variable
MCP Server Unreachable
π‘ Warning: MCP server 'enterprise_tools' is unreachable
Connection attempts failed for the past 15 minutes.
Tools from this server won't be available.
Fix: Check server status or update connection settings
Agent Without Tools
π΅ Info: Agent 'FAQ Agent' has no tools configured
This agent can only use knowledge retrieval and won't be
able to take actions. This may be intentional for
information-only agents.
Quick Fixes
Many issues include a [Fix now] button:
| Issue | Quick Fix Action |
|---|
| Tool not deployed | Opens deployment dialog |
| Stale index | Triggers reindexing |
| Missing link | Opens configuration page |
| Invalid config | Opens editor with issue highlighted |
Validation Rules
Diagnostics applies consistent standards:
Agents Must Have
- β
Name and description
- β
At least one capability (tools or knowledge)
- β
Valid AI model configured
- β
All linked tools deployed
Tools Must Have
- β
Name and description
- β
Valid parameter definitions
- β
Successful test execution
- β
Deployed status (for workflow tools)
Events Must Have
- β
Trigger condition defined
- β
Handler workflow linked
- β
Parameters mapped correctly
Best Practices
Run Before Every Deployment
Make diagnostics part of your deployment checklist:
Pre-deployment:
1. [ ] Run diagnostics
2. [ ] Fix all errors
3. [ ] Review warnings
4. [ ] Create version
5. [ ] Deploy to staging
6. [ ] Test in staging
7. [ ] Deploy to production
Address Warnings
While warnings donβt block deployment, they often indicate issues that will affect users.
Regular Health Checks
Run diagnostics periodically, not just before deployment:
- Catch configuration drift.
- Detect external service issues.
- Maintain system health.
Limitations
Diagnostics performs static and logical validation only:
| Checks | Doesnβt Check |
|---|
| Configuration completeness | Conversation quality |
| Tool connectivity | Response accuracy |
| Dependency resolution | User satisfaction |
| Syntax validation | Edge case handling |
For conversation testing, use the Playground feature to simulate real interactions.