r/PiCodingAgent • • 14d ago

Question Agent drift

Is the agent drifting from original plan a result of the model or harness? Im using QFN gyro-M and pi-blackhole but with the observational memory component is turned off due to the workers going every turn bogging the process down because im on a potato. I Told the agent to start step 5, walked away and at some point it had drifted from the orginal plan.md... it was a mess. Ever since then after every compaction im afraid it will drift. So, now every so often I'll have it do a "drift check". Is there an extension or skill I can add to the harness to help prevent this?

1 Upvotes

10 comments sorted by

View all comments

0

u/randomgenericbot 14d ago

Since you're on a "potato", you might give my memory extension a try. I can exactly run one model with one slot, and fresh context means 3+ minutes wait (this is what happens with pi-observational-memory: it kills your kv-cache if you do not have a second model running)

It does not store permanent memory, but keeps the session coherent while not hogging down too much on summaries. I am using it for months now, and still tweaking it.
My sessions last far over 20 compactions no problem, without the model losing track.

My reddit post from the past: https://www.reddit.com/r/PiCodingAgent/comments/1xb7k4n/i_solved_compaction_for_singlesession_on/