pi-peer-comms

Peer-to-peer communication between running Pi sessions

Packages

Package details

extension

Install pi-peer-comms from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-peer-comms
Package
pi-peer-comms
Version
0.1.0
Published
Aug 15, 2026
Downloads
156/mo · 26/wk
Author
shantanugoel
License
MIT
Types
extension
Size
21.3 KB
Dependencies
0 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

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

README

pi-peer-comms

A Pi extension that lets running Pi sessions discover each other, exchange messages, and read peer status.

Install

pi install npm:pi-peer-comms

Or install the GitHub package:

pi install git:github.com/shantanugoel/pi-peer-comms

Restart Pi or run /reload after installation.

Usage

  • /peers — list active peer sessions
  • /peer-send <session-name-or-id> <message> — send a message
  • /peer-read [session-name-or-id] — read a peer's status and latest reply
  • peer_sessions — tool for listing, messaging, and reading peers

The extension stores session records and mailboxes under ~/.pi/agent/peer-comms/.

License

MIT