All plugins

compache

Context engine that makes long sessions cheaper. It leaves out of each request what later turns rarely need, by a policy fitted to conversations like yours, and only once the prompt cache has expired, when the history has to be paid for in full anyway. The conversation Hermes keeps is untouched, and the model fetches a trimmed part back with a reopen tool. Select it with context.engine: compache. Disclosure: installs compache from PyPI (no further dependencies); reads the policy file named by COMPACHE_POLICY and prompt_caching.cache_ttl from Hermes' configuration; writes nothing unless COMPACHE_RECORD names a folder, and then sizes, times and token counts, never text; no network calls, no telemetry, no shell commands, no background work; makes no model calls of its own, and hands the model route Hermes gave it to Hermes' own compressor when a conversation outgrows the model.

BarendPotijk2Generalv0.14.0Updated 5 days ago

About

Context engine that makes long sessions cheaper. It leaves out of each request what later turns rarely need, by a policy fitted to conversations like yours, and only once the prompt cache has expired, when the history has to be paid for in full anyway. The conversation Hermes keeps is untouched, and the model fetches a trimmed part back with a reopen tool. Select it with context.engine: compache. Disclosure: installs compache from PyPI (no further dependencies); reads the policy file named by COMPACHE_POLICY and prompt_caching.cache_ttl from Hermes' configuration; writes nothing unless COMPACHE_RECORD names a folder, and then sizes, times and token counts, never text; no network calls, no telemetry, no shell commands, no background work; makes no model calls of its own, and hands the model route Hermes gave it to Hermes' own compressor when a conversation outgrows the model.

compache for Hermes

Long sessions get cheaper. This context engine leaves out of each request what later turns rarely need, by a policy fitted to conversations like yours, and only once the prompt cache has expired: then the history has to be paid for in full anyway. The conversation Hermes keeps is untouched, and the model fetches a trimmed part back with a reopen tool.

Set up

hermes plugins install BarendPotijk/compache/integrations/hermes
compache default --model claude-sonnet-5-5 -o ~/.hermes/compache.json
echo "COMPACHE_POLICY=$HOME/.hermes/compache.json" >> ~/.hermes/.env
# ~/.hermes/config.yaml
context:
  engine: compache
prompt_caching:
  cache_ttl: 5m        # or 1h, where the policy was fitted for one-hour entries

compache default is a start. Fit your own to save more.

What it touches

ReadsThe policy file in COMPACHE_POLICY, and prompt_caching.cache_ttl in Hermes' configuration
WritesNothing, unless COMPACHE_RECORD names a folder. Then sizes, times and token counts of every turn, never text
Network, telemetry, shell, background workNone
Model calls, credentialsNone of its own. When a conversation outgrows the model, it hands the model route Hermes gave it to Hermes' own compressor
Toolsreopen, while a policy is set. It returns trimmed text of the same conversation
Installscompache from PyPI, which has no dependencies

Needs Hermes 0.23 or later. Other ways in, with keep-warm pings and a policy learned from your own sessions: compache proxy.

README from the reviewed commit 10ea507; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section