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.0.tar.gz (10.2 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.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hermes_plugin_pushary-0.3.0.tar.gz
  • Upload date:
  • Size: 10.2 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.0.tar.gz
Algorithm Hash digest
SHA256 144a59d6104870e0ffc7722b5657f2e2e7b2d22b99935c1b0224c0e528915dd6
MD5 4341aa36c6f7dccef4b59e15d9658166
BLAKE2b-256 bd11125c7efe8f006c077583da465d8062b88e5227d01052229d157eb6971134

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hermes_plugin_pushary-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9eacec24aab359d77c0f4c0cfba9d3974d40b0f643c992b64c44f72aebf1e0c6
MD5 0a13c1b46dbaf775c19ce3e943503151
BLAKE2b-256 fe5202f05c3f339818ab933b80c827e13d5d29ece8e13e5226c56392bcdbe307

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