2026 Hermes Agent install walkthrough: One command to Telegram 24/7 uptime
Hermes Agent is Nous Research’s MIT-licensed self-evolving AI agent framework for 2026, with GitHub stars past 170k. Unlike chatbots that reset when you close a window, it uses MEMORY.md, Skill directories, and Gateway to turn tasks into reusable capability—but only after you install correctly, configure a model, and run the Telegram gateway 24/7.
This article is for readers who want one post to finish setup: ① how Hermes differs from OpenClaw and LangGraph plus pre-install pain points; ② the full path curl install → hermes doctor → hermes setup → Telegram Gateway → launchd/systemd; ③ an LLM decision matrix, six-step acceptance checklist, and common errors. For hardware picks and Pi benchmarks see three-host hardware comparison; for memory architecture see persistent memory guide.
01 Before installing Hermes Agent: 2026 momentum and three real pain points
Hermes Agent took off after its February 2026 launch with community reports that tasks auto-write Skills and similar jobs later cut tokens by ~38%. Unlike OpenClaw (multi-agent workflows) or LangGraph (graph state machines), Hermes stands out with native cross-session memory, 20+ messaging Gateway surfaces, and MCP plug-and-play. Many people star the repo then stall on three steps:
- Fragmented environment: assuming you must pre-install Python 3.11, Node 22, ripgrep, ffmpeg—the official script installs via
uv, but an unrefreshed PATH yieldshermes: command not found. - No model configured: install succeeds yet
API key not setappears; CLI opens but cannot reason. - Gateway not always on: Telegram Bot configured, laptop lid closed, Bot “dead,” Skill compounding and cross-week memory stop.
In one line: Hermes goes smoothly when you treat install + model + always-on gateway as one pipeline, not three separate experiments.
The stable line is v0.15.1 (2026.5.29), fixing v0.15.0 Dashboard reload loops on loopback (see official release). Commands below target macOS / Linux / WSL2; native Windows PowerShell can use official install.ps1; Dashboard chat still favors WSL2.
02 Hermes Agent requirements and LLM provider decision matrix
The install script’s only hard prerequisite is Git (git --version must work). Python, Node, ripgrep, and ffmpeg are detected and installed by the script—no sudo required.
| Item | Minimum | Recommended |
|---|---|---|
| OS | macOS 12+ / Ubuntu 20.04+ / WSL2 | macOS 14+ (Apple Silicon) / Ubuntu 24.04 LTS |
| RAM | 4 GB (Gateway + API only) | 16 GB+ (local Ollama 8B) |
| Disk | ~1.5 GB (incl. Skills cache) | 20 GB SSD+ (logs and model weights) |
| Network | GitHub raw + LLM API reachable | Stable low-latency egress (Telegram inbound) |
| Provider | Best for | Setup notes |
|---|---|---|
| Nous Portal | Zero-config quick try | hermes setup --portal OAuth |
| OpenRouter | Multi-model experiments, one key | OPENROUTER_API_KEY in ~/.hermes/.env |
| Anthropic / OpenAI | Production Claude / GPT | API key or OAuth (Max plan) |
| Ollama / VLLM | Local inference, privacy | Base URL + model name; 16GB+ RAM advised |
On headless servers (no GUI browser automation) add --skip-browser to avoid Camoufox-related deps. Config lives in ~/.hermes/.env and ~/.hermes/config.yaml.
03 Hermes Agent one-line install: six steps from curl to first chat
On macOS, Linux, or WSL2 run the official script (matches install docs):
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
# headless VPS optional
# curl -fsSL ... | bash -s -- --skip-browser
source ~/.zshrc
hermes doctor
hermes --version
hermes setup
hermes
The script installs uv → Python 3.11 → Node.js 22 → ripgrep / ffmpeg → clones to ~/.hermes/hermes-agent/ → adds hermes to PATH → pulls default Skills registry. Success looks like Hermes Agent installed at ~/.hermes in the terminal.
- Run curl install: ensure Git is available; set
https_proxyfirst behind corporate proxy. - Refresh shell:
source ~/.zshrcorsource ~/.bashrc, else command not found on the next line. - Health check:
hermes doctorchecks ~12 items (Python, Node, PATH, API key, etc.). - Confirm version:
hermes --versionideally ≥ v0.14.x; upgrade withhermes update. - Configure model:
hermes setuporhermes modelwrites~/.hermes/.env. - Smoke chat: run
hermes, ask to count files in the current directory or summarize today’s AI news to verify tools.
Short link: curl -fsSL https://get.hermes-agent.org | bash (community docs). Windows PowerShell: iex (irm .../install.ps1); Android Termux uses the Linux script with official Termux notes.
04 Hermes Agent Telegram setup and Gateway 24/7 uptime
To reach your agent from a phone, complete Bot creation + Gateway config + system service in three steps.
- Create Bot: in Telegram find
@BotFather,/newbot, pick a name; username must end withbot; save the token. - Get user ID: message
@userinfobotfor a numeric ID for allowlisting. - Interactive setup (recommended):
hermes gateway setup, choose Telegram, paste token and ID. - Or manual .env:
TELEGRAM_BOT_TOKEN=...andTELEGRAM_ALLOWED_USERS=yourID. - Foreground test:
hermes gateway, message the Bot from your phone and confirm replies. - Background service: on macOS
hermes gateway install+hermes gateway start(launchd); on Linuxsudo hermes gateway install --system+ systemd, logsjournalctl -u hermes-gateway -f.
Groups: default privacy mode only responds to / commands. For group use disable Group Privacy in BotFather and re-invite the Bot after removing it once. Discord / Slack use the same hermes gateway setup; see official messaging docs.
hermes gateway install
hermes gateway start
hermes gateway status
# Linux boot autostart (optional)
sudo hermes gateway install --system
sudo hermes gateway start --system
05 Hermes Agent citable specs and common install errors
- GitHub scale (2026-06): ~175,000 stars, MIT license, 295+ contributors (repo).
- Install size: ~1.5 GB with Skills cache;
~/.hermes/often grows 200–600 MB over three months (Skills and logs). - Skill compounding: community reports Skills 3 → 19 in 30 days with ~38% token drop on similar tasks—requires host 24/7 online or compounding stops.
- Gateway RAM (macOS summary): Gateway + SQLite alone ~1.2–1.8 GB; with Ollama 8B plan 24 GB unified memory.
| Error / symptom | Cause | Fix |
|---|---|---|
hermes: command not found |
PATH not refreshed | source ~/.zshrc or new terminal |
API key not set |
No LLM configured | hermes model or edit ~/.hermes/.env |
| Config lost after upgrade | Version migration | hermes config check && hermes config migrate |
| Group Bot silent | Privacy mode / not re-invited | Disable Group Privacy in BotFather, re-invite Bot |
Optional: declare mcp_servers in ~/.hermes/config.yaml for GitHub, databases, etc.; on GUI-less servers use hermes mcp login + SSH tunnel for OAuth.
06 Where to run Hermes: platform compare and JEXCLOUD wrap-up
| Platform | 24/7 availability | Install maturity | Best stage |
|---|---|---|---|
| Personal MacBook | Stops when lid closed | Official curl smoothest | POC / weekend debug |
| Linux VPS | High, not macOS | Needs --skip-browser, some Skill paths differ |
Teams with DevOps |
| JEXCLOUD Mac Mini M4 | Datacenter SLA, dedicated IPv4 | Same command chain as local Mac | Telegram production + local 8B |
Common laptop and oversubscribed VPS gaps: ① unstable gateway long connections (sleep, NAT, neighbor IO); ② macOS browser-automation Skills do not 1:1 on pure Linux; ③ without dedicated RAM parallel sub-agents OOM while hermes doctor still passes.
Safer path: rent bare-metal Mac Mini M4 monthly on JEXCLOUD, SSH the same install commands as this article, launchd KeepAlive for Gateway, ~/.hermes always on your disk—no virtualization oversubscription, stable Telegram inbound, rsync Skills and memory before return. Specs and M4.S / M4.M / M4.XL sizing on pricing; order and region latency on order and help center.