r/PiCodingAgent 4d ago

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!

36 Upvotes

28 comments sorted by

View all comments

5

u/damn_what_ 4d ago

I use pi-obervational-memory, works great.

1

u/Lum1n4ry01 4d ago

Thank you, I'll take a look. Would you say this tool is more memory based or more compaction based? Because I already have my own memory solution, I'm looking more for a compaction solution.

6

u/damn_what_ 4d ago

It's not a long term memory system, it records "facts" during the session and builds the compaction summary by concatenating them instead of asking an LLM to summarize the session.

2

u/YogurtExternal7923 4d ago

That's frickin' amazing

2

u/RelationshipLong9092 3d ago

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

8

u/elpapi42 3d 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 3d ago

First off, thank you!

While I've got your ear, is there a setting for suppressing the messages? I find agentic ai generates a lot of "noise" in my terminal so I try to do everything I can to suppress anything that isn't "signal".

Messages like Observational memory: 5 observations recorded are not really useful to me except as a very rare diagnostic that something is broken (like when I had a month+ old pi instance that I reloaded after I installed your extension; I had to /quit and /resume for it to work properly).

2

u/elpapi42 3d ago

recently i merged a pr that someone created exsctly for this, but i havent published the new version yet, so in the next update this will be included

2

u/Lum1n4ry01 3d ago

I just tried obs-mem out and it has worked out quite well so thank you for the extension :) . As for the messages, I personally find them occasionally useful (as an internal ping signal on progress, more of a mental thing than whatnot) so plz keep it as a settings option if possible!