Pi Durable
Pi Durable is an experimental TypeScript harness, shipped alongside Pi 1.0, for long-running agents that survive crashes, run many conversations concurrently, and run wherever a JavaScript runtime exists.
Pi Durable is an experimental TypeScript harness, shipped alongside Pi 1.0, for long-running agents that survive crashes, run many conversations concurrently, and run wherever a JavaScript runtime exists.
Pi now supports MCP in its core, reversing its earlier stance, because the changes MCP needed (deferred tool loading, Codemode-specific tool metadata, an interpreter sandbox) were useful more broadly, including for the Jev classifier.
Functionally correct LLM-generated code still accumulates slop such as needless abstractions, duplication and LOC explosions, and measuring it is hard.
Pi handles context-window overflow in long coding-agent sessions by compacting: it keeps recent messages within a configurable token budget (default 20k tokens, roughly 5–20 turns) and replaces older history with an LLM-generated structured summary.