AI monitors AI — Free open-source monitoring dashboard for OpenClaw agents.
- Cron Task Scheduler — Visualize AI agent task scheduling at a glance
- Token Usage Tracking — 7-day bar chart of prompt/completion tokens per model
- Multi-Model Support — Claude Code, OpenAI Codex, DeepSeek V4, and more
- Real-time Sessions — Live session list with model, runtime, and status
- 7-Day Message Trends — Daily message count breakdown with ECharts
- System Metrics — Uptime and memory usage monitoring
- Frontend: Vue 3 + Vite + Element Plus + ECharts
- Backend: Node.js + Express + WebSocket client
- Data: Local session JSON files (no cloud, fully offline)
openclaw-monitor/
├── frontend/ # Vue 3 dashboard
│ ├── src/
│ └── vite.config.js
├── backend/ # Monitor API server
│ └── src/
├── openclaw-monitor/ # Monitor helper scripts
├── start-all.bat # Windows one-click start
└── stop-all.bat # Windows stop
- Node.js 18+
- OpenClaw Gateway running on port 18789
start-all.bat# Terminal 1: Monitor API (port 3000)
cd backend && npm install && npm start
# Terminal 2: Frontend (port 5173)
cd frontend && npm install && npm run dev
# Open: http://localhost:5173/monitor-v2| Endpoint | Description |
|---|---|
GET /health |
Health check |
GET /api/gateway/status |
Gateway connection status |
GET /api/sessions/list |
All sessions with token stats |
GET /api/metrics/system |
System uptime and memory |
GET /api/messages/stats |
7-day message trend |
GET /api/models/current |
Current model info |
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Browser │────▶│ Frontend │────▶│ Monitor API │
│localhost:5173│ │ (Vue 3) │ │ localhost:3000
└──────────────┘ └──────────────┘ └──────┬───────┘
│
┌───────────────────────┼───────────────────────┐
│ │ │
▼ ▼ ▼
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Gateway │ │ Sessions │ │ History │
│ WebSocket │ │ JSON Files │ │ .reset Files│
│ port 18789 │ │ │ │ │
└──────────────┘ └──────────────┘ └──────────────┘
MIT — use freely, contribute welcome!
