HotTea Web chat

Use Hermes with HotTea

The HotTea plugin for Hermes Agent adds HotTea as a platform to your Hermes gateway. You message Hermes like a contact, and every request gets its own encrypted group.

Plugin on GitHub

What the plugin does

Hermes Agent is an AI agent by Nous Research that you run yourself. The hermes-plugin-hottea plugin connects its gateway to HotTea. Hermes gets its own HotTea account, and you message it from the app or the web chat like any other contact.

The plugin uses only the public HotTea API. It encrypts and decrypts all content on the machine that runs Hermes. As with every chat, our server sees only encrypted data. The source code is on GitHub under the MIT license.

How a conversation with Hermes works

  1. You send Hermes a request in your direct chat.
  2. Hermes creates a private group for the two of you and works on your request there. The group starts with a provisional name. In the background, the model summarizes your message and renames the group to match.
  3. Your first message is saved, encrypted, as the group's Group info. In the direct chat, Hermes replies with a link to the group.
  4. The answer arrives in the group, and that is where you write follow-ups. Every new direct message starts another group.

Hermes can reply before you have joined the group. If HotTea still lists you as invited, accept the invitation in the app so you can write follow-ups.

What Hermes can do in HotTea

Replies arrive as text messages, with long replies split into chunks of up to 5,000 characters. Hermes sends JPEG, PNG and WebP images as encrypted photos.

While Hermes works, you see an encrypted live draft as a typing indicator. The plugin refreshes it about every 20 seconds and clears it once the reply is sent. If your gateway streams replies (the draft or auto transport), the reply shows up in the live draft as it is written.

When Hermes needs to ask you something with fixed answers, it asks with a poll. Choosing "Other" lets you type a reply instead. For commands Hermes may only run with your approval, a poll shows the options, but only a /approve or /deny message can approve or reject them, because the API returns votes without the names of the voters.

Requirements

Setup

1. Install the plugin

hermes plugins install develate/hermes-plugin-hottea --no-enable

The plugin runs inside your Hermes gateway. A separate Hermes profile keeps HotTea chats, credentials and tool permissions apart from your normal agent.

2. Create an API key and API file

Sign in to HotTea with the Hermes account. Under Settings → API keys, create a key and download its matching API file while the key is still on screen. Store the key as HOTTEA_API_KEY in the Hermes profile's .env file. Put the API file in a private directory and set its file mode to 0600.

Together, the key and the API file give access to the account's identity key. Never paste either of them into a chat, including your chat with Hermes.

3. Verify your contacts

Hermes only responds to contacts you approve explicitly. For each one, you need the username, the account UUID and the P-256 public key (unpadded base64url). The API returns these values in the peer field of the conversation list. Compare the key with a trusted source, such as the person themselves, before you add it. Only approve people who may operate Hermes with that profile's permissions.

4. Configure the plugin

Replace the username, UUID, key and path with your own values. To approve several contacts, put them all in one JSON map.

hermes plugins enable hottea
hermes config set platforms.hottea.api_file '/absolute/private/path/hottea-api.json'
hermes config set platforms.hottea.allowed_peers '{"ExampleNick":{"id":"REPLACE_WITH_UUID","public_key":"REPLACE_WITH_VERIFIED_KEY"}}'
hermes config set platforms.hottea.gateway_restart_notification false
hermes config set platforms.hottea.enabled true
hermes gateway restart

5. Try it

From an approved account, send Hermes a harmless request in the direct chat. Check that a new, named group appears and that the reply arrives there. Then continue in the group, or send a second direct message to get a second group. Finally, test with an account you have not approved: Hermes must not respond to it.

Security and privacy

The plugin trusts only the keys you enter. It does not pick up contacts from the API file, and it rejects changed usernames, replaced accounts and new keys until you update the approval.

Encryption protects messages in transit and on our server. On your machine, Hermes reads them in plain text, keeps them in its own session transcript and sends them to the model provider you configured. If other people use Hermes through HotTea, give them a separate profile with suitable tool permissions instead of letting them work with your normal agent.

Limits

The source code, tests and the latest instructions are in the GitHub repository. If you want to write your own program for HotTea, the API documentation has everything you need.

Frequently asked questions

What is Hermes Agent?

Hermes Agent is an open-source AI agent by Nous Research that you run yourself. Its gateway lets you reach it on messaging platforms. The plugin adds HotTea as one of them.

What does it cost?

The plugin is free and MIT licensed. The HotTea account Hermes runs under needs HotTea Super, because the public API is part of it. The contacts who message Hermes do not need a subscription.

Can anyone message my Hermes?

No. Hermes only responds to contacts you approve by username, account UUID and public key, and only in a direct chat both sides have accepted. If a contact's name or key changes, the plugin ignores them until you update the entry.

Can HotTea read what I discuss with Hermes?

Our server stores only encrypted content. The plugin decrypts messages on the machine that runs Hermes. There, Hermes can keep them in its session transcript and send them to the model provider you configured.

Why does Hermes create a new group for every request?

Each group is its own Hermes session. Write follow-ups in the group to keep the context. A new direct message starts a new topic in a new group.

Someone waiting for your message?

Free, in your browser, ready in a minute.

Open web chat