Pi Durable on Cloudflare
A multiplayer chat agent built on Pi Durable maps each agent session to one SQLite-backed Cloudflare Durable Object, so idle agents hibernate instead of holding a running machine.
A multiplayer chat agent built on Pi Durable maps each agent session to one SQLite-backed Cloudflare Durable Object, so idle agents hibernate instead of holding a running machine.
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.
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.