How to set up the Hermes Agent AI on a VPS or your own device

Hermes Agent is a self-hosted AI agent you run on a VPS or local machine and control from Telegram. This guide covers provisioning, model configuration, the Telegram bot, skills, web search, voice output and scheduled tasks. You need a VPS or computer, an AI model API key and a Telegram account.

YouTube video: Hermes Agent Full Tutorial for Beginners | Setup Guide

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

15 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (15)
Video length
28 min 35 s
Time to do it
45 minutes
Difficulty
Medium
Steps
8

What you need

Steps

  1. Review the security and risk notes before you start. A self-hosted agent can run commands and reach the web, so keep it on infrastructure you control and limit who can message the bot.

  2. Provision a VPS with your host, or install Hermes Agent directly on your own device if you prefer to run it locally.

  3. Open the model configuration and enter your AI model API key and model name so the agent can respond.

  4. Create a Telegram bot with BotFather, copy its token, and add the token to the Hermes configuration.

  5. Start the gateway so the agent connects to Telegram, then send it a test message from your account.

  6. Use the TUI and commands to check status and manage the agent from the terminal.

  7. Add skills to give the agent new abilities, and enable the web search skill so it can look things up online.

  8. Turn on voice and text to speech if you want spoken replies, then set up scheduled tasks for jobs that should run on a timer.

Tips and common mistakes

Keep the Telegram bot token private and never commit it to a public repository.

Test each new skill with a simple command before you rely on it for real work.

Check the scheduled task times against your server's timezone so jobs run when you expect.

Questions

Do I need a VPS to run Hermes Agent?

No. You can run it on your own device, but a VPS keeps it online all the time and reachable from Telegram.

How do I talk to the agent?

Through a Telegram bot you create with BotFather and connect to Hermes with its token.

Can the agent search the web?

Yes, once you add and enable the web search skill in the configuration.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all