All plugins

gws-workspace

Multi-account Gmail, Drive and Calendar tools with native gws; explicit slash commands start change notifications in the current conversation or a new session. Disclosure — runs the native gws CLI you install, which keeps and refreshes each Google account's credentials in this profile's gws-oauth folder (sign in with hermes gws login in a terminal); every send, share, upload, write and local file read or write asks for Hermes approval first; Google API results, and the change metadata a watch matches, go to your model provider; large results are saved to files in the gws-oauth folder; optional watches start only when you send /gws-watch in a messaging chat, need a separate worker you run yourself, a public HTTPS callback and Hermes webhook routes whose secrets you put in this plugin's settings, and they post into that chat or start a new agent session with the instructions given when the watch was made.

anpicassoToolsv0.10.0Updated 8 days ago

About

Multi-account Gmail, Drive and Calendar tools with native gws; explicit slash commands start change notifications in the current conversation or a new session. Disclosure — runs the native gws CLI you install, which keeps and refreshes each Google account's credentials in this profile's gws-oauth folder (sign in with hermes gws login in a terminal); every send, share, upload, write and local file read or write asks for Hermes approval first; Google API results, and the change metadata a watch matches, go to your model provider; large results are saved to files in the gws-oauth folder; optional watches start only when you send /gws-watch in a messaging chat, need a separate worker you run yourself, a public HTTPS callback and Hermes webhook routes whose secrets you put in this plugin's settings, and they post into that chat or start a new agent session with the instructions given when the watch was made.

Hermes Google Workspace

Multi-account Google Workspace access through the native gws CLI: curated Gmail, Drive and Calendar tools, guarded advanced commands, and targeted change notifications.

Native gws owns Google credentials, decryption and refresh. This public plugin does not implement OAuth login, export tokens, or require the optional remote-login companion. One Hermes profile belongs to one trusted operator; all authorized sessions in that profile can use its connected accounts.

Install and configure

Requirements: Hermes with the plugin APIs listed here, native gws (tested baseline 0.22.5), and the Python dependencies declared in plugin.yaml (PyYAML, aiohttp and google-auth with requests). Watches require POSIX locking and a separately supervised worker. No binary, cloud provisioning or worker auto-start is included.

v0.10.0 uses short user-confirmed watch commands on unmodified Hermes; no core patch is required.

hermes plugins install anpicasso/hermes-gws-workspace --ref v0.10.0 --enable
hermes config set plugins.entries.gws-workspace.settings.gws_bin /absolute/path/to/gws

Use hermes --profile <name> for another profile. Check the installer result for live reload; a fresh session may be needed for updated tools, and older frontends may require an external process reload.

Google OAuth and accounts

You need your own Google Cloud Desktop app OAuth client, not an API key. The gcloud executable is optional for login. Create the client, enable APIs and configure consent, then use native per-account login/logout:

hermes gws setup person@example.com           # interactive gcloud / Desktop client wizard
hermes gws login person@example.com --readonly
hermes gws accounts
hermes gws status person@example.com
hermes gws logout person@example.com

These local commands handle account directories and isolation automatically; native gws still performs OAuth. gws is resolved on PATH unless plugins.entries.gws-workspace.settings.gws_bin sets an explicit executable. Setup/login/logout refuse active watches or pending cleanup. Setup requires gcloud and operator input in Cloud Console; skip it if this slot already has a Desktop client. Login writes in place: a failed or wrong-account attempt is blocked from routing, not rolled back.

Each account has a native configuration directory:

$HERMES_HOME/gws-oauth/accounts/<account>/

The legacy gws-oauth storage name is deliberately retained; renaming the plugin must not silently move or lose existing accounts. Account selection chooses that directory, not an exported token. Global native accounts, raw-token environment variables and global Application Default Credentials are not automatically adopted. Native gws auth remains usable by the operator; the agent-facing gws_api blocks the auth namespace.

Optional remote login

