All plugins

gadget

Talk to your Hermes from small ESP32 devices with a screen, microphone and speaker: hold a button, ask, and hear the answer. Adds a gateway platform where each device is a chat, plus tools to list devices, show a card on a screen and run device actions (LEDs, relays). Disclosure — the gateway listens for devices on a WebSocket port (8765, all interfaces by default; plain ws:// unless tls_cert/tls_key are set). New devices need a Hermes pairing code unless listed in GADGET_ALLOWED_USERS; GADGET_ALLOW_ALL_USERS skips pairing (development only). A paired device answers the agent's command approvals for its own chat (allow once or deny), within Hermes's approval timeout. The first approved device becomes the platform's home channel by default. Session hooks feed a dashboard on paired devices with each agent session's platform, a short id and its state (idle, busy, waiting for approval); a device that can switch profiles also sees the offered profiles' sessions. Optional profile switching (off unless profiles is set in the default profile's gadget config) lets a device paired on the default profile talk to the listed profiles; each profile approves the device through its own pairing flow (the device shows the hermes -p <profile> pairing approve command), the plugin writes nothing into other profiles, and revoking the device in the default profile sends it back there. A paired gadget that draws faces gets the answering profile's face: its gadget-face.bin, or its Hermes avatar (assets/avatar.*) converted with Pillow when installed; the plugin only reads these files, and profile_faces: false turns this off. platforms.gadget.extra.stt_language sets the transcription language of gadget recordings through the pre_transcription hook; other platforms' audio is untouched. Spoken replies that are not WAV are converted with the local ffmpeg; Opus reply audio uses the host's libopus when installed (loaded with ctypes, not bundled). hermes gadget update --latest downloads firmware from this repository's GitHub releases, checks size and SHA-256 against the release manifest (files carry build provenance attestations) and sends it to the device. A device that advertises camera.capture returns stills that are saved as PNGs under ~/.hermes/gadgetpix/ and kept until removed by hand. A Hermes Desktop page (desktop/plugin.js, plugin SDK only) runs a gadget in the window that connects to the local gateway as a device of its own: its device key, and the gateway access token when one is required, are kept in the page's plugin storage, it pairs like any device, and it uses the microphone only while its talk button or Space is held. The plugin's dashboard routes, behind the dashboard's login, can approve the pairing code a device is showing and send a card or run an advertised action on a connected, paired device; the requests pass through files under plugin-data/gadget/desk/. Otherwise writes only under plugin-data/gadget/. Uses Hermes's own STT, TTS and image cache; no telemetry. Independent community project, not affiliated with Nous Research.

Adolanium545Platformv0.5.0Updated 9 days ago

About

Talk to your Hermes from small ESP32 devices with a screen, microphone and speaker: hold a button, ask, and hear the answer. Adds a gateway platform where each device is a chat, plus tools to list devices, show a card on a screen and run device actions (LEDs, relays). Disclosure — the gateway listens for devices on a WebSocket port (8765, all interfaces by default; plain ws:// unless tls_cert/tls_key are set). New devices need a Hermes pairing code unless listed in GADGET_ALLOWED_USERS; GADGET_ALLOW_ALL_USERS skips pairing (development only). A paired device answers the agent's command approvals for its own chat (allow once or deny), within Hermes's approval timeout. The first approved device becomes the platform's home channel by default. Session hooks feed a dashboard on paired devices with each agent session's platform, a short id and its state (idle, busy, waiting for approval); a device that can switch profiles also sees the offered profiles' sessions. Optional profile switching (off unless profiles is set in the default profile's gadget config) lets a device paired on the default profile talk to the listed profiles; each profile approves the device through its own pairing flow (the device shows the hermes -p <profile> pairing approve command), the plugin writes nothing into other profiles, and revoking the device in the default profile sends it back there. A paired gadget that draws faces gets the answering profile's face: its gadget-face.bin, or its Hermes avatar (assets/avatar.*) converted with Pillow when installed; the plugin only reads these files, and profile_faces: false turns this off. platforms.gadget.extra.stt_language sets the transcription language of gadget recordings through the pre_transcription hook; other platforms' audio is untouched. Spoken replies that are not WAV are converted with the local ffmpeg; Opus reply audio uses the host's libopus when installed (loaded with ctypes, not bundled). hermes gadget update --latest downloads firmware from this repository's GitHub releases, checks size and SHA-256 against the release manifest (files carry build provenance attestations) and sends it to the device. A device that advertises camera.capture returns stills that are saved as PNGs under ~/.hermes/gadgetpix/ and kept until removed by hand. A Hermes Desktop page (desktop/plugin.js, plugin SDK only) runs a gadget in the window that connects to the local gateway as a device of its own: its device key, and the gateway access token when one is required, are kept in the page's plugin storage, it pairs like any device, and it uses the microphone only while its talk button or Space is held. The plugin's dashboard routes, behind the dashboard's login, can approve the pairing code a device is showing and send a card or run an advertised action on a connected, paired device; the requests pass through files under plugin-data/gadget/desk/. Otherwise writes only under plugin-data/gadget/. Uses Hermes's own STT, TTS and image cache; no telemetry. Independent community project, not affiliated with Nous Research.

Hermes Gadget

Give your Hermes a place on your desk.

This is the Hermes gateway plugin for Hermes Gadget devices.
Hold a button on a small ESP32 board, ask a question, and hear your own Hermes answer.

POWERED BY HERMES AGENT  ·  COMMUNITY PLUGIN  ·  VERSION 0.5.0

Install it  ·  What it adds  ·  What it does on your machine  ·  Website

A dithered marble bust of Hermes listening to a small handheld gadget on a stone plinth

Powered by Hermes

Hermes Gadget adds a messaging platform to the Hermes Agent gateway. Each gadget is a chat: you speak, Hermes's speech-to-text turns it into a message, your agent answers with its usual tools, memory and skills, and the reply is shown on the device and spoken through Hermes's text-to-speech. Unknown devices go through Hermes's own pairing codes, and command approvals appear on the device as yes/no questions.

This directory is the plugin. The rest of the repository holds the device firmware, a browser installer, a Raspberry Pi client and a desktop simulator.

Install

You need Hermes Agent 0.21.6 or newer, and a speech-to-text provider and voice set up in Hermes if you want to talk to the gadget.

hermes plugins install https://github.com/Adolanium/hermes-gadget-sdk/tree/main/plugin --enable
hermes gateway setup

Choose Hermes Gadget in setup and restart the gateway when it asks. Then set up a board from the installer or try the desktop simulator. The Connect Hermes guide covers each step.

What it adds

A gateway platformgadget, a WebSocket endpoint devices connect to. Each device is a direct-message chat, so sessions, /stop, /new and pairing work as on any platform.Three agent toolsgadget_devices lists connected gadgets, gadget_display shows a short card on a screen, and gadget_action runs a device-declared action, such as an LED, relay or camera capture saved as PNG on the gateway.
A CLIhermes gadget info, devices, pair, forget, update and tile.Over-the-air updateshermes gadget update sends new firmware to a connected gadget.
A dashboardGadgets list the agent's sessions (idle, busy or waiting for approval) and status tiles set with hermes gadget tile. Session state comes from Hermes's plugin hooks.A tab in the Hermes dashboardGadgets in hermes dashboard lists your devices: board, firmware, last seen, and while the gateway runs, online and battery. Read-only.
A page in Hermes DesktopGadgets in the desktop app's sidebar: a gadget that runs in the window (hold to talk, or type), pairing approval, a live copy of each device's screen, and buttons to send a card or run a device action.

Camera captures saved by the plugin are retained indefinitely under ~/.hermes/gadgetpix/. The plugin does not prune old images; delete them manually to reclaim disk space.

What it does on your machine

Read this before you install.

  • Opens a network port. The gateway listens for gadgets on WebSocket port 8765 at /gadget, on all interfaces (0.0.0.0) by default. Set host in the platform's config to narrow it. Traffic is plain ws:// unless you set tls_cert and tls_key. For access outside your network, the remote access guide shows a setup that adds TLS.
  • Who can connect. A new device must be approved with a Hermes pairing code (hermes gadget pair), unless you list its id in GADGET_ALLOWED_USERS. GADGET_ACCESS_TOKEN adds a shared token every device must present. GADGET_ALLOW_ALL_USERS skips pairing for any device and is meant for development only. Secrets are read through Hermes's profile-scoped secret helpers.
  • Answers approvals from the device. When the agent asks to run a dangerous command, a paired gadget shows the command exactly as it will run, and its buttons answer it as allow once or deny. A paired device can therefore approve commands for its own chat. It never grants "always". A command that does not fit one line of the device's screen as-is can only be denied there; approve it on the host. The question lasts as long as Hermes's approval timeout (approvals.timeout, 300 seconds by default).
  • Lets a paired device switch Hermes profiles. Only when profiles is set in the default profile's platform config ([work, home], or all): on a multiplexed gateway, a device approved in the default profile can then pick one of those profiles. The plugin writes nothing into other profiles: each one approves the device through its own pairing flow, and the device shows the command to run (hermes -p <profile> pairing approve gadget <code>). Revoking the device in the default profile sends it back there and stops it switching.
  • Reads each profile's face. A paired gadget that draws faces gets the face of the profile answering it: the profile's gadget-face.bin, or else its Hermes avatar (assets/avatar.*) converted on the host with Pillow, when Pillow is installed. A profile other than the default one shows its face only once Hermes would accept the device's turns in that profile, meaning that profile's pairing approval or the gateway's allowlist; until then the device shows the mascot. The plugin only reads these files. Set profile_faces: false in the platform's config to show the built-in mascot instead. See Faces.
  • Sets a home channel. By default (auto_home: true) the first approved device becomes the gadget platform's home channel, so scheduled messages for that platform go to it.
  • Runs ffmpeg locally to convert spoken replies that are not plain WAV, when ffmpeg is installed.
  • Downloads firmware only when you ask. hermes gadget update <device> --latest downloads the newest release's manifest.json and the board's image from this repository's GitHub releases, checks the image's size and SHA-256 against that manifest, and sends it to the device. Release files carry GitHub build provenance attestations (gh attestation verify <file> --repo Adolanium/hermes-gadget-sdk). Without --latest, it sends a file you name.
  • Watches session state for the dashboard. Plugin hooks tell it when a session starts or ends a turn and when it waits for an approval. Paired gadgets see each session's platform, the last four characters of its id and that state, never what was said. Set dashboard: false in the platform's config to turn this off.
  • Writes its own data, under <hermes home>/plugin-data/gadget/: the device list (devices.json), which devices are connected now, their battery and what their screens show (status.json, rewritten by the running gateway), cards and actions the Desktop page sent and their outcomes (desk/, kept for two minutes), staged firmware updates while they install, the dashboard's tiles (dashboard.json), a marker per device that has switched profiles (owner-bound/), and, only with battery_log: true, a CSV of each device's battery readings. When a device switches to another profile, it also writes that profile's pairing approval, as hermes -p <profile> pairing approve would.
  • Uses Hermes's services, which may be cloud services depending on your Hermes setup: speech-to-text for what you say (in the language stt_language sets, when you set one), text-to-speech for replies, and Hermes's image cache when the agent shows an image on a gadget. The plugin itself sends nothing else off your machine. There is no telemetry.
  • Runs inside the gateway. No separate background process. It stops when the gateway stops.
  • Adds routes to the Hermes dashboard. When the plugin is enabled, hermes dashboard (and Hermes Desktop, which runs it) loads dashboard/plugin_api.py and serves its routes under /api/plugins/gadget/, behind the dashboard's login. They read the files above and return no device keys. Three of them act, for the Desktop page: one approves the pairing code a device is showing, as hermes gadget pair does, and two send a card or run an action the device advertises on a connected, paired device. The Hermes integration guide lists them.
  • Runs a gadget in Hermes Desktop. The Desktop page connects to the gateway on 127.0.0.1 as a device of its own, with a key kept in the page's storage. It pairs like any other device. It uses the microphone only while you hold its talk button or Space.

Limit who can reach the port

On a home network, bind the platform to the interface your gadgets use, and serve wss:// if anything else shares that network. In ~/.hermes/config.yaml:

platforms:
  gadget:
    enabled: true
    extra:
      host: 192.168.1.20          # this machine's LAN address; 127.0.0.1 for a local tunnel or simulator only
      tls_cert: /path/cert.pem    # with tls_key, the gateway serves wss://
      tls_key: /path/key.pem

Point each gadget at wss://<host>:8765/gadget; the device must trust the certificate's issuer. Restart the gateway after the change. The remote access guide sets up TLS through Tailscale instead.

Compatibility

The plugin uses public plugin APIs plus a few gateway internals that a platform adapter needs: the pairing store, the approval resolver, the TTS tool and session context. compat.py lists each one. It checks them before the adapter starts, so a Hermes that has changed them fails with a message instead of a traceback. CI runs the plugin against a pinned Hermes commit and against Hermes main on a schedule. Hermes integration explains each seam.

Remove it

hermes plugins disable gadget
hermes plugins remove gadget

Delete <hermes home>/plugin-data/gadget/ to forget paired devices and staged updates.

README from the reviewed commit 7e18943; it updates when the author re-pins.

More by Adolanium

30 plugins by Adolanium in the catalog.

Adolaniumhermes-resetwatchTrack subscription quotas and reset times in Hermes Desktop. Disclosure — probe.py re-executes itself under the Hermes Python interpreter located via HERMES_PYTHON / VIRTUAL_ENV / the parent process or the Hermes installer's managed venv (HERMES_HOME/installs). Every credential read is read-only and nothing is refreshed or stored: it reads provider API keys from the process environment, the Hermes .env (through Hermes's get_secret helper, else read directly), the Vaultwarden plugin's local secret cache (cache/vaultwarden_cache.json, only when Vaultwarden is the sole enabled secret source, keyed by a hash of BW_SESSION, which is never sent) and Docker s6 container env files; Hermes's saved OAuth logins (the credential pool through Hermes's read_credential_pool helper, else auth.json directly, and HERMES_HOME/.anthropic_oauth.json); and other coding-assistant CLIs' local logins: Claude Code (credentials file, macOS keychain or Windows Credential Manager), Codex, Cursor (macOS keychain and the IDE's state.vscdb, opened read-only), Kimi, Grok, ZCode and Command Code. For GitHub Copilot (on by default) it tries COPILOT_GITHUB_TOKEN / GH_TOKEN / GITHUB_TOKEN (through Hermes get_secret, else the process environment), then the Copilot editor's apps.json / hosts.json, then runs gh auth token (prompts disabled, 3-second limit), trying each token in turn until GitHub accepts one. For Codex, a 401 or 403 is retried once with another saved login for the same account. It sends each key only to its own vendor's usage endpoint, presenting the vendor client's identity headers where a private endpoint expects them (Claude Code and Codex CLI user agents, the Grok CLI client headers, and for Copilot the VS Code / Copilot Chat editor headers on api.github.com/copilot_internal/user, which GitHub does not document); environment variables such as GROK_CLI_CHAT_PROXY_BASE_URL (honored only for https grok.com / x.ai hosts), CLAUDE_CONFIG_DIR, CODEX_HOME and GROK_HOME change which host or file it uses. Usage results are cached under HERMES_HOME/cache/resetwatch, never tokens. It exposes nothing to the model: it is a Desktop page only.CommunityDesktop app84AdolaniumwhiteboardAn agentic whiteboard. Say what you're planning and Hermes lays it out as a route, columns or a map, with hand-drawn stickers. Add rough notes and Hermes proposes groups, owners and action items that you accept one by one and can take back. Hand an action item to Hermes and an agent does it on the board and delivers the result next to the note with its sources, or run the whole route and get a brief at the end. Select anything and ask about it. Once you allow it, any chat can read your boards and propose changes. Link a board to the chat its work is in: the board shows what that chat is doing, and the chat hears what you change on the board. Send notes to Hermes Kanban or lay a Kanban board out as a whiteboard. Disclosure — laying out a board, grouping notes, unpacking a result and the brief each start a hidden Hermes session told to use no tools; Hand to Hermes, Run the route and Ask start hidden sessions that use your Hermes tools and read third-party web pages, at most three at once, each stopped after 4 minutes or 24 tool calls; approval prompts inside these sessions are denied; export writes the one Markdown or CSV file you name in the system dialog, through the plugin's own backend; boards live in Desktop plugin storage, with a copy under plugin-data/whiteboard/ only after you turn on chat access, which starts off, and each Hermes profile that has the plugin keeps its own copy; a Planning model and an Agent model in Settings name a model you are signed in to in Hermes when a session is created, and a refused model stops the run; with the Sheets or Data plugin installed, a click on that page pins notes to the open board through a window event, with no file, backend or model involved; Send to Kanban and New board from Kanban make the plugin's backend run the hermes kanban command, with no shell and with note text passed after -- and on standard input, to list boards, create cards and read a board; cards are created in Blocked with no assignee, and in Triage, which Hermes works through on its own, only when you tick a box; while the page is open on a board that has Kanban cards it reads those Kanban boards about every 25 seconds, and it never changes a card after making it; a board can remember the id of the chat it is linked to, the page places a request in that chat's message box for you to send and never sends it, and after that it listens to that one chat for up to 30 minutes and reads its answer from the transcript; the plugin registers four hooks (pre_llm_call, post_llm_call, on_session_end, post_compaction) that run on every chat turn and return at once unless the chat is linked to a board; for a linked chat they keep the state of its latest turn and the first line of its answer under plugin-data/whiteboard/, and, only while chat access is on, add to the message you send in that chat a short notice that the board exists and the notes you added, edited or removed on it since the chat's last turn; the plugin never sends a message to a chat; the linked chat can put a doing, done or blocked mark on its own board's notes with no review, which changes nothing else and clears with a click; which chat each board is linked to is kept under plugin-data/whiteboard/ as ids only, whether or not chat access is on; no telemetry, no credentials, no background processes of its own, and no command other than hermes kanban. Independent community project, not affiliated with Nous Research.CommunityDesktop app84Adolaniumhermes-rssRead RSS and Atom feeds and discuss articles in Hermes Desktop. Disclosure — feeds and full articles are fetched with curl through the gateway's shell.exec on the connected Hermes host (public-IPv4 SSRF guard); opt-in AI grading sends article excerpts to your configured model and creates HERMES_HOME/skills/rss-importance-grading/SKILL.md if missing; opt-in image loading fetches publisher images directly from Desktop.CommunityDesktop app65Adolaniumhermes-tailscaleBrowse Tailscale devices and connect to remote Hermes instances in Hermes Desktop.CommunityDesktop app60

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section