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.4.0.tar.gz (13.3 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.4.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hermes_plugin_pushary-0.4.0.tar.gz
Algorithm Hash digest
SHA256 dc0c198bc3cc95df41656dc9ff038d0ac1aa48706fe18c4c48d20c5de7215a63
MD5 003e771a77d5c7ca4f05aad128eb6a20
BLAKE2b-256 7899c805ffb72b898815a93c1d6037984d0a2599b7c53a612a7d1e5735057506

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hermes_plugin_pushary-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56aa335e39b7fba107df48304cd44d2455c65ec60020a1775af6828b16a46c5c
MD5 2d952e48ae5fc208f2309106bc268539
BLAKE2b-256 1466c810a9f8d6142c9e6e10ab234112100d7a768bd97a89cece073a25c31b79

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