Overview
Live snapshot of the unified registry
ONE LEDGER,
EVERY CALL.
Registry · v_token_ledger
—Calls per bucket
24hLatency p50 / p95
millisecondsOutcomes
hits vs missesPer-model breakdown
ranked by trafficUpstreams & clients
liveQuickstart — up and running in three steps
No build step, no CDN, no cloud. Python on the machine, everything on 127.0.0.1.
1 · Install
oncegit clone https://github.com/MlkBlk-IT/icy-loom
cd icy-loom && pip install -e .
One clone, one editable install. No venv is forced — use yours if you have one.
2 · Launch
every timeicyloom serve
python tools/tray.py # optional tray
The stack opens four ports: gateway 8150, MCP HTTP 8151, SSE 8152, this console 8153.
3 · Point your client
one env varexport OPENAI_BASE_URL=http://127.0.0.1:8150/v1
export MCP_HTTP_URL=http://127.0.0.1:8151/mcp
Any OpenAI- or Anthropic-compatible client works. Cache hits, compression and the tool tax are all measured here.
What happens next
zero configNothing to tune
- The gateway listens on
8150and forwards to your upstream as soon as a request lands. - The cache is keyed on the normalized prompt — identical calls are answered locally.
- The ledger records every call, hit or miss, in the single SQLite file.
Reading your first numbers
- Open Overview — five KPI cards, live.
- Cache rate is the share of calls answered from the cache.
- Gain is avoided ÷ (paid + avoided); the target line is 35%.
Where to go deeper
- Guide explains every metric and the request path.
- Help lists the shortcuts and the repository link.
- The full source lives at github.com/MlkBlk-IT/icy-loom.
Activity — the request relief
Each tile = calls in one UTC hour. Column height and colour = call count (√ scale by default, switch to linear with the chip). Flat ground = no measured call.
Traffic volume 3D
drag to rotateDrag the relief to spin it, hover a tile to read the hour.
Topo map
same surfaceOne curve = one traffic step.
Hourly traffic
hits vs misses per bucketLatest requests
last 40 eventsToken economy
Three domains, one unit: tokens actually paid versus tokens actually avoided.
Daily curve — paid vs avoided
14 daysDaily tokens, UTC. Red area = tokens avoided, solid brown line = tokens paid, dashed orange = average avoided per day. Daily gain = avoided ÷ (paid + avoided). Click a legend label to hide a series; hover for exact values.
Economy gauge
against the 35% lineShare of the token baseline that was avoided (avoided ÷ (paid + avoided)). Green = at or above the target tick.
Where the savings come from
share of the baselineDomain split
registry viewEconomy per day
liveCache — every stored prompt
Normalized prompt, hash and hit counter — straight out of the single SQLite file.
Most reused entries
hatched rankingReuses = cache hits served by each stored prompt. Hover a row for model, full hash, provider and last access; click a row to filter the table on the right.
Cache entries
—Semantic cache (L2)
—Entries
Stored embeddings
Reuses
Semantic hits served
Hit rate
reuses / (reuses+entries)
Niveau L2 : matching par similarite cosine (seuil —, dim —). Active via cache.semantic_enabled dans icyloom.yaml.
Context drawer — the memory
Sessions, sources, chunks, anchors and invariants kept by the context drawer.
Stored sources
before → anchorSources per session
liveTool relay
Downstream MCP servers, their cache and the latency that never had to be paid.
Tool servers
gaugeCalls per tool
hatched barsTool cache
entries & bytesOnly tools on the cache_tools allow-list are cached — deny by default.
MCP catalog — pick what IcyLoom may relay
—Checked servers are active: their tools are exposed to the relay. Unchecked stay dormant in the catalog, ready to be switched on. Toggling writes icyloom.yaml (timestamped backup) and hot-reloads the proxy.
Per-tool breakdown
liveAudit live
The journal, breathing: every call and every relayed tool, as it lands.
LLM events
ledger journalTool events
relay journalGateway V2
The tool catalog, what the gateway allows, what it refuses, and the trace of every decision.
Tools per server
registrySide effects
what the agent can breakWhere the tokens go
by categoryThe registry
—Policy in force
what is allowedAudit decisions
who · what · which decision · whyTrust signals
—Flagged results
injection · schemaGuide — how to read this console
What the numbers mean, where a request travels, and which knobs to turn.
The path of a request
client → gateway → cache → upstream → registry → consoleReading the metrics
- Hit — the answer came from the cache, so those upstream tokens were avoided, never billed.
- Miss — the call went upstream; its tokens are real (upstream usage), never estimated.
- Gain = avoided ÷ (paid + avoided). The operating threshold is 35%.
- p95 — 95% of calls are faster than that.
- A negative saving is possible: compression can cost more tokens than it saves. It is shown as measured.
- Everything on this page is read from
v_token_ledger, the unified registry. - All timestamps are UTC — one single clock, from the database to the charts.
The 13 MCP tools
Shortcuts & tips
1…9and0jump to a view,Rrefreshes,Ppauses,Eexports,Ccompacts.- The side panel switches view: every view is live, none of them is a static page.
- The 3D relief spins with the mouse; the map is read with the finger.
- Ports: gateway
8150, MCP HTTP8151, SSE8152, console8153. - Everything binds to
127.0.0.1— nothing leaves the machine. - Compact in the side panel shrinks everything for a laptop screen.
- Export downloads the exact JSON the page is drawing.
Live system
read from the admin APIHelp & shortcuts
Every key you can press, where the source lives, and the fine print.
Keyboard
no mouse neededLinks
the projectThe console reads /api/dashboard on port 8153. Nothing leaves 127.0.0.1.
Fine print
nothing hiddenData
- All figures come from the SQLite
v_token_ledger— no sampling, no estimation. - Timestamps are UTC, one clock from the database to the ink.
- The page is read-only: it never writes to the registry.
Privacy
- Every port binds to
127.0.0.1. No telemetry, no external call. - No CDN and no external font: the page draws everything with local code.
- Cache keys are hashes of normalized prompts — the raw text stays local.
Troubleshooting
- Console blank? Check
8153/health— it should readhealthy. - No new numbers? Open Audit live to confirm events are landing.
- Everything frozen? The Reconnect button in the Window bar re-opens the stream.