Atbash safety plugin for Hermes Agent
Project description
atbash-hermes-plugin
Atbash guardrail plugin for Hermes Agent using the official Python SDK (atbash-sdk).
What it does
- Intercepts every Hermes tool call in
pre_tool_call - Sends a verdict request to Atbash before the tool executes
- Blocks tool execution when verdict is denied
Install
- Clone/copy this folder into your Hermes plugins directory.
- Install dependencies:
python3 -m pip install -r requirements.txt
- Configure env vars:
export ATBASH_AGENT_PRIVKEY='{"pubkey":"...","privkey":"..."}'
# or
export ATBASH_KEY_PATH="$HOME/.config/atbash/guard-client-key"
# optional
export ATBASH_ENDPOINT="https://api.atbash.io"
export ATBASH_ENFORCE_DECISION="true"
export ATBASH_DEBUG="false"
export ATBASH_TOOL_MAP_PATH="$HOME/.config/atbash/hermes-tool-map.json"
- Enable plugin in Hermes config.
Tool classification
The plugin records previously unseen Hermes tool names in
~/.config/atbash/hermes-tool-map.json. The learned mappings are loaded when
each Hermes session starts, so tool classifications persist across restarts.
Set ATBASH_TOOL_MAP_PATH to override the location.
Behavior
ALLOW=> tool proceedsHOLD=> tool is paused and must be reviewed before retryingBLOCK/DENY/REJECT=> tool is blocked with a user-facing message- Errors talking to Atbash:
- if
ATBASH_ENFORCE_DECISION=true(default): block fail-closed - if
false: allow fail-open
- if
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atbash_hermes_plugin-0.1.0.tar.gz.
File metadata
- Download URL: atbash_hermes_plugin-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d68c83f897ee6fcfddabf455f0455562c3d7a5b054c89927487ba45773f8d98f
|
|
| MD5 |
129ac87b211e1c42973c04951ab8ef79
|
|
| BLAKE2b-256 |
687fb9b427073649fda9e6cb09f03464d69da1d73603616989b79b16053b7c0f
|
File details
Details for the file atbash_hermes_plugin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: atbash_hermes_plugin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04a79cb29cd7f74b7e6d79bbff0842fe66beea0640ec96eafd8fa59607ef4d30
|
|
| MD5 |
33a8a906ce10ee5958185daedd925e2d
|
|
| BLAKE2b-256 |
07757ced54f6679317b9560ca1aac88778b8d803b5337cddb2fb4d40f87c88da
|