~5m16:48
Metics Media

Full Hermes Agent Setup Tutorial: Step-by-Step Walkthrough

Apr 13, 2026

Read: ~5m · You save: 12 min

Full Hermes Agent Setup Tutorial: Step-by-Step Walkthrough

Set up your own 24/7 self-improving Hermes AI agent on a VPS, connect it to Telegram and OpenRouter, and automate a daily news briefing step by step.

Hermes Agent is a self-improving AI assistant that runs continuously, connects to messaging and work tools such as Telegram, Discord, and Slack, and acquires new skills through use. It can deliver daily briefings from Google Workspace, manage GitHub repositories, monitor trending keywords, and perform other tasks on a schedule without a manual prompt for each run.

This guide covers the full setup: deploying the agent on a virtual private server (VPS) with a one-click template, connecting an AI model provider, configuring Telegram, verifying the installation, and creating an automated job.

Overview of the Setup

The process consists of five stages:

  1. Deploy the Hermes agent on a Hostinger VPS using a one-click template.
  2. Create an API key with OpenRouter and add billing credits.
  3. Create a Telegram bot and connect it to the agent.
  4. Select the AI model and verify the agent's status from the terminal.
  5. Test a skill and convert it into a recurring job.

Step 1: Select and Configure the VPS

Open the setup page through the link in the video description. The link directs users to the correct setup page and the lowest available pricing on the VPS plan.

Choose the plan. The default plan is KVM 2, which is the recommended plan for running Hermes Agent. It provides:

  • 2 virtual CPU cores
  • 8 GB of RAM
  • 100 GB of NVMe disk space
  • 8 TB of bandwidth

Choose the billing period. The default is 24 months. Available options are 24 months, 12 months, and 1 month. The 12-month plan provides substantial savings and a free domain for the first year.

Configure optional settings.

  • Daily auto-backups: Enable or disable this option.
  • Server location: Hostinger selects the location with the lowest latency by default. The default setting can be kept.

Deploy the server. Review the order, then click Continue. Enter an email address, create a password, and click Register. Enter the billing address and payment information, then click Get Started.

Step 2: Create an OpenRouter API Key

This guide uses OpenRouter as the model provider for three reasons:

  • A single API key provides access to more than 200 AI models.
  • Switching models requires one command, without changing providers.
  • It offers flexible cost control, which matters for an agent that runs continuously.

Create an account.

  1. Open the OpenRouter link and select Sign up.
  2. Enter an email address and create a password.
  3. Accept the terms and click Continue.
  4. Open the verification email sent to the registered address and select Sign up to OpenRouter.
  5. Select Other, then click Continue.

Create the key.

  1. Select Create API Key, then click Create.
  2. Enter a name, such as Hermes Agent.
  3. Set a credit limit if needed. If the field is left blank, the limit is unlimited. The author set a limit of $50 as a cost guardrail.
  4. Choose a reset period (daily, weekly, or monthly), or leave the limit disabled.
  5. Set the expiration. The author selected no expiration.
  6. Click Create and copy the key.

Security note: Do not share API keys. A key that appears in public content, including a video, must be treated as compromised and replaced.

Add billing credits. The key cannot process requests without credits. In the OpenRouter dashboard:

  1. Select Credits in the left-hand menu.
  2. Select Add Credits, or add a payment method to top up automatically.
  3. Enter the billing address and payment information, then complete the remaining steps.

Step 3: Create a Telegram Bot

Telegram allows the agent to be used from the desktop app or the mobile app, so the agent can be reached from any location. The following steps use the Telegram desktop app.

  1. Search for @BotFather and select the account with the verified check mark.
  2. Select Start, then select New Bot.
  3. Enter a display name for the bot. The example in the video is Medics Hermes Assistant.
  4. Enter a username. The username must end in bot. The example in the video is MedicsHermesAssistantBot.
  5. If the username is available, BotFather returns a confirmation message containing the bot token.
  6. Copy the bot token.

Step 4: Enter the Credentials in Hostinger

  1. Return to the Hostinger setup screen.
  2. Paste the OpenRouter API key into the API key field.
  3. Paste the Telegram bot token into the Telegram Bot Token field.
  4. Click Deploy.
  5. If an onboarding survey appears, scroll down and select Skip.

Deployment takes several minutes.

Step 5: Verify the Deployment in the VPS Dashboard

