This release reworks how coding agents pair with marimo notebooks. The editor now recognizes the agent connected to your notebook and can send a cell error back to your conversation. The tools for the marimo-pair skill now ship in the marimo CLI, so pairing improvements come with marimo upgrades.
Underlying these changes is a shared clientโserver model that lets us make new notebook capabilities available to the editor, the CLI, and future clients through the host protocol. We took this migration as an opportunity to retire older approaches to pairing and collaboration so we can focus future work in both areas on the same protocol.
We anticipate most users will be able to upgrade without changing their notebooks. Given the scope of the changes to clientโserver messaging, weโve bumped the minor version and called out the breaking changes below.
โญ๏ธ Highlights
Better agent pairing
The new CLI tools let your coding agent discover notebooks running on your machine. You can ask it to โfind my running analysis.py notebookโ or give it the pairing prompt from Actions โ Pair an agent in the notebook you have open.
Once paired, your agent stays connected and appears in the editor footer. If a cell fails, Send error to agent shares the cellโs code and traceback with each connected agent.
agent-aware-marimo-demo.mp4
Messaging is in preview for supported Codex, Claude Code, and OpenCode setups. See the pairing guide for more details.
If you installed the skill with npx skills, upgrade it for this release. Future pairing tool updates come with marimo.
npx skills upgrade marimo-pairConfiguration improvements
marimo reads settings from your user configuration, your project, and the notebook itself. Weโve made the rules for combining those settings more consistent in this release.
You can now set settings from the command line or see which source supplied each setting from marimo's resolution. See the configuration guide for more information.
For example, use --config to open a notebook in lazy mode for a single launch.
marimo edit analysis.py --config runtime.on_cell_change=lazyIf a notebook behaves differently than you expect, --show-sources prints its effective settings alongside their sources.
marimo config show --show-sources analysis.pyBrowse tables, lazily
Finally, mo.ui.table.lazy() now lets you page through a result whose total size is unknown. For Polars, Ibis, and DuckDB, marimo requests the page plus one extra row to tell whether thereโs more to show.
๐จ Breaking changes
marimo 0.26 requires Python 3.11 or newer. If your notebook environment uses Python 3.10, upgrade Python before upgrading marimo. #11437
We also took this opportunity to retire some earlier approaches to collaboration and agent integration. Weโre building multiplayer editing on the host protocol and focusing our agent work on the pairing tools that connect your own coding agent to a running notebook.
- Experimental real-time collaboration has been removed. If you enabled
experimental.rtc_v2, you can remove it from your configuration. Future multiplayer editing will use the same host protocol as the editor and coding agents. #11625 marimo new PROMPThas been removed. Usemarimo newto start an empty notebook, or ask your coding agent to create one from a prompt. The experimental external-agents integration is deprecated in favor of themarimo-pairskill. #11629 ยท #11634- Codeium completion support has been removed. If you used Codeium, select another completion provider in User settings. #11830
- An explicit
runtime.dotenv = []now skips the projectโs.envfile across config sources. Remove the empty list if you rely on automatic loading. Environment variables for output and stream size limits now take precedence over values set in files. #11423 - The default caching mechanism has changed. To keep the previous behavior, set the loader back to pickle in your user configuration #11669 (
~/.config/marimo/marimo.tomlor~/.marimo.toml):
[cache]
loader = "pickle"โจ Enhancements
- Update LLM model catalog (#12041)
- Report reusable definitions as cell diagnostics (#12025)
- Derive disabled descendants from host parent IDs (#12018)
- Publish direct cell parents in host analysis (#12021)
- Keep the last result visible while a cell reruns. #11979
- Split
put_cellintocreate_cellandreplace_cell(#12016) - Use the same host protocol to edit cells, run them, display their outputs, and save a notebook from the marimo editor. #12017
- Rename the
runtime.inputoperation toinput.reply(#12013) - Rename the stream filter from
typestokinds(#12012) - Name host protocol ids, timestamps and schemas consistently (#12008)
- Stop passing scratch code through the planning record (#12001)
- Record when each run and execution was created (#11993)
- State the lifecycle rules once in the spec (#11992)
- Group a runtime's lifecycle fields into its state (#11991)
- Name outcomes the same way on runs and executions (#11990)
- Merge display items into the console (#11988)
- Publish an execution's output as its own item (#11987)
- Group an execution's lifecycle fields into its state (#11985)
- Group a run's lifecycle fields into its state (#11981)
- Carry scratch code on its run (#11973)
- Tag each run with its origin (#11972)
- Batch document edits from the first unsent edit (#11944)
- Keep reactive reruns from flashing stale cell warnings (#11945)
- Restore the minimal chat sidebar (#11934)
- [Stanford CS146S] Let users choose the container engine (#11838)
- Remove the instantiate endpoint and the kernel-ready flag (#11873)
- Instantiate edit sessions on the server (#11872)
- Support partitioned session cookies (#11785)
- Give empty chats starter prompts and an agent pairing link (#11767)
- Mark a cell as not run when another runtime produced its result (#11875)
- Read cell outputs and outlines from the host (#11874)
- Update LLM model catalog (#11910)
- Report markdown rendered at startup as an execution (#11913)
- Restore a notebook's stored outputs as executions (#11871)
- Keep what is on show through a stream reset (#11868)
- Publish console media and rendered tracebacks as display items (#11869)
- Add model discovery for OpenRouter and custom providers (#11528)
- Interrupt the runtime through the host (#11808)
- Define
runtime.interruptin the host protocol (#11807) - Rename run interruption to
runtime.cancel(#11806) - Open the editor when the stream's snapshot is ready (#11800)
- Run cells through the host protocol. #11778
- Let untitled notebooks run through the host (#11777)
- Allow input on host runs (#11758)
- Add a warning for deprecated config fields (#11786)
- Update LLM model catalog (#11569)
- Carry a static page's outputs as the results of its snapshot (#11752)
- Derive each cell's output from the host's executions (#11751)
- Delete the editor's own freshness bookkeeping (#11738)
- Read stale styling and run-stale-cells from the freshness selector (#11737)
- Read cell freshness from the host (#11736)
- Derive cell freshness from the host's executions (#11735)
- Hand the submitting request to host runs (#11733)
- Read cell status from the host (#11685)
- Streamline the user interface for reviewing AI changes (#11712)
- Set checkbox and dropdown columns in
mo.ui.data_editorwithcolumn_types. #11203 - Expose the worker runtime through the host (#11684)
- Preserve Polars explode rows and display streaming plans (#11592)
- Improve in-editor AI experience (#11705)
- Hand runs to the kernel in acceptance order from the backends (#11695)
- Marimo cache prune (#11700)
- Resolve local notebook IDs in pair execute (#11690)
- List running notebooks from local discovery (#11689)
- Accept local credentials on the existing execute endpoint (#11688)
- Navigate exported PDFs using bookmarks generated from notebook headings. #11678
- Add
skippedoutcome for cells that did not evaluate (#11670) - Derive host freshness from code fingerprints (#11663)
- Marimo cache clean (#11628)
- Retain runs and executions on the notebook replica (#11656)
- Redesign user configuration menu (#11654)
- Retain the runtime on the notebook replica (#11655)
- Keep runs in acceptance order and interrupt late cancellations (#11649)
- Cancel a queued run in the kernel's control queue (#11646)
- Accept runs while one is in progress (#11645)
- Add input to the host protocol (#11640)
- Bind cell editors to the document (#11635)
- Add "Copy cell ID" cell action (#11311)
- Save the notebook through the host (#11553)
- Arrange cells through the document model (#11551)
- Read notebook state from the host document (#11575)
- Select Full access when you want the built-in assistant to run cells. #11612
- Choose Read only, Suggest edits, or Full access for the built-in assistant. #11611
- Edit cells through the document model (#11535)
- Initialize cells from the host document (#11532)
- Read cell content and order from the host document (#11529)
- Detect AMD GPU stats from amd-smi when rocm-smi is absent (#11568)
- Support lazy imports in setup cells (#11431)
- Type inference with jedi (#11201)
- Save WASM notebooks through the host (#11498)
- Prepare WASM sessions before starting execution (#11520)
- Follow island notebooks through the host stream (#11518)
- Follow the WASM notebook through its host stream (#11517)
- Propagate deleted bindings to host snapshots (#11516)
- Name the notebook replica and narrow module entry points (#11509)
- Send document edits through the confirming backend (#11511)
- Own the notebook connection lifecycle in the client (#11508)
- Route the editor's notebook through a backend (#11507)
- Accept editor authentication for notebook operations (#11500)
- Update and curate LLM model catalog (#11468)
- Expose variable revisions through the host (#11481)
- Track binding revisions in the kernel (#11480)
- Retain variables as part of execution results (#11479)
- Serve notebook edits in the WASM worker (#11488)
- Move notebook operations into core (#11485)
- Preview UI-bound variables from the notebook namespace (#11478)
- Introduce a notebook backend with a static implementation (#11473)
- Expose a session-owned document model to React (#11471)
- Bind CodeMirror editors to document cell code (#11446)
- Clean up the document model's public API (#11467)
- Test document synchronization through notebook scenarios (#11462)
- Own document drafts and synchronization in one model (#11445)
- Specify how clients derive outdated results (#11444)
- Add editable document model with local drafts (#11354)
- Highlight search matches in cells (#11424)
- Support cell runs in the host protocol (#11429)
- Separate notebook query parameters from stream options (#11417)
- Save notebook cells without rewriting the app (#11427)
- Remove the editor's old connection transports (#11414)
- Follow the editor's notebook stream with
NotebookEvents(#11413) - Find recent and running notebooks in separate tabs on the redesigned
marimo edithomepage. #11428 - Introduce experimental host protocol overlays and migrate Analysis (#11416)
- Update
marimo config describeoutput to use new config struct (#11373) - Persistent caches now use the lazy loader by default. To keep using the previous loader, set
loader = "pickle"under[cache]in your user configuration. #11403 - Add
onErrortosubscribein@marimo-team/client(#11412) - Export
sseand simplify client options in@marimo-team/client(#11411) - Update LLM catalog with Beam and DeepSeek Flash 1017 (#11315)
- Support runtime on-cell-change environment override (#11402)
- Add Node.js host discovery to
@marimo-team/client(#11401) - Add root
Clientand reducers (#11394) - Add
NotebookEventsto@marimo-team/client(#11391) - Reduce redundant frontend state updates (#11377)
- Add
NotebookClientto@marimo-team/client(#11389) - Remove legacy session stream framing (#11378)
- Consume host events in edit and app mode (#11357)
- Route session connections through the host stream (#11365)
- Synchronize editor callbacks and release widget resources (#11376)
- Expand table export options by clicking the row (#11381)
- Support app sessions on the host event stream (#11362)
- Add
@marimo-team/client(#11386) - Reuse frontend lookups and lazily initialize values (#11375)
- Report dependency cycles from the host analyzer (#11261)
- Report multiple definitions from the host analyzer (#11258)
- Allow hosts to withhold cell source (#11361)
- Clarify edit response revisions and reset stale cursors (#11360)
- Tighten the startup-URL token note (#11333)
- Remove the host opt-in flag (#11355)
- Read attachments from the host stream (#11351)
- Keep the confirmed document in
NotebookClient(#11349) - Clarify connection status ownership (#11348)
- Consume host events through
NotebookClient(#11305) - Preserve Arrow geometry exports and guard stale retries (#11335)
- Support filtering by value for all column types in context menu (#11182)
- Publish resumable host events for editor sessions (#11304)
๐ Bug fixes
- Suppress repeated LSP missing dependency notifications (#12048)
- Ignore surrounding whitespace in data sources table search (#11897)
- Reject --port values outside 0-65535 (#11819)
- Keep the blocked cell indicator across edits (#12023)
- Reuse cell compilation during notebook startup (#12006)
- Keep cached outputs when restoring the same session more than once. #12002
- Settle runtime exits before notifying subscribers and preserve the cause (#12004)
- Support unhashable
threading.localsubclasses in WASM (#11986) - Let the editor answer debugger prompts after a cell fails (#11959)
- Keep post-mortem debugger I/O with the editor session (#11974)
- Keep native output with the cell that opened the pipe (#11963)
- Clear stale execution marks on reconnect (#11958)
- Fetch the pair auth token under the base URL (#11955)
- Recover from WASM startup failures by reloading (#11946)
- Honor Polars temporal conversion error handling (#11947)
- Cancel clipboard confirmation reset on unmount (#11940)
- Initialize each kernel once (#11941)
- Derive run-mode token from session secret instead of hash() (#11861)
- Seed mo.watch.file with the file's current mtime (#11939)
- Respect class boundaries in dependency analysis (#11825)
- Move breakpoint state into the server session (#11936)
- Stop variables search from matching internal cell IDs (#11895)
- Filter event-handler attributes on custom elements (#11931)
- Avoid rendering an empty Select icon (#11932)
- Avoid DuckDB test collection name collision (#11930)
- Ensure absolute path and preserve query params in ASGI trailing slash redirect (#11523)
- Serve only raster image types from /og/thumbnail (#11862)
- Emit chart builder column names as Python string literals (#11853)
- Enable attachments for compatible chat models (#11728)
- Resume interrupted sidebar chats with their progress intact. #11844
- Escape attribute values in Html builder (#11858)
- Quote column names in ibis and polars pivot code printers (#11856)
- Keep database identifiers literal in SQL cells (#11890)
- Cache rendered SVGs (#11906)
- Use saved provider settings for model discovery (#11813)
- Register iframe resize helper for islands outputs (#11902)
- Fix Pixi kernel startup on Windows. #11202
- Make LaTeX smoke notebook compatible with Python 3.11 (#11887)
- Preserve form input focus during notebook startup (#11920)
- Stabilize shutdown, async tests, and safe-path scanning (#11921)
- Keep a session's cache as read until something changes (#11870)
- Restore model discovery CI checks (#11893)
- Use the detected package manager in install hints (#11846)
- Require edit capability for SQL validation requests (#11851)
- Resolve function signatures outside parameter scope (#11824)
- Drop stray f-prefix in generated date chart filter (#11854)
- Narrow HTML output types for notebook export (#11847)
- Don't follow symlinks when writing exports or copying public/ and local wheels (#11859)
- Launch helper python -m subprocesses with -P (#11860)
- Stop SharedMemoryStorage.read_chunked at the end of the buffer (#11852)
- Warn once per missing dotenv file (#11841)
- Preserve native math in WebPDF output. #11831
- Run cell context-menu actions after restoring focus (#11591)
- Preserve pandas indexes during edits. #11765
- Fix SQL toggle triggering Markdown-specific hide_code behavior (#11775)
- Preserve chat prompt caching across notebook edits (#11790)
- Let server cleanup finish after Ctrl-C (#11764)
- Keep the data editor working when a cell changes the schema. #11763
- Keep full screen open for elements inside plugin shadow roots (#11812)
- Keep glob wildcards within one path component (#11782)
- Ignore interrupts until the kernel installs its handler (#11805)
- Resolve setup cell fixtures in pytest test cells (#11301)
- Handle UnicodeDecodeError and invalid state when reading state TOML (#11562) (#11732)
- Don't treat class type parameters as refs in bases and body (#11792)
- Keep the user's error when formatting its traceback fails (#11781)
- Clamp outputs for cells without output (#11774)
- Fix custom URI schemes in Markdown links (#11143)
- Keep lazy UI blob from colliding with a def named ui (#11747)
- Percent-encode REST store cache keys (#11746)
- Stop the watcher re-staling a reader mid-run (#11748)
- Keep list values from markdown frontmatter (e.g. auto_download) (#11677)
- Join expired app kernels before restoring main (#11725)
- Invalidate unbound results when a later runtime binds the name (#11740)
- Compare edited source against the pending execution (#11741)
- Sync host themes and dark widget colors (#11709)
- Preserve notebook names when saving layouts (#11707)
- Preserve Ruff spacing after trailing function comments (#11665)
- Copy the code inside highlighted blocks (#11734)
- Preserve host run lifecycle event order (#11731)
- Align host presence expectation with attachment protocol (#11724)
- Track secure views in notebook reactivity (#11715)
- Restore downloads for non-active data formats (#11692)
- Fix Playwright-based exports on Windows. #11491
- Use forward slashes in path completions (#11672)
- Prevent overwriting malformed user configuration when saving settings (#11662)
- Fingerprint a watched directory by its entries (#11668)
- Name the restored result fixture by its code fingerprint (#11666)
- Keep host runs out of the interrupt discard (#11650)
- Avoid blocking on IPC kernel shutdown (#11615)
- Tidy up package resolution in convert (#11622)
- Normalize imported notebook filenames (#11620)
- Apply origin settings to WebSocket connections (#11621)
- Centralize page configuration rendering (#11619)
- Wait for variable previews in the UI staleness test (#11616)
- Run cell actions after restoring menu focus (#11614)
- Keep rolling-average example compatible with Polars 2 (#11583)
- Preserve slide layouts across display resolutions (#11502)
- Stop script mode from importing matplotlib on startup (#11590)
- Finish manifest lifecycle cleanup (#11497)
- Preserve manifest history during flush (#11495)
- Keep string values intact through
marimo check --fix(#11581) - Probe LSP ports on loopback to avoid Windows firewall prompts (#11579)
- Cover embedded notebook WASM cache isolation (#11543)
- Browse lazy tables without counting all rows (#11409)
- Handle empty series initializers (#11319)
- Serialize anywidget model messages until acknowledged (#11578)
- Preserve literal text in context tooltips (#11577)
- Ensure kernel takes code from runs only (#11574)
- Restore PDF export for bare Altair charts. #11557
- Resolve Safari audio controls blur in scroll containers (#11216)
- Narrow Anthropic message roles for SDK 2 (#11544)
- Normalize pandas 3.1 index reprs in table snapshots (#11541)
- Preserve Moonshot provider detection with newer Pydantic AI (#11466)
- Restore DuckDB 2.0 default database and schema discovery (#11515)
- Round range slider display values (#10874)
- Preserve nested schema paths in datasource browsing (#11458)
- Complete runs triggered by package installation (#11433)
- Remove redundant MCP schema inspection test (#11506)
- Align generated cell formatting with Ruff (#11441)
- Allow AI code generation with deepseek-flash (#11461)
- Trim
returnfor ruff formatting (#11430) - Use a fresh new-notebook key each time the launch link is used (#11295)
- Accept single-digit ports in is_url (#11410)
- Add auto env to enable jupyter extension behavior (#11127)
- Require notebook identity before yielding pair test servers (#11422)
- Synchronize pair replay test through subprocess pipes (#11421)
- Wait for cell readiness before timing kernel interrupts (#11420)
- Report a stopped stream to its subscribers (#11425)
- Fix flaky live-process discovery test (#11418)
- Preserve bracketed widget values in Markdown (#11385)
- Count lazy rows without loading the dataframe (#11405)
- Collect only the requested Polars page (#11406)
- Preserve session ttl across reconnects (#11260)
- Avoid false SQL failures with DuckDB 2 (#11356)
- Allow lifecycle objects to be managed by mo.Thread (#11358)
- Contain upstream export failures (#11198)
- Fall back to pickle when a typed serializer rejects a value (#11368)
- Populate the cell cache when a notebook runs as a script (#11369)
- Enter and exit the kernel lifespan exactly once (#11370)
- Anchor reactive pytest runs at a notebook outside the working tree (#11371)
- Reduce unnecessary work while editing cells (#11367)
- Exclude DML CTE aliases from SQL dependencies (#11347)
- Fall back to non-streaming when a model rejects streaming (#11274)
- Preserve hint/sql_line/sql_col from engine-reported MarimoSQLException (#10997)
- Flush progress text changes immediately (#11337)
๐ Documentation
- Clarify SQL parameterization and injection risks (#11907)
- Support more container engines for untrusted notebooks (#11948)
- Supported agents can connect automatically when they first execute code in the notebook. #11756
- Browse a generated reference for configuration options, including which settings are experimental, deprecated, or sensitive. #11888
- Note that anywidget instances share one JavaScript module (#11626)
- Move cross-site cookie configuration to authentication guide (#11938)
- Fix typo in security documentation (#11929)
- Support DuckDB, MotherDuck, and Quack protocol data source discovery (#10557)
- Support CLI configuration overrides (#11820)
- Support CSV and TSV downloads of Polars maps (#11717)
- Document --notebook-cell-gap CSS variable (#11771)
- Fix subject-verb agreement in autoreloading guide (#11885)
- Simplify data editor column configuration (#11730)
- Add support for setting user configs through environment variables (#11598)
- Simplify AI-related documentation in the editor features guide (#11602)
- Find instructions for using the language server in sandbox mode. #11490
- Simplify generate with AI guide (#11558)
- Require SQLGlot versions with compiled wheels (#11582)
- Adapt DuckDB relation and result handling for 2.0 (#11525)
- Document DuckDB schema metadata and table discovery (#11514)
- Learn how cache signing and verification work when sharing notebook caches. #10526
- Replace more retired Claude and Gemini models in docs and examples (#11396)
- Replace the retired gpt-4 and gpt-4-turbo models in examples and docs (#11393)
- Docs/add vs code debug instructions (#11316)
๐ฌ Preview features
- Deliver notebook messages to existing coding-agent conversations. #11330
- See connected agents in the editor footer and send a cellโs error report. #11225
๐ Other changes
- Describe a notebook's
modified_atas a hint (#12011) - Stop adding backslashes to quotes in markdown cells (#11952)
- Preserve structured output encoding in host displays (#11995)
- Fix path filtering for fork and same-repo PRs (#11956)
- Preserve terminal state across streamed console writes. #11978
- Replay execution items and command output in order. #11976
- The Runs panel now uses execution records from the notebook host. #11975
- Remove vulnerable Storybook docgen glob chain (#11772)
- Document FileState path parameter (#11942)
- Ship Copilot license and refresh third-party snapshot (#11937)
- Enforce safe paths for Python helper commands (#11867)
- Use GitHub App tokens for CLA signatures (#11849)
- Improve slider width and decimal precision (#11797)
- Include file paths in watched-read cache fingerprints (#11822)
- Build
host-protocolwhen installed from GitHub (#11828) - Harden the types of the host protocol (#11826)
- Prefer
typing.assert_neverover internal util (#11821) - Avoid sqlglotc build failures in development dependencies (#11580)
- Update actions/setup-node digest to 2499707 (#11561)
- Keep DuckDB below 2 for Ibis compatibility (#11549)
Contributors
Thanks to everyone who contributed to this release! @akshayka, @andrewsoonqn, @ANO3457, @anubhavlal07, @BarokDG, @burrows99, @CodewithJha, @dmadisetti, @erensh27, @hitaishi2222, @jacobslunga, @joshuamsalazar, @KaiyiQuan, @kirangadhave, @Light2Dark, @linfanqian, @manzt, @marthacryan, @mrityu75, @mscolnick, @namupta-max, @Oscar-Williams, @PaprikaChen, @pcbeingused333, @peter-gy, @peter-marimo, @philip-jvv-monolith, @pylrn, @RachitaPant, @rajveer3x, @RichardNooooh, @rob-ashdown-monolith, @Rosman-Carino, @scottdmilner, @sharonadhitya, @shivang-raj, @somebeing2, @SophiaHuangCc, @TejasLamba2006, @uzansar, @Willibus, @Yaqoubj
Special thanks to our first-time contributors!
- @BarokDG (#11182)
- @KaiyiQuan (#10997)
- @pcbeingused333 (#11274)
- @philip-jvv-monolith (#11260)
- @ANO3457 (#11410)
- @RachitaPant (#11295)
- @shivang-raj (#11557)
- @somebeing2 (#11319)
- @hitaishi2222 (#11568)
- @Rosman-Carino (#11311)
- @CodewithJha (#11677)
- @uzansar (#11143)
- @sharonadhitya (#11774)
- @anubhavlal07 (#11792)
- @rob-ashdown-monolith (#11812)
- @jacobslunga (#11797)
- @joshuamsalazar (#11528)
- @Willibus (#11885)
- @PaprikaChen (#11846)
- @SophiaHuangCc (#11902)
- @erensh27 (#10557)
- @scottdmilner (#11906)
- @RichardNooooh (#11932)
- @burrows99 (#11895)
- @linfanqian (#11838)
- @mrityu75 (#11907)
- @peter-marimo (#11986)
- @TejasLamba2006 (#11819)


