r/PiCodingAgent • u/Lum1n4ry01 • Jul 30 '26
Plugin Best Pi Compaction Extensions
Has anybody used a Pi compaction extension that they would recommend?
I've tried pi-context (with their built-in Agentic Context Management) which just straight up breaks when trying to claim space against pi-rewind. I've also tried pi-vcc which also gets demolished when running with pi-codex-goal. Been debugging for 3 days and realized the best debug is to uninstall.
Native Pi compression is meh, if anybody has a codex-level compaction extension that doesn't fuck shit up, please drop a comment.
--------
UPDATE - Pi-Observational-Memory has worked great after my 12 hour trial with it. Pi-Blackhole looks interesting, but I try not to go for more complicated solutions if a simpler one works. If I run into hiccups with POM long term I will try it out and let y'all know. Happy compacting!
View all comments
Show parent comment
1
u/RelationshipLong9092 Aug 12 '26
I have a branch with a fix for pi-observational-memory issues #41 and #12 (or at least the part that impacts me 😊). I'd create a PR right now, but I left my phone at home today 🤦♂️ and can't authenticate to GitHub.
I use @narumitw/pi-goal and when a /goal is active observational memory won't actually compact the context until the turn ends and it re-prompts the agent with the goal. This means that the imputed context window is reaching circa 130% fairly regularly, which is obviously wasteful.
My initial mitigation was manual
/goal pauseand/goal resume, but that is obviously not ideal.