@relaymessenger/pi

Relay Messenger channel for Pi over Relay v1 WebSocket delivery.

Packages

Package details

extension

Install @relaymessenger/pi from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@relaymessenger/pi
Package
@relaymessenger/pi
Version
0.1.3
Published
Sep 17, 2026
Downloads
830/mo · 830/wk
Author
advaitpaliwal
License
MIT
Types
extension
Size
10.7 KB
Dependencies
1 dependency · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./dist/native.js"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@relaymessenger/pi

Relay channel for Pi. It consumes Relay's acknowledged Agent WebSocket, runs each inbound Message through Pi RPC mode, and sends one final text reply.

relay connect pi configures and runs this path for you. For a direct integration, pass agentToken, optionally baseURL and piCommand, then use runPiChannel().

To load the native Pi extension in an existing Pi installation:

pi install npm:@relaymessenger/pi

Set RELAY_AGENT_TOKEN before using /relay-connect. Set RELAY_BASE_URL when the Agent belongs to a non-default API environment.