After deployment, the VPS dashboard displays server information and settings in the left-hand menu.

  1. Locate the Hermes agent listed as a Docker project and select Manage.
  2. Scroll down and select Environment to view the environment variables. The OpenRouter API key and Telegram bot token appear here.
  3. To change a value, edit it in this section. To add a variable, use the same section.
  4. Return to the top of the page and select Cancel.
  5. Note the last four characters of the project identifier shown on the page. The example in the video is GCZY. These characters are needed for the next step.

Step 6: Run the Setup Commands in the Browser Terminal

Open Terminal in the top-right corner of the VPS dashboard. The commands below are used in this step. A setup guide with all commands is linked in the video description.

Navigate to the project directory. Replace the placeholder with the last four characters noted in Step 5.

cd /docker/hermes-agent-GCZY

Open a shell inside the running container.

docker compose exec -it hermes-agent /bin/bash

Warnings that other API key variables are not set are normal and can be ignored.

Check the agent status.

hermes status

The output confirms the agent's configuration. In the example, Telegram is configured.

Select the model.

hermes model
  1. Select OpenRouter as the provider.
  2. Use the arrow keys to choose a model. The default is Claude Opus 4.6, which carries a higher cost. The author selected GPT 5.4 Mini.
  3. Press Enter to save the model as the default.

Start the gateway.

hermes gateway start

If this command returns an error, run hermes gateway instead. A message stating that the gateway is already running confirms that it is active.

Step 7: Connect Telegram to the Agent

  1. In Telegram, open the link to the Hermes agent conversation and select Start.
  2. The agent sends a message containing a pairing code and a command. Copy the command.
  3. Return to the browser terminal and paste the command. In the example, the paste shortcut is Control+Shift+V. Press Enter.
  4. The terminal confirms that the user is approved. The approval is recognized automatically on the next message.

Send a context message. Sending a message that describes the environment helps the agent understand where it runs and what it can do. The example message states that the agent runs on a Hostinger VPS inside a Docker container and asks it to list its available tools and skills.

The agent returns the following information:

  • Home channel: Select the command provided to set the current chat as the home channel. Cron jobs and cross-platform messages are then delivered to this chat.
  • Environment and tools: A description of the installed tools.
  • Skills: In the example, 73 skills are installed. Categories include creative, email, gaming, GitHub, productivity, research, and social media.

Step 8: Test a Skill and Create a Recurring Job

The recommended workflow has three parts: find a skill, set it up, and automate it.

Test a skill manually. The example uses a news briefing, which Hermes performs with its built-in web search and does not require additional API keys or accounts. The test message asks for the top three AI and technology news stories of the day and a short summary of each. The agent returned three headlines with summaries.

Create a recurring job. The example message asks the agent to send a summary of the top three AI and technology news stories every morning at 9:00 AM Central Time. The agent creates the job and confirms it. The briefing is then delivered to Telegram each morning at that time without a new prompt.

The agent builds on previous work over time and improves its performance as usage increases.

Step 9: Manage the Deployment

Most daily work takes place in Telegram. The browser terminal is needed for the following tasks:

  • Switch the AI model: Run hermes model.
  • Update Hermes: Run the update procedure in the terminal.
  • Troubleshoot: Run hermes status or hermes doctor.

VPS dashboard options:

  • Overview: Displays information about the VPS.
  • Docker manager: Manages the Hermes deployment and other projects.
  • VPS settings: Shows the operating system and control panel.
  • Backups and monitoring: Manages the backup schedule and creates snapshots. Create a snapshot before any major change to the VPS.
  • Security: Manages security settings.
  • DNS manager: Manages DNS records.
  • Support: Use the top-right menu to contact Hostinger for VPS issues.

Summary

After these steps, the Hermes agent runs on a Hostinger VPS, connects to OpenRouter for model access, and responds through Telegram. The agent can install skills and run automated jobs on a schedule.

Introduction

Introduction to the Hermes agent as a 24/7 self-improving AI assistant that connects to Telegram, Discord, and Slack and learns skills over time, plus the video's roadmap.

  • Hermes agent is a self-improving AI assistant that runs 24/7 and connects to Telegram, Discord, and Slack.
  • It can pull daily briefings from Google Workspace, manage GitHub repositories, and monitor trending keywords.
  • Workflow: install a skill, set up an automated job, and receive results on a schedule without prompting.
  • Plan: deploy Hermes on a VPS via one-click template, connect an AI model provider, set up Telegram, and verify.

