~7m34:21
AI Foundations

Full Hermes Agent Set-Up For Beginners in 2026! (24/7 AI Agent)

May 12, 2026

Read: ~7m · You save: 27 min

Full Hermes Agent Set-Up For Beginners in 2026! (24/7 AI Agent)

Set up Hermes Agent, a self-improving AI that runs 24/7 on a VPS and learns from your feedback. Step-by-step guide with Telegram integration and a live blog workflow.

Hermes Agent is a self-improving AI agent that runs continuously on a server. It stores what it learns from feedback and becomes more capable over time. This guide covers its architecture, the choice between local and VPS deployment, and a step-by-step setup process.

What Hermes Agent Is

Hermes Agent is an autonomous agent that runs on a server. The server can be a personal machine or a cloud server. A cloud server keeps the agent running 24/7.

The agent retains what it learns, including feedback it receives. It becomes more capable the longer it runs. It becomes useful after roughly 15 to 30 days, and its capability grows with the amount of feedback it receives.

Unlike chat assistants that store small facts about the user, Hermes Agent records how tasks get done. Its memory focuses on methods that produce results, including what success looks like and how feedback defines it.

Core Architecture

Hermes Agent consists of three layers.

1. Memory

Memory is the foundation of the system. When the user corrects the agent, or the agent learns something stable about the user's setup or work methods, it writes that information to persistent memory immediately. The stored information is injected into every future session and conversation.

2. Skills

Skills are automations or miniature workflows. AI agents such as Claude Code, Codex, and Gemini use this format.

When Hermes solves a problem it has not encountered before, it records the method. When the situation recurs, it loads that method instead of starting from scratch. Users can read, edit, and add skills.

Hermes includes a built-in library of pre-installed skills. The developers add new skills frequently, often weekly or daily. The installation includes 85 pre-installed skills.

3. Cron Jobs

Cron jobs are tasks that run on a schedule. A user defines a task once, sets the time or trigger, and Hermes runs it automatically on the Hermes server. Examples include:

  • A task every morning at 8:00 a.m.
  • A task every 5 minutes
  • A task triggered when a new video is published on a selected channel

Hermes can also create its own cron jobs when it determines that a schedule suits the user's situation and goal.

The Hermes Loop

The loop runs as a continuous cycle. The user defines the target. Hermes works toward it and produces results. Feedback then updates memory and skills, and the cycle repeats.

Key points about the loop:

  • The user defines the direction and the target. Targets should have a clear purpose. Building a complex product in the background without a defined goal wastes time and money.
  • Targets are often ongoing. Examples include managing an employee-type role, improving a process, or developing a revenue stream based on existing expertise.
  • Tools connect Hermes to existing applications, such as Gmail and GitHub.
  • Feedback comes from two sources:
    • Analytics, which are objective. For example, click-through rate on YouTube thumbnails, compared against the industry average.
    • Direct feedback, which covers subjective areas such as content quality, scheduling choices, code commits, or security issues.
  • Feedback can be sent through Telegram, Slack, iMessage, WhatsApp, or other messaging platforms.
  • Over time, the goal is to reach a point where the loop runs without manual feedback.

Deployment Options: Local vs. VPS

Hermes Agent can run locally or on a virtual private server (VPS). A VPS is a remote computer in the cloud that runs independently of the user's device.

FactorLocalVPS
CostFree, using existing hardwareApproximately 5to5 to 10 per month. Hostinger plans start at $8.99 per month.
UptimeRuns only while the computer is onRuns 24/7
LearningLearns only while the computer is openLearns continuously
Setup complexitySimpler for technical usersMore complex, but guided by a setup process
FlexibilityLow, limited to one computer's capacityHigh. Supports multiple agents and scales with use.
Power and availabilityStops if power fails or the device is offUnaffected by the user's device or power status

A VPS is the recommended option for most users because it provides continuous operation and scales with use.

Setup Procedure

The setup process is a one-time configuration.

Step 1: Deploy the VPS

  1. Select a VPS plan. The recommended plan is KVM2, which supports multiple agents and offers a reasonable price for its capacity.
  2. Select Deploy. The cart opens.
  3. Choose a billing period. Longer periods lower the monthly cost. The 24-month plan costs as little as $9 per month. The 12-month plan is the recommended starting option.
  4. Optionally, add a daily automatic backup for an additional $6 per month. Backups can be added later, after the environment is established.
  5. Complete payment. A confirmation screen appears.
  6. On the dashboard, open the Hermes Agent configuration screen and select Deploy.
  7. Wait for provisioning. The process takes approximately 60 seconds to 5 minutes.

