Hermes Agent on iMessage
in six steps
Hermes can answer your iMessages through BlueBubbles. It needs a Mac that never sleeps. Here is the full setup on a Mac Mini, including the one config key the wizard leaves out.
Runs on it
-
Hermes
-
macOS
-
Telegram
What you need
A Mac that stays on
BlueBubbles drives the Messages app, so it needs a real Mac running all the time.
An Apple ID in Messages
Use a dedicated Apple ID with some history, signed in to Messages on that Mac.
BlueBubbles Server 1.0+
Hermes receives messages through webhooks, which need version 1.0.0 or newer.
Setup
Commands from the Hermes BlueBubbles docs, checked 18 Nov 2026.
-
1
Install Hermes on the Mac
Run the installer and the setup wizard. Hermes can run on the same Mac as BlueBubbles, which keeps the connection local.
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup -
2
Install BlueBubbles Server
Download it from bluebubbles.app, sign in to Messages with your Apple ID, then copy the server URL and password from the BlueBubbles settings.
-
3
Run the gateway wizard
Pick BlueBubbles and paste the URL and password. Hermes saves them to ~/.hermes/.env.
hermes gateway setup -
4
Turn the platform on
The wizard does not write this key. Without it the adapter can stay off with no error. Add it to ~/.hermes/config.yaml:
platforms: bluebubbles: enabled: true -
5
Allow who can talk to it
By default Hermes answers a new sender with a pairing code. Approve it, or list trusted numbers and Apple IDs in ~/.hermes/.env.
hermes pairing approve bluebubbles <CODE> # or, in ~/.hermes/.env BLUEBUBBLES_ALLOWED_USERS=you@icloud.com,+15551234567 -
6
Start it and keep it running
Run the gateway inside tmux so it survives when you disconnect, then text the Mac's Apple ID from your iPhone.
tmux new -s hermes hermes gateway runCheck it with hermes config get platforms.bluebubbles.enabled and hermes logs gateway.
Full reference: Hermes BlueBubbles docs.
The .env settings that matter
| BLUEBUBBLES_SERVER_URL | Required. Where Hermes sends replies, e.g. http://127.0.0.1:1234 |
| BLUEBUBBLES_PASSWORD | Required. The BlueBubbles server password |
| BLUEBUBBLES_WEBHOOK_PORT | Where Hermes listens for new messages. Default 8645 |
| BLUEBUBBLES_ALLOWED_USERS | Comma-separated phone numbers and Apple IDs |
| BLUEBUBBLES_REQUIRE_MENTION | Answer in group chats only when named. Default false |
Why run it on a hosted Mac Mini
A Mac at home sleeps, installs updates and drops off Wi-Fi, and Hermes goes quiet with it. A dedicated Mac Mini for Hermes stays on in a data center with a US residential IP, so Hermes can also browse without being flagged. More on running an iMessage bot on a Mac.
Hermes on iMessage: questions
Yes, through BlueBubbles. Support arrived in Hermes v0.9.0. Hermes talks to a BlueBubbles server on a Mac, which sends and receives through the Messages app.
Keep reading
How the two agents differ and where each one runs best.
Hermes on a dedicated Mac Mini: 24/7 gateway, iMessage, home IP.
Run your own iMessage API with BlueBubbles on a dedicated Mac.
Claude Code, Codex, Hermes and OpenClaw on one dedicated Mac.
Dedicated cloud Mac Mini with a US home IP, from $599 / 3 months.
Why agents get blocked on servers and not on a Mac.
Keep Hermes online on iMessage
Dedicated Mac Mini M4, on 24/7, with a US residential IP. Pay online by card, PayPal or crypto.