Short version. CircuitsVis is a display layer: you compute attention or activations with TransformerLens and hand the arrays to CircuitsVis to draw in a notebook or a web page. The Parameter Space Inspector computes and draws in one place, with the model loaded and the controls attached. One is a component library for researchers who build their own pipeline; the other is the pipeline.
Side by side
| Parameter Space Inspector | CircuitsVis | |
|---|---|---|
| What it is | Desktop instrument that opens a local model and measures it | Mechanistic interpretability visualisations as React components, callable from Python |
| Made by | The Emergence Machine | Alan Cooney and Neel Nanda (TransformerLensOrg) |
| Licence | Apache-2.0 | MIT |
| How you use it | Views with controls | pip install circuitsvis or yarn add circuitsvis; pass tensors |
| What it shows | Attention, logit lens, neurons, patching, concept maps, cuts, features, timeline, grafts, with the model live | Attention patterns and heads, text neuron activations, coloured tokens, top-k tokens and samples |
| Computes anything | Yes | No; model-agnostic display of arrays you supply |
| Interventions | Knock-outs, patching, cuts, steering | None |
| Offline | Works offline; no remote requests by default | Loads its JavaScript from a CDN; firewalled notebooks break |
| Activity | Active | PyPI 1.43.3 on 2024-12-18; last commit 2026-04 |
Where CircuitsVis is the better choice
Publishing. If you already have the tensors and want a known, citable component in a paper's companion notebook or a web demo, CircuitsVis is what the field uses.
Where the Inspector is the better choice
Producing the measurement in the first place, on your own model, with no pipeline to build and no CDN to reach.
See it in a case study
Each of these is a published study you can repeat in the Inspector and change to your own question.
- Induction-head scores: Reproduce a published result tonight, a heat map of all 384 heads in Pythia-410m, 0 looking back at step 512 and 12 at step 1,000, then the strongest knocked out beside random heads as a control.
- Logit lens: Does it fold when you push back?, the Neural net view reads Canberra from about layer 29 of Qwen3-4B, and under pushback the middle layers read "sorry" first.
- Patching and concept maps: Where is the fact decided?, patching finds the fact decided in middle layers at the subject's position, and deleting 1,117 neurons for "Bluetooth" did not remove the concept.
- Cuts: Find the tipping point before you prune, on Qwen3-4B coherent writing fell to 46% at 20% removed and the model wrote gibberish at 40%, while understanding held out longest.
- Steering: Does an AI dig in once it has been wrong?, steering at ±6 along a deference direction made Qwen3-4B say Sydney 17 of 17 turns, and one forced wrong answer kept it there with steering off.
Questions people ask
Does CircuitsVis need TransformerLens?
No, it takes arrays from anywhere; in practice most users feed it TransformerLens caches.
Why is coloured text hidden in my Jupyter notebook?
A long-open CircuitsVis issue. The Inspector has no notebook rendering layer.
Can the Inspector's views be embedded in a web page?
The Inspector's UI is served locally for your own use; it is not an embeddable component library.
Facts about CircuitsVis verified on 2026-10-16 from its repository and PyPI. Corrections welcome.