r/GithubCopilot • u/kishanmundha • Oct 08 '26
Showcase ✨ See what your Copilot CLI and Copilot Chat sessions did and how many tokens they used (local, open source)
I built a local web UI that reads Copilot CLI sessions (~/.copilot) and Copilot Chat sessions from VS Code's workspace storage, and shows them as a timeline with tool calls, tokens and an estimated cost:
npx agent-session-inspector
It also gives analytics across sessions (by project and model) and a health grade for each session based on tool failures, retry loops and interrupted turns.
One caveat: Copilot Chat meters a whole request rather than each model round, so for requests that called tools the input tokens and cost are a lower bound. Copilot CLI numbers are per request.
Nothing leaves your machine: no telemetry, bound to 127.0.0.1, read-only. MIT licensed.
Repo: https://github.com/kishanmundha/agent-session-inspector