To confirm the deployment, open the Docker Manager, go to Projects, and verify that Hermes Agent appears in the list.

Step 2: Open the Terminal and Run Setup

  1. In the Access section, select Terminal. A web terminal opens on the VPS.
  2. Enter the command hermes setup and press Enter. The setup wizard starts.
  3. When asked how to set up Hermes, select Quick Setup. The full setup is more complex and is not required for early use.

Step 3: Configure the Inference Provider

The inference provider supplies the language model. Hermes is not tied to a single vendor, so the user can select any supported model.

  • Existing subscriptions: If the user has an OpenAI or ChatGPT subscription, the user can sign in through that subscription for model inference at no additional cost.
  • OpenRouter: This guide uses OpenRouter, which provides access to most available models through one API key. Models can be changed at any time.

To set up OpenRouter:

  1. Select OpenRouter in the setup wizard.
  2. Sign in to your OpenRouter account and open the Credits tab.
  3. Add credits. A starting amount of $5 is sufficient.
  4. Select Get API key.
  5. Name the key. The example name used is "Hermes."
  6. Set a credit limit. The example limit is $25.
  7. Select Create and copy the key.
  8. Return to the setup wizard, paste the key, and press Enter. The key does not display on screen. This is normal behavior for terminal secrets.

Security: Keep API keys private. Do not post them publicly. If a key is exposed, rotate it.

Step 4: Select the Default Model

Select the default model in the wizard.

  • Premium models such as Opus 4.7 or GPT 5.5 Pro are expensive.
  • Kimi K2.6 is presented as comparable to Claude at a substantially lower cost. It is the model used in this guide.

Step 5: Configure Messaging with Telegram

Telegram is the simplest messaging platform to configure. Other supported platforms include Microsoft Teams, Google Chat, Matrix, Slack, Discord, WhatsApp, Signal, email, and SMS.

Create a Telegram bot:

  1. In Telegram, search for BotFather and open it. The BotFather can also be used within an existing chat.
  2. Select Create a new bot.
  3. Enter a display name. The example name is "Drake PA" (personal assistant).
  4. Enter a username ending in "bot." The example username is "Drake PA bot." Telegram confirms whether it is available.
  5. Select Create bot. BotFather returns an access token.
  6. Copy the token and paste it into the Telegram bot token field in the setup wizard. Press Enter.

Restrict access to your account:

Hermes accepts messages only from approved user IDs. This prevents other Telegram users from sending commands to the agent.

  1. In Telegram, search for a bot named user info (get ID) and open it.
  2. Send /start. The bot returns your Telegram user ID.
  3. Copy the first line of the response and paste it into the wizard. Press Enter.

Set the home channel:

The wizard asks for a home channel, which is where Hermes delivers cron job results.

  1. Enter Y to confirm.
  2. Enter your user ID as the home channel. Press Enter.

Step 6: Launch and Verify Hermes

  1. Enter Y when the wizard asks to launch Hermes chat. The Hermes command-line interface (CLI) opens.
  2. Enter /help to list available commands. Key commands include:
    • /background: runs prompts in the background
    • /agents: displays active agents and running tasks
    • /q: queues a prompt for the next turn
    • /goal: sets a standing goal that Hermes works toward across turns until it is achieved
  3. Test the connection by sending a message such as "What model are you using?" The agent should identify the configured model.

If the CLI freezes or messages stop loading, open the Hostinger panel, select the terminal button again, and restart the process. Entering hermes and pressing Enter opens a new CLI session.

Step 7: Start the Gateway for 24/7 Messaging

Running Hermes in the CLI does not make it available on Telegram. The gateway must run as a separate process.

  1. In the Hermes CLI, enter /gateway and press Enter. The screen displays the gateway status and a start command. Telegram is shown as enabled, and the home channel is configured.
  2. Press Ctrl+C to exit Hermes and return to the terminal directory.
  3. Paste the gateway start command into the terminal, not into the Hermes chat. Press Enter.
  4. Open the Telegram bot, select Start, and send a message.
  5. Confirm the connection. The "typing" indicator appears in the chat when the agent is connected.

If the gateway command does not work, ask Hermes in the chat why the command failed.

Configuring Hermes with Personal Documents

