-
-
Notifications
You must be signed in to change notification settings - Fork 4
Dashboard
CortexPrism edited this page Jun 17, 2026
·
1 revision
The CortexPrism Web UI features a configurable dashboard with drag-and-drop widgets, providing system overview and monitoring at a glance.
| Widget | Size | Description |
|---|---|---|
| KPI Cards | 4×1 | Agent turns, sessions, tokens, cost |
| Server Info | 2×1 | Uptime, provider, version, status |
| Daemon Status | 2×2 | Validator, executor, scheduler status |
| Memory Stats | 2×1 | Episodic, semantic, reflection counts |
| System Resources | 2×2 | CPU, memory, disk usage |
| Recent Sessions | 2×2 | Latest session list |
| Token Chart | 2×2 | Token usage over time (Chart.js) |
| Recent Activity | 2×2 | Latest events from Lens |
Widget layout is persisted to ~/.cortex/dashboard.json and managed via:
- Drag and drop — Reposition widgets in edit mode
- Add/Remove — Toggle widgets from the widget picker
- Resize — Some widgets span 1 or 2 columns/rows
| Method | Path | Description |
|---|---|---|
GET |
/api/dashboard/config |
Get widget layout |
PUT |
/api/dashboard/config |
Update widget layout |
The dashboard_manage tool lets agents manipulate the dashboard directly:
dashboard_manage list # List current widgets
dashboard_manage add --type html --html "..." # Add custom HTML widget
dashboard_manage remove --id widget-123 # Remove a widget
dashboard_manage update --id widget-123 --html "..." # Update widget content
Agents can create custom HTML widgets with inline CSS. Script tags and event handlers are stripped for safety. Custom widgets support optional title and refresh interval (min 5s).
The Dashboard is the default landing page when opening the Web UI. It appears in the "Core" navigation section with active-state highlighting.
- REST API — Dashboard API endpoints
-
Built-in Tools — The
dashboard_managetool
CortexPrism — Open-source agentic AI harness · MIT License · Built with Deno 2.x + TypeScript