Skip to content
프로젝트

소개

Hermes Bot — a native Mac interface to the Hermes agents you already have.

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Hermes Bot

A macOS Electron clone of the multi-agent chat interface: dark sidebar, Bloub agent avatars, cream user bubbles and a floating composer.

It talks to a Hermes host — the agent runtime on your own machines: on this Mac directly, or on another machine through an SSH tunnel. The bots, the groups and the conversations live there, not on this machine.

image

MIT licensed — see LICENSE.

Want to work on it? CONTRIBUTING.md says how: the commands, the conventions, how to cut a version, and the traps.

The site is at https://azerdsq131.github.io/Open-Hermes-Bot/.

Why Open Hermes Bot

Most chat apps put one assistant in a window. This one puts your Hermes in one: the bots, the group and the phone you already run, with every decision left to the harness.

  • The bots are Hermes profiles, on your Mac or on your server. Their memory, skills, tools and credentials stay on that host: the app keeps none of them, and creates no account anywhere.
  • The models are the ones Hermes is already signed in to - a subscription through OAuth, or a key in ~/.hermes/.env. The app never asks for a model key.
  • One window for several agents, with the rules of a room: who answers, when a bot stays silent, tapbacks, @mentions, and steering a turn mid-flight.
  • The phone is the same room, over a bridge on the host and your own tailnet (docs/mobile.md).
  • MIT throughout, app and bridge, with the conversations on disk where Hermes already keeps them.
Open Hermes Bot Grok Bot Hermes' own bots
The agent your Hermes, on your host Grok, on xAI's side your Hermes, on your host
Where a conversation lives your host, in Hermes' sessions xAI's side your host, in Hermes' sessions
The models what Hermes is signed in to what that app offers what Hermes is signed in to
How you reach it this window, and a phone app that app Telegram, Discord, Slack, or Hermes' own desktop app
The source MIT closed open

If you want a bot to answer on Telegram, use Hermes' own bots: reaching you where you already are is what the messaging platforms are for. This app is for the room instead - several bots in front of you, a group that decides who speaks, and a conversation that reads like a transcript rather than a chat log.

What this is

This app is an interface for Hermes. It is not a harness.

Hermes is the harness: it runs the agent loop, keeps the memory, owns the conversations, executes the tools and calls the models. This app is the macOS shell in front of that — the sidebar, the avatars, the bubbles, the composer, and the rules that decide which bot answers next.

So the app runs no model and keeps no transcript: the conversation lives on the Hermes host, and closing the app, wiping the disk or moving to another machine changes nothing about it. The only secret the app keeps is the Hermes API key, in the login Keychain.

What the app owns is the room: the identity of the bots, the group protocol, and the way a turn reads.

The split is written down in docs/architecture.md, how the app reaches Hermes in docs/transport.md, and the words we use for all of it in docs/vocabulary.md.

There is also a phone: mobile/ is an Expo app with the same conversations. It is paired with a small bridge on the Hermes host and reached over Tailscale; docs/mobile.md says how.

Models: a subscription or an API key

The app never asks for a model key. The model belongs to Hermes: its credentials live on the host, and the app only shows the models Hermes offers and the one a bot answers on.

So a subscription works, as long as Hermes can sign in with it. Hermes has an OAuth login, with no API key, for several consumer plans:

  • Nous Portal: hermes setup --portal on a fresh install, or hermes model → Nous Portal. One login for 300+ models, billed to the Nous subscription.
  • ChatGPT, or a Codex plan: hermes model → ChatGPT or Codex Subscription, a device-code login, on the Codex models.
  • Claude Max: hermes model → Anthropic OAuth. It needs Max with purchased extra usage credits, because Hermes draws on that extra usage and not on the allowance the plan includes; it does not work on Claude Pro.
  • SuperGrok, or X Premium+: hermes model → xAI Grok OAuth.

Every other provider is an API key in ~/.hermes/.env on the host, the way Hermes already documents it: ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY for Gemini (whose consumer plans have no OAuth path), and the rest. hermes model lists what the host is set up for, and Hermes' provider docs say which plan pays for what.

The one key the app does hold is Hermes' own API_SERVER_KEY: the door to the API server on the host, not a model key, and it costs nothing. The setup reads it, or asks for it, and never asks for anything else.

Install

Grab the .dmg from the releases, drag Hermes Bot into Applications, and open it.

Two files are published: -arm64 for Apple silicon, -x64 for Intel.

Known blocker on macOS: Gatekeeper. The app is signed ad-hoc — there is no Developer ID on this project — so macOS refuses to open it outright: “Hermes Bot is damaged and can't be opened”, with only the Trash offered. This is not a broken download; the app cannot start at all until the quarantine is cleared, and right-click → Open does not bypass this variant. Clear it once, from a terminal, then open the app normally:

