- Joined
- May 18, 1997
- Messages
- 58,241
Been working on this. Sneak Peek.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This is a tool I have been building for 5 or 6 weeks now. This sits between Hermes and LM Studio currently, but should be extendable to other environments. A bit from the readme.mdinteresting...
As someone who has had to do a PoC for Claude at work, and seeing their opentelemetry options are limiting, and some mentioning custom MCP servers to really track things...
Nice idea and tool! It's often helpful to allow for display of token budget reset windows, and as always having the means to translate tokens to currency (where applicable) can be useful.This is a tool I have been building for 5 or 6 weeks now. This sits between Hermes and LM Studio currently, but should be extendable to other environments. A bit from the readme.md
"Everything lives in this one folder. Zip it, copy it to a USB stick, hand it to someone, it runs wherever it lands. Python standard library only; nothing to `pip install`.
"What this is — and how it differs from the observability tools.
"Most prompt- and token-observability lives inside **SDK-based platforms** - LangSmith, Langfuse, Helicone, Phoenix, OpenLLMetry and the like. Those work by *instrumenting your application*: you import their SDK, wrap your framework calls, and they read the structured pieces your own code hands them. They know the system-vs-tools-vs-history split because your code told them at construction time.
"This tool works from the opposite side. It's a **transparent reverse proxy** between a closed client (Hermes) and a local server (LM Studio), reconstructing prompt composition from the raw request bodies on the wire — no SDK, no framework hooks, no cooperation from either end. Because LM Studio returns just one number for the whole prompt (`prompt_tokens`), the proxy has no tokenizer to divide that number with. So instead it **calibrates its own tokens-per-character rates, per model, by least-squares regression over your own captured traffic** - and it refuses to call a split "measured" until the data can actually support one. Until then it says so, and falls back to a clearly-badged character-share estimate."
Something like this?Nice idea and tool! It's often helpful to allow for display of token budget reset windows, and as always having the means to translate tokens to currency (where applicable) can be useful.