A local Hermes Agent session disappears when the laptop sleeps, disconnects, or shuts down.
Fastest reliable fix: run Hermes Agent v0.23.1 on a persistent Linux server, keep its Gateway and session data in persistent storage, configure authentication before remote access, and test recovery after a restart. When the Agent calls an external model API, the server runs the Agent and its tools; it does not have to run the model locally.
Suitable for: Developers moving a personal Agent from a workstation to a server, and small teams that need a persistent Gateway with browser or messaging access.
Also useful for: Technical leads checking whether an independently allocated server fits an Agent workload.
Not a model-performance guide: If the primary requirement is model training or high-throughput inference, assess a suitable GPU platform separately.
Last updated November 15, 2026. Version details were checked against the official Hermes Agent release history and the installation, configuration, security, Docker, CLI, and desktop documentation linked below.
Hermes Agent v0.23.1 self-hosted deployment: define what will stay online
Hermes Agent v0.23.0, released November 5, 2026, describes a Gateway that brings sessions together and provides a browser workspace. The subsequent v0.23.1 release, dated November 9, is a patch release. These release notes establish the version context; they do not mean that every component must be exposed as a public service. Check the official release records before choosing an image or installation path.
Decide which parts need to run continuously before selecting a deployment method:
- Agent and Gateway: Use this arrangement when the priority is persistent sessions and a continuously available Agent entry point.
- Browser workspace: Enable the browser-facing experience only if people need it. Do not assume it is the same thing as a dashboard or a model endpoint; confirm the current names and behavior in the official desktop documentation.
- Messaging or scheduled work: Add only the channels and background tasks the team will use. Each added integration introduces credentials, network access, and logs that need their own review.
- Local model inference: Treat this as a separate architecture decision. Installing Hermes Agent does not, by itself, require the server to load a model into memory.
The deployment question is therefore not simply “Can the server run Hermes Agent?” It is “Which services, data, and access paths must survive a process or host restart?”
Does self-hosting require local model inference?
No. When Hermes Agent connects to an external model API, the server can host the Agent process, Gateway, tools, and session data while sending model requests to that API. Keep the endpoint, model identifier, and credentials in the configuration locations documented for the selected installation method. Do not place a secret in browser-delivered code or in an execution environment that should not receive it. The official configuration guide describes the relevant configuration model.
| Deployment choice | What the server does | Best fit | Main trade-off |
|---|---|---|---|
| Remote Agent with an external API | Runs Hermes Agent, Gateway, tools, and persistent data | A continuously available Agent without local model inference | Depends on the external API and its network connection |
| Remote Agent plus optional browser or messaging entry points | Adds the interfaces and integrations the team needs | Shared or remote use with controlled access | More credentials, endpoints, and permissions to manage |
| Agent with local CPU inference | Runs the Agent and attempts model inference on the host CPU | Testing or workloads whose latency and model size have been measured and accepted | Memory use and inference speed must be tested; there is no safe universal speed figure |
A CPU host may be appropriate for the application layer while still being a poor fit for a particular inference workload. Measure that workload independently rather than treating an Agent deployment as proof that a model will run acceptably.
Before installation: choose a supported path and locate persistent data
Use the official installation guide or the official Docker instructions for the version being deployed. Do not copy an unofficial Compose file and assume its environment variables, mounts, or image tags are part of the supported v0.23.1 setup. The installation guide and Docker deployment documentation are the references for the applicable installation method.
For a container deployment, confirm that the selected published image corresponds to v0.23.1. Do not guess the tag string: use the tag shown by the current official Docker documentation or release channel. For a host installation, follow the documented Linux procedure and record how the service is started and stopped.
Before launching the Agent, identify the real locations used by that installation for:
- Configuration and non-secret Agent settings.
- Credentials or other sensitive provider information.
- Sessions and other state that must survive a container replacement or host reboot.
- Logs needed to diagnose a failed startup or access attempt.
Do not create a persistence mount based on an assumed path. Check the effective paths for the installed version, then map the required state to storage that survives the lifecycle of the process. Keep a separate copy of important configuration and session data; a persistent disk is not, on its own, an off-host backup.
Docker sandbox or remote execution?
Choose an execution boundary according to the tools the Agent must use. A Docker sandbox can isolate supported tool execution from the main host, while a remote execution setup moves that work to a separate environment. Those choices have different networking, credential, and file-access implications. Follow the official Docker guidance and security documentation rather than treating either option as a universal default.
| Execution approach | Consider it when | Verify before production |
|---|---|---|
| Docker sandbox | Tool execution needs a container boundary on the same host | Which files, networks, and credentials the tool can access |
| Remote execution | Tool work needs a separate execution environment | How the remote environment authenticates, what data it receives, and where results are stored |
| Direct host execution | A tool explicitly requires host access and the risk is accepted | The service account’s permissions and the effect of each enabled tool |
In each case, grant the minimum access needed for the intended tasks. Do not expose the host’s full filesystem or long-lived credentials merely to make an initial test pass.
During setup: separate model settings, secrets, and Agent options
Keep three configuration decisions distinct. The model connection identifies the provider, model name, and endpoint. Secrets authorize access to that provider and other integrations. Agent settings control behavior that does not need to be secret. Use the file and environment handling documented for the chosen installation method; do not assume that a setting from a community example remains valid in v0.23.1.
A safe setup sequence is:
- Confirm the selected model provider and endpoint from the provider’s own account or configuration.
- Set the model name exactly as expected by that endpoint.
- Store API credentials using the documented secret mechanism, with access restricted to the service.
- Put ordinary Agent options in the documented configuration location.
- Review the final effective configuration without printing secret values into terminal history, logs, screenshots, or support requests.
The official configuration reference should be used to validate each option. If a setting is absent from the current documentation, do not substitute a similarly named option from another version.
Starting the service: make the Gateway survive disconnects
Start the Gateway using the current v0.23.1 procedure for the selected installation method. Use the Gateway CLI reference to confirm the available command and its behavior. Keep a record of the exact startup and stop procedure that worked; do not rely on a shell session that ends when an administrator disconnects.
For a host installation, use a supervised service mechanism configured for the documented command and environment. For a container installation, configure an appropriate restart policy and persistent mounts, following the official Docker instructions. In either case, test the supervisor rather than assuming it is active.
Start only the entry points required for the deployment. The Gateway process, browser workspace, and model API are different roles. Logging should let an operator establish whether the Gateway started, which configuration it loaded, and where to investigate a failed session without revealing secret values.
Remote access: select a network boundary before enabling authentication
Choose the intended access scope first:
- Local-only: Bind the service for access from the host itself when no remote client is required.
- Trusted private network: Permit access only from the intended network and use an authentication method that the current official documentation allows for that setup.
- Public internet: Do not treat a trusted-network credential mode as a public-access recommendation. Use an authentication configuration explicitly appropriate for remote exposure, and restrict network access where possible.
The official security documentation is the authority for the current remote-access behavior and supported authentication methods. Check it before binding the Gateway to a non-local address; do not infer authentication behavior from a previous version or an example written for a different network boundary.
Test the boundary from a client that has not authenticated. The request should be rejected rather than returning an active session or usable Agent response. Then test the authorized route. Review browser and tool execution boundaries as well: an API secret needed by the server should not be copied into browser-visible content or granted to an untrusted execution environment.
What authentication does remote Webapp access need?
The answer depends on the access path and the authentication behavior documented for the installed version. Follow the security guide for binding a non-local Gateway and for the credential method supported in that context; do not expose the Webapp publicly on the assumption that a private-network setup is sufficient. The desktop documentation describes the browser-facing experience, while security guidance governs how remote access should be protected. Keep those roles separate and verify both.
After launch: verify sessions, tools, and restart recovery
Run a short acceptance sequence before relying on the service:
- [ ] Start the service using its documented supervisor or container policy.
- [ ] Open a new session from the intended client and confirm that the expected Gateway handles it.
- [ ] Perform one tool action that the deployment actually needs, then check the result and relevant logs.
- [ ] End the client connection, reconnect, and confirm that the session behaves as expected.
- [ ] Restart the Agent service and check whether the session state remains available.
- [ ] Restart the host during a planned maintenance window and repeat the service, access, and session checks.
- [ ] Confirm that an unauthenticated request is denied and that credentials do not appear in browser output or logs.
- [ ] Check CPU, memory, disk, and network use during the team’s own workload; record the baseline and revise capacity only when measurements support it.
How does Gateway restore sessions after a restart?
Recovery depends on the session data being written to a location that survives the restart, and on the restarted service loading the same configuration and state. Verify this with a real session before production: create or update a session, restart the service, then confirm the expected session is available. Repeat after a planned host restart. If state is missing, inspect the effective data path and persistence mapping before changing model settings or assuming the Gateway failed.
This test also separates two different failure modes: a Gateway process that did not return, and a process that returned but cannot see its previous session data. Record the service logs and the state location for each case. For broader planning around service data, XFP Cloud’s data handling information is a useful reference; it does not replace an application-level backup and restore test.
Server fit: make the choice from measured workload
A persistent Agent service needs a host that can keep its processes, integrations, and state available. Capacity should follow the observed workload: concurrent tools, session growth, browser use, log volume, and any CPU inference that is genuinely required. There is no verified universal minimum configuration or tokens-per-second figure for every Hermes Agent deployment.
For a concrete host comparison, the published XFP Cloud product information lists an AMD EPYC 7543P with 32 cores and 64 threads, memory options of 128 GB or 256 GB, and two directly attached 1 TB NVMe drives. It also lists 250 Mbps, 1 Gbps, or 2 Gbps bandwidth options with unmetered traffic, SSH access for Linux, and a Tokyo, Japan data center. These are host specifications, not a promise of a particular Hermes workload’s performance. Check the current server options before choosing; the published information is the source for those product details.
| Workload requirement | Product detail to check | Deployment implication |
|---|---|---|
| Persistent Agent and Gateway | Linux operating system and SSH access | Confirm the service supervisor, firewall rules, and data paths yourself |
| Session and tool data | Two directly attached NVMe drives; total usable capacity depends on the chosen layout | Plan backups separately; do not assume hardware RAID or off-host backup |
| Larger working set | 128 GB or 256 GB ECC memory options | Select based on measured application and tool use; the installed memory is not an inference-speed guarantee |
| API calls and image or package pulls | Unmetered traffic options at the listed bandwidth tiers | Check required throughput and latency; “unmetered” does not mean every connection has the same speed |
| Local CPU inference | AMD EPYC 7543P, 32 cores and 64 threads | Treat inference as a separate measured workload; the listed server configuration does not include a GPU |
For billing, compare the term and total commitment shown in the current billing terms with the period the service is expected to run. Do not assume a longer term reduces the monthly rate; confirm the current product information before purchase.
Decision branches
- If the Agent only needs short-lived testing, the workload is light, or the service can stop when a workstation is off, keep the deployment on the existing machine or use a smaller temporary environment.
- If the service must remain available when developers disconnect, and Gateway, sessions, or tools need a stable home, use a persistent Linux host and complete the restart tests above.
- If the model must run locally, first measure the chosen model’s memory and latency requirements on a suitable system. Do not select a CPU server on the assumption that it will deliver acceptable inference speed.
- If the team cannot maintain authentication, updates, and backups, resolve the operational ownership question before exposing an Agent service remotely.
Choosing a long-running host
A local workstation is convenient for development, but it goes offline when it sleeps or loses connectivity. A shared virtual server can also make sustained CPU and memory behavior less predictable, and its storage or traffic terms may not fit a service that keeps sessions and tools active over time. Those are real reasons to compare alternatives, not proof that every Agent needs a dedicated machine.
For a verified workload that needs persistent access, XFP Cloud’s independently allocated AMD physical servers are a reasonable option to assess: the listed configurations provide Linux access, NVMe storage, and memory choices, while model inference can remain external if that is the chosen design. Review the current product details and confirm that your measured CPU, memory, storage, and network needs match before committing. If the deployment is still a local prototype, first keep it simple; move to an independently allocated server when the Gateway’s availability and state recovery are requirements rather than assumptions.
Host Hermes Agent on Dedicated AMD Hardware
Deploy your persistent Agent service on an XFP Cloud dedicated server in Tokyo.
From $455 / month