Pi-Msg: Drive Pi from XMPP Pi-Msg, a new open-source bridge, lets users drive the Pi coding agent entirely from an XMPP chat client, relaying prompts and slash commands over 1:1 or group chats. The tool runs Pi in RPC mode, enabling commands like /new, and provides typing indicators, presence status, read receipts, and file upload support. It requires a config file with bot account credentials and an owner JID, and supports multiple accounts and MUC rooms. Drive the Pi https://pi.dev coding agent entirely from an XMPP chat client — 1:1 or in a group chat MUC . pi-msg launches pi --mode rpc , then bridges Pi's JSONL event stream to XMPP via mellium.im/xmpp https://mellium.im/xmpp : the assistant's replies are relayed to you as chat messages, and your chat messages drive the agent — plain prompts and slash commands, exactly as if you'd typed them into Pi locally. Because it runs Pi in RPC mode, commands like /new work over chat an earlier in-process-extension version couldn't do this — sendUserMessage can't invoke Pi's command layer . sequenceDiagram participant You as You XMPP client participant Bridge as pi-msg participant Pi as pi --mode rpc You- Bridge: "fix the build" Bridge- Pi: prompt Pi-- Bridge: message end event Bridge-- You: assistant text You- Bridge: "/new" Bridge- Pi: {type:"new session"} Note over Pi: fresh session - Each finished assistant message → sent to you as chat. - Agent state shows on three independent signals 1:1 : a typing indicator while a reply is actually being written, presence