Let your notebook agent see what you see.
marimo-lens connects a point or region on rendered notebook output to the cells and context behind it. A live notebook agent can inspect that selection, show where it is working, and return the result for review.
Install and mount
marimo-lens supports Python 3.10 through 3.14 and marimo 0.24.0 or newer.
uv add marimo-lens
Mount one Lens in the notebook:
from marimo_lens import Lens
lens = Lens()
lens
Press Select, click a point or drag a region, then add an optional note.
Agent adapter
Code-mode agents connect through marimo_lens.agent:
import marimo_lens.agent as lens_agent
mounted = lens_agent.connect()
context = mounted.context()
connect() runs inside the live marimo kernel. It returns a MountedLens with
stable reconnection identity, context access, current cell-output capture,
activity, reveal, and resolution methods.
The distribution also installs the matching Agent Plugin and Agent Skill. Use
lens_agent.agent_skill() to locate its instructions from the notebook
environment.
Documentation
Source, issue tracking, and contributor documentation live in the marimo-lens repository.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file marimo_lens-0.0.8.tar.gz.
File metadata
- Download URL: marimo_lens-0.0.8.tar.gz
- Upload date:
- Size: 180.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee91f15631afb68caa13f53d0bdbfdd59100558365b438e68e66a80f11e4bec1
|
|
| MD5 |
7ffbadfd4762b8ead70fb78e45038afb
|
|
| BLAKE2b-256 |
a199890cdf72336b7773f6fb2e3a615c243c719c53cf9482427def482730e63a
|
File details
Details for the file marimo_lens-0.0.8-py3-none-any.whl.
File metadata
- Download URL: marimo_lens-0.0.8-py3-none-any.whl
- Upload date:
- Size: 192.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86f6492454ed856260d4fc4e5cddf0803ce08069f7fe1a1dabe3e40eefa9c1a4
|
|
| MD5 |
becd93ea6bc1c0b9478096c710ace4a5
|
|
| BLAKE2b-256 |
d2f1e3424a9457d05016a7801a24eb275f883713be71c2ce6b695aed0fb92b71
|