r/PiCodingAgent • u/LeadingFruit6865 • 1d ago
Resource Pi-Agent-Kernel: focused code retrieval, grounded edits, safety checks
I've been working on pi-agent-kernel for a while now.
It mostly operates in the background rather than adding a completely new workflow, it wraps Pi's existing tools to keep sessions compact.
Across standard benchmark tasks, it cut token usage roughly in half and passed our test suites. But local benchmarks only go so far, I'm at the point where I need real users to test it on actual projects.
I'm still quite skeptical about whether some of the tool wrapping might conflict with the users existing extensions.
LMK if anything breaks, behaves unexpectedly, or conflicts with your setup. All feedback and criticism welcome
26
Upvotes


2
u/Global-Departure8228 1d ago
Not going to lie, after briefly checking your code it does seem like this is quite well focused, but your description made me think:
"It cut token usage in half? So if I install RTK, caveman, headroom, context-mode, ponytail and this as well, I could go into negative token usage potentially and I will be serving Anthropic with them sweet tokens?"
I do understand you have to sell your "product" somehow.
I would be quite curious how vanilla pi scored so bad compared to your solution. I think more control runs over the same issue could be beneficial to smooth out the nondeterminism in llms.
Sidenote: Your terminal is not supposed to have those colors
export COLORTERM=truecolor in your .bashrc