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.2.1
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.2.1.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wishee_hermes_connector-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.8 kB
Release files / wishee_hermes_connector-0.2.1.tar.gz
| Download URL | wishee_hermes_connector-0.2.1.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28169bc9c3448b3586836aab4e65e42bfdb3538a178bc24d377e1d9764f583b3
|
|
BLAKE2b-256 checksum How to use checksums |
274531c30a57e7318bb0331a50bc00963c8f26426f3738457c834cd855e1ce9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / wishee_hermes_connector-0.2.1-py3-none-any.whl
| Download URL | wishee_hermes_connector-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
291ffb6c8cc7b36025d6ae9dd92525a054a3ddebf82cd38c947249351ddff42c
|
|
BLAKE2b-256 checksum How to use checksums |
ee821d449a011fa7c2bdd0153e099e5a93bfb2c0abf350189de8524cb4f3f646
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|