OpenClaw Monitoring on GitHub
Complete source code, installation guide, and configuration examples
What Is It?
Your AI agent just did something on a remote server. Do you know what? Right now, most people running agents are doing this: Send task → Wait → Get “Success” in Slack → Hope for the best. That’s not monitoring. That’s faith. VideoDB Monitoring turns your OpenClaw agent into an observable, auditable worker. Every run becomes a live stream, a replayable recording, and a searchable archive.Why Teams Need It
- Full Visibility
- Searchable History
- Compliance Ready
See Everything
- Live stream — watch your agent work in real-time
- Replayable recordings — shareable URL, not a dead video file
- Full session capture — screen and audio recorded continuously
- Catch issues before they become incidents
How It Works
Screen Capture
A monitor daemon (
monitor.ts) runs alongside your OpenClaw agent, continuously capturing the screen. Recordings stream directly to VideoDB.On-Demand Indexing
Indexing is separate from recording — you only pay for it when needed. When triggered, VideoDB processes recordings with:
- Visual indexing — scene descriptions, active apps, URLs, and error detection
- Transcript — speech-to-text from system audio
- Audio indexing — semantic indexing of audio content
Search & Summarize
Query agent history using natural language. Get timestamped results, auto-generated clips, and session summaries. The agent can even use its own recordings — “summarize what you did in the last 2 hours.”
CLI Commands
Thevideodb.ts CLI tool provides these commands:
| Command | What It Does |
|---|---|
start-indexing | Start all indexing (visual + audio + transcript) |
stop-indexing | Stop all indexing |
start-visual-index | Start visual scene indexing |
stop-visual-index | Stop visual scene indexing |
start-audio-index | Start audio indexing |
stop-audio-index | Stop audio indexing |
start-transcript | Start transcript extraction |
stop-transcript | Stop transcript extraction |
search | Natural language search across indexed recordings |
summary | Generate an AI summary of agent activity |
transcript | Get full transcript of audio content |
stream | Get a playable stream URL for a specific time range |
Real-World Scenarios
Debugging Failed Runs
Debugging Failed Runs
An agent task failed overnight. Instead of digging through logs, search “when did the error first appear” and get a video clip of exactly what happened — the commands run, the error messages, and the state of the screen.
Compliance Auditing
Compliance Auditing
Need proof of what your AI agents did and when? OpenClaw Monitoring provides timestamped, searchable visual records that serve as a full audit trail of agent actions.
Security Monitoring
Security Monitoring
Catch agents going off-script or accessing unexpected domains. Webhook alerts notify you when something looks off, giving you video evidence of unexpected behavior.
QA & Testing
QA & Testing
Review agent workflows before pushing to production. Record test sessions, then search for edge cases, errors, or unexpected behaviors. Share specific clips with your team.
Agent Self-Reporting
Agent Self-Reporting
Your agent can use its own recordings: “Summarize what you did in the last 2 hours”, “Make a highlight video of today’s work and post it to YouTube”, or “Find the moment when you encountered the error.”
Tech Stack
TypeScript
Monitor daemon and CLI tooling (
monitor.ts, videodb.ts)Python + Flask
Backend server for session management and Cloudflare tunneling
VideoDB SDK
Media streaming, AI indexing, and semantic search
OpenClaw
Autonomous agent framework with skill system
Getting Started
Prerequisites
- OpenClaw installed and running
- Node.js 18+
- VideoDB API key
Set Your API Key
Try Without Setup
Skip installation and try indexing against a hosted live OpenClaw session at matrix.videodb.io:Ctrl+C to stop and search the indexed content.
Privacy & Security
API Key Security — Keys stored locally via OpenClaw config, never transmitted except to VideoDB
On-Demand Indexing — AI processing runs only when you trigger it, keeping costs controlled
Visual Audit Trail — Complete recordings provide verifiable evidence of agent activity
Secure Tunneling — Cloudflare Tunnel for webhook delivery without exposing ports
Complete Setup Guide on GitHub
Full installation instructions, advanced setup, and troubleshooting