Haldwani Times
Haldwani Times
Technology

exuvia 0.3.146

exuvia 0.3.146
Photo / Illustration: Haldwani Times Editorial Desk

Skip to main content Switch to mobile version exuvia 0.3.146 An AI-first, file-backed DAG workbench for analysts: Python/SQL nodes, per-node schedules, a live graph UI, and a Claude agent that builds pipelines with you.

pip install exuvia==0.3.146 Copy PIP instructions

An AI-first DAG workbench for analysts and data scientists.

Marimo showed that notebooks work better as a reactive graph than as a list of cells. exuvia takes the next step: the graph is the interface. Each node is a plain file (Python or SQL) that can be scheduled on its own, every output is cached and content-addressed, and an AI agent (Claude, DeepSeek, or any OpenRouter model) can read, write, run, and debug nodes alongside you on a live canvas.

Exuvia (n.): the shell a lobster leaves behind when it molts. Every run leaves one too: an immutable, content-addressed output you can go back to.

universe ──► prices (cron 17:00 weekdays) ──► returns ──► rolling_vol ──► sector_summary.sql └──────────────────────────────────────────────────────────────────────────┘ Everything here runs from the published package (PyPI) and image (GHCR), with no clone. The exceptions are the commands that open examples/ and Contributing, which is about working on exuvia itself.

exuvia is also a place to build analytics with AI, and the two usual ways of doing that each give something up. A chat with data connectors (MCP servers over your warehouse, say) can only assemble what fits in a conversation, and a good answer cannot be run again. A coding agent can build a far stronger analysis, but each one becomes an app of its own, with a backend that loads the data and a front end that shows it, and nothing kept of what it said last week.

You keep the agent you already use: exuvia's tools are an MCP server (see MCP), so Claude Code, Cursor or Codex builds in the graph instead of in an empty repo.

With uv there is nothing to install first: uvx downloads exuvia into its cache and runs it.

uvx exuvia init my-research # a project folder with a first node uvx exuvia serve my-research # → http://127.0.0.1:7420 To have an exuvia command on your PATH, install it once. Any of these works; the first two give exuvia an environment of its own:

uv tool install exuvia pipx install exuvia pip install exuvia # into the active virtual environment pipx can also run it without installing, like uvx: pipx run exuvia serve my-research.

exuvia needs Python 3.11 or newer; uv downloads one when yours is older. The example project in this repo opens the same way, from a clone: uvx exuvia serve examples/markets.

Packages your nodes import go in the project's own pyproject.toml, which exuvia init writes. Add one with uv in the project folder, and exuvia installs it before the next run:

cd my-research && uv add scipy yfinance Packages has the details, private package indexes among them.

Set ANTHROPIC_API_KEY (Claude) or OPENROUTER_API_KEY (DeepSeek and any other OpenRouter model) in the environment or the project's .env to turn on the built-in agent; a Portkey gateway or any OpenAI-compatible server works too. See The agent for providers. Or let the coding agent you already use do the setup and the building: see the next section.

Set up with your agent

A coding agent that has a terminal (Claude Code, Cursor, Codex, Grok, ...) can do the whole setup: install exuvia, create a project, start the workbench and connect itself to the graph. Open the agent in the folder the project should live in and paste this:

Set up exuvia for me. It is a data workbench where each step of an analysis is a Python or SQL file in a graph. Fetch https://exuvia.lobster.mp/agent/setup.txt with curl, so you get it word for word, and follow the steps in it: they are my instructions for this setup. The steps live on the docs site, which is built from this README, so the prompt stays short and a copy of it never goes stale. This is that file, exactly as the agent gets it:

