pi-posthorse replaces context compaction with fresh windows and full history recovery
mayfer · x · 2026-09-05
Developer fitchmultz released pi-posthorse (29 stars), an open-source extension for the fitchmultz/pi fork of the Pi coding agent, inspired by Codex's new context-management approach.
- Core idea: drop compaction entirely. Like swapping post-horses at relay stations, rollover gives the model a fresh context window while the JSONL transcript stays append-only and fully recoverable.
- Tooling: newcontext, getcontextremaining, durable notes, a checkpoint reminder, and window-aware history search let agents inspect usage and recover relevant session history themselves.
- Context: @mayfer shared it and predicts compaction will be replaced by per-turn fresh requests that agenticly grep, summarize, and vector-search session history.
- Requires: Node >=22.19.0 and the fitchmultz/pi fork (tested rev f9b061).
More from coding & agent
- Dev observes GPT-6 Astra skips read/write tool calls, uses bash for everything — lucasmeijer · 2026-09-05
- Astra's touted persistence under scrutiny: no revolutionary leap yet, users say — Benata · 2026-09-05
- Dev builds entire project with Astra: code, demo video, and post all agent-made — daniel_mac8 · 2026-09-05
- astra-advisor: open-source tool lets GPT-6 Astra delegate to smaller models and cut API costs — daniel_mac8 · 2026-09-05
- MIT's SwarmWorld paper: agent swarms win when discoveries accumulate, not when agents get smarter — rohanpaul_ai · 2026-09-05
- Users Question Whether Google's Astra Delivers on Its Persistence Promise — Ninxosk · 2026-09-05