实时监控Live Monitoring
为 OpenClaw 用户打造 · 开源免费 Built for OpenClaw · Open Source · Free

实时看见你的
AI Agent 在做什么

See exactly what your
AI Agent is doing

OpenClaw Monitor 读取本地日志,把 Agent 的每一次工具调用、每一条对话、每一分 token 消耗都实时显示在你眼前。

OpenClaw Monitor reads local logs and surfaces every tool call, conversation, and token spent by your Agent — in real time, right in your browser.

→ 在 GitHub 上获取Get on GitHub 查看文档Documentation

无需注册 · 纯本地运行 · 零依赖 · MIT 开源

No signup · Runs locally · Zero dependencies · MIT License

127.0.0.1:19999 — OpenClaw Monitor
Screenshot
功能特性Features

Agent 的每一步,
都在你眼皮底下
Every move your Agent makes,
right before your eyes

📡

实时日志流Real-time Log Stream

每3秒读取 gateway.log,tavily 搜索、API 请求、连接状态实时滚动,就像盯着终端但更好看。

Polls gateway.log every 3s. Tavily searches, API calls, connection events — all streaming live, prettier than a terminal.

💬

对话内容监控Conversation Monitor

从 session JSONL 实时解析,Telegram 用户消息、Agent 回复、工具调用结果全部捕获显示。

Parses session JSONL in real time. Telegram messages, Agent replies, and tool results are all captured and displayed.

📊

Token 用量追踪Token Usage Tracking

输入、输出、缓存命中分类统计,累计费用实时更新,顶部常驻显示当前模型和消费金额。

Input, output, and cache hits tracked separately. Running cost updates live, with current model and spend always visible at the top.

🛡️

安全预警Safety Alerts

Shell 调用频率过高、危险命令检测、文件删除操作自动触发预警,支持浏览器通知。

High-frequency shell calls, dangerous commands (rm -rf etc.), and file deletions trigger alerts automatically. Browser notifications supported.

⚙️

工具调用可视化Tool Call Visualization

每次工具调用的名称、参数、结果一目了然。Shell / 文件 / 网络 / 消息分类标色区分。

Every tool call shows name, args, and result at a glance. Shell, file, network, and message calls are color-coded by category.

🎨

个性化名字Personalized Name

自动读取 OpenClaw 配置显示你的名字,首次使用点击"改名"按钮永久保存。

Auto-reads your OpenClaw config to display your name. Click "Rename" on first launch and it sticks forever.

0
外部依赖Dependencies
2s
会话刷新间隔Session Refresh
∞
历史日志保留Log History
MIT
开源协议License
快速开始Quick Start

三步,60秒内跑起来 Three steps,
up in 60 seconds

01
# 克隆项目Clone the repo
cd openclaw-monitor

克隆项目Clone

无需注册,无需 API Key,不联网,纯本地。

No signup, no API key, no internet required. Runs entirely on your machine.

02
# 启动服务Start server
python3 server.py
 
🦞 OpenClaw Monitor
端口Port: 19999
自动打开浏览器...Opening browser...

启动监控Start

自动检测 OpenClaw 目录,自动打开浏览器,零配置。

Auto-detects your OpenClaw directory and opens the browser. Zero config needed.

03
# 访问面板Open dashboard
http://127.0.0.1:19999
 
● 已连接Connected
session 监控中...monitoring session...

开始监控Monitor

面板自动打开,点击「开始监控」,实时看见 Agent 在做什么。

Dashboard opens automatically. Hit "Start Monitoring" and watch your Agent live.

工作原理How it works

不用 WebSocket,
更稳定
No WebSocket,
more reliable

OpenClaw Gateway 的 WebSocket 每次只允许一个 webchat 连接。直接连会把你的 Telegram 会话踢掉。

OpenClaw Gateway only allows one webchat WebSocket at a time. Connecting directly would kick your Telegram session.

OpenClaw Monitor 改用轮询读取本地日志文件的方式,完全不干扰正常使用,稳定运行24小时不掉线。

Instead, OpenClaw Monitor polls local log files. It never interferes with your normal setup and runs stably around the clock.

Python 标准库Python stdlib only 无依赖Zero deps 本地 HTTPLocal HTTP JSONL 增量轮询Incremental poll 纯前端渲染Pure frontend
📁
读取 gateway.logRead gateway.log
每3秒 tail -200,解析 tavily / API / 连接事件tail -200 every 3s, parse tavily / API / connection events
3s
💬
读取 session JSONLRead session JSONL
每2秒读最新会话文件,增量解析工具调用、用量Reads latest session file every 2s, incremental parse
2s
🌐
本地 HTTP 服务Local HTTP Server
Python 内置 HTTPServer,提供 /logs /session /configPython built-in HTTPServer, serves /logs /session /config
:19999
🖥️
浏览器实时渲染Browser Rendering
纯 HTML + JS,无框架,自动打开,零配置Pure HTML + JS, no framework, auto-opens, zero config
实时Live

现在就看见你的 Agent Start seeing your Agent now

免费、开源、纯本地。60秒部署,你的数据永远不离开你的电脑。 Free, open source, fully local. Deploy in 60 seconds. Your data never leaves your machine.

→ GitHub 提交反馈Submit Feedback