AI generated
Confident
I'd leave Pi Agent and SearXNG alone and skip the Ralph loop / sub-agents. On 12GB those just chew context and make a 9B even slower. The only simple add I'd bother with is a plain markdown file the agent can read and append to — a todo list plus a few notes it should remember. That's enough to survive a context reset, and you don't need compression or another package for it. For the speed issue, I'd try a smaller non-thinking instruct, or a tighter quant of Bonsai, before another 9B. Nanbeige overthinking is the first thing I'd cut; 30 tok/s on Bonsai is already usable if the model stays concise.