VasiHemanth/tokentelemetry
Token telemetry dashboard for AI autonomous and coding agents — tracks tokens, sessions, tool calls & reasoning across Hermes agent, Claude Code, Antigravity CLI, Codex & more. 100% local.
TokenTelemetry is a free, open-source dashboard that runs entirely on your own computer and shows you what your AI coding agents are doing — how many tokens they use, what those tokens cost, which tools they call, and what they're "thinking" step by step.
The problem it solves: AI coding assistants (like Claude Code, Gemini CLI, or Cursor) consume tokens quickly, but it's hard to know how much a given session cost, which agent is most efficient, or what the agent actually did. TokenTelemetry answers those questions by reading the log files these agents already write on your machine — no extra setup, no accounts, no cloud.
Key features:
- Token & cost tracking — real-time usage per agent, model, and project
- Session traces — a waterfall view showing prompts, reasoning, tool calls, and responses
- Tool call analytics — which tools agents use most, success/failure rates
- Budgets & alerts — set spending or token limits per project; get notified at 80% and 100% (it only watches, never blocks an agent)
- Plan limits — shows how much of your provider's quota (e.g., Claude's 5-hour window) you've used, read directly from your existing logins
- Multi-agent support — one dashboard for 18+ coding agents plus a dedicated view for Hermes Agent (an autonomous agent that runs across CLI, Telegram, Discord, cron jobs, etc.)
- Per-project insights — heatmaps, activity timelines, and agent leaderboards per codebase
How it works: TokenTelemetry auto-detects supported agents from their default log locations (e.g., Claude Code writes JSONL logs to ~/.claude/). It parses those files locally and serves a web dashboard at http://localhost:13000. The backend is a Python FastAPI app; the frontend is a Next.js React dashboard.
Privacy: All your data — logs, sessions, tokens, costs, prompts, file paths — stays on your machine. There are two optional outbound calls: an update check (fetches latest version from GitHub) and anonymous product-usage telemetry (on by default, one-click off) that sends only content-free signals like which pages you open and your OS type — never your code, prompts, costs, or any stable identifier.
Installation: One-line installers for macOS/Linux (curl ... | bash) and Windows (PowerShell), or clone the repo and run ./start.sh. Requires Node.js 20.9+, Python 3.9+, and git.
Remote access: Local-first by default (binds to 127.0.0.1). Optional remote access via flags (--host, --allowed-origins, --auth-token) or SSH tunneling — useful when your agents run on a VPS and you only have SSH access.
Comparison to alternatives: Unlike Langfuse, LangSmith, or Helicone — which require instrumenting your code, creating accounts, and sending data to their cloud — TokenTelemetry is 100% local, zero-config, and works by reading log files your agents already produce. No SDK, no API key.
License: MIT — free forever.
Related
- Project
- Project
- Project
- Project
- Project