Let your agent see what you see.
marimo-lens connects a point or region on a rendered marimo notebook output to its producing cells, relevant notebook context, and an annotated image when capture succeeds. A live notebook agent can inspect the request, show its activity, and return results for review. Reopen an addressed selection from History to continue the analysis.
Install and mount
In a project managed by uv:
uv add marimo-lens
uv run marimo edit notebook.py
Requires Python 3.10–3.14 and marimo 0.24.0 or newer. Mount Lens in one notebook cell and keep it displayed:
from marimo_lens import Lens
lens = Lens()
lens
Press Select, click a point or drag a region, then add a note.
Connect an agent
Lens works with agents that can execute Python in the live notebook kernel, including marimo Pair. The package includes the matching agent instructions and registers its Lens capability with marimo. Follow Connect an agent for setup and the inspection, verification, and review workflow.
Documentation
Getting started · Concepts · Python API · Compatibility · Data and trust
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.9.tar.gz.
File metadata
- Download URL: marimo_lens-0.0.9.tar.gz
- Upload date:
- Size: 180.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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 |
7977d7fde66bbebad5d0e21a11020c63826d37d1e3bda6c9fccc045a8424be8d
|
|
| MD5 |
3f0ecc9a0b9095310bdc39fb75e369c1
|
|
| BLAKE2b-256 |
139b52e50e2b693c37358dca142a284f9c2e62c2e91a6946fb26a1d97fdb496b
|
File details
Details for the file marimo_lens-0.0.9-py3-none-any.whl.
File metadata
- Download URL: marimo_lens-0.0.9-py3-none-any.whl
- Upload date:
- Size: 193.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","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 |
2b5592cf70efd1e31d83df8040f74af290083a75a1c01a852f62b6b1971ebf26
|
|
| MD5 |
11355277aee67ed74878b1a3d5edf431
|
|
| BLAKE2b-256 |
93399a92b628a53445f88d0274c409478dce38bdcda7d0f29bc74e31b4270d4a
|