Appearance
Day 3 , The Gateway: Connecting Hermes to the World
Hermes is capable from the terminal, but the terminal isn't always where you are. You're commuting, you're in a meeting, you're away from your laptop and need to fire off a task. Or you're running Hermes on a server and don't want to SSH in every time you need to check on something. The gateway solves this: it connects the same agent core to messaging platforms so you can reach Hermes from anywhere you already have a chat app open.
Today you'll wire Hermes into Telegram and Discord, the two platforms that cover most real-world scenarios, configure approval controls, and add voice mode so you can speak to your agent instead of typing.
What you'll have by the end of today
- The gateway installed as a systemd user service that survives SSH logout and WSL2 shutdown
- Hermes reachable from Telegram, responding to your messages and executing tasks
- Hermes reachable from Discord, with slash commands and channel-gated access
- Multiple platforms running simultaneously from a single gateway process
- Voice mode active on at least one platform, with STT and TTS working end to end
Lessons
- Gateway Architecture , how the gateway fits into Hermes, what makes it survive restarts, and the decisions you make before connecting any platform
- Telegram Setup , bot registration, gateway setup, DM topic sessions,
/sethome, and message length limits - Discord Setup , bot registration with Message Content Intent, slash commands, channel permissions, and voice channel support
- Multi-Platform & Approval Controls , running Telegram and Discord simultaneously, per-platform tool controls, pairing approval, and the gateway slash commands that keep you in control
- Voice Mode , STT providers, TTS providers,
/voicecommands, and making the gateway respond to spoken messages
Before you start: if the agent gateway concept is new to you, the flagship course's Exposing Agents to Users lesson covers the patterns and tradeoffs. This day assumes you understand why you'd want an agent on messaging platforms and focuses on making it actually work with Hermes.