~6m44:31
Ferdy․com | Ferdy Korpershoek

Hermes Agent Tutorial for Beginners (Full Step-by-Step Setup)

Jun 3, 2026

Read: ~6m · You save: 39 min

Hermes Agent Tutorial for Beginners: Full Step-by-Step Setup

Set up Hermes AI, a free self-improving agent, on a VPS and Telegram. Learn cheap models, WordPress SEO automation, cron-based research, and email drafts.

Hermes Agent is an open-source AI agent that can run on a virtual private server (VPS) and communicate through Telegram. According to the tutorial's author, Ferdy, Hermes has three distinguishing features: low running cost, the ability to create and improve its own skills, and improvement over time based on user interaction. This guide covers the setup process, the model and cost configuration, and the business use cases the author demonstrates.

Key Advantages Identified by the Author

  • Cost: Hermes is free and open source, with no subscription. Its only ongoing expense is the model usage that consumes credits.
  • Skills: Hermes writes its own skills and refines them over time. The author states that this is safer than installing external skills created by third parties.
  • Learning: Hermes adapts to the user's interactions and becomes more useful with continued use.

Requirements

  • A VPS, which keeps the agent online 24 hours a day, 7 days a week. The agent can also run on a local computer or a spare computer.
  • A model provider account that supplies credits. The options named are Anthropic, OpenAI Codex, and OpenRouter.
  • A Telegram account, which allows access from a phone or computer.

Step 1: Deploy the Virtual Private Server

  1. Open the one-click Hermes agent deployment page from the VPS provider.
  2. Select a plan. The author recommends the KVM1 plan and notes that the plan can be upgraded later.
  3. Choose a billing period. The author reports a displayed monthly price of 5.84.The12−monthtermcosts5.84. The 12-month term costs 6.29 per month. Longer terms reduce the monthly price.
  4. Register an account, enter the required personal and billing details, and select a payment method.
  5. In the hosting control panel, select a language and set an administrator username and password. Store the password in a safe location.
  6. Click Deploy. The author reports a deployment time of about five minutes.
  7. Once deployment finishes, open the Docker manager. The VPS can host multiple containers, so Hermes can run alongside other applications such as OpenClaw in separate containers.

For an existing VPS, the author adds Hermes through the Docker manager by selecting Compose, then One-click deploy, searching for "Hermes agent," selecting it, saving the password, and clicking Deploy.

Step 2: Connect to the Server and Select the Container

  1. Open the Terminal in the hosting panel to connect to the server.
  2. Change to the Docker directory:
    cd /docker
    
  3. Select the Hermes container. The author uses the container identifier shown in the panel.
  4. Open a shell inside the container:
    docker compose exec -it hermes-agent bin/bash
    

Step 3: Run the Hermes Setup

  1. Run the setup command:
    hermes setup
    
  2. Choose between quick setup and full setup. The author selects quick setup.
  3. Select a model provider. The author selects OpenRouter because it provides access to many models through a single account and allows switching between them easily.

Step 4: Create an OpenRouter Account and Fund It

  1. Sign up at OpenRouter with a name, an email address, or a supported third-party account. Accept the terms of service, pricing policy, and model terms.
  2. Verify the account through the link sent to the email inbox.
  3. Purchase credits. Credits pay for the tasks Hermes performs. The author buys $25 in credits to start. Invoices can be requested for business use, and a tax ID can be added.
  4. Create an API key. Optionally, set a credit limit. The author's example: with 100increditsandalimitof100 in credits and a limit of 20 per month, the credits last five months. Once the limit is reached, the key stops working.
  5. Copy the key immediately and store it securely. Do not share it.
  6. Return to the Hermes web terminal and paste the key. The input is hidden, so nothing appears on screen. Press Enter.

Step 5: Choose a Cost-Efficient Model

The author recommends assigning cheaper models to routine tasks. Chatting with the agent does not require a high-end model such as Anthropic Claude Opus.

  • The author selects DeepSeek V4 Pro, which the author describes as one of the cheapest non-free options available. It is used for initial setup and the tasks that follow.
  • The OpenRouter model openrouter/auto lets OpenRouter select the model for each request. The author reports a context window of 2 million tokens for this option.

