r/PiCodingAgent • • Jun 13 '26

Question Long term memory for PI?

I started to look for long term memory solutions for PI and there seems to be many. I am using PI with local Qwen3.6 models, because of hardware limitations context is somewhere 40k-100k depending on quantization of model.

Any comments which solution to pick? At least these have popped up this far:

  • Engram (via pi-engram extension)

  • hindsight-pi

  • pi-honcho-memory

  • pi-memory

  • db0

  • pi-hippocampus

  • pi-mempalace

  • pi-agent-memory

And possibly even something else. Been reading something about them, asking from different AIs (local and public), and I have hard time to select which to start experimenting.

Edit: and definitely looking for self-hosted solution

20 Upvotes

18 comments sorted by

View all comments

9

u/archiblad Jun 13 '26

None. Keep good documentation with all the convention you need explicitly written. AGENTS.md has most important part and serves router role for other more specialized topics

1

u/m02ph3u5 Jun 14 '26

What about mistakes the model does (repeatedly) but that's not really relevant to humans?

1

u/archiblad Jun 14 '26 edited Jun 14 '26

This is most probably closed set of issues so you need to improve system prompt. ~/.pi/APPEND_SYSTEM.md for something to be loaded before context files. Early loaded = more important. If it happens only in some situation than extension and pi.on("before_agent_start" ..... Keep in mind that system prompt should be really condense to work correctly.