Hermes on Raspberry Pi 4: ARM64 Setup and Always-on Use

A Raspberry Pi 4 with 8GB of RAM can host Hermes Agent and its Messaging Gateway continuously, but the agent running on the Pi does not mean the language model runs there. This guide covers 64-bit Raspberry Pi OS, installation checks, a test conversation, and Gateway setup, including storage, permissions, and reliability limits.

A single-board computer connected to a terminal, cloud model service, and home router

Which parts of Hermes can run on a Raspberry Pi

When Hermes runs on the Pi, the local component is an agent runtime It handles the program, sessions, memory, skills, tool calls, cron, and the Messaging Gateway. The language model may be elsewhere: with Nous Portal, OpenRouter, Anthropic, or another external provider, the necessary messages and context go to that provider under its data policy.

You can start with an API-hosted model without a GPU on the Pi 4 8GB. Its 8GB of RAM does not guarantee good performance for a large local model. For local inference, use a suitably equipped separate machine and connect Hermes through an OpenAI-compatible endpoint.

SegmentTypical execution locationWhat to check
Hermes CLI and GatewayRaspberry PiOperating system, CPU, RAM, storage and systemd
Memory, skills and sessionFiles under Hermes' home on the PiFree space, file permissions, and backups
Model inferenceDefined external provider or local serverCost, latency, privacy and context limits
MessagingGateway on Pi connects to Discord, Telegram or other channels.token, allowlist and internet connection
Hermes CLI layout distinguishes the model from terminal, working directory, tools, skills, and session
Screenshot from the Hermes documentation, read the Model field separately from the Terminal and Working dir: Running the terminal on the Pi does not confirm that the model also runs on the Pi. The image is a developer's example, not a screenshot or benchmark on a Raspberry Pi from KrobClick. Source: NousResearch/hermes-agent, MIT Converted to WebP without changing labels. Select the image to view full size.

Prepare a Raspberry Pi 4 with 8GB RAM for headless use

Platform Support documentation checked October 29, 2026 lists Linux / WSL2 on x86_64 and aarch64 and says it was tested on recent Ubuntu and WSL2. That is not a test of every Raspberry Pi OS configuration or a Pi 4 benchmark. This guide starts with 64-bit Linux ARM64; compare its installer requirements with the version you choose.

Prepare 64-bit Raspberry Pi OS or Linux ARM64 with glibc and systemd and check the machine before installing:

uname -m
cat /etc/os-release
free -h
df -h
systemctl --version

The result of uname -m should be aarch64 for the documented ARM64 path. For long-running use, provide stable power, cooling, and a good microSD card or SSD. Logs, sessions, browsing, and downloads can consume considerably more storage after months of use.

Install Hermes and test a conversation before adding Gateway

The Quickstart gives this Linux installation command:

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

A command of the form curl | bash downloads and runs a script immediately. To inspect it first, download it separately and verify the script and official domain or repository. Then open a new shell or reload your profile and run these checks:

source ~/.bashrc
hermes doctor
hermes model
hermes

hermes model configures the provider, authentication, and model from the terminal. Do not put API keys in articles, public dotfiles, or shared command histories. Start with an external provider that supports tool use and verify an ordinary conversation before enabling browser, MCP, cron, and Gateway features one by one.

For a headless machine that does not need browser automation, the installer documents --skip-browser to skip Playwright-related setup. Browser tools will not work until their dependencies are installed later.

Set up Gateway to continue running without creating duplicate services.

Configure messaging and test the Gateway in the foreground first so you can see errors:

hermes gateway setup
hermes gateway run

Once a test message receives a reply, install a background service on Linux:

hermes gateway install
hermes gateway status

According to the docs, this installs a systemd user service. To keep it running after you leave SSH, you may need to enable lingering for that user:

sudo loginctl enable-linger $USER
journalctl --user -u hermes-gateway -f

A headless machine that needs to start at boot can use a system service instead:

sudo hermes gateway install --system --run-as-user <ชื่อผู้ใช้>
sudo hermes gateway status --system
journalctl -u hermes-gateway -f

Choose either a user service or a system service. Installing both with the same token can leave two Gateways competing for messages. Hermes warns about duplicate service units, but one clear service owner is easier to troubleshoot.

Monitor the Pi’s health and limit agent permissions

Check both the machine and the permissions of an agent that stays online. Start with these four areas:

Discord and Telegram work through the Gateway’s outbound connections; you need not expose a Pi port to the public internet just to receive messages. For remote administration, use authenticated access with restricted origins instead of an unprotected dashboard or SSH.

Raspberry Pi is suitable when you want to control the machine yourself, while VPS reduces the burden of maintaining hardware.

IssueRaspberry Pi 4 8GBVPS
Data locationKeep sessions and files at homeStored on provider infrastructure
Internet and electricityDepends on the network and home electricity.Usually backed by data-center infrastructure, but depends on the SLA
MaintenanceManage storage, cooling, power, and backups yourselfManage the operating system and security while the provider maintains hardware.
costThere are equipment and electricity costs. Not always zeroThere is a monthly fee and traffic fees may apply.
Suitable tasksPersonal assistant, gateway, cron, and small file tasksTasks needing uptime beyond the home environment or easy scaling

Start on a Pi 4 8GB with Hermes CLI, an API-hosted model, and one Gateway channel. Try one kind of task and monitor RAM, temperature, storage, and logs in actual use. Add browser automation or more bots after identifying a real limit. One successful installation does not establish always-on reliability.

Read the basics firstWhat is Hermes Agent?Understand agent loops, memory, skills, tools, and limitations before enabling continuous operation

Sources

Hermes Agent main-branch documentation reviewed October 11, 2026. Commands, installers, and platform support may change. Raspberry Pi 4 8GB is a hardware example, not a KrobClick benchmark or long-term stability claim.