Skip to content
PidocsCLI & tooling

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.

  1. Prompt · +0
    What 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
  2. Agent did · +0m
    Searched pi-symphony SKILL.md and Pi coding agent README/docs for mentions of RPC, found references to the four run modes and event sources.
  3. Agent did · +0m
    Read the dedicated rpc.md docs and README section describing RPC mode as a JSON protocol over stdin/stdout for headless operation.
  4. Outcome · +0m
    Agent 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.

I tried this · 0

Discussion · 0

How Builds work