Notebook runtime · Rust core · Mac, iPad, iPhone

Notebooks that run like programs, in apps of their own.

Ganymede runs notebooks: in its Mac, iPad and iPhone apps, from the command line, and for coding agents. A notebook can take parameters and return named results, so other tools and other notebooks can call it.

  • The apps. The server runs inside the app. On the Mac it uses the kernels installed there; on the iPad and iPhone, TypeScript runs in the app. Apps
  • Notebooks as programs. Run one from the command line, CI, HTTP, a link, a Shortcut, or another notebook, with JSON in and JSON out. Notebooks as programs
  • Agent journals. An agent works in a notebook over MCP, and the notebook it leaves reruns from the top. Agents
  • TypeScript. cdp-kernel runs cells on Node, Deno, or in the app.

The Mac app needs macOS 26 or later on Apple silicon. The command line runs on Linux and macOS.

The Ganymede Mac app in light mode: a warm cream sidebar with Files, Find, Running, Recents, and Journals tabs, a toolbar with the notebook title, TypeScript kernel button, Notebook and Journal switch, and orange Run capsule, a custom tab strip, a bottom status bar, and the Fremont Bridge bike-commute journal open. The Ganymede Mac app in dark mode: a navy glass sidebar with Files, Find, Running, Recents, and Journals tabs, a toolbar with the notebook title, TypeScript kernel button, Notebook and Journal switch, and orange Run capsule, a custom tab strip, a bottom status bar, and the Fremont Bridge bike-commute journal open.
The Mac app, showing a TypeScript journal on Fremont Bridge bike commutes.

Mac, iPad, and iPhone apps

The apps are the main way to use Ganymede. Each one runs the server inside the app, so there is nothing else to install or start, and each can also use kernels on another server or connect to another machine running Ganymede.

The Ganymede iPad app in landscape, light mode: a warm cream sidebar with Files and a pinned In This Journal outline beside a touch tab strip, a toolbar with the TypeScript kernel chip and orange Run capsule, and the Fremont Bridge bike-commute journal on cdp-kernel inside the app. The Ganymede iPad app in landscape, dark mode: a navy sidebar with Files and a pinned In This Journal outline beside a touch tab strip, a toolbar with the TypeScript kernel chip and orange Run capsule, and the Fremont Bridge bike-commute journal on cdp-kernel inside the app.
iPad.
The Ganymede iPhone app in light mode: the Fremont Bridge bike-commute journal in a single column, with a header strip holding the TypeScript kernel chip and Notebook/Journal switch, composer buttons, and a floating glass section bar at the bottom. The Ganymede iPhone app in dark mode: the Fremont Bridge bike-commute journal in a single column, with a navy header strip holding the TypeScript kernel chip and Notebook/Journal switch, composer buttons, and a floating glass section bar at the bottom.
iPhone.

Mac

macOS 26 or later, Apple silicon. Signed and notarized: unzip it and move Ganymede.app to Applications. Custom tabs for notebooks, machines, terminals and DuckDB consoles, a glass sidebar with unified Find, a status bar, an optional background server sharing ganymede.toml, self-updates (Releases or Bleeding edge), ganymede:// links, and Shortcuts actions.

iPad and iPhone

iPadOS and iOS 26 or later, with an in-app TypeScript kernel, a touch tab strip and pinned section outline on iPad, and a floating glass bar with an Outline sheet on iPhone. In testing on TestFlight with a small internal group, and not in the App Store yet. To try it now, build it with Xcode from ganymede-ui's apple/ folder.

How it works

A native shell in Ganymede's palette around ganymede-ui, the same notebook page that runs in a browser, with the Rust core linked in. Data views and SQL queries work on local files on the in-app and browser kernels too. The app guide

Notebooks as programs

A notebook reads its parameters in its first cell, with defaults so it still runs on its own, and publishes results by name. Every caller uses the same run: a fresh kernel from the notebook's kernelspec, the parameters as JSON, the named results back as JSON. Nothing is written into the notebook unless you ask.

The callers: ganymede execute in a script or CI, POST /api/notebooks/run on a running server, a ganymede:// link or a Shortcut on the Mac, and another notebook through the host API, if it has been granted that notebook.

Notebooks as programs · The host API · Examples

