marimo can substitute for Jupyter Notebook when Python analysis benefits from reactive execution and text-based source files. It is a qualified migration rather than a promise of unchanged execution: repeated global assignments, magic syntax and interactive outputs need review. Dependency metadata and exported outputs should travel with the source when they are needed for the handoff.[3][4]
Overview
marimo is an open-source reactive Python notebook environment with SQL support. It represents notebooks as Python source and can reuse them as scripts or applications. Running a cell updates dependent work automatically by default, providing a different execution model from manually managing the order of conventional notebook cells.[2]
Reactive workflow
The runtime tracks relationships between variable definitions and references. Automatic reruns can be disabled while retaining dependency tracking and stale-cell indicators. This makes execution policy adjustable for expensive computations, but does not remove the underlying dependency model. Authors need to understand which downstream work an edited cell can affect.[3]
Adapting Jupyter code
The same variable cannot be defined in multiple cells, and IPython magic commands and exclamation-prefixed shell commands are not supported as notebook syntax. Conversion tools provide a starting point, but code may need restructuring. Export to .ipynb also has limits: some marimo functions, including interactive controls, will not work in Jupyter.[3]
Dependency portability
Sandbox mode uses uv or Pixi to prepare a notebook-specific package environment from inline requirements. Locking exact resolved versions is a separate step, and required data or local source files still need to accompany the notebook. The documentation explicitly limits the term sandbox to package isolation; it does not restrict notebook access to files or the network.[4]
Sources and snapshots
The Python notebook file does not store visual outputs. Static HTML provides a separate record, including an automatic snapshot option. Command-line HTML export executes the notebook to generate output, so export is not inherently a read-only formatting operation. A resulting static page can be shared for reading without providing the notebook's live computational behavior.[3][5]
Browser execution and licensing
WebAssembly HTML export can run Python in the recipient's browser, but depends on compatible packages and internet access to load required resources. Single-file exports use CDN assets and do not bundle local modules or all related files. marimo's application code is Apache-2.0 licensed; package and hosting requirements remain separate from that license.[1][6]
Capabilities & limitations
Python source notebooks
supported
Stores notebooks as Python and supports script or application reuse.[2]
Computational notebooks · Web browser · Deployment and kernel requirements apply