Operations

Local Deployment

Running Hermes on the user's own machine for local development and privacy.

Local Deployment

What it is

Running Hermes on the user’s own machine for local development and privacy.

In plain terms

Picture keeping your files in a locked drawer at home instead of storing them in a shared filing cabinet downtown: local deployment means Hermes runs on hardware you’re physically sitting at, so files, commands, and conversations never have to leave the building unless you point a message at an outside model provider.

Why it matters

Everything — model calls, file access, the memory store — stays on the user’s own machine under local deployment, which is the choice that matters most when privacy outranks always-on availability. It trades the ‘reachable from a phone at any hour’ benefit of a VPS deployment for direct control over what leaves the machine at all. Pairing it with local models closes the loop completely, since nothing needs to reach a hosted provider if neither the runtime nor the model requires it.

How it works

When Hermes runs locally, tool calls - shell commands, file edits, browser actions - execute through the local terminal backend, which spawns each command as a subprocess directly on your machine and snapshots session state (working directory, environment) between calls, including translating Windows-style and Git-Bash-style paths so both resolve correctly (tools/environments/local.py). That backend shares one execution interface with Hermes’s other backends - Docker, SSH, Modal, Daytona - so the same agent logic runs whether it’s touching your own filesystem or a remote sandbox (tools/environments/base.py). Because everything happens on hardware you already control, there’s no install-as-a-service step the way there is for a VPS gateway: you start Hermes from a terminal, it works, and the process ends when you close that terminal.

A concrete example

You install Hermes on your own laptop for a personal budgeting project.

  1. You run hermes chat inside the project folder.
  2. You ask it to reorganize a batch of spreadsheet exports.
  3. It reads and rewrites the files directly on your drive through the local terminal backend.
  4. Nothing leaves the machine except the model call itself, and the session ends the moment you close the terminal, with no VPS or background service ever installed.

How it connects

This note belongs to the Operations family. Its closest neighboring concepts are: VPS Deployment, Model Providers, Agent Runtime, Personal OS.

Source evidence

  • vendor/hermes-agent/run_agent.py:1892-1902#AIAgent._flush_messages_to_session_db — Verified Source Map evidence for AIAgent. AIAgent uses thin forwarding methods to delegate system-prompt construction to agent.system_prompt.build_system_prompt, API kwargs construction to the chat-completion helper, and streaming requests to interruptible_streaming_api_call.

Workflows

  • No first-pass workflow mapping yet; this concept still appears in the vault graph through articles and source evidence.
  • How to Use Hermes Better Than Most People: Architecture, Project Isolation, and Scalable Workflows