r/PiCodingAgent • • Sep 26 '26

Question Extensions for small models with small context

What extensions help you improve your results when using small models and reduce context usage?

I mainly use Qwen3.5 and Gemma 4 both with 4b parameters. I use them with 128k context. It is sufficient for my use cases when coding or writing articles in latex.

I have tested some plugins like pi-hashline-edit-pro or rtk plugins that enhanced the experience, others not much or even made it worse.

I am curious what packages the community has find useful or settings that led to some improvement in this context.

2 Upvotes

8 comments sorted by

3

u/onesilentclap Sep 26 '26

You might want to consider pi-vcc for compaction. It's fast and efficient.

2

u/in-ortunado Sep 26 '26

what it does when even the deterministic compactation reaches the max tokens?

2

u/onesilentclap Sep 26 '26

Out of the box pi-vcc overrides the default compaction of pi in its default settings, so it is covered as well. You can disable this if you don't prefer it that way, it's configurable.

1

u/russlixx Sep 29 '26

at first it will reduce the tail, if still not sufficient, i think it compact again by evicting old transcript and rely more by linking to the original context. So, lossless still

2

u/jorgemendes Sep 26 '26

I tried Kodrack's pi-forge and little-coder. They're not extensions but more like overlays on pi coding agent. Both do some tricks to control de context, keep the outputs small and recording notes to deal with the lack of intelligence and memory of the small models. I think both of them help, but I find myself leaning more on little-coder lately. It also seems to be a more active project.