What's Changed
This release lets notebooks send messages to the coding agents that you pair with them, adds Antigravity to marimo pair, and opens large notebooks about twice as fast as 0.26.0.
⭐️ Highlights
Faster notebooks
It's still not Rust, but marimo is blazing 🐍. A 500-cell notebook now opens in 5x faster with marimo edit. The performance section below lists more than forty other changes that reduce the work marimo does when you run cells, type, save, search, and scroll. #12183 · #12193
Pair with Antigravity
marimo pair connect now delivers notebook messages to Antigravity conversations in the agy CLI, the desktop app, and the IDE, as it already does for Codex, Claude Code, and OpenCode. Messages arrive as system messages, and you need to run marimo pair connect again after you switch conversations in the same Antigravity process. #12185
Read the docs for more details.
A clearer Paired agents popover
The agent indicator in the editor footer now opens a Paired agents popover that matches the rest of the marimo interface and links to the pairing guide. #12263
✨ Enhancements
- Search environment variables in the Secrets panel (#12105)
- Choose a decimal separator for CSV and TSV table exports and copies (#12060)
- Show hover docs with
Kin Vim mode (#12184) - Update the LLM model catalog (#12161)
- Remove the redundant AI settings icon from the footer (#12264)
🐛 Bug fixes
- Reject host API requests to apps that are mounted in run mode, so viewers cannot read hidden cell source through the host WebSocket (#12269)
- Keep restored outputs as they are until their cell runs, and mount restored charts, tables, and widgets when they scroll near the viewport (#12218)
- Keep
micropipimports working after a notebook clears its globals (#12265) - Keep the saved state correct when another editor saves the file during
marimo edit --watch, so autosave no longer overwrites the external save (#12109) - Stop marking a cell as stale after its own
on_changehandler sets state (#12111) - Show a cell's previous result in a tab that opens during a rerun, instead of a blank output (#12151, #12172)
- Keep
@mo.cacheand other function caches when a cell reruns (#12132) - Fix
yieldfixtures defined in a notebook cell underpytest notebook.py(#11837) - Show DuckDB databases in the datasources panel when a helper function attaches them (#11904)
- Keep Unicode text and quotes intact in raw SQL f-strings (#12046)
- Keep Markdown hard line breaks when saving a notebook (#12170)
- Import marimo when converting a Markdown notebook (#12168)
- Export PEP 723 script metadata as
pyprojectin qmd front matter (#12163) - Stop replaying anywidget outputs from the session cache, which showed "Model not found" after reopening a notebook (#12162)
- Capture the latest cell outputs when an export starts (#12255)
- Recover
public/file requests in WASM notebooks after the service worker restarts (#12177) - Remove the initial loading delay in read mode (#12113)
- Show
mo.imagestring captions as plain text (#12207) - Show invalid email and URL input with the default debounce (#12030)
- Only load data from the marimo server as virtual files before a notebook is trusted (#12208)
- Require edit access to list storage entries and download from storage (#12229)
- Disable AMD GPU stats on Windows (#12179)
- Fix the clipped focus ring in settings tabs (#12191)
- Cancel the Add Model confirmation timer when the dialog closes (#12176)
⚡ Performance
47 changes to the editor, kernel, and server
Opening and saving notebooks
- Send the notebook to the editor before the kernel starts (#12183)
- Render Markdown as the kernel compiles cells (#12193)
- Pause the garbage collector while parsing a notebook (#12212)
- Register loaded cells in one document transaction (#12210)
- Update script metadata once per registration batch (#12211)
- Reuse loaded cells during WASM kernel startup (#12249)
- Defer the
marimo._lintimport to reduce startup modules (#12204) - Compile the URL regex on first use instead of at import (#12201)
- Reuse cell analysis and reduce notebook save overhead (#12167)
- Avoid copying unchanged cell ASTs during saves (#12237)
- Reuse compiled cells for unchanged code on file-watch reload (#12220)
Running cells
- Reduce per-run kernel overhead (#12121)
- Avoid repeated graph work on cell reruns (#12195)
- Index cell references by name in the dataflow graph (#12196)
- Index requested cells for queued runs (#12244)
- Avoid echoing notebook source in planned executions (#12194)
- Derive run-mode tokens from parsed notebook source (#12236)
- Scan for changed modules once per run when auto-reload is on (#12214)
- Skip the console writer round trip when there is no new output (#12213)
- Skip table-manager checks for builtin scalars (#12206)
- Return functions unchanged from no-op tracer decorators (#12205)
- Look up cells by ID once per host document edit (#12216)
- Reuse the lint graph's compiled cells in MR003 (#12217)
- Check async per cell without ancestor walks in script export (#12209)
- Infer completion parameter types only for untyped Google-style
Argsrows (#12219)
Editor and server
- Build CodeMirror editors lazily (#12122)
- Defer cell syntax highlighting until the editor mounts (#12239)
- Stop restyling the document on every editor mount (#12100)
- Skip a notebook-wide restyle when opening the command palette (#12257)
- Reduce per-cell listeners and redundant editor updates (#12101)
- Speed up cell formatting and reduce server traffic (#12102)
- Isolate pending-delete subscriptions during cell navigation (#12103)
- Avoid VS Code DOM scans and guard cell render isolation (#12164)
- Cache notification decoding and share decoded messages (#12165)
- Batch display snapshots and isolate per-cell views (#12166)
- Reduce server relay overhead (#12171)
- Resolve notebook outline headings in one pass (#12238)
- Share cell actions per store and build toolbar commands on open (#12241)
- Share tooltip hover delays across cells (#12242)
- Defer per-cell AI completion work (#12243)
- Limit Find highlights to visible editors (#12245)
- Skip language panel renders for routine editor updates (#12246)
- Mount the cell delete button on hover or focus (#12247)
- Reduce notebook log append cost (#12248)
- Compare visible media without serialization (#12250)
- Skip error list updates for unrelated notebook changes (#12256)
- Reuse assembled notebook documents for GitHub Copilot completions (#12267)
📚 Documentation
- Clarify how
public/files work in WASM notebooks (#11982) - Fix the undefined
sliderin the dynamic UI elements example (#12173) - Use the correct brace escaping syntax in the SQL FAQ (#12174)
- Correct the python-dotenv function name in the FAQ (#12192)
- Fix the language tag on the matplotlib FAQ example (#12221)
Fixed in this release
- Send
experimental.isolate_appsmessages with msgspec (#12268)
📝 Other changes
- Move more of the editor onto the host protocol, the same protocol that the CLI and paired agents use (#12114, #12115, #12116, #12126, #12128, #12129, #12146)
- Upgrade plotly.js to 4 (#12200)
- Exclude SQLGlot 30.34.0 from uv resolution (#12186)
- Bump CodeMirror language server and SQL packages (#12106)
- Build the frontend automatically on the first
make dev(#12137) - Simplify the micropip fallback and stabilize reload and Windows tests (#12266)
- Add a reusable guard for modules loaded by
import marimo(#12215) - Stabilize cell and DuckDB release tests (#12077)
- Bump protocol-buffers-schema from 3.6.0 to 3.6.1 (#12068)
- Bump flatted from 3.3.3 to 3.4.4 (#12066)
- Bump shell-quote from 1.8.3 to 1.12.0 (#12063)
- Bump diff from 8.0.2 to 8.0.4 (#12065)
- Bump lodash from 4.17.21 to 4.18.1 (#12067)
Contributors
Thanks to all our community and contributors who made this release possible: @akshayka, @bunnyloop7, @burrows99, @csun365, @dangooddd, @dmadisetti, @industriverse, @kirangadhave, @Light2Dark, @linfanqian, @manzt, @miah7, @mrityu75, @mscolnick, @peter-gy
And especially to our new contributors:
- @miah7 made their first contribution in #11982
- @csun365 made their first contribution in #11904
- @industriverse made their first contribution in #12046
- @bunnyloop7 made their first contribution in #12173
Full Changelog: 0.26.0...0.26.1

