herald-bridge (Herald Bridge)
Connect your local Hermes AI agent to Herald — voice-first conversations on mobile.
Full guide: https://heraldbridge.dev/docs/setup.
Install (it keeps itself up to date)
Install into its own venv at ~/.herald-relay, the only place Herald Bridge can
update itself. It is published on PyPI as herald-bridge:
python3 -m venv ~/.herald-relay
~/.herald-relay/bin/pip install -U herald-bridge
~/.herald-relay/bin/herald-tunnel setup # registers this machine, installs the service
~/.herald-relay/bin/herald-tunnel status # local Hermes → relay → this tunnel, end to end
setup writes the herald: block of ~/.hermes/config.yaml for you:
herald:
relay_url: https://herald-api.eventhorizonlabs.xyz
device_token: <registered by setup>
# auto_update: false # pin this version
(Older docs said plugins.herald-relay and wss://relay.herald.app. Nothing reads
that key, and that host never existed.)
Installed somewhere else? A bridge installed with pip install into Hermes' own
venv, with pip --user, or into any other venv moves itself into ~/.herald-relay:
herald-tunnel setup does it before writing anything, and a running tunnel does it
in the background once nothing is in flight (herald_relay/migrate.py). It installs
the release named by the signed manifest, rewrites only the ExecStart line of the
systemd user unit (and the keepalive script and skills), and re-execs from there. The
device token and settings live in ~/.hermes/config.yaml, so pairing is unchanged.
Not moved: developer checkouts (pip install -e), HERALD_BRIDGE_MIGRATE=0, automatic
updates turned off, or a tunnel for a non-default HERMES_HOME.
How it works
The plugin dials OUT from your machine to Herald Cloud. No port forwarding needed.
Hermes works normally; Herald notifies you on mobile when it needs you or finishes a task.
Configuration
Key (herald: in ~/.hermes/config.yaml) |
Default | Description |
|---|---|---|
relay_url |
https://herald-api.eventhorizonlabs.xyz |
Herald relay this machine dials out to |
device_token |
registered by setup |
Identifies this machine at the relay |
auto_update |
true |
false pins this version |
Environment variables
HERALD_RELAY_URL,HERALD_DEVICE_TOKEN— fallbacks if theherald:block is missingHERALD_LOCAL_HERMES_URL— override local Hermes URL (default:http://127.0.0.1:8642)HERALD_BRIDGE_AUTO_UPDATE=0— turn automatic updates off (orherald.auto_update: falsein~/.hermes/config.yaml). Also refuses "update now" from the app.HERALD_BRIDGE_MIGRATE=0— don't move a bridge installed elsewhere into~/.herald-relay.
Automatic updates (0.8.0+)
herald-tunnel run keeps Herald Bridge up to date by itself (herald_relay/bridge_update.py):
- On start, every 6 h (± 30 min jitter), when the relay hints a newer release on connect,
and when the app or an operator asks ("update now"), it fetches
GET <relay>/relay/plugin/manifest: a DSSE envelope signed offline with Ed25519 (scripts/release_plugin.py; the public key is compiled into the plugin). Expired manifests and versions not newer than the running one are refused. - Machines in the release's
rollout_percentslice (stable per machine) download the wheel (size-capped, sha256-checked) and install it into a NEW venv,~/.herald-relay-versions/<version>, which must passherald-tunnel selfcheck. - When nothing has been in flight for 20 s (no run, no forwarded request, no approval), the
stable path
~/.herald-relayis flipped to the new venv with onerename(2)and the tunnel re-execs itself. systemd, the keepalive and skills keep using~/.herald-relay. - The new version is on probation until it registers with the relay. If it crash-loops
(3 starts) or cannot register while the relay is reachable,
~/.herald-relayis flipped back, the version is marked bad and the previous build restarts.
Only a venv Herald owns is updated: ~/.herald-relay, ~/.herald/venv (Herald Cloud), or
HERALD_BRIDGE_ROOT. A bridge installed anywhere else moves itself into ~/.herald-relay
first (see "Installed somewhere else?" above). herald-tunnel update asks for an update now;
herald-tunnel update --status shows the last result. Machines on 0.7.x and older have no
updater: they need one manual pip install -U to reach 0.8.0 (0.8.1+ when installed outside
~/.herald-relay, so the move kicks in).
Releasing: python scripts/release_plugin.py --rollout 10 (builds, attaches the wheel to
GitHub release plugin-v<version>, signs with Secret Manager herald-relay-signing-key,
writes backend/release/plugin-manifest.json), merge that file, then
--resign --rollout 100 when the first slice is healthy. The relay counts machines per
version at GET /relay/plugin/versions (header X-Herald-Ops-Token).
Herald Bridge keeps Hermes updated (0.9.0+)
Hermes has no automatic update. herald-tunnel run updates it, but only to the Hermes
release Herald tested, and only where that's safe (herald_relay/hermes_update.py):
- Signed pin. The same signed manifest may carry
"hermes": {"version", "tag", "git_sha", "rollout_percent"}, set withrelease_plugin.py --resign --hermes-tag vX.Y.Z --hermes-rollout 10. No block means nothing happens. A new tag starts at 0 %. - Safe boxes only. The box must be an official source checkout run by a
hermes-gateway*systemd user unit, with a clean tree and no local commits. Carried patches are skipped and reported, never clobbered. Herald Cloud (image-managed), forks and opted-out boxes are skipped. - Never past the tested release, never backwards. The upstream tag must be the signed commit
and the box must be strictly behind it. If upstream already shipped a newer stable release,
wait, because
hermes updatewould go there. - Staged, then idle. The release is compiled in a throwaway git worktree. It is applied only
after the gateway has reported no active agent, API run or delegation (
/health/detailed) for 2 minutes. - Hermes installs it.
hermes update --yes --channel stable --no-gateway-restarthandles dependencies, config migrations and the downgrade guard. We check it landed on the signed commit. - Restart, health, rollback. The
hermes-gateway*units are restarted through the user's systemd. Checks: local/healthmust report the new version and/v1/modelsmust answer with the key. Through the relay,/health,/api/souland/v1/skillsmust answer. On any failure the checkout goes back to the previous commit, the gateway restarts and is re-checked, and the version is marked bad on that box. A failed rollback halts updates there (rollback_failed) until an operator looks. - Opt out:
HERALD_HERMES_AUTO_UPDATE=0orherald.hermes_auto_update: false. - Fleet view: every connect reports
hermes_update(current, target, state, why skipped).GET /relay/plugin/versionscounts Hermes versions and skip reasons.POST /relay/plugin/update-now {"device_token": …, "hermes": true}checks one box now (skips the rollout slice, never the safety checks).
Architecture
Mobile App ←→ Herald Cloud ←(WebSocket)→ hermes-herald plugin ←→ Local Hermes
- Herald Cloud receives voice/text from your mobile app.
- It forwards the HTTP request over the persistent WebSocket tunnel.
- The plugin proxies it to your local Hermes API and streams the response back.
- When Hermes fires an
approval_requiredor completes a long task, the plugin sends a push trigger so Herald Cloud wakes your phone.
Agent name and skills on stock Hermes
Herald reads the agent's name from GET /api/soul and its skills from
GET /v1/skills. Stock Hermes does not serve the first (404), and its
/v1/skills currently fails (500). The tunnel answers both paths itself, for
the default profile and /p/<profile>/…, whenever local Hermes can't: it asks
Hermes first and passes a working answer through untouched, otherwise it
checks the caller holds that profile's key and builds the same answer with
Hermes' own loaders (agent_info_helper.py, run with Hermes' interpreter),
falling back to reading SOUL.md and skills/**/SKILL.md. Nothing needs to
be patched into Hermes, so hermes update no longer breaks either.
Metadata
Release files for herald-bridge 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| herald_bridge-0.9.2.tar.gz | 206.4 kB | With provenance | Details for herald_bridge-0.9.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| herald_bridge-0.9.2-py3-none-any.whl | Python 3 | none | any | Details for herald_bridge-0.9.2-py3-none-any.whl |
Total release size: 297.6 kB
Release files / herald_bridge-0.9.2.tar.gz
| Download URL | herald_bridge-0.9.2.tar.gz |
|---|---|
| Size | 206.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75a08d6a2ad06f6ffc7cdeb9e5d503331d96203cf3fbdb6e7e04cd1f639f331c
|
|
BLAKE2b-256 checksum How to use checksums |
d1c0030697d5d195b2faac0bfd3f2c5f980be4a8d55a04c6cc4553b7238086a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / herald_bridge-0.9.2-py3-none-any.whl
| Download URL | herald_bridge-0.9.2-py3-none-any.whl |
|---|---|
| Size | 91.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adb5a92d906c463e1b23e4e0e2bcb831b73fbb500f3063bb0c47ab9b690b720e
|
|
BLAKE2b-256 checksum How to use checksums |
dbd0ea1893f564186dac847d225ca88a143a030a8a58fdcc205a868546b1e14e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logSecurity for herald-bridge 0.9.2
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for herald_bridge-0.9.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logA 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.