Repository navigation
π¦ Support Marimo SandboxesΒ #37
Copy link
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
π¦ Support Marimo Sandboxes
The client API remains the Jupyter protocol as implemented in jupyter-kernel-client.
Done
- Marimo sandbox: Marimo's reactive cell graph in a Jupyter kernelΒ #35 β the
marimovariant (released as 1.9.38 onmain): aJupyterServerSandboxwhose kernel holds Marimo's dataflow graph (marimo._ast.compiler+marimo._runtime.dataflow), installed by one execute request and asked through others, answering on stdout.run_cell(cell_id, code)registers, runs, then re-runs the dependents in dependency order;register_cell,remove_cell,plan,graph,cells. The same helper source is carried verbatim by@datalayer/jupyter-reactfor the reactiveNotebook,CellandOutputcomponents (jupyter-ui#502).
Done
- Marimo reactivity through the Jupyter-shaped API (1.9.39)Β #38 β reactivity through the Jupyter-shaped API (1.9.39):
run_codenames its cell through the execution context and answerscell_idand typedreactions(each with its own result);CodeSandboxClient.execute/execute_code/execute_code_streamingtakecell_id, replies carry the reactions undermarimowith their own Jupyter-shaped outputs,execute_interactivetags every hook message with its cell, streams tag every event, and the graph is reachable through the client. Nothing changes on the wire, sojupyter-kernel-clientstays the client API and a consumer that only reads replies and streams β the Datalayer MCP server'sexecute_code, for one β sees every cell that changed.
Next
- The Datalayer MCP server gains a
marimotoolset (marimo_*tools: run a cell, run code, plan, graph, remove a cell) on top of 1.9.39, so an agent connected over MCP drives a reactive notebook with cell identity.
2026-09-26
- code-sandboxes 1.9.39 is released (tag β PyPI):
Reaction/cell_idon results,marimoin Jupyter-shaped replies, stream tags, andMarimoCells, the driver over any client. - The Datalayer MCP Server now offers a
marimotoolset (/mcp?marimo, image 0.0.34, services #545):marimo_run_cell,marimo_run_code,marimo_plan,marimo_graph,marimo_remove_celloverMarimoCellson the sandbox the session already holds. Drilled on the live gateway: a named cell re-ran its dependent, which printed the new value.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Activity