Regions — split a notebook across kernels
A notebook runs on its main kernel (local, by default). With regions you send some of its cells to a second kernel on another host — while the rest stay local — all in one notebook. Boundary values cross automatically, so you can keep light cells local and push the heavy ones (a GPU model, a big SQL query, a memory-hungry join) to a beefy remote, without splitting your work into separate files.
Regions are named compute definitions managed globally — a host, a transport, a data root, and how many workers to keep warm. Host setup and transports live in Remotes & Pools; this page is about defining a region, assigning cells to it, and how data crosses the boundary.
On a cluster, the host is not the address
A region whose host is a scheduler's login node does not run there — it asks for a compute node and the worker goes on whichever one it is given. That, and submitting batch sweeps to the same machine, are in Clusters.
Assigning a cell to a region
A cell's region is a cell tag, so it travels in the .jl:
| Tag | Runs on |
|---|---|
| (none) | the main kernel — local |
region=<name> | the named region |
You rarely type the tag by hand — three UI paths set it:
The 🏷 tag editor's "Run on" section — radio rows:
💻 local(main kernel, this machine) and one🖧 <region>per declared destination, plus + Add destination….The DAG node card's "Run on" picker — a dropdown on any node in the DAG pane.
Drag a node into a region zone — when regions exist, the DAG splits into columns (local + one per region); drop a cell into a column to run it there.

