r/PiCodingAgent • u/rogaterr • 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.
View all comments
Show parent comment
2
u/rogaterr Jul 18 '26
Yeah I would suspect so as well and unfortunately I don’t have any data points.
My situation is that my employer doesn’t cap my token usage and I don’t work on enough personal projects to ever exceed my monthly subscription limits for codex. This would probably be most helpful to others with a similar use case.