Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentwatch reports token throughput for AI coding agents running on this machine.
|
Package agentwatch reports token throughput for AI coding agents running on this machine. |
|
Package bearer carries one process-wide optional Bearer token applied to engine HTTP requests (routers like OmniRoute require API keys even for model listing).
|
Package bearer carries one process-wide optional Bearer token applied to engine HTTP requests (routers like OmniRoute require API keys even for model listing). |
|
Package collector polls providers on an interval, derives token rates from monotonic counters, and fans snapshots out to the UI.
|
Package collector polls providers on an interval, derives token rates from monotonic counters, and fans snapshots out to the UI. |
|
Package core defines the shared data model flowing from collectors to the UI.
|
Package core defines the shared data model flowing from collectors to the UI. |
|
Package demo simulates a small inference fleet so toktop has something to show without any real backends.
|
Package demo simulates a small inference fleet so toktop has something to show without any real backends. |
|
Package gpu samples accelerator telemetry across vendors.
|
Package gpu samples accelerator telemetry across vendors. |
|
Package ingest runs a tiny localhost HTTP endpoint so agents, harnesses and scripts can push token-usage events that toktop renders live.
|
Package ingest runs a tiny localhost HTTP endpoint so agents, harnesses and scripts can push token-usage events that toktop renders live. |
|
Package logcfg owns how toktop writes its audit log: the environment variable that sets the floor, the logger built from it, and the redaction every line goes through.
|
Package logcfg owns how toktop writes its audit log: the environment variable that sets the floor, the logger built from it, and the redaction every line goes through. |
|
Package probe fires small streaming generations at backends to measure time-to-first-token and decode throughput the way clients experience it.
|
Package probe fires small streaming generations at backends to measure time-to-first-token and decode throughput the way clients experience it. |
|
Package procs discovers local inference engines by inspecting running processes rather than guessing ports.
|
Package procs discovers local inference engines by inspecting running processes rather than guessing ports. |
|
Package provider implements discovery and metric scraping for local inference backends: Ollama, vLLM, SGLang, TRT-LLM/Triton, llama.cpp, LM Studio, MLX, KoboldCpp and further engines fingerprinted by their HTTP surface, plus a generic OpenAI-compatible fallback.
|
Package provider implements discovery and metric scraping for local inference backends: Ollama, vLLM, SGLang, TRT-LLM/Triton, llama.cpp, LM Studio, MLX, KoboldCpp and further engines fingerprinted by their HTTP surface, plus a generic OpenAI-compatible fallback. |
|
Package remote attaches toktop to engines on other hosts over one long-lived ssh connection: target parsing, host key handling, discovery of listening inference ports and periodic vitals sampling.
|
Package remote attaches toktop to engines on other hosts over one long-lived ssh connection: target parsing, host key handling, discovery of listening inference ports and periodic vitals sampling. |
|
Package repogate holds the tests that keep the repository's own metadata true.
|
Package repogate holds the tests that keep the repository's own metadata true. |
|
Package selfreload watches the running executable and signals when it has been rebuilt.
|
Package selfreload watches the running executable and signals when it has been rebuilt. |
|
Package selfupdate replaces the running binary with a newer release.
|
Package selfupdate replaces the running binary with a newer release. |
|
Package sysmon samples host vitals: RAM, swap, load, temperatures, CPU model, OS and kernel identity, driver versions, GPUs and NPUs.
|
Package sysmon samples host vitals: RAM, swap, load, temperatures, CPU model, OS and kernel identity, driver versions, GPUs and NPUs. |
|
Package ui renders the toktop dashboard.
|
Package ui renders the toktop dashboard. |
Click to show internal directories.
Click to hide internal directories.