Hermes learns faster when it receives structured information about the user. In the example, the user created two documents:

  • Voice document: A set of writing rules. It includes a list of banned words and guidelines for copy written with AI. The user generated it by having an AI model interview the user about voice and writing preferences.
  • Point-of-view document: A record of the user's positions, beliefs, and contrarian views. The document keeps the AI from producing generic output and prevents it from inventing positions the user has not stated.

Both documents were uploaded to Hermes through Telegram. Hermes began building memory from them. Creating the documents took about one hour.

The user also described the intended use: a personal assistant and second brain that creates Google Calendar events and sets reminders. Hermes responded with a setup plan and walked through each step.

Production Use Case: Automated Blog Publishing

The example shows Hermes running a content workflow for the user's coaching business, AI Foundations.

Workflow:

  1. Hermes monitors the user's YouTube channel. The check runs every 5 minutes.
  2. When a new video is published, Hermes writes a blog post based on the video transcript, the voice document, and the point-of-view document.
  3. The post links to the source video.
  4. Hermes uploads the draft to the website's admin dashboard.
  5. The user reviews each draft and selects one of two actions:
    • Revise: The user enters feedback. Hermes returns a revised draft within about 5 minutes.
    • Approve: The post is published. Approval is also recorded as feedback.
  6. Traffic data from the Plausible analytics application feeds back into the system. Hermes uses reader behavior, such as visits, link clicks, and reading activity, to refine future posts.

In the example, the user asked Hermes to replace a title that followed an "imperative stop X, start Y" pattern. Hermes proposed alternatives in the user's voice, and the user approved one. Telegram notifications report progress to the user's phone.

The user expects this workflow to run for an extended period, such as one to two years, and to improve through live analytics. The user also noted that the blog posts combine the user's voice, transcripts, and videos, which makes the output difficult for others to replicate.

Summary

Hermes Agent combines three layers: memory, skills, and cron jobs. It operates through a continuous loop of target, action, result, and feedback. A VPS is the recommended deployment because it runs 24/7 and learns continuously. The setup process requires a VPS deployment, a model provider such as OpenRouter, a Telegram bot with restricted access, and a running gateway. The most effective early use is to load personal context into memory and assign ongoing, high-leverage tasks that run in the background.

What Hermes Agent Is

Hermes Agent is a self-improving AI agent that runs 24/7 on a server, remembers feedback, and becomes more capable over time, unlike chat assistants that only store facts about the user.

  • Hermes Agent is an autonomous agent that lives on a server, either a personal machine or a cloud server, so it can run 24/7.
  • It remembers feedback and gets more capable the longer it runs.
  • The presenter says it becomes useful around 15 to 30 days of use.
  • It learns how the user gets tasks done, not trivial personal preferences.
  • The presenter recommends studying the architecture before deploying it.

Three-Layer Architecture and the Hermes Loop

Hermes Agent has three layers: memory, skills, and cron jobs, which together drive a target-driven loop of action, results, and feedback.

  • Layer 1, memory: corrections and stable learnings are written to persistent memory and injected into every future session.
  • Layer 2, skills: when Hermes solves a new problem it writes a reusable playbook that can be read, edited, and extended; Hermes ships with pre-built skills added frequently.
  • Layer 3, cron jobs: tasks that run on a schedule or trigger, such as daily at 8:00 a.m., every 5 minutes, or when a new video from a channel is posted; Hermes can create its own cron jobs.
  • The loop: the user sets a target, Hermes reads memory and skills, uses tools (such as Gmail and GitHub) to act, produces a result, and receives feedback that updates memory and skills.
  • Analytics such as YouTube click-through rate are cited as clear feedback; qualitative feedback covers scheduling, code commits, and security.
  • The goal is eventually to skip feedback and let the loop run on its own.

Local Versus VPS Hosting

Local hosting is free but only runs while the computer is on; a VPS costs about $5 to $10 a month, runs 24/7, and scales to multiple agents, which is why the presenter chooses it.

  • Local: no extra cost beyond existing hardware, but the agent is off whenever the computer is closed or asleep.
  • VPS (virtual private server): 5to5 to 10 per month, always on, does not use the user's computer resources.
  • Local flexibility is low unless the user is technical or has spare computers.
  • VPS allows multiple agents and is easier to scale; setup is slightly more complex but guided step by step.
  • The presenter says setup is a one-time process.

Deploying on Hostinger VPS

