Your Hermes agent's audit log is leaking customer emails. Here's a 100-line lib that fixes that. A developer built a 130-line Python library called `agent-redact` that automatically scrubs PII from Hermes agent audit logs before they are written to disk or shipped to external services. The library, which has zero runtime dependencies, can redact emails, credit cards, SSNs, API keys, and other sensitive data, and includes a hash mode that preserves join keys for analytics without exposing the underlying values. This is a submission for the Hermes Agent Challenge. I built a Hermes agent last week that takes a customer support email, decides whether it needs a refund, and either issues one or escalates to a human. Standard stuff. The agent worked. The problem started the moment I turned on audit logging. Every run wrote a JSONL row to disk. Every row contained the full inbound message, the tool calls, the tool outputs, and the final reply. Within an hour the log had: I was about to ship that log to S3 for run-history search. The log was also being mirrored to Sentry on error, and to a Slack channel on escalation. Three places to leak from. Zero scrubbing. I went looking for a small lib that would clean a string before I wrote it. The options were either a paid API, a heavy NER-based PII detector, or a hand-rolled regex I would have to maintain myself. None of those fit a 200-line agent script. So I built one. It is called agent-redact . The whole thing is around 130 lines, zero runtime dependencies, and pip-installs as agent-redact . Repo: MukundaKatta/agent-redact https://github.com/MukundaKatta/agent-redact . python from agent redact import redact audit line = "tool=charge customer args={'email': 'jane.doe@acme.com', " "'card': '4111 1111 1111 1111'} key=sk-" + "Z" 40 print redact audit line Output: tool=charge customer args={'email': '