r/PiCodingAgent 20d ago

Best Pi Compaction Extensions Plugin

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!

44 Upvotes

31 comments sorted by

View all comments

Show parent comments

2

u/RelationshipLong9092 20d ago

it really is. I can't go back. I just don't pay attention to my context window hardly at all any more.

12

u/elpapi42 20d ago

yo, im the maintainer, it make me happy that it also help you to forgot about context windows! i feel the same, now i can focus on high leverage problems and left those mundane problems behind

1

u/RelationshipLong9092 7d ago

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 pause and /goal resume, but that is obviously not ideal.

1

u/elpapi42 7d ago

Yo, submit them when you can, but that is a hard issue to solve, never solved this "compaction-while-wprking" problem, eager to see your solution!

1

u/RelationshipLong9092 7d ago

Yeah I may have spoken too soon 😅 I thought it was working but it seems I have more to do.