Multi-Agent Memory: Open Source Shared Memory System for AI Agents
Multi-Agent Memory is an open source project that gives AI agents a shared memory system that works across machines, tools, and frameworks. It was born from a production setup where OpenClaw agents, Claude Code, and n8n workflows needed to share memory across separate machines.
The Problem It Solves
When running multiple AI agents like Claude Code for development, OpenClaw for autonomous tasks, and n8n for automation, each maintains its own context and forgets everything between sessions. Existing solutions are either single-machine only, require paid cloud services, or treat memory as a flat key-value store without understanding that facts and events are fundamentally different.
Typed Memory with Mutation Semantics
The system understands four distinct memory types, each with its own lifecycle:
- event: Append-only, immutable historical record. Use case: "Deployment completed", "Workflow failed"
- fact: Upsert by key, new facts supersede old ones. Use case: "API status: healthy", "Client prefers dark mode"
- status: Update-in-place by subject, latest wins. Use case: "build-pipeline: passing", "migration: in-progress"
- decision: Append-only, records choices and reasoning. Use case: "Chose Postgres over MySQL because..."
Memory Lifecycle
The system follows this process: Store → Dedup Check → Supersedes Chain → Confidence Decay → LLM Consolidation
- Deduplication: Content is hashed on storage, exact duplicates return existing memory
- Supersedes: When storing a fact with the same key as an existing fact, the old one is marked inactive and the new one links back to it
- Confidence Decay: Facts and statuses lose confidence over time if not accessed (configurable, default 2%/day). Events and decisions don't decay
- LLM Consolidation: Periodic background process (configurable, default every 6 hours) sends unconsolidated memories to an LLM that finds duplicates to merge, contradictions to flag, connections between memories, and cross-memory insights
Security Features
- Credential Scrubbing: All content is scrubbed before storage. API keys, JWTs, SSH private keys, passwords, and base64-encoded secrets are automatically redacted
- Agent Isolation: The API acts as a gatekeeper between agents and data. Agents can only store and search memories, read briefings and stats. They cannot delete memories, drop tables, bypass credential scrubbing, access filesystem/database directly, or modify other agents' memories retroactively
- Security Implementation: Timing-safe authentication using cr****.timingSafeEqual(), startup validation requiring environment variables, and credential scrubbing before storage
Session Briefings
The system supports session briefings that summarize what happened since the last session, allowing agents to start with relevant context.
📖 Read the full source: r/openclaw
👀 See Also

Fleet Commander: Open-source dashboard for orchestrating multiple Claude Code agent teams
Fleet Commander is a local web dashboard that runs multiple Claude Code agent teams in parallel on different issues. It uses a 'Diamond team' structure with Planner, Dev, and Reviewer agents that communicate peer-to-peer via SendMessage.

Mnemos: an MCP server for persistent Claude Code memory
Mnemos is an open-source MCP server that gives Claude Code persistent memory across sessions, recording corrections as structured patterns and pushing ranked context at startup. Single 15 MB Go binary, no Docker or vector DB needed.

Agent Wake Skill for OpenClaw: Notify Discord When Tasks Complete
A developer created agent-wake.py, a Python script that Claude Code calls after tasks finish. It sends Discord pings and fires wake events via the gateway HTTP API, prompting the agent to post summaries automatically.

RelayPlane Open Source Proxy Shows 73% Cost Reduction with Claude Model Routing
RelayPlane, an open source npm-native proxy for the Anthropic API, demonstrated 73.4% cost savings in benchmarks by routing requests to appropriate Claude models based on complexity. The tool reduced cost per 10 requests from $0.0323 to $0.0086 while improving p50 latency from 1.55s to 0.78s.