~6m28:35Hermes Agent Full Tutorial for Beginners | Setup Guide
Apr 23, 2026
Read: ~6m · You save: 23 min
Hermes Agent Full Tutorial for Beginners: Setup Guide
Learn to set up Hermes Agent, a self-improving AI assistant, on a VPS, connect it to Telegram, add web search, voice, and scheduled tasks.
Hermes Agent is an AI agent platform developed by Nous Research. It competes with OpenClaw. This guide covers what Hermes Agent does, how it differs from OpenClaw, how to deploy and configure it, and how to connect it to Telegram, web search, voice, and scheduled tasks.
Overview
Hermes Agent is a self-improving AI agent. It is described as the only agent with a built-in learning loop. The agent:
- Creates skills from experience.
- Improves skills during use.
- Nudges itself to persist knowledge.
- Builds a deepening model of the user across sessions.
- Creates new scheduled tasks.
- Updates its memories to keep track of information.
Because of this learning loop, the agent improves with use. The source contrasts this with OpenClaw, whose performance can decline over time depending on how its memory system is configured.
Hermes Agent compared with OpenClaw
OpenClaw is more suitable for setups with multiple channels connected to multiple agents, and for highly advanced use cases. Hermes Agent is more suitable for a single primary agent that the user chats with and that provides reminders and task support.
Capabilities and Security Risks
Hermes Agent has access to the full computer. It can open a browser, run terminal commands, delete files, and create directories. Its access requires careful security management.
Recommended deployment environment
- Preferred: A virtual private server (VPS). A VPS is inexpensive, disposable, easy to set up, and runs continuously. It also avoids risks to physical hardware, including power outages, fire, and theft.
- Alternative: A Mac Mini or personal laptop. The device must be dedicated to the agent. It must not connect to sensitive data, including credit cards and passwords.
- Local models: Running local models generally requires your own hardware. This option costs more to set up.
Account and access safeguards
- Do not connect the agent to primary accounts, such as a main email account or a main Google Drive.
- Use separate accounts for the agent.
- Do not connect the agent to the open internet without controls over the skills it can load.
- Skills pulled from a public skill hub can be malicious.
- Reported incidents include bots that deleted an entire Google Drive after making mistakes.
Deployment
Option 1: One-click VPS deployment
Many VPS providers offer one-click installation templates for popular AI agent frameworks, including Hermes Agent. The template deploys a Hermes Agent instance with setup complete.
- Select a VPS plan.
- Select a server location.
- Deploy the server.
- Record the admin password shown on the deployment page, or retrieve it later.
The VPS starts several Docker containers. The Hermes Agent runs inside a Docker container to isolate it on the server. Users do not need to understand Docker or connect to the server over SSH.
Option 2: Manual installation
For Linux, macOS, or Windows Subsystem for Linux (WSL), run the manual curl installation command from the official documentation. For Android with Termux, run the Termux command from the same documentation.
After installation, the interactive configuration flow appears. It matches the flow in a VPS deployment.
Accessing the Web Dashboard
- Open the deployed VPS in the provider's Docker manager and select Open. If the page does not load, open the Docker Manager and select Open there.
- Enter the username and password.
- The default username is
Hermesunless it was changed. - To find the password, open Manage, go to Environment, and copy the admin password.
- The default username is
- Do not share the URL and credentials. The URL is publicly accessible, and anyone with the credentials can access the bot.
The dashboard provides a web-based interactive terminal. It matches the terminal experience on a local installation.
Initial Configuration
Step 1: Select a model provider
- Select Quick Setup.
- Choose a model provider. At least one provider is required.
- For this guide, select OpenAI Codex. The source describes it as the most cost-effective option of those tested. The source also mentions Minimax models as cost-effective.
- Sign in using the device-code flow:
- Copy the URL provided by the setup.
- Open the URL in a browser.
- Enter the code shown in the terminal.
- Return to the terminal. The setup confirms the sign-in.
- Select the model. The source uses GPT-5.4 and describes it as the current best model.
Step 2: Set up messaging
Messaging platforms include Telegram, Slack, and Discord. Telegram is recommended for beginners. Slack and Discord require creating a bot in each platform, which involves more steps.
To enable a platform, press the Space key on the platform name, then press Enter. The Space key must be pressed first.
Create a Telegram bot
- Open Telegram on a computer or phone.
- Search for BotFather. Select the account with the blue verification check mark.
- In the message tab, send
/newbot. - Enter a display name. The display name does not need to be unique. It appears in chats.
- Enter a username. The username must be unique across Telegram and must end in
_bot. - Copy the bot token that BotFather returns.
- Paste the token at the Telegram bot token prompt. The field shows no output when pasted. Press Enter.
Restrict access to the bot
Enter at least one allowed user ID. Without a user ID, the bot remains open, and anyone can message it.
To find your user ID:
- Search Telegram for user info bot. Select the bot with the blue crown icon.
- Send
/start. The bot returns your user ID. - Paste the ID at the prompt.
To allow additional users, separate their IDs with commas. Each user must send /start to the user info bot to obtain an ID.
When asked whether to use the user ID as the home channel, select Yes.
Step 3: Test the setup in the terminal user interface
The setup can launch the terminal user interface (TUI) automatically.
- Enter a test message, such as
hello world. - Confirm that the agent responds. A response confirms that the setup works.
Useful commands
/new: Starts a new session./reset: Resets the session./clear: Clears the session.- Default install includes about 100 slash commands.
Exit and restart
- Press Control + C to exit the TUI. Press both keys at the same time.
- To return to the TUI, run
hermes.
Step 4: Run the messaging gateway
Telegram messages reach the agent only when the gateway is running.
- Exit the TUI with Control + C.
- In the main terminal, run
hermes gateway. - In Telegram, open the bot and press Start. The first attempt may show no response because the gateway was not running.
- Send a test message, such as
hello. The bot shows a typing indicator and then replies.
If the gateway stops, the bot stops responding in Telegram. Restart it with hermes gateway.
Managing configuration
- To change messaging platforms, models, tools, agent settings, or provider settings, run
hermes setup. - To add a platform, select it in the setup menu and press Space.
- To exit setup without changes, press Escape.
Diagnostics
Run hermes doctor when the agent stops responding or behaves incorrectly. The command checks all configuration files and lists issues with fixes. Users can give this output to an AI assistant for troubleshooting.
In the example, the check reported that all items were fine, with one missing file. It also listed tools that were not configured, including Docker and browser tools. It noted missing capabilities for reinforcement learning, certain messaging types, and web search.
Skills
A skill is a repeatable workflow that the agent references when it performs a specific task. The agent sees only each skill's name and description. It loads the full skill content only when it decides to use that skill.
Skills make agent behavior more consistent. Without a skill, the agent must infer the process each time. Hermes Agent can create and improve skills automatically. Users can also add skills manually.
Built-in skills
Hermes Agent includes a list of built-in skills. The list is available on the Hermes Agent website under Skills, then Built-in. Examples include YouTube content creation, outline creation, Weights & Biases, Unsloth, and Notion.
Some built-in skills require API keys or additional setup. Others work without configuration.
Skill hub
A skill hub allows the agent to download and use skills created by others. The source does not recommend this approach because downloaded skills may be malicious. Instead:
- Identify the required skill.
- Ask the agent to create it.
Adding a skill manually
Example: adding the Firecrawl skill.
- Copy the skill definition from the Firecrawl website.
- In Telegram, send a message that requests the skill, followed by the skill content. For example: "Hi, I want to add the following skill. Please create it for me."
- Confirm that the agent reports the skill as created.
Web Search with Firecrawl
Firecrawl provides web browsing for the agent. Other browsing options include Browser Use, Browserbase, and a local browser on a physical device. Firecrawl is the easiest option to configure and is suitable for initial setup. The source recommends paid or more complex options only when needed.
Setup
-
Create a free Firecrawl account.
-
Select Hand it to my AI Agent.
-
Continue and copy the API key.
-
In the Hermes Agent terminal, run:
hermes config set firecrawl_api_key <your-key>The variable name must match exactly:
firecrawl_api_key. -
Copy the Firecrawl skill definition, which is available as
skill.mdon the Firecrawl website. -
Accept the terms and select the free plan. No subscription is required.
-
Start the gateway with
hermes gateway. -
Send the skill to the agent in Telegram and ask it to create the skill.
Verification
Send a search request, such as "Do a quick search for Tech With Tim and give me the first result." The source reports that the agent returned the channel's YouTube page as the first result, confirming that web search works.
Voice Messages
Voice mode allows users to send voice messages in Telegram and receive voice responses.
Installation
- In the Hermes Agent documentation, go to Features, then Media and Web, then Voice Mode.
- Copy the installation command. The source lists
pip install hermes-agent[all]. - Ask the agent to run the command in Telegram. Include an instruction to install any missing dependencies if the command fails.
System dependencies
Install system dependencies with the commands listed in the documentation for the operating system:
- macOS: use the macOS commands.
- Ubuntu or Debian: use the Ubuntu/Debian commands.
Run the commands directly in a terminal or send them to the agent to run. Installation can take a while.
Voice providers
- Default: Local models are used for speech-to-text and text-to-speech. They are free, fast, and require no additional keys.
- Alternatives: Eleven Labs (paid) and Groq or OpenAI tools. These require API keys and environment variable configuration.
The documentation lists many additional settings for speech, text, and delay patterns.
Testing
- In Telegram, select the voice icon and record a message.
- Wait for processing. Voice messages take longer than text messages.
- Confirm that the agent transcribes the message and replies with a voice message.
The source reports a successful test: the agent transcribed the message and returned a voice response.
Scheduled Tasks (Cron Jobs)
Scheduled tasks allow the agent to run actions at set times or in response to events. Users can schedule reminders, research tasks, and summaries.
Example tasks
- Every Friday at 2:00 p.m.: remind the user to go to the gym.
- Every morning: research AI and provide the three top trending topics.
- Every day: retrieve a morning briefing summary from a shared Google Drive folder and summarize it.
Responding to Slack messages or webhook events is possible but more complex to configure.
Creating a daily briefing
- Ask the agent to research the top three trending AI topics and provide a concise summary.
- Review the output. Request changes to the format if needed. Templates can standardize output.
- Ask the agent to run the task every day at a specific time. In the example, the time is 9:04 a.m.
- Set the time zone when prompted. The example uses US Eastern Time.
The agent creates a cron job automatically. A cron job is a repeatable task that runs at a set interval, such as every hour, every five hours, every Tuesday, or every Monday at 9:00 a.m.
Manual cron commands
The tutorial section of the documentation lists the /cron add command. It requires a schedule pattern and a prompt. Creating jobs through natural-language requests to the agent is simpler and does not require manual command entry.
Memory and Session History
- The agent saves memory artifacts by default.
- The agent overrides outdated memories when needed.
- The agent keeps a full session history. It can recall past messages when instructed to do so.
Integrations
The agent can connect to external services, including Notion, Google Drive, and Facebook Ads. These integrations are more advanced and require individual configuration. This guide does not cover them.
Summary of Setup
The steps in this guide provide the required base configuration. The remaining value comes from:
- Assigning tasks that are useful to the user.
- Using the agent regularly, since it improves through use.
- Limiting access to sensitive accounts and data.
What Hermes Agent Is
Hermes Agent is a self-improving AI agent by Nous Research. It differs from Open Claw mainly through its built-in learning loop, which creates skills and persists memory over time.
- Described as a self-improving AI agent built by Nous Research
- Presented as the only agent with a built-in learning loop
- Automatically creates skills, creates scheduled tasks, and keeps updating memories
- Claims it creates skills from experience, improves them during use, nudges itself to persist knowledge, and builds a deepening model of who you are across sessions
- Open Claw may suit multiple channels and multiple agents; Hermes is recommended for one primary agent
- Agent has full computer access: browser, terminal commands, file deletion, directory creation
Choosing and Deploying a Server
The presenter recommends running the agent on a dedicated device, ideally a cheap virtual private server, and shows deployment via Hostinger's one-click install.
- Recommends a dedicated hardware device, preferably a VPS, rather than a personal device with sensitive data
- VPS advantages: cheap, disposable, easy to set up, runs 24/7, avoids power outages, fire, theft
- Local options include a Mac Mini or laptop if using a separate device without credit cards or passwords
- Local models are better on own hardware but more expensive to set up
- Hostinger is used with a long-term partnership; plan KVM 2 recommended
- Plan duration 24 months; discount code TechWithTim gives an additional 10% off for at least 12 months
- Server location chosen: United States
- Manual install uses a curl command from the documentation on Linux, Mac, or WSL; Android/Termux uses a separate command
Accessing the Dashboard and Quick Setup
After deployment, the dashboard is accessed via Docker Manager with default username Hermes and the admin password found under manage and environment settings. Publicly exposed URLs risk unauthorized access.
- Access via Docker Manager, then press open
- Default username is Hermes unless changed
- Admin password found under manage, then environment
- Sharing URL and credentials lets others access the bot
- Quick setup selects a model provider; at least one must be chosen
Choosing and Signing In to a Model Provider
The model is configured with OpenAI Codex, signing in via a URL and code. GPT-5.4 is selected as the current best model; Minimax is mentioned as a cost-effective alternative.
- Presenter uses OpenAI Codex, described as the most cost-effective, with a $200 per month plan
- Sign-in via copying the URL into a browser and pasting the code
- Model selected with arrow keys: GPT-5.4
- Minimax models are noted as also cost-effective
Setting Up Telegram Messaging
Telegram is recommended for beginners. A bot is created through BotFather, its token is pasted into Hermes, and allowed user IDs are set to restrict access.
- Telegram recommended over Slack and Discord, which are more complex
- Press space then enter to select Telegram
- Use BotFather with blue check mark, send /newbot
- Bot needs a display name and a unique username ending in _bot
- Paste the bot token; no output appears when pasting
- At least one allowed user ID must be set, otherwise anyone can message the bot
- User ID is found by messaging the user info bot with /start
- Multiple user IDs are comma-separated
- Confirm yes to use the user ID as the home channel
Testing the Agent and Using the Gateway
Testing uses the terminal user interface (TUI). Useful commands include /new, /reset, and /clear, with about a hundred default commands. The gateway must run for Telegram messages to work.
- Launch TUI by answering yes; test with 'hello world'
- Commands include /new, /reset, /clear, roughly 100 by default
- Exit with Control C; rerun with Hermes to return to the TUI
- Run 'Hermes gateway' in the main terminal to enable Telegram messaging
- Stopping the gateway with Control C disables Telegram access
- Channels command isn't correct; 'Hermes setup' changes messaging, tools, agent, model, provider settings
Diagnostics, Skills, and Security
The hermes doctor command checks configuration and reports issues. Skills are repeatable workflows the agent loads on demand. Security warnings advise separate accounts and vetting skills from the skill hub.
- 'Hermes doctor' checks configuration files and reports issues to fix
- Missing items include Docker, browser tools, reinforcement learning, messaging, and web search
- Built-in skills listed on the Hermes agent website under Skills, Built-in
- Skills appear to the agent only as name and description until used
- Presenter does not recommend the skill hub due to malicious skill risk
- Give the bot separate accounts; do not connect it to main email or Google Drive
- Reports exist of bots deleting entire Google Drives
Adding Web Search with Firecrawl
Firecrawl is added for web search. The API key is set with the command 'hermes config set firecrawl_api_key', and the Firecrawl skill is created by sending its skill.md content to the bot.
- Firecrawl free account; click 'Hand it to my AI Agent' and copy the API key
- Command: Hermes config set firecrawl_api_key, followed by the pasted key
- Variable name must be spelled exactly firecrawl_api_key
- Other browsing options include Browser Use, Browserbase, and local browsers
- Firecrawl recommended as easiest to set up
- Skill.md copied from Firecrawl and sent to the bot to create the skill
- Test: search for Tech With Tim and return the first result, which was the YouTube channel
Enabling Voice Messages
Voice is enabled by having the bot install the Hermes voice package and system dependencies, then testing with a Telegram voice message. By default it uses free local models, though services like Eleven Labs can be configured.
- Install command: pip install Hermes Agent all, executed by the bot
- System dependencies differ for Mac and Ubuntu/Debian
- Default voice processing uses free local models; Eleven Labs requires payment
- Groq or OpenAI keys can be configured for voice tools
- Voice message test: bot transcribed and responded with voice
- Presenter uses Whisper Flow for dictation, described as free
Scheduling Cron Jobs
Cron jobs let the agent run tasks on a schedule. The presenter sets a daily 9:04 a.m. AI trending topics briefing, with the time zone set to US Eastern Time.
- Cron jobs are repeatable tasks run at set intervals
- Example tasks: Friday 2:00 p.m. gym reminder; daily AI research with top three trending topics
- Daily briefing set for 9:04 a.m., with time zone US Eastern (EST)
- Command /cron add is available but the bot can set it up by request
- Connecting to Notion, Google Drive, or Facebook Ads is planned for a future video
Wrap-up
The presenter concludes that the setup covers about 90% of what is needed. Ongoing use lets the agent self-improve, build skills, and persist memory and session history.
- Setup is described as getting 90% of the way there
- Agent self-improves by building skills and improving memory
- Memory artifacts are saved by default and old memories are overridden when needed
- Full session history allows recall of past conversations