Tired of re-explaining yourself to every AI tool?
Posted by ZestycloseTie1793@reddit | LocalLLaMA | View on Reddit | 7 comments
I use multiple AI agents for different things — OpenClaw for general tasks, OpenCode for coding, sometimes Hermes for quick stuff. Every single one forgets who I am between sessions.
Tried the built-in memory features. Problem is they're locked to one tool. OpenClaw's memories don't transfer to anything else. Each agent is an island.
So I made Relic — a set of Markdown files that any AI agent can read to learn about you and your preferences. It's based on the Relic biochip from Cyberpunk 2077 (the thing that stores Johnny Silverhand's soul).
Your AI gets:
- A personality file (SOUL.md) — so it knows who it is
- A user profile (USER.md) — so it knows who you are
- A memory file (MEMORY.md) — so it remembers what happened
- An agent registry — tracks which agents have connected
All plain text. `cat` readable. No database, no server, no install step other than `git clone`.
The cross-agent memory sync is the killer feature for me. I can work with OpenCode all morning, it writes memories to the shared file, then when I switch to OpenClaw in the afternoon it picks up where OpenCode left off. Like one consciousness jumping between bodies.
GitHub: https://github.com/LucioLiu/relic
Anyone else dealing with AI memory loss across tools? How are you handling it?
ai_guy_nerd@reddit
The idea of using plain Markdown files as a "biochip" for AI is definitely the right way to handle the fragmentation problem. Databases are great for scale, but for a personal assistant, having the memory in a format that is human-readable and git-trackable is far more sustainable. It transforms the agent from a temporary tool into a persistent entity.
Most of the "memory" features in commercial tools are just glorified system prompts or narrow vector windows. Moving the state to a filesystem that the agent can actively read and write to allows for a much more organic growth of context. Systems like OpenClaw use a similar approach with daily logs and curated long-term memory files to maintain continuity across sessions.
Looking forward to seeing how Relic handles conflict resolution when two different agents try to update the same memory file. That's usually where the real chaos begins.
ZestycloseTie1793@reddit (OP)
I've considered this before, and I'm currently using the simplest method, only write, not delete, which can try to avoid the competition between two prosthetics for the same Relic memory, but you're right, I need more testing
I can do relatively few tests myself, I repeatedly empty the relevant documents of my agent, and then repeatedly enter the output to test the reliability of Relic, but so far I have only conducted 5\~6 rounds of testing, maybe I still need to think about how to be more automated, although letting opencode review the code is also a way, but the actual running often makes me find more problems
vSphere-Cluster-1234@reddit
This didn't need to be a github repo and you didn't event format your post correctly - why is everything in a code bloc.
Also, great idea, which is why people are already doing it. Happy to see you are rediscovering fire with a slightly different firestarter and consider it novel enough to share with the class.
ZestycloseTie1793@reddit (OP)
In fact, I also created a version of this in Clawhub, called “Relic Soul Chip”. Using that platform might be more convenient, since you just need to download the relevant file. But I still prefer to use the name “Relic” alone… Hahaha, at least GitHub doesn’t impose any restrictions on duplicate names.
vSphere-Cluster-1234@reddit
Again, I think your post would have been better received if you used a less click bait title and be blunt: I am doing something that everyone else is already doing but with a slightly different flare referencing a pretty popular contemporary video game. You'd at least get Cyberpunk 2077 fans clicking in here and taking a look.
ZestycloseTie1793@reddit (OP)
To be honest, it's actually the text that OpenCode helped me think, hahaha, in fact, I was going to make a cyberpunk-style simple UI interface at the beginning, but unfortunately Hermes spent up my token quota this week, so I can only wait, although no one may download it, but it feels quite fun
ZestycloseTie1793@reddit (OP)
BTW,Thank you for the reminder.