Connect
| Task | piPi coding agent 1.3.0 |
|---|---|
| Start the server | pi --mode rpcJSONL stdin/stdout |
| Connect a client | Your bridge or supervisor |
| Credentials | Bridge must authenticate clients model credentials do not |
| Connection security | Bridge must control workspace access |
| Relay or tunnel | Not established in core RPC hosts/extensions may add one |
| Pair a device | Not established in core RPC |
| Requirements | Core RPC is a subprocess remote access needs a bridge |
| Run in background | Keep owning and draining RPC child |
Cloud tasks
| Task | piPi coding agent 1.3.0 |
|---|---|
| Send to cloud | Provider cloud handoff not established |
| Bring work back | Not established |
Sessions
| Task | piPi coding agent 1.3.0 |
|---|---|
| List sessions | Session discovery belongs to SDK/host or session manager |
| Read history | get_messagesget_session_entriesentry cursors |
| Resume | switch_sessionloads in this runtime |
| Fork | fork |
| Join running work | No attachment to another running Pi process through session switching |
| Answer approvals | Extension dialogs no universal built-in approval policy |
| Receive updates | RPC events agent_settled signals completion |
| Stop a turn | abort |
Execution
| Task | piPi coding agent 1.3.0 |
|---|---|
| When the client disconnects | Closing stdin shuts down child unread stdout can stall it |
| Restart and recovery | Separate experimental @earendil-works/pi-durablestorage/task recovery |
| Where tools run | RPC host working directory and session files |
Build an integration
| Task | piPi coding agent 1.3.0 |
|---|---|
| ACP | Community pi-acpseparate from core RPC |
| API or SDK | Pi Durable adds recovery no network/pairing interface established |
| Custom relay clients | Bridge or extension behavior must be checked separately |
Research and evidence
pi, Source inspected, Remote execution not tested
- Claims about absent network framing are scoped to the inspected core RPC path, not community extensions or custom embeddings.
- Pi Durable is a separate experimental package with a distinct API and storage/lifetime model.
- No remote bridge, community adapter turn, process-death recovery or Pi Durable runtime probe was run.
- Source inspection and official documentation establish implementation or documented behavior, not a passing end-to-end remote probe.
- connect:
pi --mode rpcis a long-lived subprocess controlled through JSONL stdin/stdout. A remote deployment needs an application-owned bridge or supervisor. The audited core RPC entry path supplies no network listener or network authentication contract; extension-built servers are outside that claim. - auth: Core RPC uses the spawned process boundary. Provider credentials authenticate model access; they do not authenticate remote bridge clients. A hosting application must define transport authentication and workspace access control.
- relay: The core RPC contract documents local pipes, not a provider-managed device pairing or relay service. Community extensions or remote hosts may add such a layer; their behavior is not inherited from Pi RPC.
- cloud: Running Pi on a remote host is a deployment choice. A provider-hosted cloud handoff/teleport workflow is not established by the coding-agent RPC or durable library.
- history: RPC supports
switch_session,fork,get_messages, andget_session_entriesfor stored session state and history. Entry cursors can recover appended records across client restarts. Session file discovery belongs to the SDK/host or session manager rather than being inferred from a remote session-list endpoint. - attach: Switching a session loads it in this RPC runtime; it does not attach to another running Pi process. A bridge must manage routing, process ownership and replay. Pi Durable storage recovery is a separate harness model.
- controls: RPC has explicit
abort, streamed events and extension UI requests/responses. Supported extension dialogs are not a universal built-in approval policy. Read stdout continuously; success of a prompt command is not completion of its model run.agent_settledis the completion signal described by the current contract. - lifetime: The RPC child belongs to its spawning client. Closing stdin requests orderly shutdown and runtime disposal; stopping stdout consumption can stall the process. For disconnection tolerance, a bridge must keep owning and draining the child. Durable restart recovery is not implicit in RPC.
- workspace: The process runs against its selected working directory and session files on the host. A remote viewer cannot assume its own filesystem is available to tools.
- acp: Pi ACP is provided by the community
pi-acpadapter, not the core stdio RPC protocol. Other SDK-based adapters have separate behavior. The retained ACP contract must be consulted for adapter-specific history and approval limits. - ACP adapter research retains its 2026-10-15 version boundary; this remote refresh is not a new adapter runtime probe.
- embedding:
@earendil-works/pi-durableis a distinct experimental durable harness built on pi-ai and Chord. It checkpoints conversations and tasks to storage so reopening can recover work. Cancelling a wait does not cancel the work. This contract establishes storage/task recovery, not a network or device-pairing interface; remote hosts must define those layers separately.
- pi v1.3.0: packages/coding-agent/docs/rpc.md, Documentation, checked 2026-10-19
- pi v1.3.0: packages/coding-agent/docs/rpc-commands.md, Documentation, checked 2026-10-19
- pi v1.3.0: packages/coding-agent/src/modes/rpc/rpc-mode.ts, Source code, checked 2026-10-19
- pi v1.3.0: packages/durable/README.md, Documentation, checked 2026-10-19
- pi v1.3.0: packages/coding-agent/src/main.ts, Source code, checked 2026-10-19
- ACP registry entry for pi-acp 0.0.34 (npx distribution), standard, checked 2026-10-15
- pi-acp README: install, Zed config, slash commands, limitations, Documentation, checked 2026-10-15
- pi-acp spawns `pi --mode rpc` per session, secondary, checked 2026-10-15
- pi v1.2.0 source tree has no ACP implementation (grep for agent-client-protocol/ACP finds nothing), Documentation, checked 2026-10-15
- pi-acp initialize probe, live observation, checked 2026-10-15
- Pi 1.3.0 durable harness over storage, Source code, checked 2026-10-20