Repository navigation
feat: cross-conversation memory sharing system - #1
Merged
Merged
Conversation
Introduces a complete memory sharing stack enabling agents (and Claude Code conversations) to share context across sessions via a unified knowledge graph. New engines: - SharedMemoryNetwork: hierarchical namespaced KV store with CRDT sync, attestation quorum, subscriptions, and CoC distillation - MemoryGraph: cross-conversation unified graph with MAGMA multi-graph decomposition (semantic/temporal/causal/entity), Personalized PageRank retrieval, CoALA memory tiers, A-MEM auto-linking, sleep-time consolidation - Simple memory() SDK: dead-simple API (set/get/learn/recall/search/watch) - MCP Server: 9 tools for Claude Code integration, all conversations share ~/.society/shared-memory.db Storage: schema v15→v16 (shared_memories + memory_graph_* tables) Tests: 84 new integration tests (zero mocks), all passing Inspired by: MAGMA (arXiv:2601.03236), Zep/Graphiti (2501.13956), A-MEM (2502.12110), Sleep-time Compute (2504.13171), HippoRAG 2 (2502.14802), CoALA taxonomy, Mem0 (2504.19413) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
memory()SDK: dead-simple API —set/get/learn/recall/search/watch/export/import~/.society/shared-memory.dbautomaticallyArchitecture
arXiv papers incorporated
MAGMA multi-graph (2601.03236), Zep/Graphiti temporal KG (2501.13956), A-MEM Zettelkasten (2502.12110), Sleep-time Compute (2504.13171), HippoRAG 2 PPR (2502.14802), CoALA taxonomy, Mem0 dual-store (2504.19413)
Files
core/src/shared-memory.tscore/src/memory-graph.tscore/src/sdk/memory.tscore/src/mcp/memory-server.tscore/src/storage.tsTest plan
🤖 Generated with Claude Code