# Hermes Messaging Gateway

> The Hermes part that lets you chat with it from Telegram, Slack and more.

**Field:** Artificial Intelligence  
**Category:** Hermes Agent  
**Also known as:** hermes gateway, Hermes Telegram bot

## Think of it like

It is like one phone that rings for all your calls.

## Definition

The messaging gateway is the Hermes Agent process that lets you chat with the agent from apps such as Telegram, Discord, Slack, WhatsApp, Signal and email. One gateway serves all the apps you set up. A chat there is one long session that lasts through restarts, so you start a fresh one with /new. It can run as a service that starts with your machine.

## Example

Sara runs the gateway on a home server. She asks Hermes from Telegram on the bus to check if last night's backup worked.

## Example code

```console
hermes gateway setup
hermes gateway install
```

Pick your chat apps, then run the gateway as a service.

## Why it matters

An agent you can reach from your phone is one you use all day, not only at a desk.

## Common mistake

Waiting for a chat to reset by itself. It never does; send /new when the topic changes.

## Three principles

- **One gateway.** Many chat apps.
- **One long session.** Use /new.
- **Runs as a service.** hermes gateway install.

## Related terms

- [Hermes Gateway Allowlist](https://learn.benibix.com/term/ai/hermes-gateway-allowlist)
- [Hermes DM Pairing](https://learn.benibix.com/term/ai/hermes-dm-pairing)
- [Hermes Cron Job](https://learn.benibix.com/term/ai/hermes-cron-job)
- [Hermes Agent](https://learn.benibix.com/term/ai/hermes-agent)
- [Hermes API Server](https://learn.benibix.com/term/ai/hermes-api-server)
- [Hermes Voice Mode](https://learn.benibix.com/term/ai/hermes-voice-mode)

![How a chat message reaches Hermes: it comes in from an app such as Telegram, the gateway checks the sender against the allowlist or a pairing, and only then does the agent answer.](https://learn.benibix.com/diagrams/hermes-gateway-flow.svg)

---

Source: https://learn.benibix.com/term/ai/hermes-gateway
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
