marimo-lens links outputs, computation, and prior intent in a pointable provenance graph
A paper submitted December 3 introduces Lens, which lets analysts point at a chart, table, or number and traverses view, computation, and intent layers to recover the code and earlier requests behind it. Across three experiments on public team notebooks, agents with Lens found the producing computation in 99% of runs, reported prior requests in 95%, and undid an earlier change in 15% when a new request conflicted with it.
Why it matters
Generative data interfaces often send an agent only the screenshot or current output, losing how a number was computed and why. Connecting a selection to code dependencies and still-standing intent lets the agent detect conflicts, ask before changing course, and map its work, checks, and result back into the interface.
A closer look
The authors derive requirements from 249,670 Observable notebooks, 17,328 cell comments, and 7,293 histories, then test on three real team notebooks. Without Lens, the question alone located the computation in 39% of runs, while a cell-name condition undid the earlier change in 96%. The three experiments cover 1,560, 648, and 1,080 runs. The open-source implementation keeps selections, notes, images, relevant cells, and request history connected.
Who this is for
Teams building data-analysis agents, visualization workbenches, auditable reports, or point-and-edit generative interfaces.
Original sources
- marimo-lens paper and open-source repository ↗arxiv.org
- Open-source marimo-lens implementation ↗github.com
Revisions & corrections (1)
— New primary research in the December 4 listings, verified from the abstract and full paper with limitations and counterevidence preserved.