Note
An Agent Is Not a Model: What Hermes Agent Keeps and What It Sends Out
A local model does not make an agent local. In Hermes Agent the model is the channel you choose, while the approval gate, the egress allowlist and the home directory full of memory and transcripts are the ones you configure.
2026-12-04 · local-ai, agents, egress, trust-boundary, tool-calling, memory, gateway, mcp, prompt-injection, open-source
Listen · 8 min · AI voice

An Agent Is Not a Model: What Hermes Agent Keeps and What It Sends Out
A model is a function: text in, text out. An agent is the process around it that holds the filesystem, runs the commands, keeps the notes, and answers whoever messages it. Confusing the two is how people end up believing a local model makes an agent local. It does not. The weights can sit on your disk while every file path, every command output and every saved preference leaves on the next turn.
Hermes Agent, an MIT-licensed project from Nous Research, is a workable case to read the boundary on, precisely because its own documentation names the layers instead of hiding them. The interesting question is not whether it is open source. It is which channel carries your data, and which of those channels you can close.
The process runs somewhere you pick
Hermes is a terminal-native agent that calls tools. Its README lists six built-in terminal backends — local, Docker, SSH, Modal, Daytona and Vercel Sandbox — plus plugin backends, and the project's own framing is that it can run on a small VPS or a GPU host rather than only on a laptop. That matters before any privacy argument: the "machine" is a configuration choice, and a hosted backend puts the execution boundary on someone else's hardware while the thing you chat with stays the same.
Inference is the one channel you actually choose
Inference is a provider setting, not architecture. The provider page lists cloud APIs and self-hosted endpoints in the same table, and model.base_url can point at a loopbackThe network address a server listens on. Loopback, 127.0.0.1, accepts connections only from the same machine; 0.0.0.0 listens on every interface, so without authentication anyone who can reach the port can use the server. Open the glossary for more. address instead of a vendor. The local-models page goes further: Hermes downloads and manages a llama.cppAn open-source C/C++ project for running language models locally on CPUs and GPUs with minimal setup. It loads GGUF files and includes a local HTTP server, llama-server, that binds to loopback by default. Open the glossary for more. build itself, pins engine components to hashes in a lockfile, and states the scope of the offer plainly — no account, no API key, and no network access once the model is on disk.
Read that claim for exactly what it covers. It covers inference. Switch the default model to a hosted provider and the same turn is posted to a third party: the conversation, the memory block that was injected at session start, and the output of whichever tools just ran. Nothing about the licence changes that. Switching back is a one-line config change, which is also the point — the egress decision stays reversible and visible rather than baked in.
What it keeps on the disk
The agent's home is ~/.hermes, and its layout is a map of what it knows. config.yaml holds settings and memories/MEMORY.md holds the agent's own notes about your environment: paths, conventions, quirks. USER.md holds a profile of you. Both are injected into the system prompt at session start as a frozen snapshot, capped at 2,200 and 1,375 characters so they stay small, and they only reload at the next session — a save mid-conversation is on disk immediately but invisible to the running prompt.
Alongside those sit the session store, the skills directory, logs, and the credential pool. The practical consequence: a home directory that reads like a diary with a shell attached. A memory file that says which vault, which repo, which host. A session database with full transcripts in it, searchable. Anyone with read access to that directory reconstructs months of work without touching the model at all. The project also warns against pointing two agents at one home, because both write the same memory files and the entries compound into something neither author wrote. Profiles exist for that.
Tools are the execution boundary
The docs are explicit that the terminal backend is the primary execution boundary, and the approval system sits in front of it. Dangerous commands are matched against a curated pattern list first; approvals.mode chooses between smart, manual and off, and the headless contexts default to deny — cron jobs, single-query runs and webhook-started turns refuse a dangerous command rather than auto-approving it. The detector also flags two shapes a verb list misses: a curl or wget body carrying a secret-named variable or a credential file, and invisible or bidirectional Unicode in a command, so the bytes that run differ from the command you approved. MCP serverAn open protocol connecting AI hosts to servers that expose tools, resources and prompts. Clients trust the servers they connect to: a local MCP server runs with the client's privileges, so adding one is like installing software. Open the glossary for more. subprocesses get a filtered environment, and a skill has to declare which variables and credential files it needs forwarded — undeclared ones are simply absent.
Approval is a gate against repetition, though, not a sandbox. It asks the first time and human habits take over; the layer that holds when nobody is watching is the container.
Egress you can close
The Docker egress guide is the most useful page in the set because it states its own threat modelA short written record of what you are protecting, from whom, how bad and how likely failure is, and which costs you accept. It is not a list of fears; it shows what you can safely ignore. Open the glossary for more.: an injected command trying to exfiltrate through curl, wget or raw HTTP. Its shape is an internal Docker network with no default route, holding the agent, and a second egress network with a proxy that answers only allowlisted hosts. The gateway is the only dual-homed service, because it needs outbound for platform APIs and inference. Replace the default host networking and the blast radius of a bad command becomes a list you wrote.
There are narrower guards too, and they repay being read for their limits. Private-address and cloud-metadata requests are refused before a fetch opens, with an opt-out for people who need their LAN. That check reads the URL literal the agent wrote — not one assembled at run time — and it does not follow the browser afterwards, so a public page that redirects to a metadata address gets through. terminal calls are not URL-checked at all, which is why the docs suggest blocking the metadata service at the network as well.
The inbound side
The gateway is one background process that connects every configured platform, keeps a per-chat session, and dispatches messages to the agent. Nineteen platforms are native and more arrive as plugins; a relay variant instead hands platform credentials to an external connector. Each of those is a live inbound channel with a bot token behind it, and the platform itself sees the traffic. Who may talk to the agent is an allowlist question, and the production checklist is blunt: never leave the gateway open to all users.
Inbound is where the order of work flips. Outbound exfiltration needs a decision per host; inbound needs a decision per person.
What this is not
Not a review, a ranking, or an install guide. Not a claim that the defaults are unsafe — most of the layers described are on by default. Not a claim that local inferenceRunning a model on hardware you control, with its weights loaded into a runtime on that machine or network, so prompts need not leave it. It removes provider exposure, not device risk: malware, disk access and tools still apply. Open the glossary for more. makes an agent private; that needs the egress work, the allowlist and a look at what the agent stored. And not a comparison against any other agent framework, which would need the same page-by-page reading this note only does for one.
Related on CryptoDecentral
- Local Is Not Private: Who Can Reach Your Model
- Local AI Tools and MCP: Where the Trust Boundary Actually Sits
- A Container Is Not the Boundary
- Pillar: DeAI
Further reading (primary)
- Repository and README, Nous Research: https://github.com/NousResearch/hermes-agent
- Security model, approvals and headless defaults: https://hermes-agent.nousresearch.com/docs/user-guide/security
- Network egress isolation for Docker: https://hermes-agent.nousresearch.com/docs/user-guide/egress/network-isolation
- Local models and what "nothing leaves the machine" covers: https://hermes-agent.nousresearch.com/docs/user-guide/local-models
- Memory files, character caps and the frozen snapshot: https://hermes-agent.nousresearch.com/docs/user-guide/features/memory
- Which file does what: https://hermes-agent.nousresearch.com/docs/user-guide/which-file-does-what
- Provider setup, including loopback endpoints: https://hermes-agent.nousresearch.com/docs/integrations/providers
- Gateway architecture: https://hermes-agent.nousresearch.com/docs/user-guide/messaging
Sources
- https://github.com/NousResearch/hermes-agent
- https://hermes-agent.nousresearch.com/docs/user-guide/security
- https://hermes-agent.nousresearch.com/docs/user-guide/egress/network-isolation
- https://hermes-agent.nousresearch.com/docs/user-guide/local-models
- https://hermes-agent.nousresearch.com/docs/user-guide/features/memory
- https://hermes-agent.nousresearch.com/docs/user-guide/which-file-does-what
- https://hermes-agent.nousresearch.com/docs/integrations/providers
- https://hermes-agent.nousresearch.com/docs/user-guide/messaging
Do this next · Read
A Privacy Mode Is Not a Proof: Venice's Ladder from Policy to Enclave
Ask your AI assistant about this note: connect it to our free, read-only MCP server and it can quote this note with citations. How to connect →