Telegram Bot with Hermes Agent

July 8, 2026 Β· 4 min read

Telegram is the most popular platform for Hermes Agent. In 5 minutes, you can have your own AI agent responding to messages.

Step 1: Create Bot via BotFather

/newbot→ Enter name → Enter username → Save the API token!

Step 2: Configure Hermes Gateway

$ hermes gateway setup→ Select Telegram → Paste token

Step 3: Run

$ hermes gateway

What It Can Do

  • πŸ’¬ Full conversations
  • πŸ”§ All tools (web search, code execution, image gen)
  • 🧠 Persistent memory across days
  • 🎀 Voice messages with transcription
  • ⏰ Scheduled briefings
πŸ”’ Security: Set TELEGRAM_ALLOWED_USERS in ~/.hermes/.env to restrict access to specific users.

← Back to Blog