Skip to main content

Marimo Notebooks

Marimo is a reactive Python notebook client (similar to Jupyter but reactive and web-ready). You can connect Python models in Marimo directly to local GoingMerry endpoints.


1. Setup

Install Marimo in your Python virtual environment:

pip install marimo merry

2. Using local models in Notebook cells

Import the local connection client library and instantiate calls inside a notebook cell:

import marimo as mo
import merry

# Query local GoingMerry model
response = merry.chat(
model="gemma4",
messages=[
{"role": "user", "content": "Explain quantum computing in one sentence."}
],
)

print(response["message"]["content"])

Marimo re-evaluates cellular changes reactively, allowing you to quickly inspect local outputs without reloading weights.