The optional hermes-gws-remote-auth companion is publicly available but is not being submitted to the Hermes catalog. It adds chat-based gws_login and approval-gated local gws_logout, sharing this plugin's native account backend. It is separate because remote consent and cross-device callback handling introduce chat-history exposure and gateway-specific bindings that are unnecessary for Workspace tools and watches. Keeping it outside this catalog submission makes that convenience an explicit opt-in, not a dependency or a claim of catalog compliance. Without it, use the terminal commands above. Never paste client JSON or refresh tokens into chat.

Tools

Load the bundled operational skill with skill_view("gws-workspace:workspace") for accounts, watch commands and public HTTPS ingress options.

The plugin registers 16 tools, two hooks (pre_tool_call, pre_gateway_dispatch) and the /gws-watch command:

  • Accounts: gws_accounts (list or sanitized native health).
  • Gmail: gws_gmail_search, gws_gmail_read, gws_gmail_draft, gws_gmail_send.
  • Drive: gws_drive_search, gws_drive_read, gws_drive_upload, gws_drive_share.
  • Calendar: gws_calendar_list, gws_calendar_freebusy, gws_calendar_create, gws_calendar_update.
  • Discovery/advanced: gws_schema, gws_api.
  • Watch preparation: gws_watch_prepare stages a local draft; it does not activate a watch.

Every Workspace operation selects an explicit account. Known reads run directly; mutations, sends/shares, local file input/output and unknown methods/options request the native Hermes approval gate. The configured host approval mode still applies. A model-supplied approved field cannot grant permission.

{"tool":"gws_accounts","arguments":{"check_health":true}}
{"tool":"gws_gmail_search","arguments":{"account":"person@example.com","query":"is:unread"}}

Tool mappings and examples. Relative files resolve under $HERMES_HOME/gws-oauth/files/, not the gateway's working directory. Absolute paths retain their meaning. The CLI is not a filesystem sandbox. Large successful output is saved privately as output_file; process and delete it after use. Raw native failures are sanitized; successful results can contain private Workspace content.

Notifications

Gmail users.watch → authenticated Pub/Sub HTTPS push ┐
Drive changes.watch → HTTPS callback                 ├→ durable hints/cursors
Calendar events.watch → HTTPS callback               ┘  → local filters → outbox → Hermes

Tell the agent what changes you want to follow. It prepares a local draft with gws_watch_prepare, explains the selected account, targets and delivery mode, and gives you /gws-watch confirmar CODE. Send that short command yourself in the same conversation to activate it. Preparation does not contact Google or start a watch. Codes expire, are single-use and cannot be confirmed from another physical session. In a new chat, send a normal message first so Hermes creates a physical session. The WhatsApp bridge supports only non-shared DMs; groups and unknown chat types are refused. /gws-watch or /gws-watch help shows usage; the gateway also accepts /gws_watch.

/gws-watch confirmar CODE
/gws-watch gmail {"action":"status"}
/gws-watch gmail {"action":"stop","watch_id":"WATCH_ID"}

Use the exact code returned by preparation, not the placeholder above; use the returned watch ID to stop. confirm is an alias for confirmar. The advanced /gws-watch <gmail|drive|calendar> <JSON object> format remains supported. same_session sends matches to this conversation; new_session runs the configured webhook separately. The command uses the gateway's sender and session, not destination IDs in the JSON. Local/CLI, cron, webhook and senderless requests cannot manage conversational watches.

The operator provisions delivery routes and public HTTPS ingress; one separately supervised worker per profile owns renewal, reconciliation and cleanup. Gmail push uses verified Google OIDC identity, exact audience/subscription/mailbox checks and durable acceptance before acknowledgement. Google API reads and renewals remain short account-locked native CLI calls. We do not run a persistent native watch alongside calls sharing its credential cache.

Watch setup and limitations. Same-session injection retains a concurrent /new race because the host has no atomic physical-session fence. Webhook admission is not proof of agent execution or delivery.

Migration, security and removal

