Back to News
RSS feedlibraries.io

codex-stats brings local coding-agent usage into one dashboard

Summary

codex-stats is a local analytics tool that gathers session data from installed coding assistants and presents it in a standalone browser dashboard. It detects available data from Codex, OpenCode, Claude Code, and Hermes, skipping sources with no data, then normalizes the records into a shared session format. The dashboard offers an Overview across tools and individual tool tabs, with day, week, month, and all-time views, plus model, project, and recent-session breakdowns. It charts token trends and provides usage insights, recommendations, exportable JSON snapshots, shareable JPG cards, and PDF output. Costs are estimated from token usage by default; when OpenCode or Hermes has recorded a session cost, that value is used instead, and users can configure per-tool rates. The command-line tool can restrict which sources it reads, write the dashboard to a chosen path, or export a rolling period of data. It reads local files and databases rather than proxying or intercepting API traffic. Compatibility depends on the assistants’ local file formats, and environment variables can redirect data locations.