Listing Thumbnail

    Hardened Hermes Agent with Confined Execution on Ubuntu 24.04

     Info
    Deployed on AWS
    AWS Free Tier
    This product has charges associated with it for integration of Hermes Agent v0.23.0 with a systemd-confined gateway and CLI, an EC2 metadata block with a policy switch, read-only code trees, first-boot safety settings and a verifier, and a tested Ubuntu 24.04 baseline on t3.medium.

    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

    Delivery method

    Delivery option
    64-bit (x86) Amazon Machine Image (AMI)

    Latest version

    Operating system
    Ubuntu 24.04

    Deployed on AWS

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Hardened Hermes Agent with Confined Execution on Ubuntu 24.04

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time. Alternatively, you can pay upfront for a contract, which typically covers your anticipated usage for the contract duration. Any usage beyond contract will incur additional usage-based costs.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.
    If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier  for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier  for more details.

    Usage costs (21)

     Info
    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

    Request a private offer to receive a custom quote.

    How can we make this page better?

    Tell us how we can improve this page, or report an issue with this product.
    Tell us how we can improve this page, or report an issue with this product.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    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.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.