Explain RPC mode vs pi -p in Pi coding agent
Session from pi-symphony-sessions on Hugging Face by thomasmustier · MIT · condensed by Coders Talk
30ssession
0interventions
GOAL
Understand what 'RPC mode' means in Pi (used by pi-symphony) and how it differs from the simpler pi -p print mode.
- +0Prompt · +0What is 'rpc mode'? We use it in pi symphony but I don't know what rpc is or how it's different to just pi -p
- +0mAgent did · +0mSearched pi-symphony SKILL.md and Pi coding agent README/docs for mentions of RPC, found references to the four run modes and event sources.
- +0mAgent did · +0mRead the dedicated rpc.md docs and README section describing RPC mode as a JSON protocol over stdin/stdout for headless operation.
- +0mOutcome · +0mAgent explained RPC as a stdin/stdout JSON protocol for long-lived, controllable sessions, contrasted with pi -p's one-shot print mode.
VERDICT
I'd start by just asking to explain RPC mode versus pi -p directly, since that's exactly what I wanted — no need to poke around first. The agent's dig through the actual docs (rpc.md, README) is what made the answer trustworthy rather than a generic RPC explanation.