All plugins

3ds-platform

Talk to Hermes from a Nintendo 3DS: a gateway platform for the Hermes 3DS homebrew app, with streaming replies, approvals and clarify questions, a chat per Hermes profile (Bot Mode bots, with their pictures; new bots made from the 3DS), sessions (rename, delete), skills and tool sets (on and off), scheduled jobs (make, change, delete), model and slash-command pickers, pictures, documents, files sent from the SD card, audio, voice messages, camera photos and spoken replies, a setup checker (hermes 3ds doctor) and a notice when a newer release is out, over an end-to-end encrypted Noise IK link (LAN, or away from home through Tailscale Funnel). Disclosure — opens a TCP listener on all interfaces (port 7333) and a UDP discovery responder (7334); paired consoles (Noise IK keys in the plugin's data folder, paired by one-time LAN-only code) get full agent chat including approval answers; they can also send files of up to 8 MB into Hermes' image and document cache, make, change and delete cron jobs (through cronjob_manage), rename and permanently delete their own chat's sessions, and turn skills and tool sets off and on for 3DS chats, which writes skills.platform_disabled.3ds and platform_toolsets.3ds in the profile's config.yaml; about once a day the gateway makes one request to api.github.com for this project's newest release (no user, device or version in it; update_check: false turns it off); opt-in away mode publishes a persistent public Tailscale Funnel to a loopback listener; runs tailscale, ffmpeg and the desktop file opener, and downloads image links in replies; making a bot from the 3DS runs hermes profile create <name> --clone-from <main> --no-alias (copies config, API keys and skills) and hermes -p <name> config set platforms.3ds.enabled true; with gateway.multiplex_profiles on, paired consoles reach every profile that has the 3ds platform on, whose requests run in that profile's home and secret scope, and each profile's plugin copy finds the one listener through an in-memory sys.modules registry holding only this plugin's adapters; the dev-only security: plaintext setting accepts unauthenticated connections.

rndaom4Platformv0.3.4Updated 1 day ago

About

Talk to Hermes from a Nintendo 3DS: a gateway platform for the Hermes 3DS homebrew app, with streaming replies, approvals and clarify questions, a chat per Hermes profile (Bot Mode bots, with their pictures; new bots made from the 3DS), sessions (rename, delete), skills and tool sets (on and off), scheduled jobs (make, change, delete), model and slash-command pickers, pictures, documents, files sent from the SD card, audio, voice messages, camera photos and spoken replies, a setup checker (hermes 3ds doctor) and a notice when a newer release is out, over an end-to-end encrypted Noise IK link (LAN, or away from home through Tailscale Funnel). Disclosure — opens a TCP listener on all interfaces (port 7333) and a UDP discovery responder (7334); paired consoles (Noise IK keys in the plugin's data folder, paired by one-time LAN-only code) get full agent chat including approval answers; they can also send files of up to 8 MB into Hermes' image and document cache, make, change and delete cron jobs (through cronjob_manage), rename and permanently delete their own chat's sessions, and turn skills and tool sets off and on for 3DS chats, which writes skills.platform_disabled.3ds and platform_toolsets.3ds in the profile's config.yaml; about once a day the gateway makes one request to api.github.com for this project's newest release (no user, device or version in it; update_check: false turns it off); opt-in away mode publishes a persistent public Tailscale Funnel to a loopback listener; runs tailscale, ffmpeg and the desktop file opener, and downloads image links in replies; making a bot from the 3DS runs hermes profile create <name> --clone-from <main> --no-alias (copies config, API keys and skills) and hermes -p <name> config set platforms.3ds.enabled true; with gateway.multiplex_profiles on, paired consoles reach every profile that has the 3ds platform on, whose requests run in that profile's home and secret scope, and each profile's plugin copy finds the one listener through an in-memory sys.modules registry holding only this plugin's adapters; the dev-only security: plaintext setting accepts unauthenticated connections.

Nintendo 3DS platform for Hermes Agent

3ds-platform is the gateway side of Hermes 3DS: a homebrew app that
lets you talk to your Hermes Agent from a Nintendo 3DS. The plugin adds a 3ds messaging platform to the Hermes
gateway; the app on the console connects to it over an end-to-end encrypted channel (Noise IK).

Unofficial community project. Not affiliated with, endorsed by or sponsored by Nous Research or Nintendo.

On the 3DS you get streaming replies with formatting and emoji, tool activity, approvals and clarify questions,
sessions, skills, scheduled jobs, a model picker and slash commands, pictures, documents and audio sent by
Hermes, voice messages, camera photos and spoken replies. The app itself, its install steps and screenshots are
in the main README.

Install

hermes plugins install 3ds-platform
hermes plugins enable 3ds-platform

The plugin is in the Hermes plugin catalog. If your Hermes doesn't list it yet, update Hermes, or install straight
from this repository with hermes plugins install rndaom/Hermes3DS#plugin.

Turn the platform on in ~/.hermes/config.yaml, together with streaming (off by default in Hermes):

platforms:
  3ds:
    enabled: true
streaming:
  enabled: true

Restart the gateway (hermes gateway restart), then pair the console once, at home: run hermes 3ds pair,
open Hermes on the 3DS, pick your computer and type the code it shows. hermes 3ds devices lists paired
consoles and hermes 3ds unpair <name> removes one. hermes 3ds doctor checks the setup (config, listener,
network, pairing, streaming, ffmpeg, bots, away mode) and prints what to fix; it only reads, plus one
connection and one discovery question to 127.0.0.1.

Settings

All optional. Set them under platforms.3ds in config.yaml or as environment variables.

SettingVariableDefaultWhat it does
portTHREEDS_PORT7333TCP port the 3DS connects to
(variable only)THREEDS_HOME_CHANNELnoneChat id (dev:<fingerprint>, see hermes 3ds devices) for cron delivery
awayTHREEDS_AWAYoffAway-from-home access through Tailscale Funnel: on, auto (no warning when Tailscale is missing) or off; unset means off unless hermes 3ds away on was run (see below)
away_portTHREEDS_AWAY_PORT7339Loopback port the Funnel forwards to
update_checkTHREEDS_UPDATE_CHECKtrueAsk GitHub once a day whether a newer Hermes 3DS is out; false turns it off

Bots: with gateway.multiplex_profiles: true (a Hermes setting, in the main profile's config.yaml) the 3DS
lists every Hermes profile the gateway serves and chats with each one separately; without it the 3DS sees only the
main agent. A bot's chat uses this same listener and pairing, but the bot's profile must have the platform on
(hermes -p <name> config set platforms.3ds.enabled true; a bot made from the 3DS gets it on its own). Hermes keeps
a copy of each plugin in every profile (hermes profile create --clone copies them), so after updating this
plugin, update it in each bot's profile too (~/.hermes/profiles/<name>/plugins/3ds-platform); until then the 3DS
shows that bot as not reachable. A profile without the platform on stays closed to the 3DS.

Optional extras: ffmpeg on PATH for audio and spoken replies, and piper-tts in Hermes' environment for
replies that start speaking while the model is still writing (tts.streaming.provider: piper-stream).

What it does on your computer

Read this before installing.

  • Listens on your network. A TCP listener on port 7333 for the 3DS, and a UDP responder on port 7334 that
    answers discovery broadcasts from the 3DS on the same network. When a 3DS asks for it, the plugin may also
    connect back to that console's private (LAN) address. Only consoles you paired can open a session; pairing
    needs a one-time code and is accepted from the local network only.
  • A development-only plaintext mode, off unless you set it. security: plaintext in the platform's config
    turns off encryption and pairing, so any device on your network could connect and chat with Hermes, approval
    answers included. It exists for testing with tools/fake3ds.py; leave it at the default (secure).
  • Away from home (Tailscale Funnel), off by default. After you run hermes 3ds away on (or set
    away: on), and with Tailscale installed and signed in, the plugin asks Tailscale to publish a Funnel: a
    public internet address that forwards to a loopback-only listener on port 7339. Only paired consoles get past
    the handshake there. hermes 3ds away shows the state; hermes 3ds away off removes the Funnel and keeps
    away mode off, and away: off in the config means the plugin never touches Tailscale. Details: docs/away-from-home.md.
  • Runs programs. tailscale (for the Funnel, only once you turn away mode on), ffmpeg (to convert
    audio files and spoken replies for the 3DS), your desktop's file opener (xdg-open or open) when you
    tap Open on PC for a file in the chat, and, when you make a new bot from the 3DS, hermes profile create <name> --clone-from <main profile> --no-alias (the new profile gets a copy of the main profile's config, API
    keys and skills) followed by hermes -p <name> config set platforms.3ds.enabled true.
  • Downloads pictures. When a reply contains an image link, the plugin downloads that image to shrink it for
    the 3DS screen.
  • Checks for a newer release, about once a day. One request to GitHub's public API for this project's latest
    release. It sends nothing about you, the computer or the 3DS, and it downloads and installs nothing: the 3DS
    only says that a newer version is out, and hermes 3ds doctor says the same for the plugin.
    update_check: false under platforms.3ds turns it off.
  • Stores keys. Its own data folder (Hermes' plugin data directory for 3ds) holds the computer's long-term
    key (server_key, readable by your user only) and the list of paired consoles (devices.json). Outside
    that folder it reads only Hermes' own config and state (sessions, skills, jobs, models, and each profile's
    profile.yaml, config.yaml and Bot Mode picture assets/avatar.* for the bot list), files Hermes sends to
    the chat, and the Piper voice when spoken replies are set up.
  • Bots share one listener. With gateway.multiplex_profiles on, a paired 3DS chats with each profile that has
    the 3ds platform on, and can see and change its sessions, model choice and cron jobs, as it can the main
    agent's. Requests for a bot run inside that profile's home and secret scope, the way Hermes' own multiplexer
    runs a bot's turns; the plugin never reads or sends a profile's API keys itself. Each profile's copy of the
    plugin finds the one listener through a small in-memory registry of its own (sys.modules["hermes3ds_bots_hub"],
    holding only this plugin's adapters); nothing in Hermes is replaced or patched.
  • No telemetry. Apart from Tailscale (away mode) and image links in replies, it contacts no outside
    service, and nothing is reported anywhere.

A paired 3DS has the same power over your agent as you have in any other Hermes chat, approvals included. If one
is lost, unpair it.

Licence

See LICENSE in the repository.

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

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section