What Is Hermes Agent?
Hermes Agent is a free AI assistant made by a company called Nous Research. It runs on your own computer, and you can talk to it in the terminal or just text it on Telegram, which is honestly way easier. It works with a bunch of different AI models like OpenRouter and OpenAI, so you get to pick which one you want.
What you need first
You need a Mac, Linux or Windows computer, and a Telegram account. Hermes itself doesn’t cost anything, but the AI model you connect might, so check the prices before you start. On Windows, there’s a PowerShell installer, but people say WSL2 works best.
Step 1: Install it
Open your terminal and paste this:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
It sets up Python and Node.js and everything else for you. You only need git already installed. When it finishes, type source ~/.bashrc (or source ~/.zshrc if you’re on a Mac) so your terminal can find the new command.
Step 2: Pick your AI model
Type hermes setup. A setup wizard pops up and asks which provider and model you want, plus your API key. If you change your mind later, just run hermes model.
Step 3: Make your Telegram bot
This part is pretty quick:
- Open Telegram and search for @BotFather.
- Send
/newbotand answer the questions to name your bot. - Copy the token it gives you. Don’t lose it.
- Now message @userinfobot and it’ll tell you your numeric Telegram ID.
Step 4: Connect the bot to Hermes
Open the file ~/.hermes/.env and add these two lines:
TELEGRAM_BOT_TOKEN=your_token_hereTELEGRAM_ALLOWED_USERS=your_numeric_id
Don’t skip the second line. It makes sure only you can use your bot, so random people can’t mess with your computer.
Step 5: Start it up
Run hermes gateway setup and then hermes gateway start. Go to your bot on Telegram and send it a message. If it replies, congrats, it works!
Stay safe
Since this thing can actually do stuff on your computer, be careful:
- Only put your own ID in the allowed users.
- Never share your bot token. If it leaks, go back to BotFather and get a new one.
- If something breaks, run
hermes doctorfirst. - Run
hermes updateonce in a while to get fixes.
Try something small first
Don’t give it anything big at the start. Ask for something easy, like explaining a topic or a quick reminder. After you see it working fine, you can try harder stuff.
Checklist
- Hermes installed
- Model picked
- Bot token saved
- Allowed users set to my ID
- Gateway running
- First message answered