Pi Durable: A TypeScript Library for Crash-Recoverable AI Agents
ORIGINAL / Pi Durable: AI agents that survive crashes
Pi Durable, presented by Hugging Face, is a TypeScript library whose stated novelty is checkpointing every task and tool call (SQLite / JSONL) so an agent resumes where it left off after a process restart, instead of leaving a half-finished tool call. It targets always-on agent builds and is described as usable fully locally with Qwen3.5-0.8B on llama.cpp.
01 ABSTRACT
The source describes regular coding agents leaving half-finished tool calls after a crash and claims Pi Durable addresses this by persisting every task and tool call as checkpoints. The author positions it as a TypeScript library for building always-on agents rather than a CLI, and mentions fully local operation with Qwen3.5-0.8B on llama.cpp. Recovery effectiveness and local deployment performance are source claims; the input provides no benchmarks or independent validation.
02 KEY FINDINGS
- Records checkpoints per task and tool call in SQLite or JSONL, allowing execution to continue after a process restart.
- Positioned as a TypeScript library for always-on agents, not a command-line tool.
- Supports fully local operation, with examples using Qwen3.5-0.8B on llama.cpp.
AI GENERATED SUMMARY / DISCOVERED BY HUGGING FACE