Skip to main content

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

  1. Clone/copy this folder into your Hermes plugins directory.
  2. Install dependencies:
python3 -m pip install -r requirements.txt
  1. 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"
  1. 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 proceeds
  • HOLD => tool is paused and must be reviewed before retrying
  • BLOCK/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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atbash_hermes_plugin-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atbash_hermes_plugin-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for atbash_hermes_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d68c83f897ee6fcfddabf455f0455562c3d7a5b054c89927487ba45773f8d98f
MD5 129ac87b211e1c42973c04951ab8ef79
BLAKE2b-256 687fb9b427073649fda9e6cb09f03464d69da1d73603616989b79b16053b7c0f

See more details on using hashes here.

File details

Details for the file atbash_hermes_plugin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for atbash_hermes_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04a79cb29cd7f74b7e6d79bbff0842fe66beea0640ec96eafd8fa59607ef4d30
MD5 33a8a906ce10ee5958185daedd925e2d
BLAKE2b-256 07757ced54f6679317b9560ca1aac88778b8d803b5337cddb2fb4d40f87c88da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page