FRESNEL: A Visual IDE for Interpretability Experiments
Status: v0.1, under development. The core loop now works. (Updated 1 Dec 2026, see where it stands.)
The problem
Interp research usually means gluing TransformerLens, custom hooks and plotting code together in a notebook, then throwing it away. And the analysis happens after training, when it’s too late to act on it.
The idea
FRESNEL lets you wire an experiment on a node canvas, run it, watch it live, pause mid-training, inspect the model and resume.
Three design rules:
- Nodes are thin wrappers over real library functions.
import fresnelworks without the canvas. - The graph compiles to readable Python, and that’s the only way it runs. “Eject” just shows you the script that already ran.
- Training is a long-lived streaming node. Interp tools subscribe to its step events, so a run with no observers pays no overhead.
Where it stands (Dec 2026)
FRESNEL is now at v0.1, under development. The original plan was Phase 0 (the graph and node contract), then six working nodes, live streaming and storage. Those are done, and so is the UI. You can build a graph, run it, pause it, look inside it and resume it, all from the browser.
(The screenshots below use deliberately tiny models, a 0.1M-parameter nanoGPT learning two-digit addition, so they show what the tool does, not good results.)
This graph trains with SFT, then GRPO, then DPO, as a single run, with a logit lens watching:

Eject shows the plain Python script the run actually executed:

The Training tab follows the run live, stage by stage, with checkpoints, loss, evaluation and rewards. Pause writes a checkpoint first, so a paused run can be opened in the Inspector straight away.

The Inspector opens any checkpoint and has five views: logit and tuned lens, attention heads, activation patching, linear directions, and weight statistics (including ΔW between two checkpoints).

The Runs tab puts every run in one table, with overlaid curves, config diffs and lineage (which run started from which checkpoint).

The Agent tab drives all of this through the same tools a person uses: it edits a graph, launches a run and reads the results.

Also working:
- Trainers: SFT, DPO and GRPO, on nanoGPT and a small arithmetic task.
- Multi-stage training in one graph: a single run can chain SFT → GRPO → DPO. Each stage gets its own optimizer and learning-rate schedule, and the charts run continuously with a per-stage step counter (e.g.
grpo 50/150). - GPU loading: loading Qwen2.5-0.5B onto the GPU works in testing. Each node can pick its device (
cpu,cuda:Norinherit), and the trainer follows the model. - Agent tab: a chat agent that edits graphs and launches runs through the same tools a person uses. It has three autonomy levels (suggest, ask, auto), but launching, pausing and stopping always ask for approval. It can download datasets, evaluate checkpoints and write its own nodes or analyses, which are tested in a separate process and only installed once you approve. It works with any OpenAI-compatible API, and has been tested live with gpt-4o-mini and Claude Sonnet 4.5 through OpenRouter.
Built, but not yet shown to work:
- Weight-space programming (v0): edit a model’s weights with a short program instead of training, then measure ΔW and score the result on held-out data. The agent writes the edit program itself rather than following a fixed recipe. The whole loop runs, and the Weight-space tab shows every attempt with its ΔW and a held-out score. But so far it has only been tried on models this small and this inaccurate, where a change of a point or two is noise. Whether an edit actually helps is still an open question.

Still to come:
- A Hugging Face GPT-2 adapter for the Inspector.
- Real TRL trainers behind the same node contract.
pip install fresnel, and a “write your own node” guide.- Training on the GPU end to end, beyond loading.
How it got here
FRESNEL didn’t start as FRESNEL. From February to May 2026 it was “ProceduralInterp”, planned as a 22-module interpretability platform. On 29 October I audited it: about 340 KB of spec against 7.5 KB of working code. The problem wasn’t ability, it was scope. So I cut it down to one idea, a node graph where training and interp live together, renamed it, and started writing the code myself.
On 30 November Claude Code took the coding back over, and Phases 1 to 4 (library, streaming, canvas, inspector) were built in one overnight session. Everything above came after that.
More detail is on the project page.