wishee-hermes-connector
Connect a Hermes agent to the Wishee bridge
(openclaw-bridge) over a reverse WebSocket — the Hermes counterpart of
@wishee-ai/openclaw-connector. The bridge drives the agent (chat.send /
chat.history / sessions.reset) and receives its replies (task-result).
Requires no changes to the bridge or to hermes-agent core.
How it works
The connector is a Hermes platform adapter (runs inside the hermes gateway
process). It dials the bridge, does the hello/welcome handshake, then:
chat.send→ mints arunId, answers immediately, runs the agent turn, and emits atask-resultevent when the turn finishes (the bridge's device-push path).chat.history/sessions.reset→ reads / clears the Hermes session store.
From the bridge's perspective a Hermes agent is indistinguishable from an
OpenClaw instance: same /api/bind, same hello, same RPCs, same event frames.
The transport auto-reconnects: an unexpected socket close (bridge restart,
network drop) re-dials with capped exponential backoff and re-runs the
hello/welcome handshake. A deliberate shutdown never reconnects.
Install
pip install wishee-hermes-connector # into your Hermes environment
Enable
- Add
wisheetoplugins.enabledin your Hermesconfig.yaml(entry-point plugins are opt-in). - Optionally set
WISHEE_BRIDGE_URLto override the default (wss://ai-bridge.wishee.com.cn/ws). - Run
hermes gateway. On first run it prints a QR code — scan it to bind this instance to the bridge (via the bridge's/api/bind). Identity is stored at~/.hermes/wishee-connector/binding.json.
Scope
v1 emits task-result on each completed turn (the bridge's device-push path).
Live streaming (agent progress events) is out of scope for v1.
Development
uv venv --python 3.13 .venv
uv pip install --python .venv/bin/python -e /path/to/hermes-agent
uv pip install --python .venv/bin/python -e ".[dev]"
.venv/bin/python -m pytest -q
Metadata
Release files for wishee-hermes-connector 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wishee_hermes_connector-0.4.0.tar.gz | 26.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wishee_hermes_connector-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.2 kB
Release files / wishee_hermes_connector-0.4.0.tar.gz
| Download URL | wishee_hermes_connector-0.4.0.tar.gz |
|---|---|
| Size | 26.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
270f5a5beb0c0c897f591e988bf7a10742ffccad4b6a3c5d07ab29a84d168e65
|
|
BLAKE2b-256 checksum How to use checksums |
e725ea0064adca6e71eb186ad8f0bf0e8d4963b3bda31c3c49c6cf837b2f0339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / wishee_hermes_connector-0.4.0-py3-none-any.whl
| Download URL | wishee_hermes_connector-0.4.0-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fe412c9b6dd0d4e81db26a44fff253d13a3fd0d079895baa050fe97137527dc
|
|
BLAKE2b-256 checksum How to use checksums |
1ae1286dde9137293adeec8cad77bfa0f40da6e56175345f11343e6bdf5d6401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|