frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Marimo pair – Reactive Python notebooks as environments for agents

https://github.com/marimo-team/marimo-pair
22•manzt•5h ago
Hi HN! We're excited to share marimo pair [1] [2], a toolkit that drops AI agents into a running marimo notebook [3] session. This lets agents use marimo as working memory and a reactive Python runtime, while also making it easy for humans and agents to collaborate on computational research and data work.

GitHub repo: https://github.com/marimo-team/marimo-pair

Demo: https://www.youtube.com/watch?v=6uaqtchDnoc

marimo pair is implemented as an agent skill. Connect your agent of choice to a running notebook with:

/marimo-pair pair with me on my_notebook.py

The agent can do anything a human can do with marimo and more. For example, it can obtain feedback by running code in an ephemeral scratchpad (inspect variables, run code against the program state, read outputs). If it wants to persist state, the agent can add cells, delete them, and install packages (marimo records these actions in the associated notebook, which is just a Python file). The agent can even manipulate marimo's user interface — for fun, try asking your agent to greet you from within a pair session.

The agent effects all actions by running Python code in the marimo kernel. Under the hood, the marimo pair skill explains how to discover and create marimo sessions, and how to control them using a semi-private interface we call code mode.

Code mode lets models treat marimo as a REPL that extends their context windows, similar to recursive language models (RLMs). But unlike traditional REPLs, the marimo "REPL" incrementally builds a reproducible Python program, because marimo notebooks are dataflow graphs with well-defined execution semantics. As it uses code mode, the agent is kept on track by marimo's guardrails, which include the elimination of hidden state: run a cell and dependent cells are run automatically, delete a cell and its variables are scrubbed from memory.

By giving models full control over a stateful reactive programming environment, rather than a collection of ephemeral scripts, marimo pair makes agents active participants in research and data work. In our early experimentation [4], we've found that marimo pair accelerates data exploration, makes it easy to steer agents while testing research hypotheses, and can serve as a backend for RLMs, yielding a notebook as an executable trace of how the model answered a query. We even use marimo pair to find and fix bugs in itself and marimo [5]. In these examples the notebook is not only a computational substrate but also a canvas for collaboration between humans and agents, and an executable, literate artifact comprised of prose, code, and visuals.

marimo pair is early and experimental. We would love your thoughts.

[1] https://github.com/marimo-team/marimo-pair

[2] https://marimo.io/blog/marimo-pair

[3] https://github.com/marimo-team/marimo

[4] https://www.youtube.com/watch?v=VKvjPJeNRPk

[5] https://github.com/manzt/dotfiles/blob/main/.claude/skills/m...

Comments

manzt•3h ago
One of the authors here, happy to answer questions.

Building pair has been a different kind of engineering for me. Code mode is not a versioned API. Its consumer is a model, not a program. The contract is between a runtime and something that reads docs and reasons about what it finds.

We've changed the surface several times without migrating the skill. The model picks up new instructions and discovers its capabilities within a session, and figures out the rest.

Show HN: Gemma 4 Multimodal Fine-Tuner for Apple Silicon

https://github.com/mattmireles/gemma-tuner-multimodal
95•MediaSquirrel•3h ago•8 comments

Show HN: Brutalist Concrete Laptop Stand (2024)

https://sam-burns.com/posts/concrete-laptop-stand/
677•sam-bee•11h ago•211 comments

Show HN: An interactive map of Tolkien's Middle-earth

https://middle-earth-interactive-map.web.app/
30•frasermarlow•2h ago•4 comments

Show HN: Unicode Steganography

https://steganography.patrickvuscan.com
9•PatrickVuscan•10h ago•2 comments

Show HN: A cartographer's attempt to realistically map Tolkien's world

https://www.intofarlands.com/atlasofarda
149•intofarlands•10h ago•26 comments

Show HN: Finalrun – Spec-driven testing using English and vision for mobile apps

https://github.com/final-run/finalrun-agent
22•ashish004•8h ago•7 comments

Show HN: Open-source GDPR router for LLMs detects PII, forces EU-only inference

https://github.com/mahadillahm4di-cyber/mh-gdpr-ai.eu
3•mahadillah-ai•1h ago•0 comments

Show HN: Pion/handoff – Move WebRTC out of browser and into Go

https://github.com/pion/handoff
89•Sean-Der•10h ago•15 comments

Show HN: Mo – checks GitHub PRs against decisions approved in Slack

https://motionode.com/index
2•oscarcaldera•1h ago•0 comments

Show HN: Stop paying for Dropbox/Google Drive, use your own S3 bucket instead

https://locker.dev
223•Zm44•11h ago•184 comments

Show HN: Ghost Pepper – Local hold-to-talk speech-to-text for macOS

https://github.com/matthartman/ghost-pepper
448•MattHart88•1d ago•195 comments

Show HN: Anos – a hand-written ~100KiB microkernel for x86-64 and RISC-V

https://github.com/roscopeco/anos
105•noone_youknow•3d ago•31 comments

Show HN: A (marginally) useful x86-64 ELF executable in 298 bytes

https://github.com/meribold/btry
9•meribold•6h ago•0 comments

Show HN: AdaShape-3D modeler for intuitive 3D printing parts / Windows 11

https://adashape.com
29•fsloth•3d ago•27 comments

Show HN: Hippo, biologically inspired memory for AI agents

https://github.com/kitfunso/hippo-memory
119•kitfunso•1d ago•23 comments

Show HN: Tusk for macOS and Gnome

https://shapemachine.xyz/tusk/
113•factorialboy•3d ago•42 comments

Show HN: TTF-DOOM – A raycaster running inside TrueType font hinting

https://github.com/4RH1T3CT0R7/ttf-doom
63•4RH1T3CT0R•1d ago•12 comments

Show HN: GovAuctions lets you browse government auctions at once

https://www.govauctions.app/
310•player_piano•1d ago•88 comments

Show HN: I built a tiny LLM to demystify how language models work

https://github.com/arman-bd/guppylm
891•armanified•1d ago•134 comments

Show HN: Marimo pair – Reactive Python notebooks as environments for agents

https://github.com/marimo-team/marimo-pair
22•manzt•5h ago•1 comments

Show HN: A social feed with no algo where communities decide what gets seen

https://veridonia.com
5•smnkgv•9h ago•5 comments

Show HN: A reasoning hierarchical robotics pipeline you can run in the browser

https://avikde.github.io/vla-pipeline/
4•avikde•5h ago•0 comments

Show HN: Real-time AI (audio/video in, voice out) on an M3 Pro with Gemma E2B

https://github.com/fikrikarim/parlor
284•karimf•2d ago•35 comments

Show HN: The King James Bible deserved a better website

https://officialkingjamesbible.com/
5•L23234•8h ago•3 comments

Show HN: Gemma Gem – AI model embedded in a browser – no API keys, no cloud

https://github.com/kessler/gemma-gem
153•ikessler•1d ago•21 comments

Show HN: Clawcast – A peer-to-peer podcast network for agents

https://www.clawcast.dev/
7•PiersonMarks•6h ago•5 comments

Show HN: C64 Ultimate Toolbox for macOS

https://github.com/amiantos/c64-ultimate-toolbox
2•amiantos•6h ago•0 comments

Show HN: Interactive object storage cost calculator

https://storage.mixpeek.com
2•Beefin•6h ago•0 comments

Show HN: I made a YouTube search form with advanced filters

https://playlists.at/youtube/search/
316•nevernothing•1d ago•201 comments

Show HN: A game where you build a GPU

https://jaso1024.com/mvidia/
952•Jaso1024•3d ago•186 comments