Dokumentasyon ng ClawMetry

Kumpletong gabay sa pag-install, pag-configure, at paggamit ng ClawMetry, ang real-time na observability dashboard para sa mga AI agent.

Pag-install

The fastest way is the one-line installer. It detects your OS, installs ClawMetry, and starts it. These are the same options as the Quick Start on the homepage.

One command (recommended)

curl -fsSL https://clawmetry.com/install.sh | bash

Works on macOS, Linux, and Windows (WSL). Opens at http://localhost:8900 and auto-detects your OpenClaw workspace.

Ask your agent

Already running an OpenClaw agent? Just ask it (run in a long-running PTY, the setup is interactive):

Help me install in a long running PTY
pip install clawmetry && clawmetry setup && setup clawmetry sync via supervisord

pip

pip install clawmetry
clawmetry onboard

Windows PowerShell

iwr -useb https://clawmetry.com/install.ps1 | iex

Windows CMD

curl -fsSL https://clawmetry.com/install.cmd -o install.cmd && install.cmd && del install.cmd

macOS companion app (beta)

Prefer a native menubar app? Download for macOS (macOS 14+, Apple Silicon or Intel). Runs alongside the CLI.

Mga Kinakailangan

Track any SDK agent

ClawMetry auto-detects on-disk runtimes (OpenClaw, Claude Code, Codex, Cursor, Aider, Goose, and more). But your own production agent β€” built on the OpenAI Agents SDK, LangChain, the Vercel AI SDK, LlamaIndex, E2B, or a plain httpx loop β€” doesn't write sessions to disk. Two lines capture its LLM calls (cost, tokens, latency, errors) and attribute them to a named product:

import clawmetry.track                          # activate the interceptor
clawmetry.track.set_source("support-agent")    # name this product

Each named source shows up as its own first-class line in the dashboard's πŸ”Œ Out-loop sources card β€” calls, providers, latency, and error rate per agent. You can set it from the environment instead:

CLAWMETRY_SOURCE=billing-agent python my_agent.py

It feeds the same DuckDB β†’ cloud snapshot pipeline as the on-disk runtimes, so out-loop sources sync to the cloud dashboard end-to-end encrypted, the same as everything else.

Mga Feature

🌊 Live Flow Visualization

The signature feature. An animated SVG architecture diagram that lights up in real-time as your agent processes messages. Color-coded by type:

πŸ“Š Token & Cost Tracking

Track token usage and costs per session, per model, and per tool. Bar charts show daily, weekly, and monthly totals. With OpenTelemetry enabled, get real token counts and actual costs instead of estimates.

πŸ€– Sub-Agent Monitoring

When your agent spawns sub-agents, ClawMetry shows you every step: files being read, commands being run, tools being called, and what the sub-agent is thinking. Available as summary, narrative, or full logs.

⏰ Cron Job Dashboard

Monitor scheduled jobs with status indicators, schedule expressions, last/next run times, and duration. Get alerted when cron jobs fail.

πŸ“œ Session History & Transcripts

Every session is logged with timeline, tool calls, and cost. The transcript viewer shows conversations in a chat-bubble UI with color-coded roles.

πŸ“ Memory File Browser

Browse and track changes to your agent's memory files: SOUL.md, MEMORY.md, AGENTS.md, and daily notes. See what changed and when.

πŸ₯ System Health

At-a-glance dashboard showing service uptime, disk usage, active sub-agents, and cron job status.

Configuration

Gumagana ang ClawMetry nang walang configuration. Awtomatiko nitong nadi-detect ang iyong OpenClaw workspace sa pamamagitan ng paghahanap ng mga standard na file at directory. Para i-customize:

Paghahambing ng ClawMetry

FeatureClawMetryGrafanaDatadogLangSmith
AI agent nativeβœ…βŒβŒPartial
Zero configβœ…βŒβŒβŒ
Self-hostedβœ…βœ…βŒβŒ
Freeβœ…βœ…βŒLimited
Sub-agent visibilityβœ…βŒβŒβŒ
Token cost trackingβœ…ManualManualβœ…
One-command installβœ…βŒβŒβŒ

FAQ

Does ClawMetry work without OpenClaw?

Yes. ClawMetry works with 12 AI agent runtimes: OpenClaw, NVIDIA NemoClaw, Claude Code, Codex, Cursor, Aider, Goose, Hermes, opencode, Qwen Code, NanoClaw, and PicoClaw. It reads each runtime's sessions, logs, and tool activity to give you one observability dashboard across all of them. OpenClaw and NemoClaw are free on every plan.

Is my data sent anywhere?

Tumatakbo ang ClawMetry nang lokal at iniingatan ang data ng iyong mga agent sa isang lokal na database sa iyong machine; hindi kailangan ng account. Kung ikokonekta mo ang opsyonal na ClawMetry Cloud, ang mga pag-uusap at activity content ng iyong mga agent ay end-to-end encrypted bago i-upload, ikaw lang ang may hawak ng key, at ciphertext lang na hindi nito mababasa ang iniimbak ng cloud. Ang mga simpleng kabuuan (gastos, bilang ng token, health status) ay ligtas na ipinapadala para agad na ma-update ang iyong dashboard at device.

Can I run it on a Raspberry Pi?

Yes! ClawMetry is lightweight (single Python file + Flask). It runs on any device that supports Python 3.8+.

How do I update?

pip install --upgrade clawmetry

Where do I report bugs?

Open an issue on GitHub.

← Bumalik sa Home