Skip to main content

Pushary push notifications plugin for Hermes Agent

Project description

Pushary Plugin for Hermes Agent

Push notifications and human-in-the-loop for Hermes Agent via Pushary.

Install

pip install hermes-plugin-pushary

Or manually (directory install — plugin.yaml and skills/ ship inside the package):

cp -r pushary_plugin ~/.hermes/plugins/pushary
hermes plugins enable pushary

Note: Hermes runs in its own virtualenv, so pip install must target that interpreter (e.g. ~/.hermes/hermes-agent/venv/bin/python -m pip install hermes-plugin-pushary). hermes plugins enable currently only recognizes directory/bundled plugins, not pip-installed ones. If you installed via pip, enable it by adding the plugin to ~/.hermes/config.yaml directly instead:

plugins:
  enabled:
    - pushary

Setup

Set your API key:

export PUSHARY_API_KEY="pk_xxx.sk_xxx"

Get a key at pushary.com/sign-up.

Tools

Tool Description
pushary_notify Send a push notification with optional rich context
pushary_ask Ask a question via push (yes/no, multiple choice, or free text)
pushary_wait Wait for the user's answer
pushary_cancel Cancel a pending question

Auto-Notifications

The plugin automatically sends push notifications when tools return errors (up to 3 per session).

Set PUSHARY_AUTO_NOTIFY_SESSION_END=1 to also get notified when a session ends.

Set PUSHARY_AGENT_NAME to identify this Hermes instance in notifications (e.g., "Hermes - daily-briefing").

Permission Gating (approve from your lock screen)

Gate dangerous tools behind a yes/no push approval — Hermes pauses on a pre_tool_call hook, pushes the request to your phone, and only runs the tool if you approve.

export PUSHARY_GATE_TOOLS="terminal,write_file,delete_file"   # comma-separated tool names
export PUSHARY_GATE_TIMEOUT_MS=55000                          # optional, max 55000

Behaviour for a gated tool:

Outcome Result
You approve Tool runs
You deny Tool is blocked, the agent is told why
No answer before timeout Tool is blocked (fail-closed — you were asked)
Pushary unreachable / no API key Tool runs (fail-open — never bricks on our outage)

Gating is off unless PUSHARY_GATE_TOOLS is set. The Pushary tools themselves are never gated.

License

MIT

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

hermes_plugin_pushary-0.3.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

hermes_plugin_pushary-0.3.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file hermes_plugin_pushary-0.3.1.tar.gz.

File metadata

  • Download URL: hermes_plugin_pushary-0.3.1.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for hermes_plugin_pushary-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f9aab23b8a4a7c14b8581428194a791c0a80e91d591e6666ef6ec5a0fa89a43a
MD5 20518c4cd41949f106ef3043a5d945a8
BLAKE2b-256 7f7b568a6988812e0b79a534862da522e7d941df08e46734a78c8e8ebe66dad6

See more details on using hashes here.

File details

Details for the file hermes_plugin_pushary-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hermes_plugin_pushary-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ae956fc64ea4406cd0360a221a99dbf8f307808d15d423e6669995ae0beb39f
MD5 29c35766149cf969270bc939d66d8443
BLAKE2b-256 33880ffa88a86b7c6ab28a98997fadbff174c0fc93222acce030e9d6e3cf96ee

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