Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

hermes-mordred

Latest release (including pre-releases) PyPI CI

Privacy-preserving plugins for the Hermes agent: hardware-backed keys, Tor/VPN routing, local-LLM policy enforcement, encrypted audit data, end-to-end gateway messages, and macOS-integrated at-rest encryption.

Mordred is a cooperative control layer inside Hermes, not an operating-system sandbox. See the specification for the security boundary and accepted limitations.

Status: active alpha. See the latest alpha release and release notes. New users should start with the Quickstart.

The plugin

The package registers one Hermes plugin, mordred (a single hermes_agent.plugins entry point), made of these components:

Component Purpose
keyvault Secure Enclave / TPM-backed key management and at-rest secrets
llm_guard Strict-mode local-LLM enforcement
network Tor, VPN, and clearnet path management
privacy_check Skill-metadata policy enforcement and audit logging
dbcrypt SQLCipher encryption of Hermes's SQLite databases (macOS)
e2e Encrypted Slack and Discord gateway commands and replies
activity Encrypted record of browser activity for Hermes (preview)
wizard The hermes-mordred CLI

Hermes (and Hermes Desktop) lists it as one plugin, mordred; enabling or disabling it turns every component on or off together. Releases up to 0.1.0a20 registered six plugins instead (mordred_network, mordred_privacy_check, ...). hermes-mordred plugins migrate (also run by install.sh, configure, and upgrade) replaces those names in plugins.enabled / plugins.disabled with mordred. The plugins.mordred_* settings sections in config.yaml keep their names.

Requirements

  • Python 3.11 or newer and hermes-agent>=0.13.0.
  • macOS or Linux for the established operator workflows. Scoped native Windows implementations exist; general Windows product, Windows 11, and live-device acceptance remain incomplete. Mobile support is deferred. See Platform Support.
  • Transparent .env, configuration, and workspace encryption use macOS integrations. Memory uses the macOS file vault, a dedicated Linux TPM-wrapped key, or dedicated Windows CNG custody. Linux memory works through setup, encryption enable all, and standalone commands; Private Telegram has its dedicated flow. Linux setup/all skip env/config file-vault enrollment. Windows support is reported per capability.
  • Hermes database encryption (state.db and the other SQLite stores) is admitted on macOS, Linux and Windows Server (Windows workstation editions are refused at runtime) and requires the separate databases encrypt command after memory setup. Linux TPM and Windows CNG memory encryption do not encrypt databases by themselves.

Install (users, from PyPI)

Start with an installed Hermes Agent, then run the Mordred installer:

curl -fsSL https://raw.githubusercontent.com/mordredagent/hermes-mordred/main/scripts/install.sh | bash
hermes-mordred setup
hermes-mordred status

install.sh only installs the package; hermes-mordred setup is what configures Mordred and creates keys. It runs configure, which enables the mordred plugin. Manual configuration is covered by the usage guide. Version pins, optional features, inspect-before-running steps, platform commands, and expected output are documented in the Quickstart.

Keep it up to date

hermes-mordred update          # newest release, same extras, Hermes's own packages untouched
hermes-mordred update --check  # only tell me

Restart the Hermes gateway (or Hermes Desktop) afterwards. Hermes Desktop users can also press Update Mordred on the Mordred page; a notice appears there when a newer release is known. Details, refusals and the installer fallback are in the usage guide.

Use it

Use hermes-mordred status for the overall state. On macOS, guided setup also offers agent-memory protection through hermes-mordred encryption enable memory. To protect conversation databases too, follow the database encryption steps. For native Windows, follow the TPM workflow and capability limits. The complete command reference and security ceremonies live in the usage guide.

Once Hermes 0.19.0+ is configured and the plugins are enabled, hermes mordred <command> exposes the same command tree. On older Hermes versions, or before the first configure, keep using hermes-mordred.

Record browser work (preview)

Mordred records Hermes's own browser actions (and batches from the paired browser extension) in an encrypted store (<home>/plugin-data/mordred/mordred.db; requires macOS database encryption, off by default under plugins.mordred_activity). Your explicit corrections are kept as events next to the actions they concern. Hermes uses this history directly: a site's earlier work is added to browser results, relevant tasks and corrections to the turn, and two lookup tools answer questions about earlier browser work (activity use on|off switches this); nothing is written to memory or skills. Commands: hermes-mordred activity status|use|tools|correct|backup|restore|retention (usage).

Verify discovery

hermes-mordred plugins list

It shows the mordred plugin and whether each component registered. Some Hermes versions omit package entry points from hermes plugins list.

Documentation

Detailed setup, operations, and troubleshooting are maintained in the dedicated guides:

Audience Guide Covers
Users Quickstart Install and first protected setup
Users Usage guide Commands, ceremonies, troubleshooting, upgrades, removal
Users Extension guide (preview) Optional browser extension, E2E messaging, wallet bridge
Users Telegram guide (preview) Read-only private questions, hardware-sealed credentials, platform limits, Venice/local only
Developers Development setup Editable .venv, HERMES_HOME isolation, validation
Developers Development index Maintained sources of truth

License

MIT

Metadata

Release files for hermes-mordred 0.3.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hermes-mordred 0.3.0a5
File Size Uploaded Provenance Actions
hermes_mordred-0.3.0a5.tar.gz 3.6 MB With provenance Details for hermes_mordred-0.3.0a5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hermes-mordred 0.3.0a5
File Interpreter ABI Platform Actions
hermes_mordred-0.3.0a5-py3-none-any.whl Python 3 none any Details for hermes_mordred-0.3.0a5-py3-none-any.whl

Total release size: 5.6 MB

Release files / hermes_mordred-0.3.0a5.tar.gz

Download URL hermes_mordred-0.3.0a5.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
0d8b1f4f8d21470aae511bc81ae580c2fb9bc2b4ba788b23fb2835157582de0f
BLAKE2b-256 checksum
How to use checksums
1089fb7e7e2b58925bc3a3da2592ea5f1262c1549446d99d31e0bc3f4bc038a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Release files / hermes_mordred-0.3.0a5-py3-none-any.whl

Download URL hermes_mordred-0.3.0a5-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9578f282d3c224b8cf8ae154b8d6fb2254f2c202b5166bbaec3ff42ebfb078a5
BLAKE2b-256 checksum
How to use checksums
3f304bbf19e67803d71431f24593ee4f13e0dd206e5d62e2e2155eef02adbff3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

Security for hermes-mordred 0.3.0a5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hermes_mordred-0.3.0a5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page