Open source · MIT License

Your agents are burning tokens. Do you know where?

End-to-end tracing for OpenClaw. Track costs, debug heartbeats, catch waste — one command to start.

View on GitHub

What it looks like

OpenClaw Trace main dashboard showing agent overview and cost charts

Agent overview

OpenClaw Trace heartbeat detail view with step-by-step breakdown

Heartbeat detail

What you get

Everything you need to understand your agents.

Live agent overview

See every agent's status, last heartbeat, and total cost at a glance. Auto-refreshes so you never miss a spike.

Cost per heartbeat

Drill into any heartbeat to see exactly which tool calls ate your budget. Token counts, cache hit rates, step-by-step breakdown.

Budget guardrails

Set daily and monthly limits. Get visual warnings before your agents drain your wallet overnight.

Compare heartbeats

Pick two heartbeats, see what changed. Context growth, cost delta, tool usage diff — side by side.

Waste detection

Automatic hints when agents are re-reading files, making redundant API calls, or growing context unnecessarily.

Full REST API

Every metric available programmatically. Build your own alerts, dashboards, or integrations on top.

One command. Everything visible.

No config files. No sign-up. No cloud. Runs locally.

$ npx openclaw-traceClick to copy
1
Run the command
Starts the trace collector
2
Open localhost:3141
Your observability dashboard
3
See everything
Costs, traces, heartbeats live
“I had no idea one of my agents was spending $8 per heartbeat until I ran openclaw-trace. Fixed it in ten minutes.”

— OpenClaw user