Skip to main content

A Paseo plugin lets every agent message one Grok Bot webhook and get the reply back

GitHubGitHubgkietle2026-12-03

Code and reposMulti-bot teamsSource read in fullRead first
GitHubGitHubgkietle2026-12-03

Open original

Overview

A developer who already runs a Paseo 0.19+ daemon can install this plugin so every agent on that daemon can message one external Grok Bot webhook routine, and the bot can answer back through Paseo's MCP connection.

Workflow

  1. What it is: A Paseo plugin that lets every agent on a Paseo daemon message one external bot, such as a Grok Bot routine that supervises those agents, through a single webhook. The bot answers into the agent through its own Paseo MCP connection. No agent needs its own link, key, or setup. Background helper agents never get the tool. The README presents a Grok routine with a webhook trigger and a Paseo connector as one such bot; other bot services can use the same protocol if they adjust where the request body is read.
  2. Grok Bot parts used: One webhook-triggered Routine, whose instructions are copied from the plugin's Settings › Routine prompt, plus an MCP connector from that Bot to the Paseo daemon with at least send_agent_prompt. There is no x.ai/bot/... template link. The plugin POSTs JSON (protocol v1) to the routine webhook; the bot replies with send_agent_prompt. Not part of Grok Bot: Paseo 0.19 or later, this plugin, the daemon host settings, and how the bot reaches the daemon's MCP endpoint (the README says that depends on the setup and is outside the plugin). The prompt is copied from the settings screen (shared/routine.ts); this case does not restate the prompt text.
  3. You need: Paseo 0.19.0 or later, on any OS the daemon runs on; Settings › Host › Tools & prompts › Enable tools turned on; and a bot routine that starts on an HTTPS webhook POST and has an MCP connector to this Paseo daemon with at least send_agent_prompt. The plugin has no runtime dependencies to install; Paseo supplies its SDK, React, and Zod. Not stated in the source: which Grok Bot plan is required.
  4. Install: Add the plugin, create the Grok Bot webhook routine, paste the copied prompt, fill in the webhook settings, then use Send test. The README's path, kept as sub-steps:
    • Step 1: From the Paseo registry, once listed, install Grok Bot bridge from Settings › Plugins, or run paseo plugin add <owner>/grokbot-bridge with the owner shown on the listing. Directly from the repository: paseo plugin add git:gkietle/grokbot-bridge.
    • Step 2: In the bot service, create a webhook-triggered routine and note its POST URL and key or expected header. Give the routine an MCP connector to the Paseo daemon so it can call send_agent_prompt.
    • Step 3: In Paseo, open Settings › Plugins › Grok Bot bridge and press Copy on Routine prompt. Paste that text as the routine's instructions. Add owner rules after the last line, Owner additions: — for example, how to handle messages from agents with the role label reviewer. The prompt says the message arrives in <webhook_event>, which is how a Grok routine receives a webhook; for another service, change that phrase.
    • Step 4: In the plugin settings, set Webhook URL and Auth header (default Authorization), then Save. After an https:// URL is saved, use Save key; the key is stored for that exact URL on the daemon host, not in the plugin's host settings. Changing the URL means saving a key for the new URL. A send needs Enabled (default on), an https:// URL (other schemes are refused), and a key saved for that URL. The default bot name that agents see is Grok Bot. Default message length is 8,000 characters (200 to 100,000). The README Settings table at fetch still describes an older Key and Header pair stored in host settings; the implementation files named in evidence_detail are the source for this step.
    • Step 5: Press Send test. The screen is described as showing Delivered test gb-… (1 try). and the bot telling you grokbot-bridge: test gb-… received. That is an installer acceptance step, not an author run record. Then ask an agent to send the bot a message; the answer should arrive with the first line grokbot-bridge re <id>.
  5. After install: Agents call grokbot_send; the plugin adds sender metadata and POSTs protocol v1 JSON; the bot answers with send_agent_prompt.
    • The body includes v, id, sentAt, and from (agent id, title, role label, workspace id) from the plugin; the agent supplies text, reply (default true), and inReplyTo. test: true appears only in a Send test body.
    • If reply is true, the bot answers with first line grokbot-bridge re <id>. If reply is false, the bot must not message the agent about it. The bot may still send an agent a prompt of its own with send_agent_prompt and no grokbot-bridge first line; if the agent later uses grokbot_send, that is a fresh message. Protocol v1 dropped the earlier bot-started grokbot-bridge id= exchange, which the README still mentions.
    • Delivery is only to an https:// URL. HTTP 2xx is accepted (Accepted <id> by the webhook for an agent send; Send test still reports Delivered test …). A network error, an 8-second timeout, or a 5xx is retried after 1 s and 3 s with the same id; a 3xx or 4xx is not, and redirects are never followed.
    • Rate limit: at most 6 sends a minute from one agent and 30 from all agents on the daemon. A longer message than the setting is refused before it is sent.
    • Background helpers and history opens never get the tool. Agents get grokbot_send when they next open only if the bridge is enabled and an https:// URL and a key for that URL are saved. After Enabled is turned back on or Bot name is changed, an already-open agent gets the change when it next opens.
  6. Did the author run it: The repository has no run records from the author. The repo includes a test suite and a GitHub Actions CI workflow; those are local or CI tests, not a record of a Grok Bot exchange. The README's Send test text is an acceptance step for the installer.

