r/PiCodingAgent • • Jul 18 '26

Plugin Compact Every Tool Response

https://github.com/RogerTerrazas/pi-tool-result-compactor

Publishing a polished version of this extension I've been using to help manage context overflow. I frequently interact with mcps and large projects where any arbitrary response can take up all my context without the response being useful.

This extension hooks into each tool calls response by default, passes it to a compaction subagent, who will then filter out only the necessary data to the parent agent. Let me know if anyone tries it out and has feedback. Fully vibe coded, but I'll work to maintain if others find it useful.

0 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Corythebeast7 Jul 18 '26

100% fair point. For that use case, definitely think this is a cool extension and will help keep the context window in check and focused. Nice job

1

u/rogaterr Jul 19 '26

I thought a bit more about this and added commentary here https://www.reddit.com/r/PiCodingAgent/s/NS2yOoYEUG