<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf" -->

---
title: Run Hermes on Raspberry Pi, Control It from Your Laptop
description: A step-by-step guide to running the Hermes AI agent backend on a Raspberry Pi as an always-on server, while controlling it remotely from a laptop using Hermes...
canonical: https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Run Hermes on Raspberry Pi, Control It from Your Laptop | daily.dev
og:description: A step-by-step guide to running the Hermes AI agent backend on a Raspberry Pi as an always-on server, while controlling it remotely from a laptop using Hermes...
og:url: https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf
og:image: https://api.daily.dev/og/posts/xO4xh9FCF.png
og:image:alt: Run Hermes on Raspberry Pi, Control It from Your Laptop
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Hermes on Raspberry Pi, Control It from Your Laptop

**[It's Foss](https://daily.dev/sources/itsfoss)** · 5 min read · 0 upvotes · 0 comments

## Summary

A step-by-step guide to running the Hermes AI agent backend on a Raspberry Pi as an always-on server, while controlling it remotely from a laptop using Hermes Desktop's remote gateway feature. Covers configuring authentication credentials, starting the backend on port 9119, installing Hermes Desktop on the client machine, connecting via remote gateway, and making the setup permanent using a systemd service so Hermes auto-starts on reboot.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://feed.itsfoss.com/link/24361/17414747/hermes-desktop-remote-gateway>

## Questions this post answers

### How do I connect Hermes Desktop to a Hermes backend running on a Raspberry Pi?

Start the backend on the Pi with `hermes serve --host 0.0.0.0 --port 9119`, then in Hermes Desktop open settings, go to the gateway section, choose remote gateway, and enter the Pi's IP address with port 9119 as the Remote URL, then save and reconnect. Basic auth credentials configured in the Pi's ~/.hermes/.env file secure the connection.

_daily.dev surfaces setup guides like this for developers wiring local AI agents into their home network._

### How do I keep the Hermes serve backend running permanently on a Raspberry Pi after reboot?

Create a systemd service file at /etc/systemd/system/hermes-server.service pointing to the hermes executable path with the serve command and environment file, then run systemctl daemon-reload and systemctl enable --now hermes-server. This ensures the Hermes backend restarts automatically on boot or crash instead of requiring manual SSH launches.

_Track practical self-hosting patterns like this on daily.dev when automating always-on AI backends._

## Similar posts on daily.dev

- [How to Run Hermes Agent with DigitalOcean](https://daily.dev/posts/how-to-run-hermes-agent-with-digitalocean-swntf9i7k) · DigitalOcean Community · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#ai-agents](https://daily.dev/tags/ai-agents), [#raspberry-pi](https://daily.dev/tags/raspberry-pi), [#local-ai](https://daily.dev/tags/local-ai)

[View this post on daily.dev](https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Run Hermes on Raspberry Pi, Control It from Your Laptop","url":"https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf"},"datePublished":"2026-08-11T12:25:43.246Z","dateModified":"2026-09-13T19:19:02.196Z","description":"A step-by-step guide to running the Hermes AI agent backend on a Raspberry Pi as an always-on server, while controlling it remotely from a laptop using Hermes...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6da3d21843cd828041dfb6fb310fb4b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d6da3d21843cd828041dfb6fb310fb4b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"It's Foss","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"It's Foss","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/582e3faed71842bfb9d3840a787d6700","url":"https://daily.dev/sources/itsfoss"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,ai-agents,raspberry-pi,local-ai","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"It's Foss","item":"https://daily.dev/sources/itsfoss"},{"@type":"ListItem","position":3,"name":"Run Hermes on Raspberry Pi, Control It from Your Laptop"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/run-hermes-on-raspberry-pi-control-it-from-your-laptop-xo4xh9fcf#faq","mainEntity":[{"@type":"Question","name":"How do I connect Hermes Desktop to a Hermes backend running on a Raspberry Pi?","acceptedAnswer":{"@type":"Answer","text":"Start the backend on the Pi with `hermes serve --host 0.0.0.0 --port 9119`, then in Hermes Desktop open settings, go to the gateway section, choose remote gateway, and enter the Pi's IP address with port 9119 as the Remote URL, then save and reconnect. Basic auth credentials configured in the Pi's ~/.hermes/.env file secure the connection. daily.dev surfaces setup guides like this for developers wiring local AI agents into their home network."}},{"@type":"Question","name":"How do I keep the Hermes serve backend running permanently on a Raspberry Pi after reboot?","acceptedAnswer":{"@type":"Answer","text":"Create a systemd service file at /etc/systemd/system/hermes-server.service pointing to the hermes executable path with the serve command and environment file, then run systemctl daemon-reload and systemctl enable --now hermes-server. This ensures the Hermes backend restarts automatically on boot or crash instead of requiring manual SSH launches. Track practical self-hosting patterns like this on daily.dev when automating always-on AI backends."}}]}
```

