marimo-lens gives coding agents the provenance behind notebook outputs
A new open-source tool, marimo-lens, lets agents see how a pointed-at output was computed and which earlier requests shaped it, reducing accidental undoing of prior work.
In plain words
Analysts often ask AI coding agents to change a chart or number in a notebook, but the agent only sees the final output, not how it was made or what was asked before. marimo-lens, built for the marimo Python notebook, records that computation and request history so agents can look it up. In the authors' experiments this helped agents make changes without silently undoing earlier ones.
What was announced
The arXiv abstract reports that analysts increasingly delegate data work to coding agents and request changes by pointing at an output, such as a chart bar or a report number. Current tools typically pass the agent only that output, often as a screenshot, omitting how it was computed and why. Without the earlier requests behind a computation, the authors note, an agent can satisfy a new request while silently undoing an earlier one. Drawing on 7,293 Observable notebook histories, the team built Lens, which constructs an extended proven graph spanning view, computation, and intent, and implemented it as marimo-lens for marimo, a reactive Python notebook.
In three experiments on public team notebooks, the authors found that agents equipped with marimo-lens located the computation behind a pointed output more accurately and reported earlier requests affecting it, with far fewer input tokens for agents that cannot read images. When a new request conflicted with an earlier one, these agents undid the earlier change far less often. The tool is released as open source, with early use reported. The evidence comes from the paper's own abstract, so the results have not been independently verified and the excerpt does not include the full experimental details.
What it does not show
- Evidence is limited to the paper's abstract; full methodology, benchmarks, and statistical details are not available in the supplied excerpt.
- Reported accuracy and token improvements come from the authors' own experiments and have not been independently confirmed.
For security and IT teams
- Scope
- marimo-lens applies to marimo, a reactive Python notebook, and is released as open source.
Sources
Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.