The L3 pages gracefully handle missing dependencies:
# Pages no-op silently if aiui not installedtry: from praisonai.integration.pages import workflow_runs, bot_healthexcept ImportError: # Pages won't register, no error pass
Custom Data Sources
You can override the default backends for custom data:
import praisonaiui.backends as backends# Custom workflow data sourcedef my_workflow_backend(wf_id, **kwargs): return {"custom": "workflow_data"}backends.set_backend("workflows", my_workflow_backend)
Monitoring Integration
Connect the pages to your monitoring systems:
# Custom usage trackingdef usage_monitor(usage_data): # Send to your monitoring service send_to_datadog(usage_data)backends.set_backend("usage_sink", usage_monitor)
Production Deployment
For production, ensure proper bridge configuration:
configure_host( title="Production Dashboard", style="dashboard", # Ensures all bridges are available agents=[production_agent], gateway=gateway_instance)