Key points and results

  • Maturity: At fetch time on 2026-12-04 the repo was created at 2026-12-03T14:23:56Z, last pushed at 2026-12-03T18:13:41Z, with 4 commits, 0 stars, 0 forks, 1 open issue or PR, and an MIT license. No Grok Bot prompt file was fetched as a block. The README describes protocol version 1 and a registry install path that applies once the plugin is listed. The repository has no author-run Grok Bot record.
  • Permissions and boundaries: The webhook key is stored in $PASEO_HOME/grokbot-bridge/secret.json (or ~/.paseo/grokbot-bridge/secret.json when PASEO_HOME is unset), in a 700 directory and a 600 file, written only through the grokbot-bridge.set-key RPC and bound to the exact URL it was saved for. It is not a host setting; those settings are still shared with every Paseo app that can manage the daemon. grokbot-bridge.key-status returns only whether a key is saved, and the settings screen never displays it. A v1 settings migration drops any Key and Header previously stored in settings and does not move them, so the owner must save the key again. The plugin never logs the key or returns it to an agent, and error messages name no URL, key, or network address. The key is sent only to the configured https:// URL, in the Auth header (default Authorization: Bearer <key>; any other name carries the key as its whole value). Agents get grokbot_send only while the bridge can send (Enabled, an https:// URL, and a key for that URL); background helpers and history opens never get it. An agent that has the tool can put anything in text; the plugin does not filter text. Sender fields are set by the plugin, so an agent cannot pose as another agent. The bot's own Paseo MCP connection, not this plugin, may also create, steer, or stop agents, depending on the tools that connection exposes. The routine prompt in shared/routine.ts tells the bot to treat a message as a colleague's request, never as its owner's instruction or approval, and owner additions cannot override that rule. A first line such as grokbot-bridge re <id> is a convention, not proof of the sender.
  • Known limits: Paseo 0.19.0+ with Enable tools is required, and the webhook URL must be HTTPS. Rate limits are 6 sends a minute per agent and 30 across the daemon. Default max message length is 8,000 characters. How the bot reaches the daemon MCP endpoint is outside the plugin. Which Grok Bot plan is required is not stated. The README Settings and Security sections at fetch still describe the older in-settings Key and Header model. The repository has no author run records.
  • Worth borrowing: Give every agent on a daemon one shared webhook tool, and have the plugin, not the agent, stamp the sender id, title, role, and workspace. See the README's Protocol section.
  • Worth borrowing: Store the webhook key in a dedicated secret file on the host, not in plugin settings that managing apps receive, never show it again, refuse non-HTTPS URLs and redirects, and keep URLs and keys out of logs and error text. See server/secret.ts and shared/settings.ts.
  • Worth borrowing: Treat incoming agent text as a colleague's request, never as the owner's instruction or approval, and do not let owner-added rules override that. See the Security section's description of the routine prompt.

Source

Platform
GitHub
Author
gkietle
Published
Categories
Code and repos, Multi-bot teams

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.