Search the field guide ⌘K

Risk boundary first

Hermes Agent security checklist

Before giving Hermes real work, decide where commands execute, which files are reachable, which credentials are exposed, and which integrations can send or receive messages.

Agent Guide is an independent editorial resource. It is not affiliated with, endorsed by, or sponsored by Nous Research, Hermes Agent, or Hermes/Hermes brand owners. Product names and marks belong to their respective owners.

Execution boundary matrix

BackendIsolationBest forRisk to watch
LocalNone beyond your user accountPersonal experimentsBroad filesystem and shell access.
Docker backendContainer boundary with hardeningSafer default for agent toolsMounted volumes and forwarded env still matter.
SSHRemote host boundaryPowerful remote machinesKey handling and remote filesystem scope.
Cloud sandboxProvider-managed environmentEphemeral or CI-style workProvider trust, persistence, and network policy.

Minimum checklist

Failure modes

FailureWhy it happensGuardrail
Secret appears in logsKey pasted into prompt, shell, or issue outputUse placeholders and scrub before sharing.
Agent sees too many filesLocal backend starts in a broad directoryUse narrow working directories or container mounts.
MCP exposes dangerous toolsServer registered more tools than expectedFilter tools and disable resource wrappers where needed.
Channel sends unexpected outputGateway token reused across environmentsUse separate tokens and staged cutover.

Safer default for first production-like use

For workflows that execute commands, handle messaging, or touch private repositories, use Docker or another sandboxed backend before local host execution. The official security docs describe local execution as lacking isolation beyond the user's account, while Docker-style backends provide a clearer boundary.

That boundary is not a permission slip. Mount only what the workflow needs, forward only specific environment variables, and keep gateway allowlists narrow.

What not to connect on day one

Local vs Docker next step

Use the dedicated local-vs-Docker guide when the main question is not whether Hermes can run, but where it should be allowed to run commands.

Local vs Docker security

Compare host execution, Docker containers, environment forwarding, mounted files, and rollback behavior.

Official sources reviewed

Source Used for Last checked Confidence
Hermes Agent configuration guide Provider, model, backend, and environment configuration patterns. 2026-06-02 high
Hermes Agent Docker guide Docker run modes, mounted data directory, gateway operation, ports, and production cautions. 2026-06-02 high
MCP with Hermes Agent MCP tool-surface, integration, and skill workflow safety context. 2026-06-02 high
Hermes Agent security guide Approval modes, gateway authorization, Docker terminal backend hardening, and credential cautions. 2026-06-02 high

Known caveats: Security guidance must be refreshed often. Treat this page as an operator checklist, not a guarantee that a deployment is safe.

FAQ

Is YOLO mode safe for production?

No. The official security docs describe YOLO mode as bypassing dangerous command approval prompts. Use it only in trusted or disposable environments.

Do approvals replace sandboxing?

No. Approval prompts reduce accidental command execution, but the execution boundary still comes from the host, container, SSH target, or sandbox.

Operator checklist

Get the Agent Guide launch checklist

Receive the smoke-test order for install path, sandbox boundary, provider setup, source review, and production checks.