agentburn

v0.14.0
io.github.Socialpranker/agentburn Checked 1 hour ago Published 2 months ago

Local profiler: which usage window took you out, and where your agent's money goes

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

burn_report

Where this machine's AI agent burns money: totals, monthly pace, breakdown by source (cron/heartbeat/gateways/subagents/cli), models, overnight window, fixed overhead per call, recommendations. Returns JSON.

ParameterTypeDescription
agentstringhermes | openclaw | claude-code (default: first detected)
daysintegerwindow in days (default 30, 0 = all time)
sourcestringdrill into one source, e.g. telegram / cron / heartbeat / subagent

burn_why

Behavioral forensics from the agent's own records: functions called (with error counts), re-read loops, retry storms, idle heartbeats, money burned in failed runs, plus what-to-change observations. Returns JSON.

ParameterTypeDescription
agentstringhermes | openclaw | claude-code (default: first detected)
daysintegerwindow in days (default 30, 0 = all time)
sourcestringdrill into one source, e.g. telegram / cron / heartbeat / subagent

burn_limits

For subscription plans, where the invoice is fixed and what runs out is the usage window: how full the peak rolling 5-hour window got, how it compares with a typical one, what filled it (model, source, cache reads vs output). Weighted by published price ratios; no provider limit formula is assumed. Returns JSON.

ParameterTypeDescription
agentstringhermes | openclaw | claude-code (default: first detected)
daysintegerwindow in days (default 30, 0 = all time)
sourcestringdrill into one source, e.g. telegram / cron / heartbeat / subagent

burn_context

The price of long contexts on this machine: share of the usage window spent at each context size, what a /clear at 100k/150k/200k/300k would have saved, the longest sessions, usage by effort level, and what each skill costs per load (measured from context growth). Returns JSON.

ParameterTypeDescription
agentstringhermes | openclaw | claude-code (default: first detected)
daysintegerwindow in days (default 30, 0 = all time)
sourcestringdrill into one source, e.g. telegram / cron / heartbeat / subagent

burn_commits

What each git commit cost, in weighted tokens: sessions joined to the repositories they ran in (read-only git log). Costliest commits, median per repository. Returns JSON.

ParameterTypeDescription
agentstringhermes | openclaw | claude-code (default: first detected)
daysintegerwindow in days (default 30, 0 = all time)
sourcestringdrill into one source, e.g. telegram / cron / heartbeat / subagent

burn_card

Anonymized shareable burn summary (plain text, safe to post).

ParameterTypeDescription
agentstringhermes | openclaw | claude-code (default: first detected)
daysintegerwindow in days (default 30, 0 = all time)
sourcestringdrill into one source, e.g. telegram / cron / heartbeat / subagent