To switch models inside Telegram, send:

/model openrouter/auto

To return to DeepSeek V4 Pro, select it from the same model menu.

Step 6: Configure Telegram

Telegram is the chosen interface because it works on both phones and computers.

  1. In the setup, select Set up messaging, then select Telegram. Hermes verifies the connection.
  2. Create a bot with BotFather:
    1. Open Telegram and search for BotFather.
    2. Start a new bot and choose a display name. The author uses "Walter White Ferdy."
    3. Choose a username ending in "bot." Usernames already taken cannot be used.
    4. Copy the bot token.
  3. Paste the bot token into the Hermes terminal and press Enter.
  4. Restrict access to your Telegram user ID. If access is not restricted, anyone who finds the bot can use it and consume the account's credits.
    1. In Telegram, search for a user info bot and start it to view your user ID.
    2. Paste the ID into the terminal.
    3. Confirm the restriction with Y.

Setup is then complete. Start the agent with:

hermes

Step 7: Link the Terminal Gateway to Telegram

The gateway links the terminal and Telegram so that messages appear in both places. Once linked, the agent can be used from any location with an internet connection.

  1. Install the gateway:
    hermes gateway install
    
  2. Start the gateway:
    hermes gateway run
    
    The terminal reports the gateway's process ID. The author's example is PID 484.
  3. In Telegram, open the bot and send a message. The bot does not use the /start command. Sending "hello" activates it.
  4. Send /help to list all available commands.

Step 8: Automate Recurring Tasks with Cron Jobs

Hermes can run scheduled tasks, called cron jobs, and deliver the results to Telegram. The author describes two examples for a YouTube channel focused on AI tools.

Daily GitHub Trend Report

  • Schedule: Every day at 8:00 AM
  • Scope: GitHub projects with the most stars gained in the previous 24 hours
  • Output: Top 3 projects, ranked by potential for a YouTube tutorial. For each project, the report includes the name, GitHub link, stars gained, total stars, a one-line description, and a reason the project suits a tutorial.
  • Data source: The GitHub trending page at github.com/trending can be copied into the request to include daily star counts.

The author first requested the top 10 projects and then reduced the list to 3 to focus on the highest-potential tools.

The author used the Star History Chrome extension to check star growth. The example project, Browser Use, scored 9.5 for tutorial potential and showed steady growth since April.

YouTube Competitor Report

  • Schedule: Monday, Wednesday, and Friday at 8:15 AM, 15 minutes after the GitHub report
  • Scope: Top five trending YouTube videos about AI and WordPress or website building, based on the last 48 hours
  • Output: View counts, growth trends, a short description of each video, and an analysis of why each video performs well, such as presenter, pace, or retention factors

Step 9: Track Costs

The author recommends monitoring usage in the OpenRouter activity view. In the setup described:

  • Early setup cost $1.28.
  • Over the past month, total spending was $3.85.
  • The author reports that OpenClaw required a $50 credit top-up in a comparable period.

The author notes that a short test of a more expensive model, Claude Haiku, in another project cost more than a longer period of use with DeepSeek V4 Pro.

Step 10: Build a Skill for WordPress SEO and AI Visibility

Hermes creates its own skills when a task is repeated, then improves them. The author contrasts this with OpenClaw, which relies on external skills that may contain malware. The author states that Hermes-created skills come from within Hermes and therefore do not carry that risk.

Procedure

  1. Create a WordPress application password:
    1. Go to Users, then Edit profile.
    2. Scroll to the application passwords section and create a new password. The author names it "Walter Hermes."
    3. Copy the password. Share access through an application password rather than the account login.
  2. Send Hermes the task in Telegram: the site URL, the username, and the application password. The author's request was to make the site future-ready for SEO and AI.
  3. Hermes performs a current status audit. In the author's example, the audit identified a missing H1 heading and other issues. Hermes also requested Google Search Console and Google Analytics access.
  4. Hermes created an llms.txt file and a full version, llms-full.txt, for AI visibility. It also added schema.org markup, adjusted SEO titles, and wrote meta descriptions.
  5. One blocker was identified: REST API authentication was required to complete certain changes.
  6. Hermes recorded the process as a reusable skill named "WordPress SEO AI optimization." The author expects the skill to improve as more websites are processed.

