Local Web Control Center & Dashboard
LightGuard-Agent v0.6.0 includes a zero-dependency, local web control center powered directly by Python's standard library http.server. It provides an interactive browser-based interface to test observations, simulate tool execution, view Prometheus telemetry, and export executive compliance audits.
🚀 Quick Launch
Launch the dashboard from your terminal:
Output:
To specify custom host or port:
🖥️ Web Control Features
- Interactive Observation Scanner:
- Paste raw untrusted inputs or prompt injections.
- Select proposed agent actions (e.g.
delete_file,send_email,search_docs). -
Instantly inspect risk scores, tier flaggers, and Action Firewall decisions.
-
Executive Compliance Reports:
-
Access
/reportdirectly from your browser to view and download full HTML compliance audits mapped to OWASP Top 10 for LLMs and MITRE ATLAS. -
Prometheus Metrics Endpoint:
- Integrated
/metricsendpoint ready for Prometheus scraping without external exporter daemons.
🐍 Programmatic Usage
You can also embed and launch the dashboard directly from your Python scripts: