Open the dashboard
Explore activity, model and tool performance, session graphs, and requests in a browser on your machine.
Run the local server using a release binary.
agent-stats serve --allOpen http://127.0.0.1:7373 on the machine running the command. The dashboard starts while the index updates in the background. It checks for changes every 30 seconds. Use Re-index to refresh immediately, or pass --no-sync to read an existing index without automatic updates. Press Ctrl+C in the terminal to stop the server.
Usage
Start in Overview for recent trends, the breakdown of input, cache reads, cache writes and output tokens, and the latest requests. Switch Activity over time between cost, requests, and tokens. On a daily chart, select a day to see contributing sessions. The chart keeps the full content width on medium screens.
Open Usage for the complete breakdowns by coding agent, model, provider, folder, agent type, and tool. Review price coverage alongside estimated costs. To compare the same slice across views, keep the period, coding agent, and project filters in place. The browser keeps these filters in its URL.
agent-stats serve --since 7d --harness claudeSee the server flags for other ways to start the dashboard.
Models and tools
- Models shows request volume or share by model and provider. Select a series or row to see latency, time to first token, output rate, and sample counts. View model requests opens the journal for that pair.
- Tools shows dated calls or errors by tool and MCP server. Select a series or row to see the sessions behind it. The separate Tool usage by model table reports attribution only for eligible Pi and oh-my-pi calls.
Series use matching colors across the charts, legends, and tables. Expand Values by period to read the underlying counts and percentages.
Sessions
Open Sessions and choose a row for models, tool calls, subagents, and prompts. The list selects sessions by their latest activity in the period. The detail describes the whole run within the project scope.
Open Activity graph in a session. Relations draws the recorded parent and fork links in Mermaid. Solid lines mark parents and a dashed line marks a fork. Select a node by mouse or keyboard to read its full title and activity. Timeline shows recorded activity intervals. Unavailable links or timestamps are identified in the view.
Open Requests within the session for model calls, or Trace for timestamped prompt, model and tool events across the run.
Requests and errors
Use Requests in the sidebar for all model calls in scope. Search by model, provider, or folder, filter to failures, or open the related session. Available fields include price, timing, token counts, and stop reason. Errors starts with failed requests and can filter them by normalized error signature. Error details and signature search are local.
Prompts
Open Prompts to see recurring requests, flagged prompts, and totals by project folder. Expand Prompt signals by model to compare counts for the preceding model and provider when that association exists. See the prompt review guide for how to interpret those signals.
Catalog and quotas
The sidebar offers Catalog and Quotas on a loopback listener without remote access. Improvements brings together recurring requests and enabled catalog entries with zero observed use so you can inspect the underlying evidence.