The author plans to offer this as a paid service after confirming the results on client sites. The author states that the reason for the work is that AI search results increasingly cite sites with llms.txt files.

Step 11: Manage Email Drafts

Hermes can read a mailbox and create draft replies. The author sets a firm rule: Hermes does not send emails. Every reply is saved as a draft for the user's review.

Procedure

  1. Provide webmail login details to Hermes through Telegram. The author notes that the password should be changed afterward if it has been shared in a chat.
  2. Give instructions, for example:
    • Respond to each email with respect, thanks, and a friendly tone.
    • For proposals with a budget of at least $5,000, state that the work will exceed expectations.
    • Check for new emails daily at 7:00 AM, show the previous day's emails, and save responses as drafts.
    • Never send emails.
  3. Hermes initially had difficulty creating drafts. It then learned the method, using a Himalaya email template, and created five draft proposals. It also removed a duplicate draft.
  4. Review the drafts in the mail application. The author edits drafts before sending. In one example, the stated budget was changed from 5,000to5,000 to 6,000.
  5. Instruct Hermes to avoid em dashes and similar punctuation patterns that suggest AI-generated text. The author replaces dashes with hyphens, periods, or commas.

Step 12: Explore Other Uses

The author suggests asking Hermes directly what it can do for a specific business. Example capabilities listed by Hermes include:

  • Creating blog posts, articles, email drafts, and social media copy
  • Editing and refining existing content
  • Web research
  • WordPress management
  • Troubleshooting problems
  • Automation and recurring tasks

The author gives an example for a web designer in Amsterdam: Hermes could identify outdated websites of local businesses and create draft outreach emails offering a redesign.

Choosing Between Tools

The author uses ChatGPT for general questions and conversation. Hermes is used for recurring tasks and work that returns results on a schedule.

Summary

ComponentPurposeCost Reported by Author
VPS (KVM1)Runs Hermes 24/7$6.29 per month on a 12-month term
OpenRouter creditsPay for model usage25initialpurchase;25 initial purchase; 3.85 spent over the past month
DeepSeek V4 ProLow-cost default modelDescribed as one of the cheapest non-free options
TelegramUser interfaceFree
HermesAgent, skills, and cron jobsFree and open source

Introduction and Overview

Introduces Hermes AI and three standout features: low cost, self-written skills, and improvement over time with use. Previews the setup and real use cases.

  • Hermes AI is described as free, open source, and without subscriptions, but it uses model credits.
  • Three highlighted advantages: cost (a fraction of OpenClaw cost), skills it writes and improves itself, and growth through interactions.
  • Use cases previewed: answering emails, making websites future ready for SEO and LLMs, getting niche information, YouTube and GitHub research, and finding local businesses with outdated websites.

How It Works

Explains the setup stack: Hermes agent, a VPS for 24/7 operation, a model provider using credits, and Telegram as the chat interface.

  • Agent can run on a personal computer, a spare computer, or the cloud; the presenter prefers a VPS.
  • A cheap model is recommended to save money while still completing tasks.
  • Telegram is used to communicate with the agent from phone or computer.

Setting Up the VPS on Hostinger

Shows deploying a Hostinger VPS with the Hermes agent one-click app, choosing a KVM1 plan on a 12-month term, and applying a 10% coupon.

  • Hostinger link given as ferdy.com/Hermes; a 30-day money-back guarantee is mentioned.
  • KVM1 plan recommended; four plans are available.
  • Quoted prices: 5.84permonthforalongertermwithdiscount;5.84 per month for a longer term with discount; 6.29 per month on a 12-month plan.
  • A 10% extra discount coupon is applied; payment methods include credit card, PayPal, Google Pay, Apple Pay, and local methods.
  • Deployment is set up in the Docker manager, estimated at about five minutes.

Installing Hermes Agent in the Terminal

Opens the terminal on the server, navigates to the Hermes Docker container, and runs the Hermes setup in simple mode.

  • Access the server through the terminal in the Docker manager; for an existing VPS, use Compose and deploy Hermes agent.
  • Commands used: cd /docker, then docker compose exec -it hermes-agent /bin/bash, then hermes setup.
  • Simple setup is chosen over full setup.