Defining a region
A region is a global, named compute definition — it lives in the 🖧 Remotes → Regions manager on the front page, not in any one notebook. A region carries:
a host (an SSH host) reached over a transport (
tunnelordirect),an optional preload — a local project dir whose environment is replicated on the host and precompiled on idle workers, so a notebook adopts a ready worker instead of cold-booting,
a data root — a remote path pinned as the workers'
datadir()/@sfile,a warm count — how many workers to keep booted and idle, ready to adopt (0 = cold spin on demand),
liveness, how long a worker may go without answering before its connection is dropped (blank uses what a prepare measured),
a base port for the
directtransport,and an optional sysimage.
On a cluster, a region also names its Machine and gets the scheduler's fields: partition, walltime, resources, Release when idle, and under More settings the scheduler options and a shell Before start. See Clusters.
Three more settings exist but are not in the manager. A cache root (a remote path for the region's own durable cache, kept separate from other workers on the box), worker thread counts, and the curve toggle are set only from the agent tool slate_region(name; cache_root = …, threads = …, curve = false). Saving the region from the Regions manager clears the thread counts; the cache root and curve are kept.
Many regions can point at the same host with different config (e.g. gpu and gpu_scratch on one box with different data roots). Names are folded to identifiers (slate-remote → slate_remote) so they always match a region= tag.

Sysimage and curve
Two per-region settings: an opt-in sysimage (a PackageCompiler image of the region's environment that its workers boot from, built when the region is prepared; see Preparing a machine or a region) and a curve toggle — the region's data channel is CURVE-encrypted by default. Turning it off also drops the allow-list, so leave it on unless you own the whole machine: a loopback port is reachable by every account on a shared host.
What travels to a remote
A region's worker needs the notebook's project on its host, so Slate sends it, along with the projects it develops from local checkouts. What it leaves out:
anything your
.gitignoreignores, with no configuration needed;anything a
.slateignorebesideProject.tomlignores. It uses the same syntax, works without git, and adds to.gitignore. A[region:<name>]section applies only to that region, and a later!rule can bring a file back for one region;the
.gitfolder, always.
When a send would be larger than 100 MB (transfer_warn_mb in slate.json) and the project has no .slateignore, the region pauses before sending. The region's detail panel, from the DAG legend, then opens by itself: it lists the project as a tree with sizes, lets you hold files or folders back, and Save writes the .slateignore.

Using a region in a notebook
Open the Destinations manager (+ Add destination… in the tag editor) and enable the regions this notebook uses — you pick from the regions already defined on the front page. This writes their names into the notebook's regions config footer (so the choice travels with the file); cells then tag region=<name>. Clearing all destinations brings the whole notebook back to the local kernel.

Keep a region warm
A region with warm > 0 keeps that many workers booted and idle; running a tagged cell then adopts a ready worker (~1 s) instead of cold-booting (~90 s). Set the region's preload to the notebook's project so the adopted worker already has its packages loaded.
How boundary values cross
When a cell runs, any value it reads that was produced on a different kernel is shipped to the cell's kernel first, just in time — you never move data by hand.
Only the boundary crosses. A large frame that's produced and consumed on the same region never leaves it; only a value read across a side boundary transfers.
Content-addressed transfer. Values cross as content-addressed blobs over the dedicated data channel; a
DataFramecrosses as Arrow IPC (see Memoization → Arrow). Identical content dedups at every hop, and an unchanged value doesn't re-ship.Progress is visible. A transfer past a size threshold drives the cell's own progress bar (
⇄ <name>: N/M MB ← host), so a big move never looks like a hang.Live handles aren't shipped. A cell that produces a live DB connection / socket / open file (a
resourcecell) can't cross the wire — instead its setup is replayed on the destination so each side opens its own handle. If a live handle would cross, the run stops and names the fix: tag the producing cellresource.
Where the values actually flow, how fast, and over which link is all visible from the DAG pane — its ⇄ peer routing plan, 📊 transfers dashboard, and the mesh-connect consent live there. See The Dependency Graph → Steering regions from the DAG.
Seeing where cells run
Every cell records where it last ran — surfaced across the DAG pane:
🖧 badge + chips — a node whose last run was remote wears a
🖧prefix; its details card shows a last ran chip (⌂ local/🖧 <host>) and a moved ⇄ N MB chip when a boundary transfer fed it.Region zones — the DAG lays out side-by-side columns (
💻 local · main kernel,🖧 <name> · <host>); cross-column edges are the boundary transfers, and you drag cells between columns to reassign.🖧 region map — the DAG's region-map toggle recolors nodes by where they run, with a legend naming the hosts.

Provenance only appears while a region is active — a plain local notebook shows none of it. For the worker-level view (roster, telemetry, where a notebook's kernels live), see Remotes & Pools → Diagnostics.
Restarting a region
Restart a single region from its worker controls — it kills that region's worker, marks its cells stale, and re-runs them, leaving the rest of the notebook untouched. Closing the notebook or restarting the main worker tears down region kernels too.
Limits
Regions have these limits:
Keep the main kernel local while a region is active.
@bind-declaring cells stay on the main kernel — declare controls locally, read them anywhere.Cross-boundary mutation is rejected. A region cell should produce values, not mutate an object that lives on the main kernel. A cell that tries errors, and the message names the cell that owns the value and suggests splitting the cell or deriving a new binding. An untagged cell that mutates a region value auto-follows its target one hop, but deeper mutation chains aren't guaranteed.
To run everything elsewhere, place the whole notebook on a host with remote placement.
From the agent
Under Kaimon, define a region with slate_region(name; host, warm, preload, data_root, …), choose which regions a notebook uses with slate_region_on(notebook, "name1,name2"), and list the registry with slate_regions().
slate_eval(notebook, code; region = "name") runs a scratch evaluation on a region's worker, in the namespace its cells see. Without region it runs on the notebook's local worker, which does not have a region cell's bindings or packages.
For cross-region work there are four more, the agent-side equivalents of the DAG pane's region toolbar:
slate_peer_plan(regions)dry-runs the route for each region pair (refresh="1"re-probes).slate_peer_introduce(regions)arms the worker-to-worker SSH mesh.slate_peer_teardown(region)removes that region's mesh artifacts.slate_transfers()lists active and recent boundary transfers.
See also
Remotes & Pools — hosts, transports, warm pools,
sync_memo, data-transfer settings.The Dependency Graph — the DAG pane, zones, and the region map.
Memoization & Caching — the content-addressed store the transfers ride on.
Cell Tags & Caching — the
region=andresourcetags.