xattr -dr com.apple.quarantine "/Applications/Hermes Bot.app"

From then on it opens like any other app. The day the project has a Developer ID, this section disappears: builds will be signed and notarized instead.

First run

The app opens on a setup that asks one question first: where does Hermes run?

  • On this Mac. No host to name and no tunnel to open: the app asks for the API key — press Read it from this Mac and it reads API_SERVER_KEY from ~/.hermes/.env here — and talks to the API port directly. The key stays in the login Keychain, under the app's own entry.
  • On another machine. The setup asks for the SSH host — the name your ~/.ssh/config already uses, e.g. jetson — and for the API key. Press Read it from <host> and the app reads API_SERVER_KEY from the host's ~/.hermes/.env over the SSH it already uses. The key stays in the login Keychain, under the app's own entry.

The key is also the switch. Hermes' API server is off by default: it starts when that file holds an API_SERVER_KEY of 16 characters or more, and the desktop app Hermes ships with never needs one. When there is no key to read, the setup says what the server is and gives the lines that make a key and restart the gateway, instead of an API_SERVER_KEY not found from the shell.

Then it shakes hands: the app reaches Hermes, asks it which bots exist, and shows them. Nothing else is needed: no account, no cloud, no key typed by hand. The setup can be run again from Settings → Setup, whenever Hermes moves to another machine.

Updates

The app finds its next version by itself: it looks on the releases page when it opens, downloads the build in the background, and takes it over when you close the app.

You can also ask for it yourself. Settings → Updates says which version is running, and one button does the whole of it: it looks, it downloads the new build while the bar shows how far it has come, and the app restarts as the version that was found.

Run it from the sources

npm install
npm run dev

npm run dev starts Vite and opens the Electron window with native macOS traffic lights and a hidden inset title bar.

npm run build   # typecheck + production renderer build
npm run typecheck:electron   # the main process on its own
npm start       # build, then launch the production app
npm test        # the protocol and the transcript reader
npm run test:coverage   # the same, with the coverage

Every push runs the typechecks, the tests and the build on GitHub Actions (.github/workflows/ci.yml), on Linux, which says the same thing as macOS and is faster; the app itself is built on macOS by the release workflow. The renderer is checked by tsc --noEmit, and the main process by npm run typecheck:electron, a config of its own with checkJs. The coverage is a gate too: the rules of a conversation — the protocol, the transcript reader, the preferences, the recorder, the turns — are fully covered, and the build fails if a line of them stops being exercised.

Build a release

npm run dist

electron-builder writes a release/ folder with:

Artefact What it is
Hermes Bot-1.0.0-arm64.dmg the disk image to hand out
Hermes Bot-1.0.0-arm64-mac.zip the same app, zipped (what the auto-update fetches)
*.blockmap, latest-mac.yml what electron-updater needs to find a new version

Every build is signed ad-hoc (mac.identity: "-" in package.json, so a CI build and a local build carry the same signature), and notarization is skipped because there is no Developer ID to notarize with. An ad-hoc build works on the machine that made it, and on the machines of the people who clear the quarantine once, as above.

Publish it on GitHub

A GitHub Release is a version of the app with a name, a note and the files attached to it. It is a page on the repository: github.com/AZERDSQ131/Open-Hermes-Bot/releases, one entry per version, with the .dmg and the .zip attached. Whoever has the link opens the page, downloads the .dmg, drags the app into Applications. The releases are also what electron-updater watches, so an installed app can find the next version by itself.

The releases are built by the workflow (.github/workflows/release.yml): push a tag and the app is built on macOS, tested, and attached to the release the tag created.

git tag v1.0.0 && git push --tags

To publish one by hand instead:

gh release create v1.0.0 \
  "release/Hermes Bot-1.0.0-arm64.dmg" \
  "release/Hermes Bot-1.0.0-arm64-mac.zip" \
  --title "Hermes Bot 1.0.0" \
  --notes "First release."

Structure

docs/                   Architecture, transport and the words this project uses
electron/main.js        Electron shell, window chrome, dock icon, Hermes bridge
electron/updater.js     The rules of the update: what is looked for, and what happens to it
src/App.tsx             Sidebar, chat, composer and interactions
src/components/         Bloub avatars, create dialog, logo editor, icons
src/conversations.ts    Reading a conversation back out of the Hermes sessions
src/data.ts             Threads, group members, messages and reactions
src/group.ts            Group protocol: silence, tapbacks, @mentions, turns
src/turns.ts            The rules of a turn: tapbacks, quota, a server installing
src/updates.ts          What an update means, in words
src/styles.css          Design system and layout
build/                  App icon (.icns + .png) and icon source
site/                   The project site (static, no build step)
mobile/                 The phone: the same screens, as an Expo app
bridge/                 The door the phone uses: loopback on the host, published on the tailnet
e2e/update/             The update, tested for real: two builds, a feed, a button

