All plugins

linux-notify

Native Linux desktop notifications (libnotify notify-send) when Hermes is waiting on you — approval prompts, clarify questions, sudo password prompts — and when a long turn finishes or stops. Prompt notifications are critical urgency and close themselves once answered from any surface; completion notices only fire for turns over a configurable threshold (default 30s), never for user interrupts or subagents. Works with any freedesktop notification daemon (mako, dunst, swaync, quickshell, GNOME, KDE). Disclosure — no network calls and no telemetry: notifications go only to the local D-Bus session bus by running notify-send and gdbus (argument lists, no shell, 10s/5s timeouts; both inherit Hermes's full process environment, provider keys included) on a short-lived daemon thread per notification. Body text is Hermes's force-redacted on_human_input_request prompt; it never sees typed answers or passwords and does not use pre_approval_request. Observer only, no inbound or approval path; no files read or written, no stored credentials.

codepilotsDesktopv0.1.0Updated 8 days ago

About

Native Linux desktop notifications (libnotify notify-send) when Hermes is waiting on you — approval prompts, clarify questions, sudo password prompts — and when a long turn finishes or stops. Prompt notifications are critical urgency and close themselves once answered from any surface; completion notices only fire for turns over a configurable threshold (default 30s), never for user interrupts or subagents. Works with any freedesktop notification daemon (mako, dunst, swaync, quickshell, GNOME, KDE). Disclosure — no network calls and no telemetry: notifications go only to the local D-Bus session bus by running notify-send and gdbus (argument lists, no shell, 10s/5s timeouts; both inherit Hermes's full process environment, provider keys included) on a short-lived daemon thread per notification. Body text is Hermes's force-redacted on_human_input_request prompt; it never sees typed answers or passwords and does not use pre_approval_request. Observer only, no inbound or approval path; no files read or written, no stored credentials.

linux-notify

Native Linux desktop notifications for Hermes Agent.
You get a notification when Hermes is blocked waiting for you, and when a long task finishes.
It works with any freedesktop.org notification daemon (mako, dunst, swaync, quickshell,
GNOME Shell, KDE Plasma, and others). It was built and tested on Omarchy (Hyprland on Arch).

EventTitleUrgency
Approval promptHermes needs approvalcritical (stays until dismissed)
Clarify questionHermes has a questioncritical
Sudo password promptHermes needs your sudo passwordcritical
Turn finished (≥ 30 s)Hermes: task complete — "Finished in 2m 14s · cli"normal
Turn failed or cut off (≥ 30 s)Hermes: task stopped — includes the exit reasonnormal

When you answer a prompt, its notification closes by itself, wherever you answered it
(terminal, Desktop, Telegram, and so on).

What it does and doesn't do

  • Notifications are sent only on the local D-Bus session bus. The plugin makes no
    network calls and has no telemetry.
  • It runs notify-send and, to close a notification, gdbus. Both are called as an
    argument list (no shell) on a short-lived daemon thread with a timeout, so a slow
    or missing notification daemon never blocks the agent.
  • Notification text comes from the prompt Hermes passes to on_human_input_request.
    Hermes force-redacts that prompt before any plugin sees it. The plugin never sees
    what you type (passwords and answers). It does not use pre_approval_request,
    which carries the unredacted command.
  • It never shows the model's replies. A completion notification contains only the
    duration, the platform name and, for failures, Hermes's exit reason.
  • It reads no files, writes nothing to disk, and stores no credentials. Its only
    state is in memory: turn start times, subagent session ids and open notification ids.
  • It observes only. It never answers, approves or denies anything.
  • Subagent turns never notify. Cron runs are skipped by default (skip_platforms).
    User interrupts (Ctrl-C, /stop) never notify.

Note: hermes plugins validate reports a caution finding, sudo_usage. This comes
from the literal notification title "Hermes needs your sudo password". The plugin
never runs sudo.

Requirements

  • Linux (or another OS) with a freedesktop notification daemon on the session bus.
  • notify-send from libnotify:
    • Arch: pacman -S libnotify
    • Debian/Ubuntu: apt install libnotify-bin
    • Fedora: dnf install libnotify
  • Optional: gdbus (from glib2, usually already installed). Without it,
    notifications still appear but don't close themselves when you answer the prompt.
  • Hermes Agent 0.21.6 or newer.

The gateway also works when it runs as a systemd user service. If
DBUS_SESSION_BUS_ADDRESS isn't set, the plugin falls back to
unix:path=/run/user/<uid>/bus. As a result, prompts from Telegram, Discord or other
gateway sessions also notify the desktop.

Install

hermes plugins install linux-notify          # from the catalog, once listed
# or straight from the repository:
hermes plugins install https://github.com/<owner>/hermes-linux-notify
hermes plugins enable linux-notify

The running gateway reloads plugin hooks automatically. For CLI sessions, start a new
hermes session.

To try it without waiting for a long task:

hermes config set plugins.entries.linux-notify.settings.completion_min_seconds 0
hermes chat -q "reply with just: ok"           # you should get "Hermes: task complete"
hermes config set plugins.entries.linux-notify.settings.completion_min_seconds 30

Configuration

Settings live under plugins.entries.linux-notify.settings in config.yaml.
Set them with hermes config set plugins.entries.linux-notify.settings.<key> <value>.

KeyTypeDefaultMeaning
notify_inputbooltrueNotify when Hermes blocks on you (approval, clarify question, sudo password).
notify_completionbooltrueNotify when a turn finishes.
notify_failuresbooltrueAlso notify when a long turn fails or is cut off. User interrupts never notify.
completion_min_secondsint30Only notify about turns that ran at least this long. 0 notifies on every turn.
input_urgencystrcriticalUrgency for prompt notifications: low, normal or critical. Most daemons keep critical notifications until you dismiss them.
close_on_resolvebooltrueDismiss the prompt notification once it has been answered.
skip_platformslist[cron]Session platforms that never notify, e.g. [cron, telegram].
iconstrhermes-desktopIcon name from your icon theme, or an absolute path to an image.

Troubleshooting

  • Nothing appears. Run notify-send test hello in the same environment Hermes runs
    in. If that fails, the problem is the notification daemon or the D-Bus session, not
    the plugin. Also check hermes plugins list shows linux-notify as enabled.
  • No completion notifications. Short turns are filtered out on purpose. Lower
    completion_min_seconds.
  • No icon. libnotify 0.8 sends the icon as the image-path hint and leaves
    app_icon empty. That is normal. If your theme has no hermes-desktop icon, set
    icon to an absolute path or a stock name such as dialog-information.
  • Prompt notifications don't close. Install gdbus (glib2). Some daemons also
    ignore CloseNotification for notifications that are already in their history.

Hooks used

pre_llm_call, on_session_end, subagent_start, on_human_input_request,
on_human_input_resolved. All of them are observers: the plugin returns nothing that
changes the agent's behaviour.

Development

python -m unittest discover -s tests -v                 # unit tests, no D-Bus needed
hermes plugins validate . --install-deps                # the same check catalog CI runs

License

MIT. See LICENSE.

README from the reviewed commit 6908542; it updates when the author re-pins.

More by codepilots

2 plugins by codepilots in the catalog.

codepilotspasskey-gateApprove your agents' risky actions with your phone's passkey, even when you're not at the agent's keyboard. An agent asks for approval of an exact action (and optionally the exact command); you get a link in any chat, read it on your phone and sign with Face ID, a fingerprint or your screen lock; the agent then verifies your signature locally against your pinned key before acting. A relayed 'the human said yes' proves nothing; only your signature counts. Optional enforcement blocks matching tool calls until you approve them, and each approval runs once. Includes a guided setup wizard, a background service, a hash-chained audit log, and approvals between agents owned by different people. It is an honest approval record, and becomes a hard boundary only when agents can't modify the gate (see the README's Security model). Lanes choose which conversations need a passkey: you at the keyboard, your own chat accounts, other people, bots or other agents. It can also act as Hermes's approval transport, so a command Hermes itself flags needs your passkey. Disclosure — runs a small web server on 127.0.0.1 that your phone reaches over HTTPS (by default published to your own tailnet with tailscale serve); can install a background service (systemd user unit or LaunchAgent) that runs as you; runs tailscale, systemctl --user/launchctl and a short Python process to time new patterns, never with elevated privileges; contacts only its own address and any peer gates you allowlist, follows no redirects, no telemetry; stores passkey public keys, requests, the pinned key, an audit log and a remote-minting token in its plugin data folder (no private keys); its hooks note each turn's platform, sender id and bot flag in memory only; as the approval transport (off until you select it) it posts one message into the conversation with the approval link for a command Hermes flagged, or one line saying it couldn't, and rewords one blocked tool result when a passkey request went unanswered; setup can change Hermes's security.approval.transport and transport_fallback settings, after asking; ships two test skills an agent runs only when asked; with enforcement on, any failure blocks the call; only your pinned passkey can approve, and anyone with an approval link can read and deny that request; patterns are a best-effort list, not a sandbox.Communitytools

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section