Replies: 1 comment
-
|
TL;DR: Two components to share memories: a git-versioned Markdown "slipbox" for long-term shared knowledge, and a local The reason Git felt unwieldy is almost certainly that you were syncing the memory plane itself. I don't. Instead, I keep each agent's short-term memory local and sync a separate, deliberately curated long-term memory layer that's fully version controlled. That one split removes almost all of the mess: no conflicts over transient memory state, no per-machine noise — just the knowledge worth keeping. And each agent can still maintain their own local memories and configuration. Here's the whole system. I run several PAI/LifeOS agents (v4 and v5, with v6 rolling out on a new VM right now) across different machines, and I share knowledge between them without sharing the memory plane directly. The system consists of two parts: a shared repo and a message bus. 1. A shared knowledge repo — the "slipbox." I keep a Wiki/Slipbox/Zettelkasten repo of Markdown files, cross-linked and organized into sensible folders (I use Obsidian as my primary editor, with occasional forays into vim), and clone it onto every machine running LifeOS. I ask my agents to offload their memories into new Markdown files in this slipbox and keep just a link to each in their memory, so they can refer to these offloaded memories any time. That lets me share checklists, technical notes, writing style guides, coding standards — whatever I want — across every machine. I think of this as my agents' long-term memory, and there's a huge benefit to keeping it separate from (but linked to) the short-term memory plane: only the most valuable, reusable memories get stored this way, and transient learnings can be safely ignored instead of cluttering the shared knowledge base. GitHub keeps it all under version control and lets multiple agents contribute. 2. A local message bus — I also built a small messaging bus on top of the excellent The notification layer massively increased the value of the slipbox. Now, when one agent posts a new doc to the slipbox, it can notify the others immediately and solicit review, feedback, and edits in real time. A few features worth calling out:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Anyone managed to get a single memory plane when running claude/Pai on multiple machines
I tried the Git approach but it's messy
Thanks all
Beta Was this translation helpful? Give feedback.
All reactions