Deskshift

Back to how it works

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.

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.

See all examples

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

  1. 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.

  2. 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.

    1. # on your own computer
    2. ssh-keygen -t ed25519
    3. ssh-copy-id admin@server
    4. ssh admin@server
    5. # on the server
    6. sudo nano /etc/ssh/sshd_config.d/01-key-only.conf
    7. PasswordAuthentication no
    8. KbdInteractiveAuthentication no
    9. sudo sshd -t && sudo systemctl reload ssh
    10. sudo sshd -T | grep -i authentication
    11. sudo ufw allow OpenSSH
    12. sudo ufw enable
    13. sudo dpkg-reconfigure -plow unattended-upgrades

    Keep your first connection open until a new one works.

  3. 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.

    1. sudo apt install curl
    2. sudo adduser agent
    3. sudo -iu agent
    4. curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
    5. hermes setup

    Test every new version before you update.

The connections

  1. 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.

  2. 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.

    1. YouHi, are you there?
    2. Yes, I'm connected. You're on the list of people who may ask me things.

    Only people on the list get an answer.

  3. 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.

  4. 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

  1. 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?

    YouTeamStranger
    Read emailAllowedAllowedNot allowed
    Email customersAfter approvalAfter approvalNot allowed
    Edit a fileAllowedAllowedNot allowed
    PayAfter approvalNot allowedNot allowed

    Test every rule separately.

  2. 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

  1. 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.

  2. 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.

Rather not do it yourself?

I set everything up for you. Setup is free and you try the assistant for seven days first.

hoyelam@kin-yee.com

Prefer WhatsApp? +31 6 18 22 66 91