@agentcom/pi-agentcom
Remote Pi session communication over an AgentCom WebSocket server.
Package details
Install @agentcom/pi-agentcom from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@agentcom/pi-agentcom- Package
@agentcom/pi-agentcom- Version
0.1.0- Published
- Jun 5, 2026
- Downloads
- not available
- Author
- swulling
- License
- MIT
- Types
- extension
- Size
- 62.2 KB
- Dependencies
- 2 dependencies · 0 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-agentcom
Remote Pi session communication over an AgentCom WebSocket server.
Install
pi install npm:@agentcom/pi-agentcom
Then restart Pi or run /reload.
Configure
Create a device token from your AgentCom Worker UI, then join from Pi:
/com join wss://<your-agentcom-worker>/ws <device-token>
The extension stores credentials locally and reconnects automatically on startup.
Commands
/com auth open/save auth URL helper
/com join <ws_url> <device_token> join a room
/com list list online sessions
/com send <target> <message> send a message
/com ask <target> <message> ask and wait for a reply
/com reply <message> reply to a pending ask
/com pending show pending asks
/com status show connection status
/com rename <node_name> rename current node
/com leave disconnect and remove current credential
The package also registers the com tool for agents.