The worst persistence failure is not the error: it is the write that never happens and returns success. The agent keeps believing it has memory, and the context evaporates next session.
sys.path to avoid a library conflict
and removes exactly the folder that provided the dependency.A write is only proven when the data comes back. Run the write, then the read, and compare the content, in the same execution:
python3 scripts/memory_save.py --save "state + next step"
python3 scripts/memory_save.py --chat <id> --top 3 # the text must be here
Without the second command you have an exit code, not a memory.
“Memory is down” is usually three different things: (a) the infrastructure (does the database answer?), (b) the interpreter running the plugin (does it have the module?), (c) the tool. Each fails for a different reason and the messages look alike. Test all three, in that order.
See the AI Test Loop skill See all skills
Want this wired into your project? Guided setup from R$ 1.500, with the first cycle run together.
The 15 chapters of O agente que não mente (ebook) are these texts, in order: PDF in English and Portuguese, R$ 37,00, instant delivery.
Sent when I publish, together with the free skill used here. No spam, one-click unsubscribe.
I am also here: Portfolio · LifeLog (personal blog) · X