Pi Durable Ships Crash-Resumable Agent Runtime
Earendil shipped Pi Durable, an experimental MIT-licensed TypeScript harness for long-running agents with persistent conversations, checkpointed tasks, forkable histories, and typed application state. It resumes work after crashes while enforcing explicit replay policies for tool side effects. [Announcement](https://earendil.com/posts/pi-durable/) · [npm package](https://www.npmjs.com/package/@earendil-works/pi-durable)
Pi Durable tackles the real agent reliability problem: durable state and side-effect recovery, not merely saving chat transcripts. Its minimalist design is compelling for builders who want control, though its experimental API and limited operational guarantees make it a substrate to evaluate—not a turnkey production platform.
- –Checkpointed model turns and tool calls let processes resume after restarts, while replay policies distinguish safe retries from potentially harmful side effects.
- –Typed JSON documents commit atomically alongside transcripts, making application state, agent history, and fork behavior consistent.
- –SQLite, JSONL, memory, and portable storage options support self-hosted deployments across environments.
- –It offers agent-native durability in a smaller, more malleable package than general workflow engines such as Temporal, but without their broader production ecosystem.
- –The API can change without notice, and storage currently has single-process ownership, so production adopters should plan for operational hardening.
DISCOVERED
1h ago
2026-10-04
PUBLISHED
1h ago
2026-10-04
RELEVANCE
AUTHOR
AICodeKing