ts
const { counter = "Fremont", days = 30 } = jupyter.params;
// ... the analysis ...
jupyter.result("weekday_drop", -0.19);
sh
$ ganymede execute fremont.ipynb -p counter="2nd Ave" -p days=7 --results
{"path":"fremont.ipynb","status":"ok","results":{"weekday_drop":-0.19}}
One notebook, run with parameters from the command line. A link, a Shortcut, or another notebook gets the same JSON back.

An agent and a person in one notebook

A coding agent usually explores data in its shell and writes it up afterwards from memory. With ganymede mcp, Claude Code or another MCP client works in the notebook instead: each step is a cell that ran on a real kernel, dead ends stay labelled, and you can watch, add cells of your own, and rerun the result from the top.

The ganymede-journal plugin gives the agent a way to keep the notebook as a journal, and ganymede nb publish turns one into a page to share.

Agents · Agents over MCP · Example journals

A published journal on Oklahoma's earthquakes: a contents list of eight questions, a recorded shell command that fetched the data, and a bar chart of earthquakes per year that peaks in 2015. A published journal on Oklahoma's earthquakes: a contents list of eight questions, a recorded shell command that fetched the data, and a bar chart of earthquakes per year that peaks in 2015.
A journal an agent kept on Oklahoma's earthquakes, published as a page.

TypeScript notebooks

cdp-kernel is a TypeScript kernel built alongside Ganymede. It runs cells on Node, Deno and other runtimes, in a web page, or inside the iPad and iPhone apps. TypeScript, top-level await and npm: imports work, and jupyter.md, jupyter.html, charts and widgets render as rich output.

The install script below sets it up when Node 22.18 or later is there.

cdp-kernel.org · The kernel inside the apps

ts
type Moon = { name: string; radiusKm: number };
const moons: Moon[] = [
  { name: "Io", radiusKm: 1822 },
  { name: "Ganymede", radiusKm: 2634 },
];
moons.sort((a, b) => b.radiusKm - a.radiusKm)[0].name;
A cell on cdp-node. Its value, 'Ganymede', is the cell's output.

Works with Jupyter

Ganymede serves the same REST and websocket API as jupyter_server and launches kernels from the same kernelspecs, so JupyterLab, VS Code, ipykernel and other Jupyter tools work with it unchanged. The server itself needs no Python.

Frontends (JupyterLab, VS Code, other clients, and ganymede-ui) call the same REST and websocket API on the Rust core, which launches the same kernelspecs (cdp-kernel, ipykernel, any other) over ZeroMQ, or uses kernels on another server through a gateway. Frontends (JupyterLab, VS Code, other clients, and ganymede-ui) call the same REST and websocket API on the Rust core, which launches the same kernelspecs (cdp-kernel, ipykernel, any other) over ZeroMQ, or uses kernels on another server through a gateway.

Frontends

ganymede serve prints a URL with its token for VS Code's Existing Jupyter Server; ganymede lab serves JupyterLab, and clients of @jupyterlab/services connect too. Connecting a frontend

Kernels

Any installed kernelspec: cdp-kernel, ipykernel, or another. The host knows no language, and the same tests run on cdp-kernel and ipykernel.

Notebook files

Executed notebooks come out as jupyter execute writes them, saves match Python's nbformat byte for byte, and writes are atomic, so git and synced folders see no churn.

Install the command line

# Linux and macOS
curl -fsSL https://ganymede-server.com/install.sh | sh
ganymede lab install   # JupyterLab's frontend, without Python
ganymede lab

One binary for jupyter server, execute, kernel and kernelspec. Linux and macOS are tested end to end; Windows binaries are built but not tested. It also builds as a library to embed. Install · Embedding

Why

Ganymede began as a way to write TypeScript notebooks and to run notebooks in an iPad app. The Jupyter protocols suit both; the reference server, a Python program, doesn't travel to an iPad. A Rust core runs the same server as a command, inside an app, or behind an agent's MCP session, and keeping the protocols keeps the Jupyter tools and kernels people already have.

Why Ganymede · Architecture · Roadmap

Status

Early software. An end-to-end suite compares it against jupyter execute and jupyter server on cdp-kernel and ipykernel, on Linux and macOS. Windows builds but is not tested end to end. Known gaps