Overview
This product provides Hermes Agent v0.23.0 on Ubuntu 24.04 (x86_64) with seller-written software that confines the agent with operating-system limits. Hermes' own security policy states that the operating system is the only security boundary against an adversarial model; this AMI applies that boundary on EC2. The delivered configuration combines the unmodified Hermes Agent with Hanwei Hermes Guard 1.0.0. The additional charges cover seller-performed integration, configuration and testing on the bounded baseline described below. Any support or maintenance offered by the seller is a supplementary service and is not the sole basis for the software charges.
What the additional charges cover:
- A systemd-confined Hermes gateway, and a command, hanwei-hermes, that starts interactive sessions under exactly the same limits. The agent runs as an unprivileged user with no capabilities, no way to gain privileges, a read-only system, private temp and device directories, hidden foreign processes and restricted socket families. Only the agent's home directory is writable.
- Blocking of the EC2 instance metadata service for the agent, so a prompt-injected agent cannot request the instance role's credentials. Commands let you allow metadata access, and deny VPC-internal address ranges, and a live probe in the verifier checks that the running limits match the chosen policy.
- Read-only code: Hermes, its virtual environment and the bundled runtimes are root-owned and read-only inside the confinement. Only eight package-manager lock and lease paths, found by tracing Hermes at start-up, remain writable.
- A first-boot initializer that creates a fresh Hermes home on each instance and applies safety settings: manual approvals, secret redaction, upstream update check off, adoption of other tools' logins off, shared metrics off. Hermes starts its API server whenever a usable key exists, so no key is created at first boot; a command generates a 256-bit key and enables the loopback API server on demand.
- A verifier that runs 18 checks across operating system settings, Hermes settings and licence files and writes a JSON report. It runs hourly and reports drift; it does not revert changes.
- Testing of the above on the stated baseline.
Technical implementation:
- The gateway runs as the system user hermes under hermes-gateway.service. Confinement directives (NoNewPrivileges, empty capability set, ProtectSystem=strict, PrivateTmp, PrivateDevices, ProtectProc=invisible, restricted address families, IPAddressDeny for the metadata addresses) are stored in systemd drop-ins that the hanwei-hermes command also reads.
- sshd is configured for public-key login only; kernel and network settings are applied through sysctl.
- Hermes is installed by its own installer, pinned to a release commit, with the browser and computer-use driver skipped. The GPL ffmpeg build that the installer downloads is removed.
Included components:
- Ubuntu 24.04.5 LTS (x86_64)
- Hermes Agent v0.23.0 (MIT licence), unmodified
- Python 3.14.9, Node.js 26.12.1, ripgrep 15.2.0, uv 0.13.5 and the Hermes dependencies installed by its installer
- Hanwei Hermes Guard 1.0.0 (seller software) Tested deployment baseline:
- Instance type and hardware: t3.medium, 2 vCPU, 4 GiB memory, 40 GiB gp3 root volume.
- Operating system and architecture: Ubuntu 24.04.5 LTS, x86_64.
- Functional checks: first boot on two separate instances, the 18-check verifier, commands executed by the agent inside its confinement (metadata blocked, system read-only, code read-only, privilege gain refused, other processes hidden, outbound HTTPS and workspace writes working), metadata allow and block, the optional API server with key authentication, reboot persistence, detection of deliberately introduced violations, and an end-to-end agent turn using a local scripted stub language model.
- Scope boundary: real language-model providers (including Amazon Bedrock), chat platforms, MCP servers, third-party skills and plugins, the web dashboard, other instance types, performance, scale, high availability, backups and upgrades were not tested.
Highlights
- 1. The Hermes gateway and every interactive session run as an unprivileged user inside systemd limits: no capabilities, read-only system files, private temp and device directories, and only the agent's own home writable.
- 2. By default the agent cannot reach the EC2 instance metadata service, so it cannot request the instance role's credentials. One command allows access when you need an instance role, for example for Amazon Bedrock.
- 3. Hermes code and runtimes are read-only to the agent, no API port or key exists until you enable it, and an 18-check verifier reports drift. Tested on t3.medium with two instances and a local stub model.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Dimension | Cost/hour |
|---|---|
t3.large Recommended | $0.05 |
t3.micro | $0.05 |
t2.micro | $0.05 |
t3.medium | $0.05 |
t3.nano | $0.05 |
t3.small | $0.05 |
t3a.large | $0.05 |
t3a.medium | $0.05 |
t3a.micro | $0.05 |
t3a.nano | $0.05 |
Vendor refund policy
No Refund
Custom pricing options
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Version v0.23.0 (Guard 1.0.0) - Initial Release (2026-11-09)
This release provides Hermes Agent v0.23.0 on Ubuntu 24.04 with the gateway and interactive sessions confined by operating-system limits, the EC2 instance metadata service blocked for the agent, read-only code trees, and first-boot safety settings. It includes the seller-provided Hanwei Hermes Guard 1.0.0. The configuration was tested on a t3.medium instance.
Seller-provided technical value:
- A systemd-confined gateway and a command, hanwei-hermes, that starts interactive Hermes sessions under exactly the same limits. The agent runs as an unprivileged user with no capabilities, a read-only system, private temp and device directories and hidden foreign processes.
- Blocking of the EC2 instance metadata service (IMDS) for the agent, with commands to allow it, and to deny VPC-internal address ranges, when you choose to.
- Hermes code, its virtual environment and bundled runtimes are root-owned and mounted read-only inside the confinement; only eight package-manager lock and lease paths stay writable.
- A first-boot initializer that creates a fresh Hermes home on each instance, applies safety settings (manual approvals, secret redaction, update check and shared metrics off), and keeps the Hermes API server off until you enable it with a generated 256-bit key.
- A verifier with 18 checks, including a live probe run under the gateway's limits, with a JSON report. It runs hourly and reports drift; it does not revert changes.
Included software:
- Ubuntu 24.04.5 LTS (x86_64)
- Hermes Agent v0.23.0 (commit 2bd378ed1b8d), unmodified (MIT licence)
- Python 3.14.9, Node.js 26.12.1, ripgrep 15.2.0, uv 0.13.5 and the Hermes dependencies installed by its installer
- Hanwei Hermes Guard 1.0.0
Not included:
- A language model, GPU drivers, Chromium, the computer-use driver, and the GPL ffmpeg build that the Hermes installer would download. Features that need them are unavailable until you install them. Hermes prints "install out of sync (ffmpeg ...)" on each command.
Tested baseline:
- Architecture: x86_64
- Instance type: t3.medium (2 vCPU, 4 GiB)
- Verification: two instances launched from this AMI were checked for first boot, the 18-check verifier, probes run by the agent itself inside its confinement, metadata allow and block, the optional API server, reboot persistence, and violation detection. A local scripted stub model drove the agent; no real model provider was used.
Customer responsibilities and limitations:
- You supply a model provider and its credentials. Provider charges are billed by that provider.
- By default the agent cannot reach the EC2 metadata service. Hermes' Amazon Bedrock provider in its IAM credential chain mode obtains credentials from the instance role through that service and is expected not to work until you run "sudo hanwei-hermes-guard netpolicy imds allow". Doing so lets anything the agent runs request the role's credentials; give the role minimum permissions. Bedrock API keys and other providers are not affected. Bedrock was not tested.
- Real model providers, chat platforms, MCP servers, third-party skills and plugins, the web dashboard and the interactive setup wizards were not tested.
- The confinement protects the system and instance credentials from the agent. It does not stop the agent from using files in its home, credentials you give it, or outbound internet access.
- Hermes Agent is a separate open-source project of Nous Research. The seller is not affiliated with it.
- Open only TCP 22 in the Security Group, from your own address range.
- Other instance types, performance, high availability, backups and in-place upgrades were not tested. The AMI does not update Hermes; launch a newer AMI version instead.
Additional details
Usage instructions
Launch with your own EC2 key pair and allow inbound TCP 22 only from your own address range. No other inbound port is needed. First-boot setup takes about 30 seconds and the gateway is ready about a minute after boot; the login banner shows the metadata policy once setup has finished.
SSH to the instance as ubuntu using the key pair selected at launch.
Verify the delivered configuration:
- sudo hanwei-hermes-guard verify (18 checks; exit code 0 when all required checks pass)
- sudo hanwei-hermes --version
Give Hermes a model (you supply the provider and key):
- sudo hanwei-hermes config set <PROVIDER_API_KEY_NAME> <key>, then sudo hanwei-hermes config set model.provider <provider> and sudo hanwei-hermes config set model.default <model>.
Use it:
- Interactive: sudo hanwei-hermes. One-shot: sudo hanwei-hermes -z "your prompt".
- Run every Hermes command through sudo hanwei-hermes so it runs under the same limits as the gateway.
Amazon Bedrock with the instance role:
- Metadata access is blocked for the agent by default. To use the IAM credential chain run sudo hanwei-hermes-guard netpolicy imds allow and give the instance role minimum permissions. Revert with sudo hanwei-hermes-guard netpolicy imds block.
Optional API server (off by default):
- sudo hanwei-hermes-guard api enable, sudo hanwei-hermes-guard api key, and reach it from your computer with ssh -i <key>.pem -L 8642:127.0.0.1:8642 ubuntu@<public-ip>. Turn it off with sudo hanwei-hermes-guard api disable.
Security boundary:
- The agent runs unprivileged inside the limits described above. You manage model credentials and chat-platform allowlists, and you review third-party skills and plugins. Apply Ubuntu updates with sudo apt update && sudo apt upgrade. Documentation is at /usr/share/doc/hanwei-hermes/.
Support
Vendor support
For product technical support, please contact prosupport@hanweie.com
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.