Repository navigation
Add optional Pi Durable runtime support for crash-resumable turns #43407
Chinoman10
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Would T3 consider supporting
@earendil-works/pi-durableas an opt-in runtime alongside the regular Pi provider?The current Pi provider uses
pi-coding-agentover RPC. Reopening a saved session preserves the conversation for a new turn. The gap is when the agent process dies mid-turn during a long unattended run: reopening the conversation isn't the same as resuming the unfinished run. Pi Durable can resume from committed checkpoints and reuse completed tool results.A useful first milestone would be to start a run with a read-only tool, kill the Pi worker after its result is committed but before the turn finishes, then verify that the same T3 thread and run finish without resubmitting the prompt or rerunning that completed tool. T3 should still own approvals and cancellation; tools whose side effects are uncertain must not be replayed automatically.
This isn't a request to replace the existing Pi provider or T3's orchestration. Given that the SDK is experimental, would a separate opt-in runtime make sense, or would maintainers prefer to wait for upstream Pi to expose it through the coding agent's RPC interface?
All reactions