Back to the installation guide
A setup checklist for running Hermes Agent in a business
Updated: December 2026
To run Hermes Agent for a business, give it its own computer and user, lock that computer down, pin the version and back it up every night. Then decide what it may do on its own and what needs a person's yes.
This is the checklist I work through for every business I set up. I learned each point while building my own installer, and you can apply all of them with any setup.
Give it its own computer and user
I run Hermes Agent on a machine that does nothing else, such as a small cloud server or a Mac mini. One business gets one machine. If something goes wrong, the problem stays inside that business.
On that machine I create a separate user for Hermes, without admin rights and without sudo. An admin account owns the Hermes code and its settings, so the agent cannot change its own program.
Be clear with the team about one thing. Everyone who uses a shared assistant shares its memory, its connected accounts and its files. Hermes keeps conversations apart per sender, but that is not confidentiality between people. I advise every business to keep personal and HR matters out of it.
Encrypt the disk
The computer holds your mail, files and passwords, so its disk should be encrypted. I always check this myself rather than assume it.
- On a Mac, turn on FileVault.
- On Linux, use LUKS for every data disk and for the swap. Or get in writing how your cloud provider encrypts its disks.
- Keep the recovery key in a password manager, not on the computer itself.
Lock down SSH and the firewall
In my opinion the only way in should be your own admin access. Everything else stays closed.
- Use SSH with keys only, and turn off passwords.
- Allow SSH only from your own IP address, in the server's firewall (ufw on Ubuntu) and in the cloud firewall if you have one.
- Check with
sudo ss -lntpthat SSH is the only service that listens on a public address. - Keep a way in for when your IP address changes, and know where your provider's recovery console is. On DigitalOcean the Recovery Console keeps working when SSH is restricted, but the Droplet web console does not.
- Keep one SSH session open while you change SSH settings. Test a new session before you close the old one.
- Turn on automatic security updates for the operating system.
Put your settings in managed scope
Hermes reads a managed configuration from /etc/hermes. Its config.yaml and .env take precedence over the user's own files in ~/.hermes. I let an admin own them, so nobody in a chat can quietly change the model, the allowlists or the tools. The managed scope docs explain the details.
Expect two side effects. First, the user's ~/.hermes/config.yaml does not show the managed settings, so check the effective values with hermes config. Second, setup wizards cannot save to a managed install, so you write those settings in /etc/hermes yourself. The Telegram guide shows where that matters.
Managed scope is a convenience boundary, not a sandbox. The Hermes docs say so too, and I do not treat it as more than that.
Pin the version and review updates
I choose one tested Hermes release and stay on it. Turn off the update check (updates.check) and never run hermes update on the business computer. I think an update should be a decision you make, not something that happens to you. When I do update, I follow this order.
- Make a backup and restore it on a test server first.
- Install the new version on a separate test server with the same operating system.
- Test everything the business uses. That means the chat apps, approvals, scheduled jobs, office files, logins, backups and a reboot.
- Agree on a maintenance window. Stop the gateway and the scheduled jobs, then switch.
- Keep the old version and its backup until the new one passes. Old code may not work with data that a newer version has migrated.
Why should everyone type /new after a change?
An open chat keeps the instructions and tools it started with. After you change the persona, a skill or a tool, old chats do not see the change, and the Hermes version I use never resets chats by itself. So after every change I ask everyone to type /new.
Check that ordinary users can actually do that. In my setup only the owner could confirm /new, so employees could not start a fresh chat. I turned off that confirmation with approvals.destructive_slash_confirm: false, because /new only touches the sender's own conversation.
Pinning Hermes does not freeze the operating system or the browser. I check those for security updates every week.
Back up every night and practise the restore
A backup you have never restored is a hope, not a backup. That is why I practise the restore, not only the backup.
- Back up the Hermes home folder and the workspace every night, encrypted, to another location than the server. I use restic.
- Copy SQLite databases with SQLite's online backup API, not as plain files.
- Run the backup as a separate admin user with its own credentials. A broken agent then cannot stop it, and the agent cannot read the backup password.
- Keep the backup password in your own password manager too. Without it, no backup can be restored.
- Keep 7 daily, 4 weekly and 6 monthly copies, or what your agreements require. Deleted data then stays in the backups for about six months.
- Get an alert when no backup has succeeded for 36 hours. Add an uptime check outside the server as well, because a server that is off cannot report itself.
- Restore on a test server before you rely on the backups, and again before each update. Check the databases and a few known files, then check that logins still work.
Approve sending, paying and publishing
My rule is simple. The assistant may read, search and draft on its own. Anything that leaves the company needs a person's yes first. That covers email and messages, payments, posts, sharing or deleting files, and calendar invitations with guests.
In Hermes a plugin can check every tool call with a pre_tool_call hook, and block it or send it to a person for approval.
- Let one approval cover one exact action, for a short time. In my installer it covers a single call and expires after five minutes.
- Let the owner approve in their own private chat, never in a group.
- Scheduled jobs run without a person, so let them prepare drafts and report that nothing was sent.
- Test on the server that the hook is really loaded. A missing hook blocks nothing.
- Approval rules guide the assistant's tool calls. They are not an operating system sandbox.
Set privacy and spend limits at the model provider
I give every business its own API key, so usage and spend stay separate. My provider is OpenRouter.
- Ask for providers that do not store or train on your data. Set
data_collectiontodenyin the provider settings of each request, and turn training off in the account's privacy settings. - Turn on zero data retention where the model supports it. After the first requests, check on the activity page which provider handled them.
- Give the key a monthly credit limit as an emergency stop, with alerts well below it. At the limit the assistant stops answering, so set it far above normal use.
- The turn and time limits per chat in Hermes do not replace a spend limit.
Give Google Workspace the least access that works
I leave Google Workspace off until I have tested it with made-up data. Then I split what runs on its own from what needs approval.
- On its own, the assistant may search and read Gmail, Drive, Sheets, Docs and Calendar, upload to Drive and create events without guests.
- Sending mail, sharing or deleting Drive files and events with guests wait for approval.
- Writing to a file that is already shared still reaches the people it is shared with. An internal write is not automatically private.
- When the business stops, revoke the Google access.
More guides
How to connect Hermes Agent to Telegram
A bot from BotFather, a secret token, an allowlist of user IDs, a home channel and approvals.
What Hermes Agent costs a small business
The license, the server, AI model use and your own time, with sources for each price.
Rather not do it yourself?
I set up Hermes Agent for your business and keep it running. See what I install, or tell me which task takes up the most time.
Prefer WhatsApp? +31 6 18 22 66 91