digitalcreatorai

How to Run Hermes Agent on a VPS 24/7

If you run Hermes on a laptop, closing the lid shuts the terminal and the agent stops. I tested a Bluehost VPS so the same agent can stay on 24/7, using either a cheap API model or a local open-source model that doesn’t charge per token.

In this walkthrough I pick a plan, run Hermes setup, connect Telegram, add Nous Portal and OpenRouter, then install Ollama and hook Qwen 3 4B into Hermes. I tested this so you don’t have to.

Two ways to fuel the same agent

It’s the same Hermes agent with two fuel sources. The API path rents models and you pay almost nothing per run, but you still pay for inference. The open-source path lives on the VPS, so there’s no model bill. I walked through both on one server.

The links to Bluehost are in the YouTube description and pinned comments. On the site I went to AI agents at the top. The list included general agent hosting, n8n, OpenClaw, Hermes agent hosting, Claw Code, Gator Claw, and Docker. I chose Hermes agent hosting, which is described as one-click Hermes setup on a VPS.

Pick a VPS plan and configure the server

There’s a $4.49-a-month starting option, plus NVMe 2, NVMe 4, and NVMe 8, which are enough if you only want an API connection for cheap or sometimes free models. I wanted room for a local model, so I chose NVMe 16.

After you pick a plan, you configure the server. You can use a preconfigured setup or start fresh. The data center location is set here and can’t be changed later without a new package and a migration. I left it on the United States.

Under hardware, this plan showed 16 GB of RAM and 450 GB of storage, which is what I wanted for Hermes and a local model. Software options included Hermes Agent, Hermes Agent plus Open WebUI, OpenClaw, Claw Code, Open WebUI, and WooCommerce. I left it on Hermes Agent. There are also optional extra support and security, AI credits (one API key and one bill for Claude, GPT, Gemini, Grok, and more β€” I skipped credits because I planned to use my own API connection), extra IPs, a custom hostname, and an SSH key. Billing can be monthly, or you can choose a year or two years. The checkout also showed a 30-day money-back guarantee. I continued to checkout.

A quick look at the Bluehost dashboard

After you create an account and log in, the home dashboard shows domains, hosting storage, and email, plus the advanced hosting plan you just bought. The VPS also gets an unconfigured personalized mailbox, which is useful for the agent. On the right you can buy a domain and add security products.

The left menu includes Bluehost AI (their AI store builder, which had a 14-day free trial when I recorded this) and AI agents, an all-access pass he described as ChatGPT Plus, Claude Pro, Grok, and Google AI Pro for $20 a month, which you can connect to Hermes if you want. Email is where you configure the mailbox. Domains lets you search for a name to buy.

What we need is Hosting, then My Plan, then the current VPS. In the center you’ll see disk storage, server status, the IP address, and the server image, plus reboot, power off, and open terminal.

Open the terminal and update Hermes

Click open terminal and wait a few seconds for it to boot. Enter the password you used when you created the Bluehost account. Mine came up with a welcome to Ubuntu 26.04 LTS, and Hermes was already running on the server.

The welcome text said to type hermes to get started, and to run hermes update and hermes setup for the most up-to-date experience. There’s also a root readme file if you want more detail. I ran hermes update first. It fetched the update, synced bundled skills to profiles, checked configuration, and reported that it was already up to date.

Run Hermes setup

Next I ran hermes setup. It asked how I wanted to set up Hermes:

  • Quick setup: Nous Portal, free OAuth login, no API keys, model plus tools (recommended)
  • Full setup: configure every provider, tool, and option yourself, and bring your own keys
  • Blank slate: everything off except the bare minimum, then opt in to each capability

I chose quick setup. It started a Nous Portal login and gave me a URL (and a one-time code if prompted). After that, it asked me to select a terminal backend: local (run on this machine), Docker, Modal (serverless cloud sandbox), SSH (remote machine), Daytona, or keep current, which was local. I left keep current and hit enter.

