Hermes Agent
Hermes Signal setup: link your phone and test a reply
Updated 29 November 2026
To talk to a self-hosted Hermes Agent from your own Signal account, link signal-cli as a second device. Your phone stays primary, and you can ask Hermes a question in Note to Self. If you want a separate contact for the agent, register a spare number instead. Both setups use two running processes: signal-cli receives messages for the account, and the Hermes gateway reads them and sends replies.
Sources checked on 28 November 2026 include the Hermes Agent 0.23.5 Signal guide and adapter source, the signal-cli 0.14.10 release (the latest on that date) and its installation and registration instructions. We also checked the signal-notify 1.1.0 guide. The hosted channel list comes from ReadyHermes.
Install signal-cli on the Hermes host
Start with a working Hermes Agent installation. Hermes includes the Signal adapter. Install signal-cli separately. On macOS, the Hermes guide uses brew install signal-cli.
On Linux, the signal-cli 0.14.10 JVM build needs Java Runtime Environment 25 or newer and the native libsignal-client library. The archive bundles that library for x86-64 Linux with a sufficiently recent glibc. The Hermes guide still lists Java 17+, so use the runtime requirement from the client you are installing. Upstream also distributes a separate Linux native build.
For the JVM build, these upstream commands find the latest release at the time you run them, unpack it under /opt and put the executable on your path.
VERSION=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/AsamK/signal-cli/releases/latest | sed -e 's/^.*\/v//')
curl -L -O https://github.com/AsamK/signal-cli/releases/download/v"${VERSION}"/signal-cli-"${VERSION}".tar.gz
sudo tar xf signal-cli-"${VERSION}".tar.gz -C /opt
sudo ln -sf /opt/signal-cli-"${VERSION}"/bin/signal-cli /usr/local/bin/Before upgrading signal-cli, back up its account databases. An upgrade can change their format so an older release can no longer read them. The maintainers warn that releases more than three months old may stop working correctly when Signal changes its servers.
Link your phone or register a separate number
To keep using the account on your phone, choose linking. Registering that same number in signal-cli unregisters the existing Signal client. Run the following command and leave it running until your phone finishes linking. The name in quotes identifies the new device.
signal-cli link -n "HermesAgent"On the phone, open Signal’s Settings → Linked Devices → Link New Device and scan the QR code. Version 0.14.10 draws the code in an interactive terminal and also prints a linking URI. If you only see the URI, follow the upstream instructions to turn it into a QR code locally. Signal device linking
Signal allows five linked devices per account. After linking, bring your primary phone online at least once every 30 days to keep your devices linked. Signal also unlinks a device after 45 days of inactivity. Signal’s linked-device requirements
For a separate bot account, use a spare number that can receive an SMS or call. Replace ACCOUNT with that number, including the plus sign and country code. Start with SMS registration.
signal-cli -a ACCOUNT registerIf Signal asks for a CAPTCHA, open the registration CAPTCHA from a device with the same public IP address as the signal-cli host. Solve it, copy the address of the “Open Signal” link and repeat the registration command with --captcha followed by that address.
For a landline, expect the SMS attempt to return 400 (InvalidTransportModeException). Wait 60 seconds, then request a call with signal-cli -a ACCOUNT register --voice.
Once the text or call arrives, replace CODE in signal-cli -a ACCOUNT verify CODE with the verification code. If the account has a PIN, you may also need --pin PIN_CODE. Protect the account credentials and keys in $XDG_DATA_HOME/signal-cli/data/ or $HOME/.local/share/signal-cli/data/.
Start the HTTP daemon and check the listener
Replace the example number with the one you just linked or registered. The address below keeps the HTTP listener on the same computer as Hermes.
signal-cli --account +1234567890 daemon --http 127.0.0.1:8080By default, the daemon prints incoming message text to the terminal. If you run it as a service, that text can appear in service logs. Add --no-receive-stdout to the daemon command to turn off this output.
Leave the daemon running and check it from a second terminal.
curl http://127.0.0.1:8080/api/v1/checkOn success, signal-cli 0.14.10 returns an empty body, so the command prints nothing. The Hermes guide shows a JSON version object. To see the HTTP status, add curl’s -i option and look for 200 on the first line. The phone test below checks delivery. Health-check implementation
Keep the daemon’s HTTP port private. Its API can send messages from your account and has no authentication. The Docker wrapper named in the wizard uses /v1/health on its standard REST port. Set SIGNAL_HTTP_URL to the base URL of signal-cli’s own HTTP listener. Hermes checks /api/v1/check there before it connects. It reads incoming messages from /api/v1/events and sends requests to /api/v1/rpc using JSON-RPC.
Connect the gateway and choose who can message it
Run hermes gateway setup and choose Signal. Enter the daemon’s base URL and the Signal account number. The wizard tests the URL and asks for allowed senders. On a fresh setup, accepting the sender default adds the agent account’s own number. That works for Note to Self. For a separate bot, add the sender’s phone number in international format if Signal supplies it. If Signal identifies the sender by UUID because their number is unavailable, add that UUID.
For manual setup, put these entries in ~/.hermes/.env. Replace the account example with the daemon’s number and the sender examples with the people you trust. Separate entries with commas and use international format, including the leading plus sign, for phone numbers.
SIGNAL_HTTP_URL=http://127.0.0.1:8080
SIGNAL_ACCOUNT=+1234567890
SIGNAL_ALLOWED_USERS=+1234567890,+0987654321With the default direct-message policy and no applicable allowlist, an unfamiliar sender can receive a pairing code. To admit that person, replace CODE in hermes pairing approve signal CODE. A configured sender allowlist normally silences new pairing prompts. Existing approvals and the global GATEWAY_ALLOWED_USERS list also grant access.
Use pairing or an allowlist for your assistant. Hermes has terminal access by default. The Signal adapter marks SIGNAL_ALLOW_ALL_USERS=true for development only because it lets any Signal user talk to the agent.
Choose groups, mentions and scheduled deliveries
For direct messages only on a fresh setup, answer No to “Enable group messaging?” This is the default. If you answer Yes, enter the IDs of the groups you trust. With no previously saved IDs, pressing Enter at the group prompt selects all groups.
For a linked account, let the daemon receive the group list. For a separate bot, invite it to the group and let its daemon receive the invitation. Then stop the daemon so it releases the account file. Run signal-cli’s listGroups command locally for that account and find the ID beside the group name. If the invitation is pending, accept it with signal-cli -a ACCOUNT updateGroup -g GROUP_ID. Replace ACCOUNT with the bot’s phone number and GROUP_ID with the group ID. Copy the ID into the Hermes group settings and restart the daemon with the same command as before.
In ~/.hermes/.env, leave SIGNAL_GROUP_ALLOWED_USERS empty or unset for direct messages only. To allow specific groups, substitute their IDs in the example below. A value of * allows every group the account belongs to through the group filter.
SIGNAL_GROUP_ALLOWED_USERS=groupId1,groupId2SIGNAL_REQUIRE_MENTIONdefaults tofalse. Set it totrueto require a mention in an allowed group. If Hermes stays silent, start your message with @ immediately followed by the full number inSIGNAL_ACCOUNT, including the plus sign. Add a space and your question.SIGNAL_IGNORE_STORIESdefaults totrue, so the adapter skips stories. Automatic processing reactions are on by default. SetSIGNAL_REACTIONStofalseto turn them off.- When a scheduled job has
signalas its delivery target,SIGNAL_HOME_CHANNELchooses the chat. Use a phone number orgroup:<id>with the group ID after the colon.SIGNAL_HOME_CHANNEL_NAMEgives that chat a display name. By default, jobs created in a chat reply there, and jobs created from the command line save their output locally.
Start Hermes and test a reply from your phone
Leave signal-cli running. If the wizard started or restarted the gateway after your last change, go straight to the phone test. If you changed the settings while a gateway service was running, restart the user service with hermes gateway restart or the Linux system service with sudo systemctl restart hermes-gateway. Once the service restarts, go straight to the phone test.
If you run the gateway in a terminal, stop any previous gateway process in that terminal, then run the following command.
hermes gateway- Linked phone. Check that
SIGNAL_ACCOUNTmatches your number and that your sender has access. Open Note to Self on the phone and ask a short question. Look for the answer in that conversation. Hermes recognises the synced message and filters echoes of its own replies. - Separate bot number. Send the question to that number from an authorised account. A reply in the direct chat confirms that the gateway can both receive and send.
To keep receiving messages after you close the terminals, keep signal-cli running under systemd or in a tmux or screen session. For Hermes, hermes gateway install installs a user service. On Linux, sudo hermes gateway install --system installs a boot-time system service. Manage the signal-cli daemon separately.
You can also send an image, audio clip or document. The signal-cli daemon downloads attachments by default. Hermes checks the sender’s access before copying an attachment into its own cache. With Whisper configured, Hermes can transcribe supported voice messages. For Android voice notes in raw AAC format, install ffmpeg on the Hermes host so it can convert them to M4A.
Hermes can send images, audio, videos and documents using MEDIA: tags. Outgoing voice arrives as an audio attachment. The adapter checks a limit of 100 MiB per file against the reported incoming size or the outgoing file size.
If messages are missing, repeated or interrupted
- “signal-cli not found on PATH.” Check that the executable is installed and on your path. The wizard can continue to the URL prompt after this warning. Saving a URL does not start the daemon.
- Hermes cannot reach signal-cli. Run the HTTP check from the gateway host. Compare the daemon’s listening address and port with
SIGNAL_HTTP_URL. For repeated disconnects, read the daemon logs and check the Java requirement for your build. Hermes retries a dropped event stream and probes the daemon after more than 120 seconds without activity. - The listener responds but the chat stays silent. Check the gateway is running, the account matches the daemon and the sender has access. If direct messages work, check the group ID and mention setting before changing sender permissions.
- Messages appear twice. Check for a second signal-cli instance listening for the same number. Keep one listener for that account.
When to use signal-notify
The bundled adapter handles conversations. The optional community plugin signal-notify 1.1.0 sends an alert when Hermes pauses, fails, is interrupted or asks for clarification, approval or a sudo password. Answer questions, approve commands and enter sudo passwords in the original Hermes session. The plugin only sends alerts.
On self-hosted Hermes Agent 0.23.5, run these commands to install and enable signal-notify 1.1.0.
hermes plugins install signal-notify
hermes plugins enable signal-notifyIf you use the Hermes CLI or TUI, start a new session. By default, the plugin skips Signal chats, scheduled jobs and subagents.
The plugin uses SIGNAL_HTTP_URL and SIGNAL_ACCOUNT to connect to the daemon. Set recipient to the phone number or UUID that should receive alerts. If you leave it empty, the plugin uses SIGNAL_HOME_CHANNEL. If your home channel is a group, set recipient to an individual.
By default, an alert can include up to 300 characters of the final reply, a clarification question or the command that prompted Hermes to request approval or a sudo password. Hermes redacts secrets from questions and commands before the plugin sees them. It sends reply previews without redacting secrets. To omit previews, set include_text: false or reply_chars: 0 under plugins.entries.signal-notify.settings in config.yaml.
Signal on ReadyHermes
ReadyHermes does not offer Signal in its Channels panel. The hosted connections are Telegram, WhatsApp, Discord, WeChat, Lark and Hermes Desktop. You can also chat on the website. Installing catalog plugins such as signal-notify on a ReadyHermes assistant is untested and unsupported.
Questions
Can Hermes use the Signal number already on a phone?
Yes. Link signal-cli as a secondary device, set SIGNAL_ACCOUNT to your phone number, grant your own sender access and test with Note to Self. Registering the same number would unregister your existing client.
Which Java version does signal-cli need for Hermes?
The signal-cli 0.14.10 JVM build requires Java Runtime Environment 25 or newer. The Java 17+ requirement in the Hermes Agent 0.23.5 Signal guide is out of date for this build.
What should the signal-cli health check show?
With curl -i, look for HTTP status 200 on the first line. In signal-cli 0.14.10 the response body is empty on success. To check delivery, send a question from an authorised account while the gateway is running.
Why does Hermes reply in direct messages but ignore a Signal group?
Groups are disabled by default. Put the group ID in SIGNAL_GROUP_ALLOWED_USERS and check that the sender has access. If SIGNAL_REQUIRE_MENTION is true, mention the agent. If it stays silent, start your message with @ immediately followed by the full number in SIGNAL_ACCOUNT, including the plus sign. Add a space and your question.
Is Signal available on ReadyHermes?
Signal is not offered in the ReadyHermes Channels panel. Supported connections include Telegram, WhatsApp, Discord, WeChat, Lark and Hermes Desktop.