Install Hermes Agent on VPS with Telegram Bot
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
Configure Model
Under normal circumstances, the models supported by your CPA should be listed
* If there are issues with your CPA, you can manually enter the model nameSet Up Message Channel
Telegram as an example
Telegram bot token
Gateway
* For non-root user installation, it is recommended to choose User service
Complete
When you see the information above, the telegram bot is also ready to use.
Postscript
The VPS I use is a DediRock 2G RAM VPS
Oracle VPS Ubuntu system, using a non-root user without sudo -i, the entire installation process can be completed using the official installation script.
If the api key and tg bot token don't display, and you entered them incorrectly.
Then, after the installation process is complete, you can modify the configuration files yourself
~/.hermes/config.yaml
~/.hermes/.env
========
update
If you want to enable YOLO mode to skip all permission approvals
hermes config set approvals.mode off
If you want to disable terminal output masking information like bot_token api_key will be output to the terminal as-is which may leak into the context
hermes config set security.redact_secrets false
========
update
All along, Nous Portal officially provides a model for free use on a limited-time basis
For a while it was the Xiaomi mimo-v2 series, for a while it was step-3.5-flash, for a while it was qwen3.6-plus
Operation reference:
========