Skip to main content

zeno-local

A small local companion daemon for the zeno cloud UI. It imports the humex library you've installed and exposes it over a loopback HTTP server (the Zeno Compute Protocol) so the cloud-hosted zeno SPA can run simulate / evaluate / import / export against your local humex — including any custom monitors, operators, or converters you've installed.

humex stays a pure library (it does not serve). zeno-local is the process that owns the server.

Install

pip install zeno-local      # installs into the same env as your humex

humex is a dependency, so it comes along — but if you want to use your own (modified / customized) humex, install it in the same environment first, or pip install -e your humex checkout there.

Run

Quick start from a checkout (sets up a venv, installs zeno-local + humex, runs):

scripts/start.sh                 # http://127.0.0.1:8900
PORT=9100 scripts/start.sh       # different port
VENV=../zeno/.venv scripts/start.sh   # reuse an existing venv (and its converters)

Or run the installed CLI directly:

zeno-local                                   # http://127.0.0.1:8900
zeno-local --port 9100 --cors-origin https://zeno.dev.zerothlaw.io

Then open zeno with ?mode=local (and ?localUrl= if you changed the host/port). zeno's "compute source" selector will route everything through this server instead of the in-browser Pyodide runtime.

Browser support

An HTTPS-deployed zeno reaching http://localhost works in Chrome and Firefox (loopback mixed-content exemption + Chrome Private Network Access headers are handled). Safari blocks it — use Chrome/Firefox, or run zeno over http://localhost too.

Endpoints (Zeno Compute Protocol, v1)

GET /health · GET /converters · GET /monitors/discovery · GET /operators/discovery · POST /parse-yaml · POST /test-dag · POST /import-package (raw .hpkg bytes) · POST /run-simulation · POST /evaluate-metrics · POST /convert · POST /build-hpkg. Per-tab state is keyed by the X-Humex-Session header.

The discovery endpoints introspect your installed humex, so a custom monitor or operator you've registered (via humex's entry-point plugin system) appears in zeno's metrics editor when it's pointed here with ?mode=local.

Roadmap: filesystem endpoints (/fs/*) so the UI can browse local dataset directories and write outputs back to disk — capabilities the in-browser runtime fundamentally can't provide.

Metadata

Release files for zeno-local 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zeno-local 0.1.5
File Size Uploaded Provenance Actions
zeno_local-0.1.5.tar.gz 17.7 kB Without provenance Details for zeno_local-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zeno-local 0.1.5
File Interpreter ABI Platform Actions
zeno_local-0.1.5-py3-none-any.whl Python 3 none any Details for zeno_local-0.1.5-py3-none-any.whl

Total release size: 36.2 kB

Release files / zeno_local-0.1.5.tar.gz

Download URL zeno_local-0.1.5.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3aff77b5a3e5b27e64e3b97bc4a39ff68902a6ef901012b79e297742f782086e
BLAKE2b-256 checksum
How to use checksums
746bacdc483327b2e8c8fdf24ac8a81ee822df9fa8e96a10f4b4b876374d1a0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / zeno_local-0.1.5-py3-none-any.whl

Download URL zeno_local-0.1.5-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76533aff3c60cfbe74ac03c5b33f7d18a70bdcc4d9c6c4a4844931157cfb8c47
BLAKE2b-256 checksum
How to use checksums
3d8a474a40a4b81814592c17e6312e3ab3c9470c412b870259dc9431629bf33b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for zeno-local 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page