Back to directory

Neural MRI Scanner

A visualization tool that inspects the internals of open-source LLMs the way an MRI images a brain, mapping activations, weight distributions, information flow, and anomalies for a given model and prompt across five scan modes.

Neural MRI Scanner

Neural MRI Scanner runs an open-source language model against a prompt and renders five real-time visualizations of what happens inside it: static architecture (T1), weight distribution (T2), activation patterns (fMRI), information flow between components (DTI), and bias, hallucination, or anomaly signals (FLAIR). Token-by-token activations stream over WebSocket as the model generates.

A perturbation engine can zero, amplify, or ablate individual components and measure the effect through KL divergence and logit shift, and a causal-tracing mode compares clean and corrupted prompts with layer-by-layer recovery scores. It integrates Sparse Autoencoder analysis through SAELens and EleutherAI backends, extracts emotion probes to steer model behavior, and can run two models side by side on the same prompt.

It runs as a FastAPI backend with a React frontend, loading TransformerLens-compatible models discovered through the Hugging Face Hub, either locally or with Docker.

More in AI evals

See all 269
  • Provenance gate

    github.com

    A deterministic authorization gateway that sits between an AI agent and its tools, tracing where each parameter of a side-effect call came from, and blocking the call or asking a human when the source does not check out.

  • JevBench

    benchmarkheaven.com

    A reproducible benchmark from Benchmark Heaven that ranks Jev-class typed decision models on intelligence, calibration, speed, and cost, with a published harness, scoring rules, and results.

  • A co-evolutionary adversarial red-teaming tool for AI agents that uses quality-diversity evolutionary search to autonomously breed edge-case scenarios, testing whether an agent with tool access can be made to hallucinate, deadlock or leak funds.