LLM Token Heatmap — Documentation

This is the project documentation index. The repository root README has a short overview and quick start; the pages below cover each surface in depth.

Page Topic
installation.md Setting up the Python environment and (optionally) the web app
cli.md The token-heatmap command-line interface
python-api.md Using the library from Python: probe, generation, sampling, export, plotting
web-app.md Running and using the FastAPI backend + React frontend
schema.md The on-disk trace JSON format and its attention/activation sidecars
interpreting.md What the recorded metrics mean and how to read the plots
troubleshooting.md Common issues and how to fix them

The canonical JSON Schemas are also under this folder and are imported by the runtime — do not move them:

Build the documentation site

The docs can be compiled into a static MkDocs site:

pip install -e ".[docs]"
mkdocs build

The generated HTML is written to site/.