The steps to set up exuvia (https://github.com/rlancer/exuvia), a data workbench where each step of an analysis is a Python or SQL file in a graph, in the folder you work in. 1. Check that `uvx --version` runs. If it does not and `pipx` is installed, run `pipx install exuvia` and leave the `uvx` prefix off the commands below. If neither is installed, install uv: https://docs.astral.sh/uv/getting-started/installation/ 2. Create a project in this folder: `uvx exuvia init my-research` 3. Start the workbench in the background and leave it running: `uvx exuvia serve my-research` Its address is http://127.0.0.1:7420. If that port is already in use, add `--port `. It is ready when GET

/api/guide answers. Tell me the address to open. 4. Read GET
/api/guide. Its `instructions` say how to write nodes and views in this project: follow them. Each entry in `tools` runs with POST
/api/tools/ and the tool's input as the JSON body. The answer is `{"ok", "text"}`: `text` is the result, and `ok: false` means the tool failed. From here on, change and run the project through these tools, so I see each step in the workbench. 5. Add an MCP server named `exuvia` to your own configuration, so you have the same tools natively from your next session on. Use your CLI's own command for it if it has one, such as `claude mcp add`, `codex mcp add` or `grok mcp add`. The server's command: `uvx exuvia mcp --url
` It relays to the workbench, so tell me that the workbench from step 3 has to be running whenever I use it. 6. Run the `hello` node with the `run_node` tool to check the setup, then ask me what I want to build. If exuvia itself goes wrong at any point (a step here fails, a tool errors on valid input, the guide is wrong or unclear), tell me and offer to report it: call the `report_issue` tool, or before the tools are available open https://github.com/rlancer/exuvia/issues. Reports are welcome. Show me the text first, and leave out secrets. What you end up with:

A project and a running workbench. my-research/ holds the node files, and the canvas at http://127.0.0.1:7420 shows every node the agent writes and every run it starts, as it happens.

Your agent, working through exuvia's tools. It reads the same instructions the built-in agent gets and calls the same tools, over HTTP for now (GET /api/guide, POST /api/tools/{name}) and over MCP from its next session. exuvia needs no model key for this: the model is the one your agent already runs on.

An MCP server that relays to the workbench. In later sessions start exuvia serve my-research before the agent, or the exuvia MCP server has nothing to connect to: its tools then answer with how to start the workbench, so the agent can do it or ask you to. MCP has the other mode, which opens the project without a running server.

To put exuvia on a server instead of your machine, the prompt under Hand it to an agent deploys a hub with Docker Compose, Swarm or Kubernetes.

One file in nodes/ = one node. The file name is the node name.

Python — parameters are upstream nodes; return a DataFrame (or JSON-able value):

"""20-day annualized realized volatility per ticker.""" import exuvia @exuvia.node( schedule="0 18 * * 1-5", # optional: re-run on this cron (local time) cascade=True, # re-run when upstream output changes (default) retries=2, # optional: try a failed run again, up to 2 more times live=True, # optional: re-run when a view that reads it is opened key=["date", "ticker"], # optional: fail a run whose rows repeat a key (see "Keys") chart={"mark": "line", "encoding": {...}}, # optional Vega-Lite spec, no `data` ) def rolling_vol(returns): out = returns.sort_values("date").copy() out["vol_20d"] = out.groupby("ticker")["ret"].transform(lambda s: s.rolling(20).std() * 252**0.5) return out.dropna().reset_index(drop=True) A DataFrame's index is stored as a column (named index when it has no name), unless it is the default one. A filter, a sort or a dropna leaves the old row labels as the index, so end such a node with .reset_index(drop=True), or with .reset_index() when the index means something (a date, a group key).

A pyarrow table, or a polars DataFrame, is stored as Arrow, with its column types as they are: an int16 column with a null stays int16, and decimals, lists, structs and time zones are kept. A pandas DataFrame is stored with the types pandas holds (pandas makes an integer column with a null float64).

SQL (DuckDB) — upstream nodes are tables:

-- Latest vol by sector. -- schedule: */30 9-16 * * 1-5 -- retries: 2 -- live: 300 -- chart: {"mark": "bar", "encoding": {...}} select u.sector, avg(v.vol_20d) as avg_vol from universe u join rolling_vol v using (ticker) group by 1 A chart (chart) shows in the node's Data tab, and in its notebook cell, over the output's rows. It draws every row of an output up to 50,000, and a random sample of 50,000 drawn from all of them past that (it says so under the chart). On a chart of one view whose x is a column (not aggregated, binned or by time unit) the two are linked: drag across a continuous x (and y, for points) or click a category, and the rows under it show only what was picked, out of the whole output, not only the rows drawn: the count is every row in the selection, read with SQL once the selection stops moving. Clear shows them all again. A chart that sets its own params, or layers, facets or concatenates views, is drawn as written, without the link. A node with several outputs opens on the one its chart draws (its first table). A filter on the rows (below) narrows the chart too: it draws the rows that pass it, and says how many. Pointed at, the chart shows its tools in its top corner: save it as PNG or SVG, or open it full screen, where it fills the window and its rows fold away under it until asked for.

The Data tab shows every row of a table output, whether it has ten or ten million. Only the rows in view are drawn, and they are read from the server 500 at a time as you scroll, each page from the same run as the first, so a run that finishes meanwhile never mixes two outputs on screen. A row that is still on its way shows as …. Past about 370,000 rows the scrollbar is a share of the way through the output rather than a row count, because a browser lays out only so tall a page. Over the rows, each column's header says how many values are missing and its smallest and largest, and a line gives the output's shape and size: these come from the output's Parquet footers, so they cost the same for any number of rows. A notebook cell and a chart opened full screen hold the same table, with all of what follows.

The rows can be asked for another way, and each way reads the whole output with SQL, a page at a time like the rest:

Filter. The box over the rows takes a SQL condition (ticker = 'AAPL' and close > 100), applied with Enter. What is picked on the chart narrows the rows the same way, and the two add up.

Filter with a prompt. With a model set up (see "The agent"), a SQL / Prompt switch stands before the box. On Prompt the box takes the rows in words (apple above 100 this year, the ten largest closes), and Enter has the model write the condition, which becomes the filter and is shown under the box. Switch back to SQL to read it whole and change it. The model is sent the table's column names and types, its first five rows and the values of text columns that hold only a few; it never runs anything itself, and its condition runs where a typed one does. A request that is no filter (a total, a grouping) is refused with the reason. The browser remembers which of the two was last used. Like the agent, a prompt is for editors: a viewer has the SQL box alone.

Filter a column. The funnel in a column's header filters the rows by that column: a test fit for its type (contains, ≥, is before, is missing…) and a value, applied with Enter. One filter a column; they add up with each other and with the box, show as removable tokens over the rows, and a filtered column's funnel is filled.

Sort. Press a column's header (the arrows after its name say it can be): smallest first, then largest first, then the order stored, and the arrow shows which. Rows that tie are ordered by every other column, so the pages agree with each other.

SQL. The button at the box's end turns it into an editor with the query the table is showing, to rewrite as any DuckDB query over this output and every other table node (select ticker, avg(close) from prices group by 1). Its result is the table, sortable like any other. Up to 10,000 rows are one read; a longer result whose order is not fixed should be sorted, by an order by of its own or by a column's name.

Download then saves the rows shown, all of them, not the output.

The description is the node function's docstring (the module docstring when the function has none), or a SQL node's first -- lines other than settings such as -- schedule:. It is Markdown: the notebook renders it as a cell's text. Start with a one-sentence paragraph, which is all a card on the canvas shows (as plain text), then put any detail in paragraphs, - lists or tables (GitHub-style, | a | b | rows under a |---|---| line). An indented line is a code block in Markdown, so Google- or NumPy-style Args: sections show as code; write them as a list instead.

Rewriting a description doesn't make the node stale. Freshness compares the code with its descriptions taken out (every docstring in a Python node and in the lib/ helpers it imports, a SQL node's description lines), so an edit that only changes them keeps the node and everything below it fresh. The edit is still saved as a code revision. Any other change, comments and blank lines included, is a code change.

Maths is LaTeX, typeset by KaTeX: $…$ inside a sentence, $…$ on lines of its own for a displayed formula. A dollar that isn't maths stays as written: a price ("$5 to $10"), a SQL parameter ($as_of), anything in backticks. In Python, write a docstring with maths as a raw string (r"""…"""): in a plain one, \frac, \times or \beta reach the notebook as a form feed, a tab or a backspace. Keep maths out of the first sentence, which the canvas shows as plain text.

r"""Daily excess return of the index over SOFR, compounded from 100. $ r_t = \frac{E_t}{E_{t-1}} - 1 - r^{\text{SOFR}}_{t-1}\,\delta_t, \qquad \delta_t = \frac{\text{days}_t}{360} $ """ The graph is read statically (ast for Python, identifier matching for SQL), so a broken node still shows up in the graph with its error, and nothing runs until you ask.

JSON outputs. A dict, list or scalar is stored as JSON. numpy values, pandas missing values, dates and times, decimals, sets, dataclasses and pydantic models are converted; any other object (a fitted model, a class of your own) fails the run, so return the numbers you need from it. NaN and ±Infinity, which JSON cannot write, are stored as null, and a JSON output an older exuvia stored with them reads the same way. A DataFrame keeps its NaN, since Parquet can hold it.

Several outputs from one node. When one step yields several results of different shapes (a model fit's predictions, coefficients and metrics, or one API call that returns two tables), return them together instead of redoing the work in separate nodes. A dict, dataclass or pydantic model whose values include a DataFrame is stored as named outputs: each DataFrame is a table, anything else is JSON. Names are lowercase identifiers.

@exuvia.node() def fit(returns): ... return {"preds": preds, "coefs": coefs, "metrics": {"r2": r2}} -- a table of a node with several outputs is . ("fit.coefs" works too) select term, value from fit.coefs order by abs(value) desc A Python node that takes fit gets a dict, {"preds": DataFrame, "coefs": DataFrame, "metrics": {...}}. The node is still one node: one run, one schedule, one freshness state, and the outputs downstream nodes read are stale or fresh together. A Data tab with a picker shows each one.

Typed outputs. Dataclasses and pydantic models are JSON outputs too (or several outputs, above, when a field holds a DataFrame). Annotate a parameter with the class and it arrives as that class, built from the upstream's output, rather than as a dict. Put the class in a lib/ helper so both nodes import it:

from lib.models import Fit, Settings # @dataclass Fit: preds, coefs; pydantic Settings @exuvia.node() def report(fit: Fit, settings: Settings): return fit.preds.tail(settings.window) A pydantic model is validated (model_validate, nested models included); a dataclass is called with the fields as keywords, one level deep. When the output does not fit the class, the run fails and says which parameter it could not build.

Shared helpers — code several nodes need lives in Python modules under lib/ (lib/stats.py, lib/vol/surface.py; no __init__.py needed), and nodes import it with plain import statements:

@exuvia.node() def basket_corr(returns): from lib.stats import weighted_corr return weighted_corr(returns) A node's code hash covers every lib/ file it imports, directly or through other helpers, so editing a helper marks exactly those nodes stale. Only static import / from … import statements are tracked. Open a helper from the workbench's Files tab (below) to edit it and see which nodes use it. Besides nodes/, lib/**/*.py and view folders (see "Views") are the only places the API and the agent can write.

The workbench's side panel has four tabs: Agent, Files, History and Settings (the project's packages, environment, schedule and storage: see below). Files shows those files as one tree: nodes/, lib/ and each view's folder under views/, with each node's and view's state. It only finds files; picking one opens it where it is edited. A node file selects the node on the graph and opens the inspector's Code tab, a view file opens that view's Code tab, and a helper opens in an editor in place of the graph, with the nodes that import it and its saved versions. A helper's address is #files/lib/stats.py, and #files/ opens any of these files from a link. The chat keeps running while another tab is showing; a dot on the Agent tab means it has something new.

Run parameters and replays

A project can declare run parameters in exuvia.json. A node that reads one says so, and its output is then stored once per value:

{ "name": "put-selling", "timezone": "America/New_York", "params": { "as_of": { "type": "date", "default": "today", "description": "Run date" } }, "schedules": { "screen": "30 16 * * 1-5" } } @exuvia.node(params=["as_of"]) def screen(): day = exuvia.param("as_of") # "2026-11-06": dates arrive as ISO strings ... -- params: as_of select * from screen where as_of_date <= $as_of Types are date, string, number and boolean. A date default of today resolves to the run date in the project timezone.

One output per parameter set. Running for as_of=2026-11-06 does not overwrite today's output; running it again is a cache hit. A node that declares no parameter and reads none upstream is computed once and shared.

Replays. POST /api/backfill runs the graph for each value in a list or date range (weekdays only by default), skipping values that are already fresh. Progress is on GET /api/backfill and the event stream.

Time series for free. In query_data and POST /api/query, __runs unions a node's output across every parameter set that has run, with a _ column each (select _as_of, count(*) from screen__runs group by 1). For a node with several outputs it is .__runs. It is for comparing runs in SQL and views; a node that should read a growing history is better partitioned.

timezone also sets the clock for cron schedules. schedules overrides or adds a per-node cron without editing the node file (this is what the schedule API writes), so an embedding app can let people schedule nodes. failure_webhook tells Slack or any URL when a scheduled run fails (see Failure notifications).

exuvia run my-project --param as_of=2026-11-06 exuvia status my-project --param as_of=2026-11-06 Partitioned nodes: a history that grows each run

Some data arrives a little at a time: a closing price a day, a reading an hour. Returning the whole history from every run refetches it and stores a new full copy each time; one output per as_of stores each day once but gives downstream nodes only that day. A partitioned node keeps one output that each run adds to:

@exuvia.node(partition_by="date", schedule="0 17 * * 1-5") def prices(universe): have = exuvia.partitions() # dates already stored, oldest first; [] the first time start = next_day(have[-1]) if have else "2006-01-01" return fetch_closes(universe, start) # rows for any number of dates -- partition_by: date select * from source where $last_partition is null or date > $last_partition A run replaces the partitions it returns. Each value of the partition_by column in the rows a run returns (a date) is a partition: those rows replace whatever that partition held, and every partition the run leaves out is kept. A daily run returns today's rows, a backfill ten years of them in one call, a correction the day it fixes. None or no rows changes nothing (a holiday). Every row needs a value in the column.

What it already has. exuvia.partitions() lists the stored values as text, in order (dates and numbers sort as such); a SQL node gets the newest as $last_partition (null when there is none).

Downstream nodes read the whole history as their input table, and in query_data, views and /api/query is all of it.

Identical rows change nothing. A partition is identified by a hash of its rows, so a run that returns the same rows for a day writes nothing, the output keeps its artifact_id, and downstream nodes don't run again. When a day does change, they do.

Parameters. A partitioned node may read as_of (params=["as_of"]) to know which day to fetch, but its own parameters don't split its output: each as_of run, and a backfill over as_of (POST /api/backfill), fills the same history, and downstream nodes don't inherit as_of from it.

Full refresh. A code change marks the node stale, but its next run still adds to what is there: a source that only reports "now" never loses its history by accident. To rebuild from nothing, run it with a full refresh (POST /api/nodes/{name}/run with "full_refresh": true, exuvia run my-project prices --full-refresh, or run_node with full_refresh): exuvia.partitions() is empty for that run, and what it returns becomes the whole output. Changing partition_by itself needs one.

Sources that send part of a day: merge=True. With a key (see Keys), merge=True (SQL: -- merge: true) makes a run update or insert rows by key into the partitions it returns instead of replacing them: a run's row replaces the stored row with its key, a new key is added, and a stored row whose key the run didn't return stays. A feed that sends the morning's trades, then the afternoon's, then one corrected trade, keeps all of them. on_duplicate="last" applies to the run's own rows before they merge. A merged partition is digested like any other, so a merge that changes nothing writes nothing and runs nothing downstream; only the files holding the partitions a run returns are read. A merge never removes a row: to delete rows, or to move a row to another partition, run a full refresh, which doesn't merge: what that run returns becomes the whole output.

One partition column per node, and one table: a node with several outputs can't be partitioned. A push node can (push=True, partition_by="date"): each push replaces the partitions it holds (or, with merge=True, merges into them).

How it is stored. The output is a manifest of Parquet files: one per partition as it is written, in .exuvia/artifacts// like every output and uploaded to EXUVIA_ARTIFACT_STORE under the same keys. Every file costs a reader a little, so exuvia compacts: once a node has more than 30 files beyond one per year, each year's files are merged into one (dates group by year; other values are merged together). A correction to a day inside a merged year rewrites that year's file without it. Readers get exactly the manifest's files, the query sandbox can open no other, and compaction never changes the output's id, so it never makes anything stale. Each run's version of the manifest is kept in the records database, so an earlier run's output stays readable (?run_id=). Nothing deletes files no manifest uses anymore: exuvia never deletes outputs.

Reading it from outside.

GET /api/nodes/{name}/data and /export take partitions=lo..hi (either end may be left out) or one value, and read only the files that hold those partitions: ?partitions=2026-11-01.. is this month so far.

GET /api/nodes/{name}/partitions lists the manifest: every partition with its row count and digest, and the Parquet files with the partitions each holds. Each file is GET /api/artifacts/{name}/{artifact_id}.parquet.

A duplicate row doesn't fail anything by itself: it doubles a sum, skews an average, and the analysis is quietly wrong. Declare the columns that identify a row and exuvia checks every output against them before storing it:

@exuvia.node(partition_by="date", key=["date", "ticker"]) def prices(universe): ... -- key: sector select sector, avg(vol_20d) as avg_vol from rolling_vol join universe using (ticker) group by 1 A run that breaks the key fails. No row may have a null in a key column, and no two rows may share a key. Otherwise the run fails with how many rows repeat a key and the worst examples (3 rows repeat a key (date, ticker), e.g. (2026-11-03, AAPL) ×2, ...), and the node's previous output stays: nothing downstream sees the duplicates. A failed key isn't retried.

on_duplicate="last" (SQL: -- on_duplicate: last) keeps, for each key, the last row in the order the node returned them, for a source known to send a row twice (overlapping pages, a re-sent file). The log says how many rows were dropped. Nulls in a key column still fail.

A partitioned node's key holds across its whole output, not only the rows one run returns. Take a trade re-dated from the 3rd to the 4th: a run that returns only the 4th would leave the old copy in the 3rd, so it fails and names both. Return the 3rd as well, without the trade, and the run succeeds. on_duplicate="last" doesn't apply here: exuvia can't tell which copy is right. A node with merge=True can't move a row that way, since a merge never removes one: that takes a full refresh. A run checks its own rows against the partitions it keeps (only for a key without the partition column; with it, a key can't repeat across partitions). When the key is first declared or changes, the next run checks the whole stored output instead, even if it changes nothing, so an output that already has duplicates says so (fix it with a full refresh). That is a scan of the key columns, under a second for five million rows.

A partitioned node with a key can merge (merge=True): its runs update or insert rows by key instead of replacing whole partitions, for sources that send part of a day at a time. See Partitioned nodes.

It works on any node that returns one table, pushed outputs included. The check runs in DuckDB on the control plane, over what the run wrote, so it is the same for Python and SQL nodes and for local and remote executors.

Push nodes: data from someone's desktop

Some data only exists on one person's machine, or can only be read there:

a licensed data terminal or desktop app whose API answers on that machine's localhost, signed in as that person;

the output of another analysis process that runs on a desktop (a model, a spreadsheet, a vendor tool) and writes its results locally;

a file share or database only the office network reaches.

Neither the hub nor an executor can pull from it. A push node stands for that data in the graph, and a script on the machine that has it uploads each new version:

"""Overnight scores from the risk model on the quant desk's workstation.""" import exuvia @exuvia.node(push=True) def model_scores(): ... # never run: the output is pushed On the desktop, from Python:

exuvia push model_scores scores.csv --url https://exuvia.example.com/p/research --note "desk 4" Each push is a run of the node, triggered push, with who pushed it and the note in its log. Freshness, history, views and downloads treat it like a computed output, and a new output cascades to the nodes that read it. Pushing the same data again makes the same output, which stops the cascade.

Nothing on the hub runs it. Runs leave push nodes out, and running one by name (from the workbench, the API or the agent) says it is pushed. Until the first push it shows new, "waiting for a push", and a node reading it fails with "has not been pushed yet". A push node takes no upstream nodes and has no schedule: schedule the script on the desktop (Task Scheduler, cron) instead. Editing the node file doesn't make the pushed output stale.

Parameters. A push node may declare run parameters (push=True, params=["as_of"]); each push is for one set of values (params={"as_of": "2026-11-20"}, --param as_of=2026-11-20), so a day's snapshot can be pushed late without replacing today's.

What it sends. A DataFrame (pandas, polars or pyarrow) or a .csv goes as Parquet, stored exactly as a node's returned DataFrame is; a JSON-able value or a .json file as JSON. One push is one output: several tables are several push nodes. The hub takes uploads up to 1 GB (EXUVIA_PUSH_MAX_MB).

Who may push. Pushing changes the project, so it needs edit access. The token is EXUVIA_API_TOKEN (or the file EXUVIA_API_TOKEN_FILE names), or token=: your own agent token from the workbench's account menu, or the server's. As with exuvia env, plain http is refused unless the server is on the same machine (--allow-http, allow_http=True). Over HTTP it is POST /api/nodes/{name}/push with the Parquet (Content-Type: application/vnd.apache.parquet) or JSON (application/json) as the body, ?params= a JSON object and ?note= a line for the log. Another content type needs ?format=parquet|json; a body sent as a form or as text/plain, which any web page can send, is refused (415).

Licences. Licensed data usually comes with limits on who else may see it. A hub that others can read, or a share link, may take it past them: check the terms before pushing it somewhere shared.

To have the hub schedule the node and keep its code, and the desktop only run it, use a runner instead (below).

Runners: nodes that run on someone's desktop

A push node needs a script of your own on the desktop. A runner runs the node itself there: the hub keeps its code, schedule, history and the graph around it, and hands each run to the desktop. Use one to read data only that desktop has, or to spread heavy runs over people's workstations instead of the hub's own executors.

"""Daily closes from the licensed data terminal on the trading desk.""" import vendor_feed # the vendor's SDK, listed in the project's pyproject.toml import exuvia @exuvia.node(runs_on="desk", schedule="15 17 * * 1-5") def desk_closes(): ... # runs on the desktop, against that person's terminal login (SQL: -- runs_on: desk.) On the desktop, signed in with your own agent token from the workbench's account menu:

EXUVIA_API_TOKEN=... exuvia runner --url https://exuvia.example.com --label desk It dials out. The runner long-polls the hub over HTTPS for runs of nodes with its labels (--label, repeatable), runs each one with the usual subprocess runner, streams the log back and uploads the output, which the hub checks by its hash. Nothing has to reach the desktop, so it works behind NAT or a corporate firewall. Runners on several machines can share a label: each run goes to whichever of them claims it first, so starting more of them spreads the load.

Bound to a person. A runner takes runs only from projects its owner (the agent token's person) can edit, and only it can answer for a run it took. GET /api/runners lists your runners, online or not, and the runs waiting for one.

Code approval. Anyone who can edit the project, the agent included, could otherwise run code on your desktop. So a runner runs only code you have approved on that machine: the node's file, the lib/ files it imports and the project's pyproject.toml, uv.lock and exuvia.json, by their hash. New or changed code shows its diff from the version you last approved and waits for a yes when the runner is in a terminal. In the background, the run fails saying so, the code is kept, and exuvia runner approve shows it and approves it; the next run (a retry, the next schedule) goes ahead. Approvals live on the desktop (EXUVIA_RUNNER_HOME, default ~/.exuvia/runner): the hub can't grant one.

Only what it needs. The runner gets that node's code, not the whole project, and only the project variables its files name (FEED_KEY in os.environ["FEED_KEY"]), not every secret. The hub's and the runner's own settings (EXUVIA_*) never reach the node. Packages in the project's pyproject.toml are installed on the desktop with uv, as the hub's installer does.

Offline desktops. A run waits ("waiting for a runner labelled desk", and whether one is online) until a runner takes it, for EXUVIA_RUNNER_WAIT seconds (default 3600), then fails; a runner that goes quiet for EXUVIA_RUNNER_SILENCE seconds (default 120) fails the run it held. Nodes downstream keep reading the last good output, as after any failed run, and retries tries again. A run waiting for a desktop takes none of the hub's run slots (EXUVIA_MAX_PARALLEL). Cancelling it on the hub stops it on the desktop too.

Sources only, for now. A runs_on node takes no upstream nodes, so no large output is shipped down to a laptop; it can't be live either. Read its output from nodes downstream, which run on the hub as usual.

Licences. The same as for push nodes: check the data's terms before its output lands where others can read it.

exuvia runner --once waits for one run and stops; --name names the runner on the hub (default: the machine's name). A run needs exuvia serve or exuvia hub: exuvia run has nothing to hand it to.

A view is custom UI over node outputs, kept apart from the graph's code (the canvas still draws each one under the nodes it reads). In a notebook the UI lives in each cell and is built from Python: widget calls, or HTML and JavaScript held in strings. Here the nodes compute outputs in Python and SQL, and a view is front-end code that only reads them: TypeScript, React and CSS in files of their own, with components, imports and types. The canvas, inspector and SQL box stay as they are.

How a view works, in short ("Rendering a view" below has the detail):

Nodes run and store their outputs. A view never runs anything; opening one re-runs only the nodes marked live (see Live nodes).

The view's view.json names the nodes it reads. Those are the only outputs it can reach, and they are its edges on the graph.

The workbench loads the view's files into a sandboxed frame, compiles them in the browser (there is no build step and no npm install) and renders the entry file's default export.

The code asks for data through the exuvia module: useTable("node") for a whole output, useQuery("select …") for DuckDB SQL over the nodes it reads. Tables arrive as typed Arrow data, not as HTML or JSON text.

When a run replaces an output the view reads, its hooks reload. When one of its files is saved, the frame is rebuilt.

The agent writes views with the same kind of tools it has for nodes. Whoever wrote it, a view runs in the sandbox and can only read.

Views are React, rendered inside the workbench. An app written in anything else reads the same outputs over HTTP, as Arrow streams or Parquet files (see Binary data).

A view is a folder views// next to nodes/ and lib/, holding a view.json manifest and its source files:

views/vol_board/ view.json App.tsx components/Chart.tsx styles.css { "title": "Vol board", "description": "Realized vol per ticker, as of the selected date", "runtime": "react", "entry": "App.tsx", "reads": ["rolling_vol", "universe"] } reads is the whole of what a view can see: the outputs of those nodes, nothing else. Like a node's upstreams it gives the graph edges, a state, and the list of outputs a view depends on.

Rendering never runs compute. A view reads outputs that exist; it does not trigger runs. Work a view needs belongs in a node it reads. The one exception is a node its author marked live: opening the view re-runs it while the view shows the output it has (see Live nodes).

runtime is react (the default and, for now, the only one) and entry is the component file (App.tsx by default; .tsx, .ts, .jsx or .js). title defaults to the folder name.

canvas pins the view on the graph's canvas, rendered live: true (a card 560 by 360 pixels) or {"width": 800, "height": 400} (280 to 1600 wide, 180 to 1200 high). Without it the canvas shows the view as a small card under the nodes it reads (see The canvas).

View names follow the node-name rule (snake_case). Files are text with one of .tsx .ts .jsx .js .css .json .html .md .svg, at most 512 KB each, in plain relative paths (up to 8 levels); other files in the folder are not part of the view and node_modules/ is ignored.

Views are read statically, like nodes: a missing or broken view.json, an unknown key, a missing entry file or a reads entry naming a node that does not exist still lists the view, with a parse_error.

Every file of a view is versioned like node files (see "Execution model"), so any version can be restored and a deleted view brought back. The file watcher picks up edits made on disk.

Views are not shipped to a remote executor: no node can read them, so editing a view never ships a new project bundle.

GET /api/project (and GET /api/views) list each view with its state for the requested parameter set, derived from the nodes it reads:

Each view also carries outputs: per read node, its state, kind and the artifact_id of the output the view would show now. Artifact ids name their content, so a client can fetch /api/artifacts/{node}/{artifact_id}.parquet once and cache it for good. For a node with several outputs, kind is multi and parts lists them (name, kind, rows). live lists the live nodes it depends on, those it reads and those upstream of them. hash covers every file of the view and the project's npm packages, so a client can tell when what the view runs changed.

The UI's Views mode (next to the graph) lists the views with their state and reason, shows the nodes each one reads (click one to open it on the canvas), lets you pick the run parameters, and renders the selected view. Compile and runtime errors from the view are listed under it with the file they came from; click the file to open it. examples/markets ships one (views/vol_board).

A view as an app. The view's expand button (or ?app= on the project's address: /?app=vol_board, or /p//?app=vol_board on a hub) opens the view on its own, full screen, with none of the workbench around it. One floating Tools button in its corner holds what the workbench offered around the view: the run parameters, a switch to the project's other views, Run for read nodes that are missing or stale (for editors), Copy link, Share (on a hub), Download, the colour theme and the way back to the workbench. Parameters other than their defaults ride along in the address as p.= (?app=vol_board&p.as_of=2026-11-06), so a copied link opens the view as it was shown; a value the project refuses is left out, with a note under Tools. #views/ opens a view in the workbench's Views mode instead. On a hub, the Share dialog gives every view's app address, and a share link lands on one when ?app= is added to it (the dialog offers that when it shows a new link).

The view's Code tab lists its files (view.json first, then the entry) and edits them in place, with TypeScript, JSX, CSS and JSON highlighting. Ctrl+S (⌘S on a Mac) or Save writes the open file (PUT /api/views/{name}/files/{path}), which versions it like any other edit and rebuilds the view; compile errors from the new version show up under the editor. Unsaved edits are kept per file while you move between files, views and the graph, and a file the agent or an editor on disk changes reloads unless you have unsaved edits to it. The History tab (or History in the Code tab's bar, which opens it on the file you are editing) lists every saved version of the view's files, deleted files included, and restores one (see "Browsing and restoring code" under "Execution model").

A view runs in an