Skip to main content

marimo-lens

PyPI License: Apache 2.0

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

marimo_lens-0.0.8.tar.gz (180.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

marimo_lens-0.0.8-py3-none-any.whl (192.9 kB view details)

Uploaded Python 3

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

Hashes for marimo_lens-0.0.8.tar.gz
Algorithm Hash digest
SHA256 ee91f15631afb68caa13f53d0bdbfdd59100558365b438e68e66a80f11e4bec1
MD5 7ffbadfd4762b8ead70fb78e45038afb
BLAKE2b-256 a199890cdf72336b7773f6fb2e3a615c243c719c53cf9482427def482730e63a

See more details on using hashes here.

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

Hashes for marimo_lens-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 86f6492454ed856260d4fc4e5cddf0803ce08069f7fe1a1dabe3e40eefa9c1a4
MD5 becd93ea6bc1c0b9478096c710ace4a5
BLAKE2b-256 d2f1e3424a9457d05016a7801a24eb275f883713be71c2ce6b695aed0fb92b71

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page