Skip to content

Dashboard & TUI

Terminal window
cmx

Opens a full-screen terminal app (mouse-enabled):

Page Keys Contents
Dashboard 1 tokens saved, context reduction %, cache read/write, 14-day bar chart
Sessions 2 every session with requests, original vs sent tokens, saved — click or Enter for detail
Session detail Enter on a session summary entries with the exact message IDs they replace
Config 3 live config values and file location
  • Scroll with the mouse wheel or j/k, arrow keys
  • S starts the gateway, X stops it, q / Esc quits
  • Refreshes every 3 seconds
Terminal window
cmx start # then visit

http://127.0.0.1:17323 — built into the same binary, zero extra setup:

  • Stat cards — saved tokens + reduction %, context sent (original → actual), requests/sessions, cache read/write
  • Daily chart — original vs sent tokens per day, saved tokens as bars
  • Sessions table — click a row for summaries with the replaced ID ranges
  • Live polling every 5 s with a connection indicator
  • Original — estimated tokens that would have been sent with no compression
  • Sent — estimated tokens actually sent upstream after rewrites
  • Saved — the difference; per session, per day, and per provider
  • Cache read/write — provider-reported cached-token counts, so you can verify cache hit rates stay healthy