Choosing and Ordering a VPS

Choosing a Hostinger VPS plan and billing settings using the link in the video description for the lowest pricing.

  • Default plan is KVM 2: 2 virtual CPU cores, 8 GB RAM, 100 GB NVMe disk, 8 TB bandwidth.
  • Caleb recommends KVM 2 for running Hermes.
  • Billing period defaults to 24 months; options are 24, 12, and 1 month. Caleb recommends 12 months, which includes a free domain for the first year.
  • Daily auto-backups are optional; server location is auto-selected for best latency and was left at default.
  • Account is created with email, password, and registration; then billing address and payment info are entered.

Creating an OpenRouter API Key and Adding Credits

Creating an OpenRouter account and API key with a credit limit, then loading credits so the agent can function.

  • OpenRouter is chosen because it provides access to over 200 AI models with a single API key and allows switching models with one command.
  • Sign-up requires email verification; the API key is named Hermes Agent.
  • Credit limit was set to $50; if left blank it is unlimited. Reset options are daily, weekly, or monthly (left off).
  • The key was set to no expiration.
  • Caleb warns not to share API keys; he states his shown key is now compromised and he plans to delete it.
  • Credits must be added under the Credits section (Add Credits) with billing address and payment information, otherwise nothing will work.

Setting Up the Telegram Bot

Creating a Telegram bot through @BotFather and entering the OpenRouter key and bot token into the Hostinger deployment.

  • Search for @BotFather and use the verified account; click Start, then New bot.
  • Bot name used in the video: Medics Hermes Assistant; username must end in 'bot' (example: MedicsHermesAssistantBot).
  • Copy the bot token from BotFather and paste it, with the OpenRouter API key, into Hostinger, then click Deploy.
  • An onboarding survey may appear; click Skip. Deployment can take a few minutes.

Verifying the Deployment in the Dashboard

Verifying the deployment in the Hostinger VPS dashboard, checking environment variables, and noting the container identifier suffix.

  • Hermes is listed as a Docker project; use Manage, then Environment to view the OpenRouter API key and Telegram bot token.
  • Variables can be edited or new ones added from the Environment section.
  • Note the last four letters of the project identifier (in the video: GCZY) for the directory path.
  • Open the Terminal from the top right of the dashboard. A Hermes agent setup guide linked in the description lists the commands used.

Terminal Setup: Status, Model Selection, and Gateway

Running terminal commands to enter the container, check status, select the model, start the gateway, and pair Telegram.

  • Navigate: cd /docker/hermes-agent- followed by the four-letter suffix (GCZY in the video).
  • Enter container: docker compose exec -it hermes-agent /bin/bash. Warnings about unset API key variables are normal.
  • Run hermes status to check; Telegram should appear as configured.
  • Run hermes model, choose OpenRouter, then select a model. Default is Claude Opus 4.6 (expensive); Caleb chose GPT 5.4 Mini.
  • Run hermes gateway start; if an error occurs, run hermes gateway, which reports the gateway is already running.
  • In Telegram, open the bot, click Start, copy the pairing command, paste it in the browser terminal (Control+Shift+V), and press Enter to approve the user.

Testing and Creating an Automated Job

Testing the agent via Telegram, setting a home channel, and creating a recurring daily news briefing job.

  • Send an initial message asking the agent about its environment and available tools and skills; it reports 73 installed skills across categories such as creative, email, gaming, GitHub, productivity, research, and social media.
  • Set a home channel via a command so cron jobs and cross-platform messages are delivered there.
  • Built-in web search is used for a daily news briefing without extra API keys.
  • Test prompt: search the web for the top three AI and tech news stories today and summarize each. The agent returned three headlines.
  • Recurring job prompt: send a summary of the top three AI and tech news stories every morning at 9:00 AM central time. The agent created the job.

Maintenance and Dashboard Overview

Overview of when to use the browser terminal versus Telegram and the other Hostinger dashboard sections.

  • Most daily work happens in Telegram; the terminal is used to switch models (hermes model), update Hermes, or troubleshoot with hermes status or hermes doctor.
  • Docker manager is used to deploy other projects.
  • Backups and monitoring allow managing the backup schedule and creating snapshots; Caleb recommends a snapshot before major VPS changes.
  • Security settings, DNS manager, and contacting Hostinger from the top right are also available.