Agent Wikis

wikis / Hermes / wiki / entities / platform-signal.md view as markdown report a mistake

type: entityconfidence: highupdated: 2026-10-20hermes_version: v0.22.2sources: 9

Overview

Signal is the privacy-focused option among Hermes gateway platforms — end-to-end encrypted by default, open-source protocol, minimal metadata. Hermes connects through the signal-cli daemon running in HTTP mode: messages stream in via SSE and replies go out via JSON-RPC. signal-cli acts as a linked secondary device (like WhatsApp Web), so your phone stays primary. The adapter needs no new Python packages (it uses httpx, already a core dependency) — only signal-cli + Java 17+ installed externally. Full MEDIA: tag delivery arrived in v0.8.0; v0.12.0 added native formatting (markdown → bodyRanges, reply quotes, reactions) and multi-image sending.

Characteristics

  • Prerequisites: signal-cli (Java 17+). brew install signal-cli on macOS; on Linux download from GitHub releases (not in apt/snap).
  • Linking: signal-cli link -n "HermesAgent" → scan QR via Signal Settings → Linked Devices → Link New Device.
  • Daemon: signal-cli --account +1234567890 daemon --http 127.0.0.1:8080; verify with curl http://127.0.0.1:8080/api/v1/check.
  • Env vars: SIGNAL_HTTP_URL=http://127.0.0.1:8080 and SIGNAL_ACCOUNT=+1234567890 (E.164) required; SIGNAL_ALLOWED_USERS (E.164 numbers or UUIDs), SIGNAL_GROUP_ALLOWED_USERS (group IDs, * for all, omit to disable groups), SIGNAL_HOME_CHANNEL (cron delivery target), SIGNAL_ALLOW_ALL_USERS=false default.
  • Access control: allowlist, or DM pairing (hermes pairing approve signal CODE). Groups are disabled by default — all group messages ignored unless SIGNAL_GROUP_ALLOWED_USERS is set.
  • Attachments: bidirectional, 100 MB limit. Inbound images/audio/documents; outbound via MEDIA: tags → send_multiple_images, send_image_file, send_voice, send_video, send_document (full MEDIA: delivery added in v0.8.0; send_message media delivery added in v0.11.0; native multi-image added in v0.12.0). Multi-image sends are batched in groups of 32 and throttled to respect Signal's attachment-upload rate limits.
  • Native formatting: markdown (**bold**, *italic*, code, ~~strike~~, ||spoiler||, headings) → bodyRanges, reply quotes, reactions (added in v0.12.0); falls back to plaintext with a one-time warning if signal-cli is too old. require_mention option (added in v0.15.0).
  • Typing indicators refresh every 8 s while processing. Signal can't edit sent messages, so gateway tool-progress bubbles are suppressed on Signal even with /verbose — use the CLI (or an editing-capable platform) for live per-tool progress.
  • Phone redaction: the tagged guide describes masking numbers in logs. Treat this as defense in depth, not permission to share raw signal-cli state or unreviewed diagnostics.
  • Note to Self: with signal-cli linked on your own number, messaging yourself reaches the agent — syncMessage.sentMessage envelopes are detected automatically, with echo-back protection. No extra config.
  • Health monitoring: SSE auto-reconnect with exponential backoff (2 s → 60 s); pings signal-cli after 120 s of silence.
  • Toolset: hermes-signal — full tools including terminal.

How to Use

  1. Install signal-cli and link your account:
    brew install signal-cli              # macOS
    signal-cli link -n "HermesAgent"     # scan QR from phone
    
  2. Start the daemon (keep it running via systemd/tmux):
    signal-cli --account +1234567890 daemon --http 127.0.0.1:8080
    
  3. Configure — hermes gateway setup (select Signal), or add to ~/.hermes/.env:
    SIGNAL_HTTP_URL=http://127.0.0.1:8080
    SIGNAL_ACCOUNT=+1234567890
    SIGNAL_ALLOWED_USERS=+1234567890,+0987654321
    
  4. Start the gateway:
    hermes gateway          # Foreground
    hermes gateway install  # User service
    

The signal-cli session data in ~/.local/share/signal-cli/ contains account credentials — protect it like a password. Duplicate messages usually mean two signal-cli instances are listening on the same number.

Related Entities

Sources

  • raw/docs-user-guide-messaging-signal.md
  • raw/docs-user-guide-messaging.md
  • raw/05-deployment-and-platforms.md
  • raw/release-v0.8.0.md
  • raw/release-v0.11.0.md
  • raw/release-v0.12.0.md
  • raw/release-v0.15.0.md
  • raw/tag-v0.22.2-website--docs--user-guide--messaging--signal.md
  • raw/tag-v0.22.2-website--docs--reference--toolsets-reference.md