~7m33:48Hermes Agent Tutorial for Beginners (Full Step-by-Step Setup)
May 28, 2026
Read: ~8m · You save: 26 min
Hermes Agent Tutorial for Beginners (Full Step-by-Step Setup)
Set up your own always-on AI agent on a cloud server, chat with it from Telegram, teach it reusable skills, and schedule tasks that run while you sleep.
Overview
This guide describes how to deploy Hermes Agent on a small cloud server, connect it to Telegram, add reusable skills, schedule recurring jobs, and control access and costs. The procedure requires no coding experience. It requires only the ability to copy and paste commands.
What Hermes Agent Is
Hermes Agent is a free, open-source AI agent developed by Nous Research. It functions as a personal AI assistant that runs on the user's own server and communicates through existing chat applications. It differs from a standard chatbot in three ways:
- Continuous operation: Hermes runs at all times. It can send messages without a user prompt and perform work on a schedule. A standard chatbot responds only when the user opens the application.
- Persistent memory: Hermes retains user facts and working preferences across conversations and builds a profile of the user over time.
- Self-created skills: When given a complex task, Hermes saves the steps as a reusable skill. Repeated use makes its workflows faster and more consistent.
Users of OpenClaw can switch to Hermes. Hermes offers stronger memory, a skill system, and tighter security. It can import an existing OpenClaw setup with one command.
Deployment Options
Hermes can run on three types of hardware:
| Option | Description | Limitation |
|---|---|---|
| Personal laptop | Local machine | Stops operating when the laptop sleeps |
| Spare always-on machine | Desktop or small home server | Requires ownership of the hardware and manual management of networking and updates |
| Virtual private server (VPS) | Small computer in the cloud | Costs under $10 per month |
This guide uses a VPS. Telegram messages, scheduled jobs, and proactive agent messages function only while Hermes is running. A VPS keeps Hermes running continuously and removes the hardware and networking management burden. The official Hermes documentation describes a local installation path.
Step 1: Provision a VPS
This guide uses Hostinger as the VPS provider. Hostinger offers a plan with Hermes Agent preselected for automatic installation.
- Open the Hermes Agent VPS page and select Choose Plan.
- Select the KVM 2 plan. It includes:
- 2 CPU cores
- 8 GB of memory
- 100 GB of storage
- Do not select the smallest plan. Hermes runs skills that browse the web, and the agent runs inside a Docker container for safety. These processes require the resources of KVM 2. The smaller plan can run Hermes but may slow or freeze when both processes run together. Hostinger recommends KVM 2 for Hermes.
- In the cart, select a registration period of 1, 12, or 24 months. The 24-month term provides the lowest monthly price. The 12-month term is the shortest term that qualifies for promotional pricing.
- Confirm that the Hermes Agent auto-deployment option is selected.
- Select a server location. Choose the location closest to the user or the location with the lowest latency. In the example, a Boston, United States location returned 8 milliseconds of latency.
- Optionally enable daily automatic backups. The default is weekly backups.
- Select Continue, register an account, enter billing details, and complete checkout. Hostinger offers a 30-day money-back guarantee.
Step 2: Configure Admin Credentials and Deploy
- On the setup form, keep the default admin username, Hermes, or change it.
- Keep the generated secure password or create a custom password.
- Reveal the password using the eye icon.
- Save the username and password in a secure location. These credentials provide access to the agent.
- Select Deploy.
Hostinger builds the server and installs Hermes. The process takes several minutes. After deployment, the Hostinger dashboard opens. A survey and pop-up windows may appear. These can be skipped or dismissed.
The Hostinger Docker Manager displays the Hermes Agent running in a Docker project. A reverse proxy provides secure web access to the agent.
Step 3: Open the Server Terminal
A terminal is a text-based window in which commands are typed. Hostinger provides a browser-based terminal, so no additional software is required.
-
Copy the last four characters of the Docker project name. The project name follows the format
hermes-agent-XXXX. -
Select Terminal in the upper-right corner of the dashboard. A new tab opens and signs the user in automatically.
-
Confirm that the cursor is flashing. If it is not, click the terminal screen.
-
Enter the following command, replacing the placeholder with the four copied characters, and press Enter:
cd /docker/hermes-agent-XXXX
This command directs subsequent commands to the Hermes application rather than the general VPS environment.
Step 4: Access the Hermes Container and Start Setup
-
Enter the following command and press Enter:
docker compose exec -it hermes-agent /bin/bash -
Start the setup wizard:
hermes setup
The wizard runs the first time the agent starts. It asks for:
- an AI provider
- a default AI model
- a messaging platform
Select quick setup. Press Enter to accept the preselected option.
Step 5: Configure the AI Provider
A provider is the company that operates the AI model the agent uses. This guide uses OpenRouter, which provides access to many AI models through one account and one bill. Users can switch models later without creating new accounts.
- In the wizard, use the up and down arrow keys to select OpenRouter. Press Enter.
- Leave the terminal open and open a browser tab to openrouter.ai.
- Select Sign Up in the upper-right corner and create an account or sign in.
- Verify the email address. Open the verification email with the subject "Your signup link" and select Sign up to OpenRouter.
- Complete the onboarding survey and confirm the account.
- Add credits. Select Buy Credits, then Add Credits. Enter billing information and a payment method. The default amount is $10, which is sufficient to begin. Select Purchase and confirm the transaction.
- Create an API key. Select API Keys on the left side, then New Key in the upper-right corner. Enter a name, such as "Hermes Agent."
- Optionally set a credit limit, which functions as a spending cap. The limit can reset daily, weekly, or monthly, and the key can have an expiration date.
- Select Create. The key begins with
sk.
Important: The API key is shown only once. Copy it and store it securely. A key that is not copied must be replaced by creating a new key. Treat the key as a password and do not share it.
- Return to the terminal and paste the API key. The terminal does not display pasted text. Press Enter. The terminal confirms that the key is saved.
Step 6: Select the Default AI Model
A model is the AI system the agent uses for reasoning. Models differ in capability and cost.
The guide recommends DeepSeek-V4 for a first setup. It costs approximately 0.87 per million output tokens. It performs reliably on multi-step agent tasks.
Avoid the following models for agent use:
- GPT-5.4 mini: Struggles with the tool calls Hermes requires.
- Reasoning versions of Qwen3.x with thinking tags enabled: Tend to avoid using tools.
Select DeepSeek with the arrow keys and press Enter. The model can be changed later.
Step 7: Configure the Terminal Backend
When the wizard asks for a terminal backend, keep the default, Local, and press Enter.
Step 8: Connect Telegram
Hermes supports Telegram, Discord, Slack, WhatsApp, and other platforms. This guide uses Telegram because it is free, quick to configure, and available on phones and computers.
Create a Telegram Bot
A Telegram bot is an account controlled by software. Hermes uses the bot to send and receive messages.
- In the wizard, enter
1to select Telegram and press Enter. Press Enter again to confirm. The wizard requests a bot token. - Install Telegram on a phone or computer if it is not already installed. Sign in.
- Search for BotFather or open the verified BotFather chat. Select Start.
- Send the command
/newbot. - Enter a display name for the bot, for example "MattHermesBot."
- Enter a username for the bot. The username must be unique across Telegram and must end in "bot." For example, "MattHermesWonderBot."
- BotFather confirms creation and provides a token. The token is a long string that grants access to the Telegram HTTP API. Copy it.
Note: Do not reuse a bot token from another agent, such as OpenClaw. Two agents using the same token interfere with each other, and neither functions correctly. Create a new bot for Hermes.
- Return to the terminal, paste the token, and press Enter. The wizard confirms the token.
Restrict Access to the Bot
Without access controls, any user who finds the bot username can send messages and consume AI credits. Limit access to the user's own Telegram account.
- Search for UserInfoBot in Telegram and select Start. The bot returns the user's Telegram user ID.
- Copy the ID.
- Return to the terminal, paste the ID, and press Enter.
Set the Home Channel
The home channel receives scheduled job results and messages that Hermes sends on its own.
- When the wizard asks whether to set this ID as the home channel, enter
Yand press Enter. - The wizard displays a setup summary. The summary lists tool availability, the location of settings files, and helpful commands.
Step 9: Launch the Hermes Chat Interface and Start the Gateway
-
Launch the chat interface:
hermesThe interface displays the active model, tools, and installed skills.
-
The gateway receives Telegram messages and passes them to the agent. Install the gateway:
hermes gateway install -
Start the gateway:
hermes gateway run
The first start may produce a permission error. The gateway is configured to run as the Hermes user for security, but the session runs as root. The agent output provides three remedies. The simplest is to run the gateway as the Hermes user. Copy the command from the output and paste it into the terminal, or use the following command:
sudo -u hermes /opt/hermes/.venv/bin/hermes gateway run
When the gateway is running, the terminal confirms that it is live. The terminal can then be closed, and the agent remains accessible through Telegram.
Step 10: Send the First Message
-
In Telegram, open the bot. Search for its username or open the bot from the BotFather chat.
-
Select Start. The message "Unknown command" is expected. Hermes does not use a built-in /start command.
-
Send an initial context message, for example:
"You're running on a Hostinger VPS inside Docker. Tell me what tools and skills you currently have available."
The agent displays a typing indicator while it processes the request, then replies with a list of its skills and available tools.
Troubleshooting
If the agent does not respond, check the three most common causes:
- The API key was not pasted correctly.
- The Telegram user ID is missing from the allow list.
- The gateway did not start correctly.
To diagnose the issue, return to the terminal and run:
hermes doctor
The command checks the setup and identifies problems. If it does not identify the cause, run hermes setup again and complete the wizard.
Skills
A skill is a saved workflow that the agent can run independently. Some skills are built in. Others are created when the user asks the agent to perform a complex task. The agent saves the steps so it can repeat the workflow without reasoning through it again.
Example: Competitor Research
The example workflow researches the top five YouTube videos ranking for a search term, saves the results to a file, and identifies content gaps.
The following prompt initiated the workflow:
"Find the top five YouTube videos ranking right now for 'email marketing tutorial for beginners.' For each one, save the title, channel, and what it covers to a file. Then tell me which gaps you noticed."
The agent selected the youtube-content skill. It installed Chrome, which was not previously installed, and completed the research in one to two minutes. It returned a summary and saved the file to:
/opt/data/email-marketing-top5-youtube.md
The file is a Markdown text file on the user's server. It persists across conversations.
The agent's findings included five videos from Alex Hormozi, HubSpot Marketing, the Metics Media channel (the author's channel), Jade Beason, and LYFE Marketing. It identified topics that were not covered and provided reasons the gaps matter.
If the agent lacks the tools to complete a task, it reports the limitation and proposes options.
Saving the Workflow as a Skill
To reuse the workflow with any search term, the user can instruct the agent to save it:
"Save that workflow as a skill called competitor-watch. From now on, when I give you a search term, find the top five YouTube videos, save the same info to the file, and call out the gaps."
The agent confirmed the skill and described its trigger. The skill includes four steps and a reusable Python script. Example trigger: "SEO tips for SaaS."
Security note: Skills written by the agent from the user's own work are safe by default. Before installing a skill written by another person, Hermes scans it for unsafe code. Install skills only from trusted sources.
Memory
The agent stores information about the user and applies it to future tasks.
The following preference was stored in the example:
"Remember that I make YouTube tutorial videos about software, mostly for complete beginners. When you analyse gaps in competitor research, frame them in terms of what would help a complete beginner specifically."
To verify stored memory, ask:
"What do you remember about me?"
The agent listed the stored information, including the user's name, the niche, the gap analysis preference, and the deployment details: Hermes Agent, Hostinger VPS, and Telegram. Future research tasks use this context. The agent accumulates more context over time, which reduces the need to repeat instructions.
Scheduled Jobs
Scheduled jobs, also called cron jobs, run tasks at specified times. Jobs run without user input and without the user's computer being on. Results are sent to Telegram. Users describe the job in plain language. No code or schedule syntax is required.
Example: Weekly Competitor Watch
The following instruction schedules the research workflow:
"Every Monday at 9:00 AM, run my competitor-watch skill on three search terms. 'Email marketing tutorial for beginners,' 'WordPress tutorial for beginners,' and 'SEO tutorial for beginners.' Send me a summary on Telegram with the gaps that stood out."
The agent confirmed the schedule and displayed the next run time. It asked for the time zone. The user specified US Central Time, and the agent updated the job to run at 9:00 AM Central. Future jobs use the saved time zone by default.
To list scheduled jobs, ask:
"Show me my scheduled jobs."
To run a job immediately and review its output, ask:
"Run that full job now."
If the output format is not suitable, instruct the agent to adjust it. The agent applies the changes to future runs.
The result of this configuration is the following:
- Every Monday at 9:00 AM, Hermes researches three topics independently.
- Findings are saved to a file on the server, and the file grows each week.
- A summary is sent to Telegram.
- The task uses DeepSeek, the model selected during setup.
Multiple jobs can run concurrently. Examples include a morning brief, a weekly report, or a price check. The agent can schedule any task that can be described in a sentence.
Cost Management
Two locations show costs:
- OpenRouter: The API Keys page shows usage for each key. The Activity page, located under Account on the left side, shows current spending, request count, and total token usage. The default view groups data by hour. Other time periods are available.
- Hostinger dashboard: Select the profile icon in the upper-right corner, then Billing. The Billing page shows past invoices, upcoming subscriptions, and the renewal price, which applies after the introductory term.
Model Selection
The AI model is the largest factor in AI usage costs. DeepSeek-V4 is a low-cost, reliable option. To change models during a session, send /model in Telegram. Select OpenRouter to view available models. More capable models, such as Claude Opus 4.7, offer greater reasoning power at higher cost.
Scheduled jobs can specify different models. Routine tasks can use a low-cost model, while complex tasks can use a higher-capability model.
During initial setup, check the OpenRouter Activity page every few days to monitor usage and adjust models before costs increase.
Use Cases
The research workflow is one example. To identify other uses, ask the agent:
"What kind of tasks are you good for?"
The agent's response listed the following strengths:
- Hands-on execution
- Long-running background work
- Scheduled recurring tasks
- Code generation and editing
- Research and synthesis
- Memory across sessions
The agent also identified tasks it is not designed to perform.
What Hermes Agent Is
Hermes Agent is a free, open-source AI agent by Nous Research that runs on your own server, messages you proactively, remembers how you work, and writes reusable skills.
- Hermes Agent is a free open-source AI agent made by Nous Research.
- Unlike a regular chatbot, it runs all the time, can message first, and can work on a schedule.
- It remembers the way you like things done across conversations.
- It writes its own skills by saving steps from complex tasks and reusing them.
- Hermes can import an existing OpenClaw setup with one command.
Where to Run Hermes: Why a VPS
A VPS (cloud server) is recommended because Hermes features only work while the agent is running, and laptops sleep while spare home machines require the user to manage networking and updates.
- Three hosting options: a personal laptop, a spare always-on machine or home server, or a VPS.
- A laptop fails because it goes to sleep.
- A spare machine requires owning hardware and handling networking and updates.
- The presenter states a VPS costs under $10 per month.
- The official Hermes documentation covers the local installation route.
Choosing and Deploying the Hostinger VPS
The presenter selects the KVM 2 plan on Hostinger with Hermes Agent preselected for automatic installation, choosing a 12-month term and the Boston, US server location.
- The KVM 2 plan includes 2 CPU cores, 8 GB memory, and 100 GB storage.
- KVM 2 is the plan Hostinger recommends for Hermes, and the presenter avoids the cheapest plan because browsing skills and Docker use resources.
- A 12-month term is the shortest term that works with the coupon; 1-month terms do not get the extra discount.
- The server location chosen was United States - Boston, with about 8 ms latency.
- Weekly auto-backups are the default; daily auto-backups are optional.
- Admin username defaults to Hermes with a generated secure password that must be saved and not shared.
- Deployment takes a few minutes, then the Hostinger Docker Manager shows Hermes running as a reverse proxy.
Opening the Terminal and Entering the Container
Open the browser-based Hostinger terminal, change into the Hermes project directory using the four-character suffix of the Docker project name, and enter the Hermes container with docker compose exec.
- Open the Terminal button in the upper right of the Hostinger dashboard.
- Copy the last four characters of the Docker project name, which starts with hermes-agent.
- Run: cd /docker/hermes-agent- followed by the four characters, then press Enter.
- Run: docker compose exec -it hermes-agent /bin/bash to access the container.
- The terminal is a text-based window where precise commands are typed, not clicked.
Running the Setup Wizard and Choosing AI Provider and Model
Run hermes setup to start the quick setup wizard, choose OpenRouter as the AI provider, paste the API key, and select DeepSeek-V4 as the default model.
- Run hermes setup and choose the quick setup option.
- A provider is the company that runs the AI model; over 20 options exist.
- OpenRouter was chosen for access to many models with a single account and bill.
- Sign up on openrouter.ai, verify email, and add credits; the default purchase amount is $10.
- Create an API key under API Keys > New Key; the key starts with sk and cannot be viewed again after closing.
- An optional monthly credit limit can be set as a cost guardrail.
- Pasted API keys do not display on screen by design.
- DeepSeek-V4 is recommended for beginners at about 43 cents per million input words and 87 cents per million output words.
- Avoid GPT-5.4 mini (struggles with tool calls) and reasoning versions of Qwen3.x with thinking tags enabled (they avoid using tools).
- The terminal backend is kept as Local.
Connecting Telegram and Restricting Access
Create a Telegram bot through BotFather, paste its token into the wizard, and restrict access to your personal Telegram user ID obtained from UserInfoBot, then set it as the home channel.
- Telegram is chosen because it is free, fast to set up, and works on all devices.
- Open BotFather (verified blue check) in Telegram, press Start, and send /newbot.
- The bot name and username must be unique; the presenter used MattHermesBot and MattHermesWonderBot.
- Do not reuse a bot token from another agent such as OpenClaw, as both agents would conflict.
- Only allowed Telegram user IDs can talk to the agent, preventing others from using up AI credits.
- Use UserInfoBot in Telegram and press Start to get your user ID.
- Press Y then Enter to set the user ID as the home channel for scheduled job results.
Starting the Gateway and First Message
Launch the Hermes chat interface, install and run the gateway that bridges Telegram to the agent, resolve the root-user permission error by running as the hermes user, and send a first test message.
- Type hermes to open the chat interface, which lists model, tools, and installed skills.
- The gateway listens for Telegram messages and passes them to the agent.
- Run hermes gateway install, then hermes gateway run.
- A permission error occurs because the gateway runs as root and must run as the hermes user for safety.
- Fix command: sudo -u hermes /opt/hermes/.venv/bin/hermes gateway run.
- The Telegram 'Unknown command' reply to /start is normal because Hermes has no built-in /start command.
- Troubleshooting: check the API key paste, the allow-list user ID, and gateway status; run hermes doctor or hermes setup again.
Skills and Memory
Skills are saved workflows and memory stores user context; the presenter creates a competitor-watch skill that researches the top five YouTube videos for a search term and saves findings to a file, then saves a beginner-focused preference.
- The example task finds the top five YouTube videos for 'email marketing tutorial for beginners' and saves title, channel, and coverage.
- The agent installed Chrome itself to complete the research, taking one to two minutes.
- Output is saved to /opt/data/email-marketing-top5-youtube.md on the server.
- The skill was saved as competitor-watch and has four steps and a reusable Python script.
- Skills installed from others are scanned for unsafe code, but only trusted sources should be used.
- Memory stores preferences: the presenter makes beginner-focused software tutorial videos and wants gap analysis framed for complete beginners.
- Asking 'What do you remember about me?' returns the stored memory.
Scheduled Jobs (Cron Jobs)
Cron jobs let the agent run tasks on a schedule using plain language, such as a Monday 9:00 AM Central competitor-watch job for three search terms with results sent to Telegram.
- Scheduled jobs (cron jobs) run at chosen times even when the user is asleep or the laptop is off.
- No code or schedule syntax is required; plain language is used.
- Example job: every Monday at 9:00 AM run competitor-watch on 'Email marketing tutorial for beginners', 'WordPress tutorial for beginners', and 'SEO tutorial for beginners'.
- The agent may ask for the time zone; the presenter chose US Central Time.
- Show scheduled jobs by asking the bot; run a job immediately to review its output.
- Scheduled jobs can be stacked, such as a morning brief, weekly report, or price check.
Costs and Switching Models
Costs are monitored in the OpenRouter Activity page and the Hostinger Billing section; the AI model is the largest cost lever, and /model in Telegram switches models.
- OpenRouter API Keys page shows usage per key; the Activity page shows spend, requests, and tokens by hour by default.
- Hostinger Billing under the profile menu shows past information, upcoming subscriptions, and renewal price.
- Send /model in Telegram to switch models; OpenRouter lists available models.
- Claude Opus 4.7 is an example of a more powerful but more expensive model.
- Specific models can be assigned to specific scheduled jobs to keep routine work cheap.
- Check OpenRouter Activity every few days when starting out.
Other Uses and Wrap-Up
Ask the agent what tasks it is good for; it lists hands-on execution, background work, scheduled tasks, code generation, research, and cross-session memory.
- Strengths listed: hands-on execution, long-running background work, scheduled recurring tasks, code generation and editing, research and synthesis, and memory across sessions.
- The agent also lists tasks it is not built for.
- The best way to discover useful tasks is to ask the agent directly.