Running Hermes Agent in the background is what turns it from a chat window into an employee: your scheduled jobs run, your messages get answered, and work continues while you do something else. The key is the Hermes gateway, which you can install as a background service. In the video below I show Hermes working 24/7. Here’s how to set it up on Mac, Linux and a VPS.
Key takeaways
- The Hermes gateway runs messaging, cron jobs and maintenance in the background.
hermes gateway installsets it up as a service.- Hermes can also run background processes with its process tool.
- On a Mac, use caffeinate or a VPS so it doesn’t sleep.
How Hermes Agent runs in the background
The gateway is the part of Hermes that stays running: it connects to your messaging platforms, runs scheduled cron jobs and handles background maintenance. If you only run it in a terminal session, it stops when you close that session or disconnect from SSH. Installed as a service, it starts automatically and keeps going.
Hermes gateway commands
| Command | What it does |
|---|---|
hermes gateway run |
Run in the foreground (testing) |
hermes gateway install |
Install as a background service (systemd on Linux, launchd on macOS) |
hermes gateway start / stop / restart |
Control the background service |
hermes gateway status |
Check it’s running |
journalctl --user -u hermes-gateway -f |
Follow logs on Linux |
Each profile can have its own gateway service, so you can run separate bots in the background at the same time.
Want this working in your business, not just bookmarked? Running AI agents 24/7 in your business is exactly what we build together inside the AI Profit Boardroom — 3,400+ members, four live calls a week, and a full one-hour DeepSeek Harness course in the classroom.
Prefer it mapped 1-on-1 first? Book a free strategy session and we’ll plan it for your exact situation.
Join the AI Profit Boardroom →Book a Free Strategy Session →
Run Hermes Agent in the background on a Mac
- Run
hermes gateway installand choose to start on login. - Check it with
hermes gateway status. - Stop your Mac sleeping while it works — the docs suggest macOS’s built-in
caffeinate. - If the service won’t register, some users report reloading the launchd plist fixes it.
A Mac that sleeps is the biggest reason scheduled jobs don’t run, which is why many people move Hermes to a VPS.
Run Hermes Agent in the background on Linux or a VPS
On Linux, hermes gateway install creates a user systemd service; for a system-wide service that starts at boot, some guides use sudo hermes gateway install --system. Follow the logs with:
journalctl --user -u hermes-gateway -f
My best Hermes Agent VPS guide covers choosing a server.
Background processes inside a task
Separately from the gateway, Hermes can start long-running commands in the background during a task — a build, a script, a server — and manage them with its process tool, so it doesn’t sit waiting. Combine that with sub-agents (delegate_task) and big jobs finish much faster.
What to run in the background
- A 6am news brief sent to Telegram.
- Morning inbox triage with draft replies.
- A weekly report every Friday.
- Competitor monitoring every few hours.
- Long research jobs split across sub-agents.
Background vs backend
They’re different: the gateway is the background service for messaging and cron, while hermes serve is the API backend that the desktop app and dashboard talk to. They’re separate processes sharing the same Hermes home folder. More in my Hermes Agent backend guide.
The bottom line on Hermes Agent background
To run Hermes Agent in the background, install the gateway as a service, keep the machine awake or move to a VPS, and check hermes gateway status after updates. Then your agent works while you don’t.
FAQ: hermes agent background
How do I run Hermes Agent in the background?
Run hermes gateway install to set up the gateway as a background service, then hermes gateway start.
Why did my Hermes cron jobs stop?
Usually because the gateway wasn’t running as a service or the computer went to sleep.
Can Hermes run in the background on a Mac?
Yes — as a launchd service; use caffeinate to stop the Mac sleeping.
How do I check Hermes is running?
Run hermes gateway status.
What is the difference between the Hermes gateway and hermes serve?
The gateway runs messaging and cron in the background; hermes serve is the API backend for the desktop app and dashboard.
Two ways I can help from here. Join the AI Profit Boardroom — it’s where your always-on Hermes setup gets built with 3,400+ members doing the same.
Or grab a free strategy session and bring your questions.
Join the AI Profit Boardroom →Book a Free Strategy Session →
About Julian Goldie
I’m Julian Goldie — founder of Goldie Agency, best-selling author, and an AI educator with 428K+ YouTube subscribers. I’ve spent 10+ years in SEO and online business and I test every AI agent on my own work before I recommend it. Join the AI Profit Boardroom for the daily builds, or book a free strategy session to talk through yours.
Related reading
Last updated October 2026. This page is a living guide to hermes agent background — the facts here move fast and it is updated as they do.
