Documentazione ClawMetry

Guida completa all'installazione, configurazione e utilizzo di ClawMetry, la dashboard di osservabilità in tempo reale per agenti AI.

Installazione

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.

Requisiti

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.

Funzionalità

🌊 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.

Configurazione

ClawMetry funziona senza alcuna configurazione. Rileva automaticamente il tuo workspace OpenClaw cercando file e directory standard. Per personalizzare:

Come si confronta ClawMetry

FeatureClawMetryGrafanaDatadogLangSmith
AI agent nativePartial
Zero config
Self-hosted
FreeLimited
Sub-agent visibility
Token cost trackingManualManual
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?

ClawMetry gira in locale e conserva i dati dei tuoi agenti in un database locale sulla tua macchina; non serve alcun account. Se colleghi ClawMetry Cloud (opzionale), le conversazioni e i contenuti delle attività dei tuoi agenti vengono crittografati end-to-end prima dell'upload, solo tu possiedi la chiave e il cloud conserva testo cifrato che non può leggere. I totali semplici (costi, conteggio dei token, stato di salute) vengono inviati in modo sicuro, così la tua dashboard e il tuo dispositivo si aggiornano all'istante.

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.

← Torna alla Home