# Desensitize: Hermes Agent plugin

> Chinese-context desensitization for Hermes chats.

Canonical: https://hermeswatcher.com/plugins/desensitize  
Tier: Community  
Official page (Nous Research): https://hermes-agent.nousresearch.com/docs/plugins/desensitize  
Last updated in catalog: 2026-09-27

Chinese-context desensitization for Hermes chats. Replaces PII and business-sensitive entities — person names, company names, addresses, file paths, and magnitude figures — with reversible placeholders before a message reaches the model, then restores them in the reply. Two layers: an optional local/OpenAI-compatible LLM for semantic entity judgment, plus a sub-millisecond regex fallback (phone, ID card, email, IP, path) that keeps the conversation working when the model is unavailable.

## Good to know before installing

The semantic layer sends the pre-redaction text to the configured LLM, because recognising a name requires seeing it: with the default provider=ollama that is the local Ollama host and nothing leaves the machine, but provider=openai without an explicit base_url falls back to https://api.siliconflow.cn/v1 (remote); set base_url, or stay on ollama, to keep it local. Also rewrites inbound user messages and outbound assistant replies, so transcript content differs from what you typed; placeholders are code-generated and may over-match (18-digit ID-card-shaped strings, names that collide with the public-entity allowlist); company names are matched greedily and a modifier such as 原北京某某有限公司 is absorbed into the placeholder; magnitude masking drops the numeric value and only fires on the configured trigger words, so a domain term absent from that list is left unmasked without warning; the placeholder mapping is held in memory only and never written to disk.

From the plugin's catalog listing.

## How to install

1. Install it. Hermes asks for any API keys it needs, then asks whether to turn it on.

```bash
hermes plugins install desensitize
```

2. Said no? Turn it on later:

```bash
hermes plugins enable desensitize
```

3. Restart Hermes so it loads the plugin.

Some plugins also need a sign-in or settings: see the official page. Memory plugins ask whether to become your memory provider instead. Steps follow the official plugins guide: https://hermes-agent.nousresearch.com/docs/user-guide/features/plugins

## Facts

- Category: Languages & regions, Web, research & browsing
- Maintained by: yubingz (Community)
- Needs: No API keys declared
- Requires Hermes: `>=0.19`
- Version: 1.4.1
- In the catalog since: 2026-09-26, updated 2026-09-27

## Links

- [Full setup and settings (official page)](https://hermes-agent.nousresearch.com/docs/plugins/desensitize)
- [Source code](https://github.com/yubingz/hermes-desensitize#readme)
- [All plugins](https://hermeswatcher.com/plugins.md)

---

HermesWatcher is an independent guide. It is not affiliated with or endorsed by Nous Research. The [official Hermes Agent documentation](https://hermes-agent.nousresearch.com/docs) and [repository](https://github.com/NousResearch/hermes-agent) from Nous Research are the authority; each page here lists the official sources it was written from. If this site and the official docs disagree, trust the official docs. Index for agents: https://hermeswatcher.com/llms.txt
