marimo, the reactive Python notebook that stores notebooks as plain .py files, released version 0.26.0 on 24 November 2026. The headline is a reworked way for coding agents such as Claude Code, Codex and OpenCode to pair with a running notebook, plus cleaner configuration rules and lazy, paginated tables for big data. It also has real breaking changes, including a new minimum of Python 3.11.
This tutorial covers what changed, how to upgrade safely, and how to use the new features in day-to-day data work.
Before you upgrade: the breaking changes
Read this list first. Most notebooks upgrade without edits, but a few setups will break:
- Python 3.11 or newer is required. If your environment is on Python 3.10, upgrade Python before upgrading marimo.
- Experimental real-time collaboration is gone. If you enabled
experimental.rtc_v2, delete it from your config. Future multiplayer editing will be built on marimo’s new host protocol. marimo new PROMPTwas removed.marimo newstill creates an empty notebook. The experimental external-agents integration is deprecated in favour of themarimo-pairskill.- Codeium completion support was removed. Pick another completion provider in User settings.
runtime.dotenv = []now means “skip.env” everywhere. An explicit empty list now skips the project’s.envfile across all config sources. Remove it if you rely on automatic loading. Environment variables for output and stream size limits now take precedence over values set in files.- The default caching mechanism changed. To keep the old behaviour, set the loader back to pickle in your user config (
~/.config/marimo/marimo.tomlor~/.marimo.toml):
[cache]
loader = "pickle"
Upgrading
python --version # must be 3.11+
pip install -U "marimo>=0.26.0"
# or, with uv
uv add "marimo>=0.26.0"
marimo --version
If you installed the pairing skill with npx skills, upgrade it too. From this release on, the pairing tools ship inside the marimo CLI, so future improvements arrive with normal marimo upgrades:
npx skills upgrade marimo-pair
Feature 1: better agent pairing
“Pairing” means connecting your own coding agent to a notebook that is already running, so the agent can read cells, run code and see outputs instead of guessing from a static file.
How it works in 0.26
- Start a notebook as usual:
marimo edit analysis.py
- In your agent, either ask it to discover the session (“find my running
analysis.pynotebook”), or copy the pairing prompt from Actions → Pair an agent in the notebook and paste it into the agent. The new CLI tools let agents find notebooks running on your machine. - Once paired, the agent stays connected and appears in the editor footer.
- When a cell fails, click Send error to agent. marimo shares that cell’s code and traceback with every connected agent, so you no longer copy stack traces by hand.
The release notes say this messaging is in preview for supported Codex, Claude Code and OpenCode setups. The marimo pair page lists install commands per agent; for Claude Code it is:
claude plugin marketplace add marimo-team/marimo-pair
claude plugin install marimo-pair@marimo-pair
Why this matters
Under the hood, the editor, the CLI and agents now speak the same host protocol (spec on GitHub). Because marimo notebooks are reactive, an agent that edits one cell triggers the same dependency-aware reruns you would get. That makes agent changes far easier to verify than in a traditional notebook, where hidden state can make an agent’s “it works” meaningless.
Security tip: the pair page suggests --no-token for an easy local start. Only use that on your own machine; drop it if the server is reachable by anyone else.
Feature 2: predictable configuration
marimo reads settings from three places: your user config, your project (for example pyproject.toml), and the notebook itself. 0.26 makes the rules for combining them consistent and adds two handy tools.
One-off overrides from the command line. Open a notebook in lazy mode just for this launch:
marimo edit analysis.py --config runtime.on_cell_change=lazy
Lazy mode marks dependent cells as stale instead of rerunning them, which is useful when a notebook has expensive cells.
See where each setting came from. If a notebook behaves differently than you expect:
marimo config show --show-sources analysis.py
This prints the effective settings with their source, for example that format_on_save came from the notebook while autosave_delay came from the project. It is the fastest way to debug “why is autosave off on my teammate’s machine?”.
Feature 3: lazy tables for large data
mo.ui.table.lazy() displays a lazy dataframe (a Polars LazyFrame, an Ibis table or a DuckDB relation) without loading it into memory. In 0.26 it can page through results whose total size is unknown: for Polars, Ibis and DuckDB, marimo requests the page plus one extra row to know whether a “Next” page exists.
Its signature, per the marimo docs, is mo.ui.table.lazy(data, *, page_size=None, preload=False).
import marimo as mo
import polars as pl
orders = (
pl.scan_parquet("data/orders/*.parquet")
.filter(pl.col("status") == "shipped")
.sort("order_id") # sort by a unique key for stable pages
)
mo.ui.table.lazy(orders, page_size=25, preload=True)
Two notes from the docs: pagination is supported but row selection is not, and pages are queried independently, so sort by a unique key and keep the source unchanged for consistent results. Set preload=True if you want the first page to load without the user clicking to confirm.
The same pattern works with DuckDB:
import duckdb
rel = duckdb.sql("SELECT * FROM 'events.parquet' ORDER BY event_id")
mo.ui.table.lazy(rel, page_size=50)
Smaller improvements you will notice
- The last result stays visible while a cell reruns, so outputs no longer flicker away.
- Model discovery for OpenRouter and custom AI providers.
- Reusable definitions are reported as cell diagnostics.
- Support for partitioned session cookies.
Upgrade checklist
- Confirm Python 3.11+ in every environment that runs notebooks (including CI and deployment images).
- Remove
experimental.rtc_v2and any Codeium settings. - Search configs for
dotenv = []and decide whether you really want.envskipped. - If cached results matter, either accept the new loader or set
loader = "pickle". - Run
marimo config show --show-sourceson a key notebook to verify the effective settings. - Upgrade the
marimo-pairskill if you use it.
Takeaway
marimo 0.26 is a foundation release: one host protocol now powers the editor, the CLI and coding agents, and agent pairing is the first big feature built on it. If you already let an AI agent help with data analysis, pairing it to a live, reactive notebook is a big step up in reliability. Check the Python 3.11 requirement and the breaking changes, then upgrade.
Sources: marimo 0.26.0 release notes · marimo pair · Configuration guide · mo.ui.table API