The plugin ID is gws-workspace (toolset gws_workspace); account storage paths are unchanged. Before upgrading from our gws-oauth or pre-catalog v0.9.0 google-workspace build, stop watches, finish cleanup, stop the worker and disable that old installation; duplicate tool names must not coexist. Preserve account directories and move this plugin's settings and injection consent to plugins.entries.gws-workspace, then update the worker path and restart it. Do not copy credentials into the installed plugin directory. Update any explicit toolset allowlist and use remote-auth 0.1.1 or newer if wanted.

The existing Hermes catalog entry named google-workspace belongs to another maintainer: do not overwrite its settings or treat it as this plugin's previous installation.

Before removal, stop watches, allow remote cleanup, then stop the worker. Operator-provisioned Pub/Sub and Hermes routes are never deleted by this plugin. Removing the plugin does not remove credentials, watch state, or response files.

hermes plugins disable gws-workspace
hermes plugins remove gws-workspace

Security and catalog disclosure: external native credential ownership, content egress, account trust, filesystem and delivery limits. No catalog acceptance or endorsement is implied.

Verify

python -m unittest discover -s tests -v
hermes plugins doctor . --ci
hermes plugins validate . --json

The suite passed 231 tests, zero skips. Live short-command tests covered Drive and Gmail in same_session, and Calendar in new_session; verification records describe the observed delivery evidence and limits. Catalog PR #157482 requests review; the proposed upstream API for agent tools is separate.

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

More by anpicasso

8 plugins by anpicasso in the catalog.

anpicassojev-approvalsTypeSafe's Jev decision model as Hermes' smart-approval reviewer only: it cannot generate text and refuses every other task. Supports TypeSafe direct, OpenRouter, and configurable Jev-compatible HTTPS endpoints with optional endpoint-specific authentication; custom and aggregator routes use a plugin-owned dispatch placeholder that is never sent upstream, while TypeSafe direct still requires TYPESAFE_API_KEY. Validates typed answers and endpoint/redirect boundaries, redacts command credentials, caps oversized commands (64000 characters by default, halving to 16000 on a context-limit response) and never auto-approves a truncated command, and records bounded structured audit logs. Disclosure — each command routed to smart approval (redacted best-effort) and the operator's smart-policy text leave the machine for the configured third-party endpoint; provider or validation failures fail closed to ESCALATE.Communitymodels27anpicassohermes-plugin-chrome-profilesSwitch every Hermes browser surface — browser_exec, the built-in browser_* tools, and browser_vault_* — to a named Chromium-family profile (Chrome, Chromium, Brave, Brave Origin, Edge), local or remote, over CDP. The endpoint is published as the active Hermes profile's live CDP override, cleanup and the CDP supervisor are profile-scoped, and a browser the plugin launched is terminated on unload. Disclosure — a launched browser is user-visible and holds the user's live logged-in sessions; remote profiles connect to an endpoint the user already runs.Communityweb15anpicassooc-free-providerUnofficial OpenCode Zen free-model transport for Hermes. Discovers live zero-cost tool-capable models by intersecting OpenCode Zen and models.dev over HTTPS, persists only the last successful intersection for restart fallback, and bidirectionally translates compatible OpenCode and Hermes tool schemas, calls, choices, and replayed history while Hermes executes tools locally. No OpenCode CLI, Node.js, npm, or npx dependency. Disclosure — prompts, tool schemas, tool results, and other conversation content leave the machine for OpenCode and the selected model provider; model availability, retention, data use, and permission are governed by their current terms.Communitymodels15anpicassocursor-providerCursor model provider using the official proprietary Cursor SDK. Disclosure — uses Cursor's proprietary cursor-sdk (PyPI, bundled binary bridge on loopback) with the user's CURSOR_API_KEY; sends the full conversation, tool schemas/results and images (HTTPS URLs or base64) to Cursor; keeps private per-session SDK workspaces under HERMES_HOME/cache/cursor-sdk. Cursor built-in tools and MCP are requested off and Hermes keeps tool execution and approvals; native custom tools are opt-in (default off) with an inert executor. Plan-only exhaustion and rejected model parameters are terminal and fail closed without fallback. The SDK passes a loopback tool-callback token on the bridge argv (not the API key) and copies the gateway environment into the bridge process.Communitymodels7

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section