Connect Telegram and install the gateway

The next screen lets you connect a messaging platform. I set up Telegram. If you don’t have Telegram or Discord, you can arrow down and skip this and add it later after Hermes is running.

The list is long. Besides Telegram, I pointed out Google Chat, iMessage, Slack, Microsoft Teams, and WhatsApp. The point is that you can message the agent from your phone instead of opening a laptop. I highlighted Telegram and hit enter.

It then asked to install the gateway service so Hermes starts automatically at login and scheduled jobs and messaging stay available. Use the arrow keys and choose yes if you want that. I did.

There’s also a prompt about sharing data to help improve Hermes. If you want to keep things private, you can leave it on no thanks. I noted you can also opt in.

When setup finished, it said the user service was installed and enabled, and it printed next-step commands: hermes gateway start, hermes gateway status, and a journalctl command to view the Hermes gateway logs. It also said the gateway was running, so cron jobs and messaging platforms would work, but no inference provider was configured yet, so Hermes couldn’t chat until I finished setup with hermes model or hermes setup portal.

Connect free models through Nous Portal

I wanted to show the beginner path without pasting API keys yet, so I ran hermes model. The provider list included Nous Portal (300-plus models with bundled tool use), Anthropic, OpenAI, Grok, DeepSeek, OpenRouter, and Ollama Cloud, among others. I stayed on Nous Portal.

It started a portal login and gave me a link to open in the browser. I continued with Google. Back in the terminal it reported that portal setup was complete, and that I could run hermes to start chatting. When I launched Hermes, it still said no inference provider was configured and suggested Nous Portal OAuth as the fastest option, with no API key needed.

I recommend being logged into a free Nous Portal account before this step so you don’t have to bounce back and forth. I typed Y, opened the link, clicked connect, and got a Hermes is connected message. After a successful login, the terminal showed model prices for input, output, and cache, plus free models at the bottom: Solar Mini, Long Chat, Step 3.7, Beam, and Stealth. I left it on Solar Mini.

It confirmed the switch to Upstage Solar Mini (free) on the Nous Portal, with context and reasoning effort settings. The prompt box is the line that says something like β€œturn these notes into a to-do list.” A backslash opens a list of built-in commands; there were more than 50 (about 55) skills and connectors. I would scroll through them once so you know what’s there.

What I asked the free model to do

Some of those skills cover memory, tool sets, learning, cron jobs, Claude Code, Claude Design, Codex, computer use, design markdown files, GitHub, building your own skills, a humanizer, Notion, Obsidian, PDFs, pipelines, and a YouTube content skill that takes a transcript, summarizes it, and turns it into threads and blogs.

I said hello, then told it I was a content creator and asked what it could do. It answered as Solar Mini from Upstage AI and listed writing and editing, research with citations, repurposing into social posts and newsletters, docs and email, Notion and Google Workspace, YouTube transcripts, posting on X, and design artifacts such as HTML and CSS.

Add OpenRouter and Claude Haiku

To hook up a paid API, don’t type the key into the chat prompt. Scroll down to the terminal input and run hermes model again. I chose OpenRouter from the provider list.

It said no OpenRouter API key was configured and asked me to paste one, or enter to cancel. Keep keys private and set limits if you can. After I pasted the key, I picked Claude Haiku 5.5 and left the setting on medium. Hermes then reported it was running Anthropic Claude Haiku 5.5 through OpenRouter.

From there, the backslash model command lets you move through the OpenRouter models (it showed 59) and the Nous Portal models (it showed 62). You can also rotate to free models on either provider when you don’t need a top-tier one. I mentioned using a model like Haiku when I need something specific, then falling back to free models for everything else. If you want to leave a command, hit escape. Hermes also showed usage against the current token window.

Install Ollama and pull a local Qwen model

