r/PiCodingAgent • u/LeadingFruit6865 • Sep 23 '26
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


View all comments
Show parent comment
1
u/LeadingFruit6865 Sep 23 '26
I'm actually using Termius to access my vps, and is using custom theme, that explain how it got this weird color
as for the reason on why pi scored so bad on the benchmark, it mainly caused by the fact that Pi let the agent swallow up 5 KB of output within a single tool call, and then you would multiply that by the number of turns, you should be able to imagine it by now
another factor would be (based on the session trace): pi vanilla wanders around through the codebase on the first turn instead of running the unittest to locate the problem, it also keep running unnecessary command like `git diff` even though the tests already passed. But there's also a moment where vanilla Pi would win, thanks for its zero overhead
---
i do wish I could run the benchmark multiple time to smooth out the benchmark numbers, but running these benchmark are pretty costly for me ;-;