The presenter deploys Hermes on a Hostinger VPS with a one-click install, selecting the KVM2 plan and a 12-month term, then runs the Hermes setup wizard in the web terminal.

  • Hostinger is the video sponsor, and its plans start at 8.99permonth;the24−monthtermisabout8.99 per month; the 24-month term is about 9 per month and saves $372.
  • Recommended plan: KVM2, described as sufficient for multiple agents.
  • The presenter recommends the 12-month plan and a coupon code, AI Foundations, which gives an extra 10% off; the code is in the description.
  • A daily auto backup add-on costs an extra $6 per month and is optional at first.
  • Deployment takes about 5 minutes; the dashboard's Hermes Agent configuration screen has a deploy button.
  • Verify success by opening Docker Manager, then Projects, and confirming Hermes Agent appears.
  • Open the web terminal from the Access section and type 'hermes setup'.
  • Choose quick setup rather than full setup.

Choosing a Model and API Key

The presenter configures OpenRouter as the inference provider, uses Kimi K2.6 as the default model, and creates an API key with a $25 credit limit.

  • Choose an inference provider; OpenRouter is recommended for access to nearly every model with one API key.
  • Hermes can use an OpenAI or ChatGPT subscription, which avoids extra inference cost.
  • Loading credits can start at about 5;thepresentersetsa5; the presenter sets a 25 credit limit on the key.
  • Keep the API key secret; the presenter says he will rotate it after the video.
  • Secrets are pasted into the terminal without being displayed.
  • Default model: Kimi K2.6, described as similar to Claude but about 10x cheaper; Opus 4.7 and GPT 5.5 Pro are mentioned as expensive options.

Connecting Telegram

The presenter connects Hermes to Telegram by creating a bot with BotFather, restricting access with a Telegram user ID, and setting a home channel for cron job results.

  • Supported messaging platforms include Microsoft Teams, Google Chat, Matrix, Slack, Discord, WhatsApp, Signal, email, and SMS; Telegram is recommended as easiest.
  • Create the bot in Telegram with BotFather: choose 'create a new bot', give it a display name (example: Drake PA) and a unique username (example: Drake PA bot), then copy the access token.
  • Paste the Telegram bot token into the setup wizard.
  • Find your Telegram user ID with the 'user info' bot by sending /start; this ID restricts access to you only.
  • Set the home channel to your user ID; Hermes delivers cron job results there.

Running the Gateway and Core Commands

The presenter launches the Hermes CLI, checks its tools and commands, and starts the gateway so the agent runs 24/7 and can be reached through Telegram.

  • Launch the chat with 'hermes'; the CLI lists the available tools.
  • Test with the prompt 'What model are you using?'; the reply was Moonshot Kimi K2.6 via OpenRouter.
  • /help lists all commands; examples include /background (run prompts in background), /agents (show active agents and tasks), /q (queue a prompt for the next turn), and /goal (set a standing goal across turns).
  • Hermes ships with 85 pre-installed skills.
  • Start the gateway by typing /gateway in the CLI, then pressing Ctrl+C to exit to the terminal and running the command shown there, which starts the Hermes gateway for messaging.
  • The presenter notes the web CLI can glitch; restart by reopening the terminal from Hostinger and typing hermes again.
  • Once connected, Telegram shows a typing indicator when the agent is online.

Training Hermes Through Telegram

The presenter gives Hermes personal documents (a voice rulebook and a POV document) so it can learn his writing style and beliefs, then sets it up as a second-brain personal assistant.

  • Documents uploaded: a voice MD (banned word list, writing guidelines) and a POV MD (beliefs, hot takes, contrarian views).
  • The documents were created by having Claude interview the presenter; the process took about an hour.
  • Other topics he mentions but does not upload include faith, routines, success, AI, creativity, education, and life stories.
  • Hermes is asked to become a personal assistant that creates Google Calendar events and sets reminders.

Live Example: Automated Blog Workflow

The presenter demonstrates a live production workflow in which Hermes creates blog posts from new YouTube videos, monitors analytics through Plausible, and revises drafts using feedback.

  • Hermes checks the YouTube channel for new uploads, writes a blog post for each, publishes it, and reviews analytics.
  • Analytics are tracked with Plausible, which the presenter installed on the live site.
  • A simple admin dashboard has draft, revise, drafted, and approved sections; revisions are picked up within about 5 minutes.
  • Revision example: the presenter rejected a 'Stop doing X' title pattern as overrated and AI-sounding; Hermes returned a updated title.
  • Hermes sends Telegram notifications and can check revisions on demand.
  • Approved posts feed back into Hermes's learning.