To put a local model on the VPS, I went back to the Bluehost dashboard, then Manage, Access, and opened the browser terminal again, entering the password.

Ollama is what I used to pull the model. I pasted the official install command into the terminal with Control-Shift-V (plain text) and hit enter. It started downloading Ollama. Because of the VPS size, I pulled a smaller model so it would actually run, and so I wouldn’t pay for API tokens when I used it.

The next command was ollama pull qwen 3 4b β€” the 4-billion-parameter Qwen 3 model. It pulled about 2.5 GB, then I ran ollama run qwen 3. At the send-a-message prompt I asked it to write three short video ideas about AI automation. It replied locally, and I followed up by asking it to go with idea two. When I was done, I typed /bye to end the Ollama chat.

Connect that local model to Hermes

I opened the terminal again, ran ollama list to confirm Qwen 3 4B was there, then ran hermes model. I scrolled to custom / direct API, pasted the Ollama base URL, and left the API key blank because it’s local.

It verified the endpoint and showed one visible model. For API compatibility mode I chose option 2, chat completions, then confirmed the detected mode and the detected Qwen 3 model with Y. I left context length blank, named it something like β€œlocal Qwen 3 4b,” and left context on medium.

Then I ran hermes. The main model showed as Qwen 3. A short hello and a sentence about AI automation worked, though the local model was a bit slower than an API connection, and what you can run still depends on the VPS.

Schedule work with cron so it keeps running

I asked the local model for workflow and cron examples I could run on a VPS so Hermes doesn’t sleep. It told me to use persistent background cron jobs with persist on release, so work keeps going when a session ends. Two examples it gave:

  • A daily social media image generator, scheduled for 8:00 a.m., which you could tweak to build carousels from keywords in your niche
  • An hourly podcast audio generator that turns a pre-written text file into speech with text-to-speech

The uptime tips it listed were: always use background true in cron jobs so the process isn’t killed, set persist on release, avoid heavy workloads on short intervals (for example hourly) so you don’t overload the VPS, and monitor jobs with the cron job manage list command.

From there it’s on you to explore the backslash commands and see what fits your workflow. The Bluehost links are in the video description and pinned comments if you want the same starting point I used.

Tools used

I checked the site’s post sitemap and didn’t find directory entries for Hermes, Bluehost, Nous Portal, OpenRouter, or Ollama, so these link to the official sites. There is a Claude article on the site, but it’s about an AI humanizer, not the Claude API, so I didn’t use it here.

  • Hermes Agent β€” the agent I installed and configured on the VPS. Official site: hermes-agent.nousresearch.com.
  • Bluehost β€” the VPS host I used for the 24/7 setup. Official site: bluehost.com.
  • Nous Research β€” Nous Portal is the free OAuth model provider I connected first, including Solar Mini.
  • OpenRouter β€” the API provider I used to run Claude Haiku 5.5.
  • Ollama β€” what I installed on the VPS to pull and run Qwen 3 4B locally, then attached to Hermes.

FAQ

Why use a VPS instead of a laptop?

If you close the laptop, the terminal shuts down and the agent stops. A VPS stays on, so gateway services, messaging, and cron jobs can keep running.

Do I have to pay for a model API?

No. I first used free Nous Portal models such as Solar Mini, with no API key. I also installed Ollama, pulled Qwen 3 4B, and connected that local model to Hermes. OpenRouter is optional if you want a paid model such as Claude Haiku 5.5.

What plan did you pick?

I chose Bluehost NVMe 16 (16 GB of RAM and 450 GB of storage) so I’d have room for a local model. Smaller NVMe plans can work if you only plan to use API models.

Can I message Hermes from my phone?

Yes. During setup I connected Telegram. The same screen also listed Discord, WhatsApp, Slack, Microsoft Teams, Google Chat, and iMessage, and you can skip this and add it later.

If you enjoyed this, I’d love the share. :)
Twitter
Facebook
Scroll to Top