Open-sourced the memory layer my agent fleet runs on
by Ринат Фазлеев (@fazerluga) · 2026-07-18
✓ Opened via the X API on 2026-10-15
Read the original ↗Claude Code, Codex, several Hermes profiles and Grok share one self-hosted memory over MCP; each writes an evening summary and a morning digest spreads the lessons to all.
- Exposes three MCP tools (search, add, stats) over HTTP or stdio.
- Every agent writes a summary of its day each evening.
- A morning digest shares yesterday's lessons with the whole fleet.
Summary written by Agent Cookbook. See the original for the full context.
Adapted by us from what the source described. Fill in the [BRACKETS].
The prompt
Set it up
- Run a local memory server and register it as an MCP server in each agent.
- Add the evening prompt to each agent's end-of-day routine.
- Schedule the morning digest.
Common failures
- One wrong lesson propagates to every agent.
- Sensitive data leaking into shared memory.
Variations
- Start with a shared markdown file before an MCP server.