The other files worth knowing: CONTRIBUTING.md says how to work on it, AGENTS.md is the map for whoever picks it up, and CHANGELOG.md says what each version changed.

The + button creates either a bot (with its own Bloub shape and color) or a group of existing bots. In the header, click the name to rename the agent, or the logo to change its shape and color — for a group, each member is styled from its own tab.

Chat is real once the app is connected to a Hermes host (Settings → API key): the first message in a conversation opens a Hermes session for that bot, and every turn is streamed back into an assistant bubble, so the bot keeps the thread's memory. The model chip in the composer lists the models the bot's providers offer and sends the picked one with each turn; “Bot default” leaves the choice to Hermes. A pick is remembered per bot, so the next conversation starts on the model that last answered rather than on one that just ran out of quota. When the configured model does run out — or a model picked by hand does — the turn retries on a free model from the same provider and says so in the thread instead of dying on a dead end. The pick is only made the bot's default when the turn was running on “Bot default”. A turn that stops producing events — a refused key, an exhausted quota — ends with a readable line in the conversation instead of a spinner that never stops.

Conversations survive a restart: reopening a thread recreates its session by title, and if Hermes already has a session under that title the app resumes it instead of failing with “Title already in use”.

A file the person attaches is copied to the machine that runs Hermes, where the bot can read it: the app sends it over the connection it already has, and the message carries its path. The microphone dictates: the app records what the person says and Hermes transcribes it on the server — the browser's own speech service is not used, because the key Chromium carries for it is refused by the service, which looks exactly like a broken connection. The words land in the composer, where the person can read them before sending.

The dictation needs a transcription backend on the Hermes host: faster-whisper for a local and free one, or a cloud provider key.

Where a conversation lives

A conversation is a Hermes session, and Hermes is the only place it is kept. The app writes its turns there and reads them back: on start it asks the gateway which conversations each bot holds, and opening one reads its transcript from the server. Nothing about a conversation is written on this machine — no file, no keychain, no localStorage — so the app can be closed, wiped or replaced and the conversation is still there, on the host that owns it.

That is the boundary: Hermes is the harness — it decides what the bot does next, calls the model and runs the tools — and this app is the interface, which writes the turn, draws what comes back, and keeps the room the bots share. Neither one holds the other's work.

A group is not a Hermes object, so it is rebuilt from the titles of its members’ conversations: a private conversation carries the bot's name, a group member’s carries Group · <group> · <member>. Renaming a bot or a group renames those sessions on the server, so the link between a thread and its conversation never breaks.

The identity of a bot travels the same way: its name, its colour and the face it wears are written into the bot’s own Hermes profile, next to the metadata Hermes already paints it with. A bot that comes back after a restart is the same bot.

Group conversations

A group is not one bot answering for everybody. Each member answers through its own Hermes profile and its own session, so the same bot, with the same memory, shows up in the group and in its private thread.

  • Silence is a move, and it always leaves a tapback. Members reply with [[silent]] when a line is not for them or when someone else already covered it. The app enforces the acknowledgement: a silent member gets an emoji reaction chosen in code, so “no reply” never means “vanished”. When you (or another bot) addressed them by name, a small “Name stayed silent” note says the turn was seen.
  • Tapbacks work as in a private thread ([[react:🔥]]). In a group the reaction is signed, so two bots can tap the same message.
  • A tapback says who tapped. The reaction shows as a pill under the message, and clicking it opens the bots that left it, and with what.
  • @mentions hand the floor over: a bot that writes @Name gives that member the next wave, and a member can answer back. If the mentioned bot is still generating, its request is cancelled on the spot — it does not talk over the mention — and it answers again next wave with the mention in its transcript. A round stops after eight spoken lines and no member speaks more than twice, so the group cannot talk itself into a loop.
  • Every member is asked at the same time. One message makes one request per bot in parallel, and their answers stream side by side. Members named in the message are told they were addressed; the rest decide on their own whether to chime in or stay silent. A later wave only includes the bots mentioned by the previous one, also in parallel.
  • Type @ in the composer to pick a member. Each member uses its own model default — the group has no model picker of its own.

Credits

The avatar geometry comes from Bloub by Jérémy Perret (MIT). The generated frames are in src/components/bloubFrames.ts; see THIRD_PARTY_NOTICES.md.

관련 프로젝트 살펴보기

불러오는 중…