Show HN: Marimo pair – Reactive Python notebooks as environments for agents
TL;DR Highlight
Drop an agent into a running marimo notebook session to work alongside it
Who Should Read
A Python developer doing data analysis with Claude Code who is frustrated that the agent reruns fresh scripts and loses state
Core Mechanics
- Agents join a live notebook
- marimo-pair is a skill that drops an agent into a running marimo notebook session.
- The goal is to make the notebook the agent's working environment.
- Works with any Agent Skills tool
- Any agent supporting the Agent Skills open standard can install it via npx skills add.
- It is also available as a Claude Code plugin.
- Prerequisites are simple
- You need a running marimo notebook.
- Start it with --no-token for auto-discovery, or set MARIMO_TOKEN for servers with auth.
- bash, curl, and jq must be on PATH.
- Cut Bash approval prompts via settings
- Even with declared allowed-tools, Claude Code may prompt on each Bash call.
- Add the discover-servers.sh and execute-code.sh paths to permissions.allow in settings.json.
- A feedback command exists
- After a session, run /retro-marimo-pair to share improvement feedback.
Community Reactions
- Author on the design philosophy
- One author said code mode is not a versioned API.
- Its consumer is a model, so they changed the surface several times without migrating the skill.
- The model reads new instructions and discovers capabilities within a session.
- A commenter's marimo gotcha
- One user said it is hard to teach the LLM that the notebook is a graph and variables can't be reassigned.
- They compared the mistake to forgetting a semicolon in C.
- Many similar projects exist, per commenters
- Commenters linked agentnb (CLI over a persistent ipython kernel), cleon for Jupyter, and replsh for local Python sessions.
- Posit's mcp-repl uses a plain REPL with essentially one input tool.
- Simplicity vs structure tradeoff, as one opinion
- A thin REPL keeps interaction simple and context small.
- marimo gives notebook structure early so the model builds an artifact while exploring.
- Open question on long-running cells
- A commenter asked whether the agent waits or keeps going when a cell is slow.
- Neither the article nor comments answer it.
How to Apply
- Install the skill on a marimo notebook
- Start your notebook with marimo edit --no-token.
- Run npx skills add marimo-team/marimo-pair in the same project.
- Ask the agent to add a data summary cell.
- Remove Claude Code approval prompts
- Find the absolute paths of discover-servers.sh and execute-code.sh in the installed skill.
- Add both as Bash(bash path *) entries under permissions.allow in .claude/settings.json.
- Add a no-reassignment rule to your prompt
- Tell the agent not to reassign variables across cells and to use new names.
- This preempts the marimo-specific mistake a commenter raised.
- Send feedback after use
- Run /retro-marimo-pair when the session ends.
- File a GitHub issue for blockers.
Try It
# Paste into Claude Code terminal (after installing the marimo-pair skill)
# 1) In shell first: marimo edit --no-token {{notebook.py}}
# 2) Install: npx skills add marimo-team/marimo-pair
Find the running marimo notebook session and connect to it.
In that notebook, add and run a cell that reads {{data file path}} and shows a column summary and missing-value status.
Rule: marimo cells form a dependency graph, so never reassign a variable defined in another cell. Use a new variable name when changing a value.
When done, summarize the cells you added and their results.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques