Skip to main content

Jupyter server proxy for Hermes Agent dashboard

Project description

jupyter-hermes-proxy

Launch the Hermes Agent dashboard from JupyterLab as a native launcher entry.

Features

  • One-click launch from the JupyterLab launcher panel with a custom Hermes icon
  • Automatic port management via jupyter-server-proxy
  • Works behind reverse proxies (no manual port forwarding needed)
  • Two modes: spawn a new dashboard, or connect to an existing one
  • Configurable Hermes executable path via HERMES_BIN_PATH

Installation

pip install jupyter-hermes-proxy

Then restart JupyterLab. The "Hermes Dashboard" launcher entry will appear automatically.

Configuration

Spawn mode (default)

By default the proxy searches for hermes in PATH and spawns a new dashboard process when you click the launcher.

Override the binary path:

export HERMES_BIN_PATH=/path/to/hermes

URL mode (connect to existing dashboard)

When Hermes dashboard is already running (e.g. supervised by s6 in Docker), point the proxy at it:

export HERMES_DASHBOARD_URL=http://127.0.0.1:9119

In this mode the proxy does not spawn a new process — it simply proxies traffic to the existing dashboard. No hermes binary on PATH is required.

Related Packages

  • jupyter-ai-hermes — Hermes Agent as an ACP persona for Jupyter AI chat, with live notebook context injection and MCP tools for cell management.

Both packages share the same HERMES_BIN_PATH environment variable convention.

Development

git clone git@github.com:dive4dec/jupyter-hermes-proxy.git
cd jupyter-hermes-proxy
pip install -e .

How It Works

This package registers a server spec under the jupyter_serverproxy_servers entry point.

  • Spawn mode: jupyter-server-proxy calls setup_hermes() which returns a command that spawns hermes dashboard on an ephemeral port and proxies it through the Jupyter server.
  • URL mode: setup_hermes() returns the pre-existing dashboard URL directly, so jupyter-server-proxy connects to it without spawning anything.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_hermes_proxy-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_hermes_proxy-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_hermes_proxy-0.1.0.tar.gz.

File metadata

  • Download URL: jupyter_hermes_proxy-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for jupyter_hermes_proxy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a33ab0730d194d25c3cb3adc8438d5b4c1b4244acc7fb38c952a44cf1875a2b8
MD5 b488e443a0826a5976f29c0d9eacd297
BLAKE2b-256 0a8511bf3c9594ffd3bad9db018cd1a8724e0d80168c53d0ba971ccd053df62f

See more details on using hashes here.

File details

Details for the file jupyter_hermes_proxy-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_hermes_proxy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf5f9156162db060578f8dbf6ffae6ad38d7931e8b1c4dcd07f6fdace2180904
MD5 5a486dd88342c80b4359f48e1c60fa4d
BLAKE2b-256 26da3539ee5d9cfe336e92a8be249d50c7a46d08c53e3c476df87b468f13b012

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page