Connecting OpenRouter and Credits

Creates an OpenRouter account and API key, buys $25 in credits, and connects the key to Hermes. DeepSeek is selected as a cheap model.

  • OpenRouter is chosen because it aggregates many LLMs and allows easy switching; Anthropic and OpenAI Codex are alternatives.
  • Account sign-up uses a verification link sent by email; invoices requested with a Netherlands tax ID.
  • Initial purchase: 25incredits;APIkeynamedHermeswithanoptionalmonthlycreditlimit(example:25 in credits; API key named Hermes with an optional monthly credit limit (example: 20 per month).
  • The API key is pasted into the web terminal, where input is hidden as a password.
  • DeepSeek is chosen as the cheapest paid option for configuring Telegram.

Connecting Telegram

Creates a Telegram bot via BotFather, restricts access to a single Telegram user ID, and links the terminal gateway to the bot.

  • Bot created with BotFather; the presenter names it Walter White Ferdy and copies the token into the terminal.
  • Access is restricted to one Telegram user ID, obtained through the user info bot, to prevent others from using paid credits.
  • Commands: hermes gateway install, then hermes gateway run; the gateway runs as PID 484.
  • Hermes does not use the /start command; sending hello starts the conversation; /help lists commands.
  • Model switching command: /model openrouter/auto, with a 2 million token context mentioned; the model can be switched back to DeepSeek V4 Pro.

Research Cron Jobs: GitHub and YouTube Trends

Demonstrates a daily cron job that reports top trending GitHub projects for YouTube tutorial potential, plus a Monday/Wednesday/Friday cron job that analyzes top YouTube videos on AI and WordPress.

  • GitHub report: top projects ranked by YouTube tutorial potential, including name, link, stars gained, total stars, description, and reason; scheduled at 8am, later reduced to top three.
  • Example trending topics: browser use (potential score 9.5), AI agents, visual workflow builders, and local AI.
  • Star History Chrome extension is used to track GitHub star growth.
  • YouTube cron job: top five trending videos from the last 48 hours on AI and WordPress, shown Mon/Wed/Fri at 8:15am, with analysis of why they perform well.
  • Money Printer Turbo was cited as a trending GitHub project with about 2,000 stars in a day.

WordPress SEO and AI Optimization Skill

Shows the agent creating a WordPress SEO and AI optimization skill for a website, adding llms.txt, and adjusting SEO titles, using a WordPress application password.

  • An application password is created under the user profile to avoid sharing login details.
  • The agent audits the site, noting items such as a missing H1 and needing REST API authentication.
  • The agent generates an llms.txt file and schema.org markup, and adjusts SEO titles and descriptions.
  • The skill is saved to memory and improves with repeated use; the presenter says this avoids malicious third-party skills common with OpenClaw.
  • The presenter plans to offer this as a paid optimization service once the results are verified.

Email Drafts Automation

Sets up the agent to create email drafts (never send) for business inquiries, with replies written in a friendly, respectful tone and proposals referencing a $5,000 starting budget, later $6,000.

  • The agent creates drafts only; it must never send emails without approval.
  • Daily check at 7am lists the previous day's emails and drafts replies.
  • The presenter changes a draft budget from 5,000to5,000 to 6,000.
  • Instruction given to replace dashes with regular hyphens, periods, or commas to sound human-written.
  • Agent used the Himalaya template to create drafts; it duplicated drafts, and the presenter removed the extras.

Business Ideas and Capabilities

Shows how to ask the agent what it can do, with example business ideas such as finding outdated websites and pitching redesign services.

  • Capabilities listed: content and writing, web and research, WordPress management, troubleshooting, automation, and recurring tasks.
  • Example: find outdated websites of companies in a city such as Amsterdam and draft outreach emails.
  • The presenter uses ChatGPT Professional for general questions and the agent for cron jobs and recurring tasks.
  • The presenter says the total spend for the past month was 3.85withDeepSeek,versusabout3.85 with DeepSeek, versus about 50 extra credits with OpenClaw.