Overview

Live snapshot of the unified registry

LIVE ⏱ 00:00 ✚ 0 tok économisés 💰 0
Window db — 0 ledger rows —
IcyLoom
✦ IcyLoom · unified console

ONE LEDGER,
EVERY CALL.

❄ IcyLoom — freeze the cost of repetition ◭ true 3D — drag it ⛰ contour lines ✎ rough style · 100% pencil

Registry · v_token_ledger

—
Tokens paid upstream—
Tokens avoided—
Baseline (paid + avoided)—
Latency avoided by tool cache—
Threshold (≥ 35%)—

Calls per bucket

24h

Latency p50 / p95

milliseconds

Outcomes

hits vs misses

Per-model breakdown

ranked by traffic

Upstreams & clients

live
★

Quickstart — 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

once
git 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 time
icyloom 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 var
export 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 config

Nothing to tune

  • The gateway listens on 8150 and 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.
01

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 rotate
drag ↔ scroll

Drag the relief to spin it, hover a tile to read the hour.

Topo map

same surface

One curve = one traffic step.

Hourly traffic

hits vs misses per bucket

Latest requests

last 40 events
02

Token economy

Three domains, one unit: tokens actually paid versus tokens actually avoided.

Daily curve — paid vs avoided

14 days

Daily 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% line

Share 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 baseline

Domain split

registry view

Economy per day

live
03

Cache — every stored prompt

Normalized prompt, hash and hit counter — straight out of the single SQLite file.

Most reused entries

hatched ranking

Reuses = 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.

04

Context drawer — the memory

Sessions, sources, chunks, anchors and invariants kept by the context drawer.

Stored sources

before → anchor

Sources per session

live
05

Tool relay

Downstream MCP servers, their cache and the latency that never had to be paid.

Tool servers

gauge

Calls per tool

hatched bars

Tool cache

entries & bytes

Only 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

live
06

Audit live

The journal, breathing: every call and every relayed tool, as it lands.

LLM events

ledger journal

Tool events

relay journal
07

Gateway V2

The tool catalog, what the gateway allows, what it refuses, and the trace of every decision.

Tools per server

registry

Side effects

what the agent can break

Where the tokens go

by category

The registry

—
Tools indexed—
Servers behind the gateway—
Read-only—
Writes—
Destructive (approval required)—
Most requested intents—

Policy in force

what is allowed
Default role—
Environment—
Allowed roots—
Decisions traced—
Tokens won by compression—

Audit decisions

who · what · which decision · why

Trust signals

—
Tools with declared annotations—
Definition drift (changed tools)—
Results flagged untrusted—
Structured results off-schema—

Flagged results

injection · schema
08

Guide — 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 → console

Reading 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…9 and 0 jump to a view, R refreshes, P pauses, E exports, C compacts.
  • 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 HTTP 8151, SSE 8152, console 8153.
  • 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 API
?

Help & shortcuts

Every key you can press, where the source lives, and the fine print.

Keyboard

no mouse needed

Links

the project

The console reads /api/dashboard on port 8153. Nothing leaves 127.0.0.1.

Fine print

nothing hidden

Data

  • 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 read healthy.
  • No new numbers? Open Audit live to confirm events are landing.
  • Everything frozen? The Reconnect button in the Window bar re-opens the stream.