For Hermes Agent

Heartwood memory provider for Hermes Agent

Heartwood has a memory provider for Hermes Agent. It keeps completed turns in a SQLite file on your machine, signs every memory and re-checks the signature each time it is recalled, and erases a whole subject by destroying its key.

Tested with Hermes Agent v0.22.4 (2026-10-22). Not in the Hermes catalog yet; not an official integration.

What the provider does

Hermes keeps its built-in MEMORY and USER memory and lets you add one external memory provider. Heartwood’s plugin is that provider. Completed conversation turns are kept automatically in local SQLite, and the agent gets three tools:

heartwood_recall
recalls context, first from the current session and then across the configured tenant.
heartwood_remember
stores a memory the agent chooses to keep.
heartwood_forget
erases the whole named subject, which can be several memories.

No account, API key, hosted service or private engine is bundled. The plugin uses the published heartwood-memory 0.2.10 package.

Why use Heartwood as the provider

Choose it when you need to show where a memory came from, keep records an agent may not use out of its recall, or erase one person’s data and keep a record that you did.

What each stored turn gets

Signed at write.

Every memory carries an Ed25519 signature binding its id, content hash, source, author, and epistemic class to the producing principal — so a memory cannot claim a trust level its producer never signed for.

Checked at recall.

The signature is re-checked each time a memory is recalled, and the result is shown on each answer. Opt-in strict modes (FILTER/ENFORCE) drop failed records or refuse the recall instead of passing them silently.

Filtered before ranking.

Records the caller is not cleared to use are removed before ranking: they are not scored, returned or counted. This holds under the single-trust-domain deployment posture; multi-tenant deployment is not claimed.

Erased by key destruction.

heartwood_forget destroys the subject's key and purges its records, and the erasure stays on the hash-chained audit log. When signing custody and an audit anchor are set up, Heartwood can issue a signed key-destruction receipt you verify offline. The receipt reports key destruction and purge counts, not byte-level deletion.

Tested, not official

On 2026-10-22, against Hermes v0.22.4, the plugin passed 8 contract tests and the 15 upstream plugin-admission checks with zero warnings, and a cross-session store-and-recall run with the published 0.2.10 package passed audit verification. The catalog entry is staged, not submitted: until the Hermes catalog accepts it, you install the plugin from the public repository at a reviewed commit, and installing it by name will not work.

If you used the Hermes-style example

Earlier versions of this page described a Hermes-style provider example that you wired into your own stack. That was the provider class in the Heartwood core. The plugin packages it for Hermes Agent’s own plugin system and was tested with Hermes v0.22.4.

Before you turn it on

  • Completed turns are kept automatically. Do not send anything you do not want stored.
  • Sessions in one tenant are not isolation boundaries. Use separate Hermes profiles and database paths for separate stores.
  • The plugin adds no identity verification of its own; Heartwood’s policy and provenance checks apply as usual.
  • The default embedding and reranking models may download from Hugging Face on first use.

Built for the moment your agent goes from demo to production

  • You run Hermes Agent and a security or compliance reviewer just asked “where did this memory come from, and can you delete it?”
  • You want to keep Hermes and its built-in memory, and add a governed store as its memory provider without a rewrite.
  • You need to erase one person’s data and keep a record of it.

Put a governed store under Hermes today

The core is source-available. Install the plugin, choose heartwood in hermes memory setup, and your next stored turn is signed, policy-gated and erasable.

Questions

Is there a Heartwood memory provider for Hermes Agent?

Yes. Heartwood has a directory plugin that makes it a Hermes memory provider, tested with Hermes Agent v0.22.4 on 2026-10-22. It keeps completed turns in a local SQLite file and adds heartwood_recall, heartwood_remember and heartwood_forget. It is not in the Hermes catalog yet and is not an official integration.

Is the Hermes plugin official or in the catalog?

No. Tested with Hermes Agent v0.22.4 (2026-10-22). Not in the Hermes catalog yet; not an official integration. You install it from the public repository at a reviewed commit; installing it by name waits for the catalog to accept it. It stores completed turns in local SQLite and adds heartwood_recall, heartwood_remember and heartwood_forget, and forget erases the whole named subject.

How do I install it?

Use Hermes v0.22.4 or newer. Install the plugin from the public repository at the reviewed commit named in plugins/hermes/README.md, then run hermes plugins enable heartwood and hermes memory setup, and choose heartwood. Hermes prepares the heartwood-memory 0.2.10 dependency itself; do not pip-install it into a managed Hermes environment.

How is the plugin different from the Hermes-style example on older pages?

Earlier pages described a Hermes-style provider example that you wired into your own stack. That was the provider class in the Heartwood core. The plugin packages it for Hermes Agent’s own plugin system, and it was tested with Hermes v0.22.4.

What does heartwood_forget erase?

The whole named subject, which can be several memories, so check the subject first. It destroys that subject's key and purges its records, and the erasure stays on the audit log.

Does Heartwood help with GDPR right-to-erasure for agent memory?

Heartwood provides a mechanism regulated teams can build on: forget(hard) destroys the per-subject encryption key and purges the subject's records, an approach consistent with recognized crypto-shredding practice (destroying the per-subject key so the encrypted content can no longer be decrypted), while keeping the erasure event in the audit log. Whether that satisfies a specific legal obligation is a question for your counsel — Heartwood gives you the key-destruction receipt primitive to build on.