Installing Hermes Agent for your business
No secrets. This is what I set up for your business, and these are the steps if you would rather do it yourself.
What runs for you
Your assistant is not an app you download. It runs on a dedicated computer that works for your business day and night.
A dedicated computer, just for your business
A virtual computer that is always on. Nobody else uses it. The disk is encrypted, everything that isn't needed is closed off and security updates install by themselves.
An AI agent for your business
On it I install an AI agent. That is software that gets to know your business, carries out tasks and does recurring work at set times. I usually use Hermes Agent. There are others too, such as OpenClaw. They are all open source.
Google Drive, Google Sheets, Gmail, Google Calendar, Shopify
Signed in to your own software
On that computer I sign the agent in to the software you already use, with its own account and only the permissions it needs. For example Google Drive, if that is where most of your company data lives. Or Shopify, if you mainly run an online store.
WhatsApp, Telegram, Slack, Discord
Your chat app
You and your team talk to it in the app you already use. On WhatsApp it gets its own number. Only people you name get an answer.
Claude, DeepSeek, Kimi
An AI model to write
To write replies, it uses an AI model, such as ChatGPT, Claude Opus, Astra, Sol, DeepSeek or Kimi. I choose the model that best fits your work.
Backups and monitoring
Earlier versions of every document are kept, so a mistake can be undone. Every night an encrypted backup to another place. If the assistant stops running or a backup fails, I get an alert.
What it does for you next
Once it can reach everything, I set up the tasks. Much of the work it does by itself, for example every hour or every morning. Before it sends something to customers, pays for something or publishes something, it asks for your approval first. A few examples are below.
- Keeping track of unpaid invoices
- Daily overview for the team
- Answers from your own documents
- Keeping an eye on stock
Set it up yourself
The software is open source, so you can also do it yourself. This is the route, step by step.
The computer
Choose a computer
An old laptop or PC that can stay on, or a virtual server you rent. Install Linux, for example Ubuntu Server, and turn on disk encryption. Also arrange how the computer starts up again after a restart, because an encrypted disk then asks for a password. Test a restart.
What you need
Always on, always online.
Ready to start
- Computer that is always on
- Linux installed
- Disk encryption on
- Steady internet connection
- Restart tested
An old laptop works too.
Secure it
Create a key on your own computer and put it on the server. Test that signing in with the key works, and only then turn off signing in with a password. Turn on the firewall, so only your own admin access gets in from outside, and switch on automatic security updates.
- # on your own computer
- ssh-keygen -t ed25519
- ssh-copy-id admin@server
- ssh admin@server
- # on the server
- sudo nano /etc/ssh/sshd_config.d/01-key-only.conf
- PasswordAuthentication no
- KbdInteractiveAuthentication no
- sudo sshd -t && sudo systemctl reload ssh
- sudo sshd -T | grep -i authentication
- sudo ufw allow OpenSSH
- sudo ufw enable
- sudo dpkg-reconfigure -plow unattended-upgrades
Keep your first connection open until a new one works.
Install an AI agent
Create a separate account without admin rights and install the agent under it, for example Hermes Agent or OpenClaw. The agent's installation guide tells you what you need first and how it starts by itself, also after a restart.
- sudo apt install curl
- sudo adduser agent
- sudo -iu agent
- curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
- hermes setup
Test every new version before you update.
The connections
Connect an AI model
Use a subscription your agent supports, such as ChatGPT or Claude, or a key from an AI service. Check for each connection whether your data is used to train the model, and turn that off.
AI model
- Signed in
- ChatGPT subscription
- Train on your chats
- Off
- Default model
- Chosen
Check the training setting.
Connect your chat app
Create a bot in Telegram, Slack or Discord, or link a separate WhatsApp number with a QR code. In the settings, set who may use it and who may approve actions.
- YouHi, are you there?
- Yes, I'm connected. You're on the list of people who may ask me things.
Only people on the list get an answer.
Sign it in to your software
Create an account for the assistant in Google Workspace, Shopify and your other software, with only the permissions it needs. Connect them one by one and test each connection.
- Google Drive
- Gmail
- Shopify
Connections
- Google Drive
- Connected
- Gmail
- Connected
- Shopify
- Connected
Test every connection separately.
Keep every key safe
Put passwords and keys in a password manager. On the computer they sit in a protected file that only the agent can read. Write down when they expire.
Vault
- AI service
- Stored
- Chat app
- Stored
- Shopify
- Expires March 1
Put expiry dates in your calendar.
Instructions and tasks
Write its instructions
Describe in its instructions file who your business is, how it talks and what it may do by itself. In the settings, set which actions need your approval first, such as emailing customers.
Who may ask for what?
You Team Stranger Read email Allowed Allowed Not allowed Email customers After approval After approval Not allowed Edit a file Allowed Allowed Not allowed Pay After approval Not allowed Not allowed Test every rule separately.
Build the tasks
Describe for each task what it must do and when, for example every morning at 8. Set the computer's time zone correctly and limit how long a task may take. Test with made-up data first, then with real data, and check after a restart that the tasks still run.
Tasks
- Check invoices
- Every morning at 8
- Daily team overview
- Weekdays at 5 p.m.
- Update stock
- Every hour
Then it runs by itself, weekends too.
Keeping it running
Keep improving the tasks
Start with tasks that only spot things. Look each week at what the agent did, sharpen its instructions and let it do more step by step. First flag something, then look up the details, then prepare a draft you only need to check.
Customer questions
- Week 1
- Lists them
- Week 3
- Looks up the answer
- Week 6
- Writes a draft
You approve the draft before it goes out.
Keep it updated and online
Every month, install the updates for the agent and the computer, and test them first. Replace keys that expire. Make sure the agent starts again by itself after an outage or restart, and that logs and old files are cleaned up automatically.
Upkeep this month
- Online
- 30 of 30 days
- Updates
- 4 installed
- New agent version
- Test first
- Shopify key
- Replaced
Repeat every month.
Where it often goes wrong
Even when everything works, a self-built agent often gets stuck on one of these two things.
Expired connections
Logins and connections to your software expire after a while, or change after an update. Suddenly the agent can't reach your Drive or your online store, and a task delivers nothing or half the work.
Clicking on the screen
When a program has no connection, the agent operates it like a person. It looks at the screen and clicks. If a button moves or a pop-up appears, it gets stuck or clicks the wrong thing.
With me, you don't have to keep track of this. When something gets stuck, I fix it.
My own step-by-step guide for this is hundreds of lines long. If you have the time and enjoy it, it's a nice project. If not, I'll do it for you.
Hermes Agent guides
What I learned running Hermes Agent for a business, written so you can apply it yourself.
How to connect Hermes Agent to Telegram
A bot from BotFather, a secret token, an allowlist of user IDs, a home channel and approvals.
A setup checklist for running Hermes Agent in a business
Its own computer and user, encryption, SSH, pinned updates, backups, approvals and spend limits.
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 everything up for you. Setup is free and you try the assistant for seven days first.
Prefer WhatsApp? +31 6 18 22 66 91