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
50•manzt•2d 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•2d 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.

llamavore•1h ago
Looks cool. I love notebooks.

I built something similar with just plain cli agent harnesses for Jupyter a while back.

It supports codex subscriptions and pi, (used to support Claude subs, might still be okay since I didn’t modify the system prompt).

Has some bugs and needs some work but getting help and code changes inline in Jupyter is way better than copy pasta hard to select text from cells and cell output all day.

https://github.com/madhavajay/cleon

TheTaytay•27m ago
Thank you for this!

I am a big fan of Marimo and was trying to use it as my agent’s “REPL” a while back, because it’s naturally so good at describing its own current state and structure. It made me think that it would make a better state-preserving environment for the agent to work. I’m very excited to play with this.

OpenAI Backs Bill That Would Limit Liability for AI-Enabled Mass Deaths

https://www.wired.com/story/openai-backs-bill-exempt-ai-firms-model-harm-lawsuits/
189•smurda•58m ago•114 comments

Intel 486 CPU announced April 10, 1989

https://dfarq.homeip.net/intel-486-cpu-announced-april-10-1989/
71•jnord•2h ago•49 comments

Protected quantum gates using qubit doublons in dynamical optical lattices

https://ethz.ch/en/news-and-events/eth-news/news/2026/04/a-new-trick-brings-stability-to-quantum-...
178•joko42•10h ago•39 comments

Mysteries of Dropbox: Property-Based Testing of a Distributed Sync Service [pdf]

https://www.cis.upenn.edu/~bcpierce/papers/mysteriesofdropbox.pdf
9•JackeJR•2d ago•1 comments

How NASA built Artemis II’s fault-tolerant computer

https://cacm.acm.org/news/how-nasa-built-artemis-iis-fault-tolerant-computer/
474•speckx•22h ago•183 comments

FBI used iPhone notification data to retrieve deleted Signal messages

https://9to5mac.com/2026/04/09/fbi-used-iphone-notification-data-to-retrieve-deleted-signal-messa...
168•01-_-•2h ago•78 comments

Show HN: QVAC SDK, a universal JavaScript SDK for building local AI applications

5•qvac•18h ago•0 comments

France Launches Government Linux Desktop Plan as Windows Exit Begins

https://www.numerique.gouv.fr/sinformer/espace-presse/souverainete-numerique-reduction-dependance...
712•embedding-shape•3h ago•327 comments

I still prefer MCP over skills

https://david.coffee/i-still-prefer-mcp-over-skills/
297•gmays•12h ago•247 comments

White House staff told not to place bets on prediction markets

https://www.bbc.co.uk/news/articles/cgld65x396go
94•chrischapman•2h ago•51 comments

Native Instant Space Switching on macOS

https://arhan.sh/blog/native-instant-space-switching-on-macos/
568•PaulHoule•18h ago•273 comments

Model-Based Testing for Dungeons & Dragons

https://www.loskutoff.com/blog/model-based-testing-dnd/
66•Firfi•3d ago•17 comments

Artemis II and the invisible hazard on the way to the Moon

https://www.ansto.gov.au/news/artemis-ii-and-invisible-hazard-on-way-to-moon-part-1
50•zeristor•7h ago•38 comments

Show HN: Keeper – embedded secret store for Go (help me break it)

https://github.com/agberohq/keeper
43•babawere•5h ago•25 comments

Penguin 'Toxicologists' Find PFAS Chemicals in Remote Patagonia

https://www.ucdavis.edu/health/news/penguin-toxicologists-find-pfas-chemicals-remote-patagonia
60•giuliomagnifico•7h ago•14 comments

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

https://github.com/marimo-team/marimo-pair
51•manzt•2d ago•3 comments

We've raised $17M to build what comes after Git

https://blog.gitbutler.com/series-a
210•ellieh•12h ago•452 comments

Generative art over the years

https://blog.veitheller.de/Generative_art_over_the_years.html
196•evakhoury•2d ago•48 comments

Charcuterie – Visual similarity Unicode explorer

https://charcuterie.elastiq.ch/
270•rickcarlino•17h ago•62 comments

The Art of Risk Management (2017)

https://www.bcg.com/publications/2017/finance-function-excellence-corporate-development-art-risk-...
32•walterbell•2d ago•9 comments

CollectWise (YC F24) Is Hiring

https://www.ycombinator.com/companies/collectwise/jobs/Ktc6m6o-ai-agent-engineer
1•OBrien_1107•9h ago

RAM Has a Design Flaw from 1966. I Bypassed It [video]

https://www.youtube.com/watch?v=KKbgulTp3FE
306•surprisetalk•2d ago•110 comments

The effects of caffeine consumption do not decay with a ~5 hour half-life

https://www.lesswrong.com/posts/vefsxkGWkEMmDcZ7v/the-effects-of-caffeine-consumption-do-not-deca...
10•swah•28m ago•3 comments

Ads in ChatGPT

https://help.openai.com/en/articles/20001047-ads-in-chatgpt
9•cbility•3h ago•1 comments

Old laptops in a colo as low cost servers

https://colaptop.pages.dev/
339•argentum47•19h ago•194 comments

Unfolder for Mac – A 3D model unfolding tool for creating papercraft

https://www.unfolder.app/
276•codazoda•21h ago•53 comments

Instant 1.0, a backend for AI-coded apps

https://www.instantdb.com/essays/architecture
181•stopachka•19h ago•90 comments

Kagi Product Tips – Customize Your Search Results with URL Redirects

https://blog.kagi.com/tips/redirects
133•treetalker•16h ago•27 comments

Research-Driven Agents: When an agent reads before it codes

https://blog.skypilot.co/research-driven-agents/
193•hopechong•21h ago•51 comments

PicoZ80 – Drop-In Z80 Replacement

https://eaw.app/picoz80/
210•rickcarlino•19h ago•32 comments