Blog
Hermes Agent setupHermes Agent VPSHermes Agent Telegram

How to Set Up Hermes Agent on a VPS to Run 24/7

Install Hermes Agent on a VPS so it runs with your laptop closed. Covers Telegram setup, provider options, ChatGPT sign-in, and the desktop app link.

Portrait of Luis Chavez-Mattos
Edited by Luis Chavez-Mattos, Director, Product··RSS

For IT and Engineering

Split image of a grey rack server: on the left one drive tray hangs half out, on the right it is pushed in with one small accent light lit.

How do you run Hermes Agent 24/7 with your laptop closed?

Install it on a VPS (a virtual private server, which is a computer you rent that stays on in a data center) instead of on your own machine. Hermes Agent, the free, open-source agent from Nous Research, then keeps working whether or not your laptop is open. You talk to it through a messaging app like Telegram or a web app. The setup has four parts: pick a plan, connect a messaging app, connect an AI provider, and optionally link the Hermes desktop app.

TL;DR

  • A VPS keeps the agent awake. Your laptop can be shut, and the agent still runs scheduled jobs and answers messages.
  • The walkthrough used Hostinger's KVM2 plan (called App 2 for this install), described as 2 vCPU cores, 6 GB of RAM, 80 GB of NVMe disk and 8 TB of bandwidth.
  • At checkout, choose Hermes agent, not Hermes web UI. The features covered here live under the agent.
  • Telegram connects through BotFather. You create a bot with /newbot, paste its token into setup, and add your Telegram ID.
  • You can pay for AI through a router or subscription, or sign in with an existing ChatGPT or Codex subscription. Check each provider's rules first.
  • The desktop app links to your VPS with a remote gateway, using the URL and login you received at setup.

Why does an agent need a VPS at all?

Most AI tools stop working when you close the tab. You have to open them, watch them, and restart them. An agent that checks a spreadsheet every morning or sends a status report at 3 p.m. needs a computer that is always on.

You can run Hermes on your own computer. The catch is that it sleeps when your laptop sleeps. A VPS fixes that, and it also gives you one place to reach the agent from anywhere. Everything the agent stores lives on that server.

One note on sourcing: the walkthrough this guide draws on used Hostinger, which sponsored that segment of the video. The one-click Hermes install described below is specific to that setup. Other hosts exist, but the steps would differ.

