Guide · Agents
How to install Hermes Agent at home or in the cloud: hardware, Ollama, Telegram and remote control
Setting up Hermes Agent on Windows, Mac, Linux or in the cloud, with Ollama or a paid model: what hardware you need (measured), what each option costs, how to talk to it via Telegram and control it from another computer.
- Updated
- Oct 30, 2026
- Reading time
- 14 min
- Tools
- 5
Short answer: Hermes Agent installs with a single command on Windows, Mac or Linux, or with one click on a cloud server. What decides the hardware you need isn’t Hermes but the AI model you connect. With a paid model (Claude, GPT or Gemini), any computer or a VPS costing a few euros will do. With a local model in Ollama you need about 24 GB of memory on a Mac or a 16 GB NVIDIA graphics card to run smoothly: we measured it. Then you connect it to Telegram to talk to it from your phone and, if you want, control it from another computer with the desktop app.
We measured it: five local models with the 64K context Hermes demands, on the same machine, covering memory, speed and tool calls. The code is in our GitHub repository (in Spanish).
Commands, prices and requirements checked against the official documentation and websites on 30 October 2026 (Hermes Agent v0.22.5). If something doesn’t match, the official documentation wins.
What Hermes is and why a company would want it
Hermes Agent is an AI assistant that works on its own: a program that does tasks for you following instructions. It’s open source (MIT licence) and published by Nous Research. It reads and writes files, searches the internet, uses the browser, remembers what you teach it and runs scheduled tasks. You talk to it from Telegram, WhatsApp, Slack or its desktop app.
Examples of what it does in a small business:
- An accounting firm: every morning it checks the folder of received invoices, extracts amounts and due dates and sends you via Telegram the ones due this week.
- An online shop: it prepares the weekly summary of orders and returns from the files you export.
- A law firm: it looks up the regulations you ask for and leaves you a draft with the sources.
More cases by department, and when an agent is worth it and when it isn’t, in AI agents for business: real use cases. The technical comparison with its alternatives is in agent harnesses: OpenClaw, Hermes, Claude Code and Codex; its most direct rival has its own guide, how to install OpenClaw at home or in the cloud, and how Hermes really operates is told in our experiment with Mortadelo.
The three decisions, in order
- Which model? A paid one in the cloud (better quality, you pay per use) or a local one with Ollama (free per use, but it needs a powerful machine and performs worse).
- Where does Hermes live? On a computer in the office or at home (free, but it only works while it’s switched on) or in the cloud (always on, paid).
- How do you talk to it? Desktop app, Telegram from your phone or both, and whether you want to control it from another computer.
Step 1: install Hermes
Windows
Open PowerShell and run:
iex (irm https://hermes-agent.nousresearch.com/install.ps1)
If you prefer windows to the terminal, there’s a desktop app for Windows 11 (22H2 or later) on the downloads page. Hermes also works inside WSL2 (Windows’ Linux) with the Linux installer.
Mac
In Terminal:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
Macs with Apple Silicon (M1 or later) also have a desktop app. On Macs with an Intel processor it’s used from the terminal.
Linux or a server
The same command as on Mac. There’s also an official Docker image (nousresearch/hermes-agent), which is the cleanest option on a server: Hermes stays isolated from the rest of the system.
Lab tip: running a downloaded script directly is convenient, but it’s worth reading it first. Download it with -o instalar.sh, open it and then run it.
First-time setup
hermes setup
The wizard asks about the model and the tools. It has three modes: Quick Setup (sign in with your Nous Portal account, no keys), Full Setup (choose a provider and paste your keys) and Blank Slate (everything off except the minimum, so you can turn things on carefully). If you already use OpenClaw or Claude Code on that computer, it offers to import your configuration.
Step 2: the model
Option A: a paid cloud model (the one we recommend to start with)
Hermes connects to almost every provider. The ones we would use most in a company:
| Provider | How it connects | How you pay |
|---|---|---|
| Anthropic (Claude) | API key, or your Max account with extra credits | Per use with an API key |
| OpenAI | Your ChatGPT or Codex subscription, no key | The subscription’s fixed fee |
| Google (Gemini) | Google AI Studio key | Per use, with a free tier |
| OpenRouter | One key for many models | Per use |
| Nous Portal | Sign-in, no keys | Nous subscription |
You choose with hermes model. The advantage of using a subscription you already pay for (ChatGPT, for example) is that the cost is fixed: no surprises on the bill if the agent starts working a lot.
Option B: a local model with Ollama
A local model runs on your own machine: nothing leaves the company and you don’t pay per use. In return, you need plenty of memory and the model is less smart than the big paid ones. Two rules that aren’t optional:
- The model has to be able to use tools (tool calling). One that only chats can’t do anything: it can’t read a file or search the internet.
- Hermes requires at least 64,000 tokens of context (the conversation’s working memory, which holds its instructions, the tools and whatever it reads).
Install Ollama, download a model and create a variant with 64K of context. In the terminal:
ollama pull gpt-oss:20b
printf 'FROM gpt-oss:20b\nPARAMETER num_ctx 65536\n' > Modelfile
ollama create gpt-oss-20b-64k -f Modelfile
Then, in hermes setup or hermes model, choose Custom Endpoint with the address http://localhost:11434/v1, no key, and the model gpt-oss-20b-64k. With less memory, replace gpt-oss:20b with qwen3:4b (see step 3).
The context trap, measured: if you connect Hermes to the model “as is”, without the Modelfile, Ollama picks the context on its own. In our test, qwen3:4b loaded with 256K and took 43.5 GB instead of 12.9 GB; qwen3:30b-a3b, 45.4 GB instead of 25.5. And qwen3:8b stayed at 40K, below what Hermes needs. Always set the context with the Modelfile.
Two more settings for an assistant that’s always available: have Ollama keep the model loaded (variable OLLAMA_KEEP_ALIVE=24h; by default it unloads it after 5 minutes and the next reply takes longer) and a paid backup model (fallback_providers in the configuration) for when the local one can’t handle the task.
In the desktop app there’s another route without Ollama: Local Models downloads the engine and the right model for your machine and gives it at least 64K of context without you touching anything.
Step 3: what hardware you need (measured)
We measured five local models with tool support on a MacBook Pro M1 Max with 64 GB, with Ollama 0.40.8, plugged into mains power and with the configuration Hermes requires: 64K context and the OpenAI-compatible API. We gave each model a text of between 8,700 and 10,300 tokens depending on the model (the weight of an agent’s instructions and tools before it starts working), with three repetitions, and five office requests in which it had to use a tool (“what’s the total of invoice F-2026-0042?”, “remind me on 15 November to pay the rent”).
| Model | Memory it takes | Until it starts replying | Writing speed | Tools used correctly | Default context |
|---|---|---|---|---|---|
| gpt-oss:20b (OpenAI) | 13.3 GB | 18.5 s | 36.7 tok/s | 5 of 5 | 128K |
| qwen3:4b (Alibaba) | 12.9 GB | 33.4 s | 28.5 tok/s | 5 of 5 | 256K |
| qwen3:8b (Alibaba) | 11.0 GB | 48.6 s | 22.0 tok/s | 5 of 5 | 40K |
| qwen3:30b-a3b (Alibaba) | 25.5 GB | 31.8 s | 30.8 tok/s | 5 of 5 | 256K |
| gemma4:31b (Google) | 22.6 GB | 143.0 s | 8.5 tok/s | 5 of 5 | 256K |
| qwen3:4b without a graphics card (4 cores) | 13.1 GB | 233.4 s | 4.0 tok/s | 5 of 5 | 256K |
| qwen3:8b without a graphics card (4 cores) | 11.9 GB | 310.9 s | 3.8 tok/s | 5 of 5 | 40K |
“Until it starts replying” is how long it takes to read that text; a token is roughly three quarters of a word. Full data and code in the repository.
What the data tells us:
- With 64K of context, memory is driven by the conversation, not the model. A 4-billion-parameter model takes almost the same (12.9 GB) as a 20-billion one (13.3 GB), because what weighs most is the working memory reserved for 64K. That’s why no model went below 11 GB.
- gpt-oss:20b was the fastest on everything: it started replying in 18.5 seconds and handled each tool request in a median of 1.8 seconds.
- qwen3:8b only supports 40K of context by default, below the 64K Hermes requires. Forced to 64K it answered our tests correctly, but it’s working outside what it was trained for: for Hermes, qwen3:4b or gpt-oss:20b are better.
- gemma4:31b, the one recommended in Hermes’ documentation, got everything right but was the slowest on this Mac: almost two and a half minutes before starting to reply. The version Ollama downloads uses a format (NVFP4) designed for NVIDIA cards; on a PC with one of them it may do quite a bit better, but we haven’t measured it.
- Without a graphics card it isn’t practical: with 4 cores, like a normal VPS, it takes between almost 4 and more than 5 minutes to start each reply. It works, but not for chatting with it on Telegram.
- All five used the tools correctly in all five tests. These are simple requests: on long multi-step tasks, local models fail more than the big paid ones. That’s why a backup model is a good idea.
What hardware to buy or reuse
Translated into machines, with headroom for the system and other programs (on a Mac, the graphics card can only use part of the memory, roughly between two thirds and three quarters):
| Machine | Local model for Hermes | Verdict |
|---|---|---|
| Laptop or computer with 8 GB | None with 64K | Use a paid model |
| Mac with 16 GB | qwen3:4b, very tight | For testing, not for working |
| Mac with 24 or 32 GB | gpt-oss:20b | The balanced option |
| Mac with 48 GB or more | gpt-oss:20b, qwen3:30b-a3b or gemma4:31b | Plenty of room for any of the five |
| PC with a 16 GB NVIDIA card | gpt-oss:20b | Good option (not measured on NVIDIA: estimated from memory use) |
| PC with a 24 GB NVIDIA card | gpt-oss:20b; gemma4:31b very tight | Good option (not measured on NVIDIA) |
| VPS without a graphics card | None practical | Use a paid model |
The NVIDIA rows are an estimate based on the measured memory, not a measurement: on a PC, the model has to fit in the graphics card’s memory, not in the computer’s RAM.
Step 4: Hermes in the cloud, without wrestling with servers
If you don’t want a computer switched on all day, these are the simplest options we’ve found. Prices checked on the official websites on 30 October 2026.
| Option | What it is | Price | Who it’s for |
|---|---|---|---|
| Hermes Cloud (Nous Research) | The official service: your agent, managed, with no server to maintain | Per second of use from your Nous balance; minimum top-up of $2 | People who don’t want to touch anything technical |
| Hostinger VPS with the Hermes template | Your own server with Hermes already installed in Docker, with one click | KVM 1: $6.49/month · KVM 2: $8.79/month · KVM 4: $12.99/month (24-month contract; on renewal, $11.99, $14.99 and $28.99) | Small businesses that want their own server without configuring it |
| Railway with a community template | One-click deployment on Railway’s cloud | Usage-based; the template estimates $5–10/month | People who already use Railway |
| Hetzner VPS (Germany and Finland) | European server; you install Hermes yourself with the Linux command or Docker | From €5.99/month (Cost-Optimized) or €6.49/month (Regular), plus VAT | People who want data in the EU and can use the terminal |
Bluehost and Sealos also have one-click templates.
Watch out for the model in the cloud: these servers have no graphics card, so on them the normal approach is to use a paid model. We measured it: a small model with only 4 cores takes between almost 4 and more than 5 minutes to start each reply (see the table in step 3).
Step 5: talk to it via Telegram
It’s the most convenient way to use it from your phone.
The quick route: in the desktop app or the web panel, go to Messaging → Telegram and press Create with QR. You scan the code with Telegram, Hermes creates the bot, detects your user and leaves it configured for you only.
The manual route:
- In Telegram, talk to @BotFather, create a bot with
/newbotand save the token it gives you. That token is the bot’s key: don’t share it. - Find out your Telegram numeric ID (it isn’t your @username) with @userinfobot.
- Run
hermes gateway setup, choose Telegram and paste the token and your ID. For several people on the team, separate the IDs with commas. - Start the messaging gateway with
hermes gatewayand message the bot.
The important part: by default Hermes rejects anyone who isn’t on the allowed list (TELEGRAM_ALLOWED_USERS). Don’t open it “to test”: an assistant with access to your files that’s open to anyone is a back door.
If Hermes lives on a computer you switch off at night: by default, on startup it discards the messages you sent it while it was off. To receive them, add drop_pending_on_cold_boot: false to the Telegram configuration.
Step 6: control it from another computer
A typical case: Hermes lives on a mini PC in the office or on a VPS, and you want to use it from your laptop. The desktop app does this from Settings → Gateways, which supports four connection types:
- Local: the Hermes on that same computer.
- Hermes Cloud: you sign in and choose your agent. No addresses or ports.
- SSH: the app logs into the other machine over SSH, like a system administrator.
- Remote gateway: on the other machine you leave
hermes serverunning (the server the app connects to) and in the app you type its address and sign in.
You can register several (for example “Office” and “Laptop”) and switch between them from the sidebar.
How to do it safely: the Hermes server gives access to your keys and can run commands, so don’t open it to the internet with a username and password. The recommended approach is a private network such as Tailscale (free for personal use; your devices see each other as if they were in the same office) or an SSH connection. If you really need public access, use sign-in with a Nous account (OAuth), not a password. By default, Hermes’ web panel only responds on the machine itself, and it should stay that way if you don’t need it outside.
A detail that confuses people: hermes serve is what the desktop app uses; the Telegram gateway (hermes gateway) is a separate process. If you use both on a server, leave both running, for example as system services.
Minimum security before giving it real work
- Allowed list on Telegram and on any other channel.
- Approval of dangerous commands turned on (it comes like that by default: Hermes asks you before deleting or changing sensitive things).
- On a server, inside Docker, so whatever it runs stays isolated.
- Keys with minimal permissions and never pasted into the chat.
- Nothing exposed to the internet: Tailscale or SSH to get in from outside.
- A backup of the Hermes folder (
~/.hermes, or%LOCALAPPDATA%\hermeson Windows).
Why it matters: any email, document or web page the agent reads can carry hidden instructions. We measured it in credential confinement.
What a small business would set up, case by case
| Situation | Recommendation |
|---|---|
| I want to try it this week without spending on hardware | Hermes on the computer you already have + paid model (or your ChatGPT subscription) + Telegram |
| I want it always available without touching anything | Hermes Cloud |
| I want my own cheap server | VPS with a one-click template + paid model |
| My data can’t leave the company | Your own machine with a local model (see the hardware table) + Tailscale for access from outside |
| The best of both worlds | A local model for everyday work and a paid backup for the hard stuff |
What we would do in the lab
Before putting an agent to work with customer data, we would test it with your real tasks: which model gets your documents right, how long it takes, what it costs per month and what happens if it receives an email with malicious instructions. That’s the difference between “it seems to work” and “we know what it withstands”.
Want an assistant like this in your company without nasty surprises? Commission the test.
Frequently asked questions
What is Hermes Agent?
It's an open-source AI assistant (MIT licence) from Nous Research that you install on your computer or on a server and that does tasks for you: it reads and writes files, uses the browser, schedules tasks and replies to you via Telegram, WhatsApp, Slack and other channels. The AI model that does the thinking is connected separately: a local one with Ollama or a paid one in the cloud.
What computer do I need to use Hermes with a local model?
We measured it: with the 64K context Hermes requires, no local model with tool support went below 11 GB of memory. In practice, a Mac with 24 or 32 GB or a PC with a 16 GB NVIDIA card for gpt-oss:20b, which was the fastest (18.5 seconds to read an agent's prompt and 36.7 tokens per second when writing on an M1 Max). With 8 GB or on a VPS without a graphics card, use a paid model.
Does Hermes Agent work on Windows?
Yes. It has a native Windows installer (PowerShell) and a desktop app for Windows 11 22H2 or later. It also works inside WSL2 and in Docker. On Mac there's a desktop app for Apple Silicon; on Intel Macs and on Linux it's used from the terminal.
How much does it cost to run Hermes in the cloud?
The software is free. In the cloud you pay for the server and the model. Hermes Cloud, the official service, charges per second from your Nous balance with a minimum top-up of $2. A VPS with a one-click template, such as Hostinger's, starts at $6.49 a month on a 24-month contract (October 2026 prices). On top of that comes the paid model, unless the server is big enough for a local one.
Is it safe to connect Hermes to Telegram?
Yes, if you limit who can message it. By default Hermes rejects anyone who isn't on the allowed-users list (TELEGRAM_ALLOWED_USERS). Add only your numeric ID and your team's, don't share the bot token and don't give it credentials it doesn't need.
Can I control Hermes from another computer?
Yes. The desktop app connects to a Hermes running on another machine (a home server, a VPS or Hermes Cloud) from Settings → Gateways. The recommended way is to get there through a private network such as Tailscale or over SSH, not by opening it to the internet with a username and password.