Multi-Agent Memory
Share one Wolbarg instance across concurrent agents with agent-scoped filters.
Pattern
const ctx = new Wolbarg({ /* … */ });
await ctx.remember({ agent: "writer", content: { text: "…" } });
await ctx.remember({ agent: "researcher", content: { text: "…" } });
await ctx.recall({
query: "…",
filter: { agent: "writer" },
});
// Org-wide shared recall — omit agent filter
await ctx.recall({ query: "…" });Isolation
Organizations isolate tenants in one database file. Agents isolate authors within an organization. Writes serialize via an in-process mutex and ACID transactions.