What do you need before you start?

  • A VPS plan with the Hermes install option (the demo used Hostinger's KVM2, labeled App 2).
  • A Telegram account on your phone or desktop.
  • A way to pay for AI models, or an existing ChatGPT or Codex subscription (more on this below).
  • About a half hour and a place to save a username, a password and a bot token.

How do you install Hermes Agent on the VPS?

  1. Choose the plan. The creator recommends KVM2, which he says is enough for most agents to respond quickly with some room to grow. Checkout lists several apps you can install. Hermes is preselected. Others in the list at the time included OpenClaw, n8n and Paperclip, and the list changes.
  2. Finish checkout. Enter billing details. A discount code was mentioned in the video, but codes and prices change, so check the current page.
  3. Pick Hermes agent. You are asked whether to install Hermes web UI or Hermes agent. Choose Hermes agent.
  4. Choose an AI provider, or skip. You can set this now or later. The next section covers the options.
  5. Connect a messaging app. The demo used Telegram. Details follow below.
  6. Finish setup. You get a username and password. Save them, then click open app and sign in.

Which AI provider should you connect?

Hermes needs a model behind it. The source covered four routes.

RouteHow it worksNoted trade-off
Hostinger AI routerBuilt into the VPS dashboard, with automatic routing between modelsSmaller model selection. The creator says it has a hard stop at zero, so no surprise bills.
OpenRouterOne API that reaches a very large number of modelsBest for testing or benchmarking many models. Most people do not need that breadth.
Nous PortalMonthly subscription from the Hermes team, plugged into your accountThe creator says it makes sense if you would use at least $20 a month. It includes hosted tools such as web scraping and search.
OAuth sign-inUse the quota from a ChatGPT or Codex subscription you already pay forProvider rules vary (see below).

OAuth (spelled O-A-U-T-H, short for open authorization) lets one service use your account with another without you handing over a password. It is how people run an agent on a subscription quota instead of paying per use.

Is it safe to use a subscription with an agent?

Policies differ, and they change. The creator's understanding was that OpenAI was fine with it, that Anthropic cracks down on it, and that Google is less strict than Anthropic but still a risk. He said one of his own Google accounts was temporarily banned after Claude spun up many background agents. Treat that as one person's experience, not a rule. Read the current terms of any provider before you connect a subscription you care about.

How do you connect Telegram to Hermes?

Telegram bots are created through a bot called BotFather. The steps:

  1. Open Telegram and search for @BotFather.
  2. Send /newbot.
  3. Choose a display name, then a username. The username must end in bot, and it may already be taken, so try variations.
  4. When it works, BotFather replies with a token. This is the key that controls your bot. Treat it like a password.
  5. Paste the token into the Hermes setup screen where it asks for the bot token.
  6. Open your new bot's chat and press start. It will not respond until setup is finished.
  7. In Telegram, open @userinfobot and start a chat. It shows your account details, with your ID at the top.
  8. Enter that ID in the Hermes setup. This tells Hermes whose messages to accept.
  9. Message your bot with /start, or just say hi.

If the bot says its model is not connected, that is expected when no provider is set up yet. It means Telegram is wired correctly.

How do you sign in with ChatGPT or Codex?

Once you are in the web app, open Keys. The creator saw options for the Nous Portal, a ChatGPT or Codex subscription, MiniMax and xAI's Grok. To use ChatGPT:

  1. Choose the ChatGPT or Codex option. An OpenAI window opens.
  2. Log in. You can do this on any device, including your phone.
  3. OpenAI shows a 9-character code. Type it into the authorization window.
  4. The connection shows as active.

Then open Chat, pick a model from the ones your subscription offers, and send a message. If the model picker does not cooperate, type /model in the chat to get a list to switch between. The same agent should now answer in Telegram too.

What is in the Hermes web app?

The web app is your control panel on the VPS. The tour covered:

  • Chat: a one-on-one conversation, similar to ChatGPT or Claude, with history stored on your server.
  • Cron: scheduled jobs that run at times you set, such as a daily report.
  • Blueprints: prebuilt setups you can start from, including an important-mail monitor and a morning briefing.
  • Plugins: a directory the creator said holds over 8,000 plugins, covering delegation, creative tools, connectors and automations.

Cron is the feature that makes the always-on setup worth it. A daily 3 p.m. status report only happens if something is awake at 3 p.m.

How do you link the Hermes desktop app to your VPS?

You do not need the desktop app. It helps if you want local and server agents to work together. Steps:

  1. Download Hermes desktop and open Options.
  2. Under Providers, connect your provider (the demo connected a Codex subscription).
  3. Under Gateways, click Add remote gateway.
  4. Enter the remote URL, which is the web address of your VPS, from your setup email or dashboard.
  5. Sign in with the username and password you received at setup.

The Bots view then lists every bot you can reach, including the one on your VPS. The creator used this to put several bots in one chat room, which is how the group-room, multi-agent setups work.

What should you watch out for?

  • Keep the bot token and VPS login private. Anyone with them can control your agent.
  • Limit spending. A router with a hard stop at zero, or a flat subscription, caps surprises. Check what your chosen route does when usage climbs.
  • Start with one small job. A morning briefing or mail monitor from the blueprints is easier to verify than a complicated team of agents.
  • Expect the interface to change. Plan names, screens and provider rules were accurate for one demonstration and may differ when you try it.

What does this mean for you?

If you do repeat work, such as checking spreadsheets, pulling a daily report or watching an inbox, an always-on agent is now within reach of a non-developer. The setup is mostly filling in forms and pasting a token.

Managers and small business owners get the clearest benefit: a status message arrives in Telegram without anyone remembering to ask. Start with one scheduled job, read its output for a week, and expand only after you trust it. Individuals who already pay for ChatGPT should read the provider's terms before relying on that quota for unattended work.

Where does a custom app fit alongside an always-on agent?

An agent can produce reports and answers, but teams usually also want somewhere to track them: a dashboard of daily status results, a request form that feeds work to the agent, or a log of what was flagged. Remy builds that kind of small business app from a plain-English description. It creates the database, sign-in and a live URL, and you own the code. At $99 a month, with AI tokens billed at cost, it is worth comparing with another spreadsheet or tool subscription for the same purpose.

Frequently Asked Questions

5 questions

Do I need a VPS to use Hermes Agent?

No. You can run it on your own computer. The downside is that it stops when the computer sleeps or shuts down. A VPS is what makes it run around the clock.

Is Hermes Agent free?

The creator describes it as free and open source. You still pay for the VPS and for access to AI models, whether through a router, the Nous Portal subscription, or an existing subscription you connect.

Should I choose Hermes agent or Hermes web UI at checkout?

The walkthrough chose Hermes agent, since the features it covers, including scheduled jobs and multi-agent rooms, are under that option. The creator said he did not know enough about the web UI to recommend it.

What if the bot does not reply in Telegram?

Check that you pasted the correct token, entered your own Telegram ID, and pressed start on the bot. Then confirm a provider is connected. A message saying the model is not connected means Telegram works and the provider step is still missing.

Can I change models later?

Yes. Type /model in the chat to switch between available models, or reconnect providers under Keys in the web app or Providers in the desktop app.

How we source, write, and correct our articles. Editorial standards

Related articles

Straight to your inbox.
New pieces as they publish. No noise.