Recipes / Personal ops
Multi-agentFull setupPersonal ops

One shared memory for a mixed agent fleet

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.

From Ринат Фазлеев on X · Jul 2026

Setup timeHalf a day
CostFree (open source, local)
RunsEvening write, morning digest
NeedsMCP, Claude Code, Codex, Grok
Last updated2026-10-17

What the source did

  • 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 from the original post. See the original for the full context. How we source recipes

Our notes

What it takes
A local memory server registered as an MCP server in each agent, plus evening and morning routines.
Where it breaks
One wrong lesson spreading to every agent, and sensitive data leaking into shared memory.
Human checkpoint
Review lessons weekly and delete wrong ones.
Tools involved
MCP, Claude Code, Codex, Grok

✓ Verified Source link checked and still live. Notes by Thomas, editor. How we verify

Get their template

Made and published by Ринат Фазлеев. Start here; it is their original, not ours.

Our adapted version

Ours Our short version of the loop he described, if you'd rather not install the repo. Fill in the [BRACKETS].

EVENING (each agent): Write 3–5 lessons from today to shared memory. Each: one sentence, the project, and whether it's a rule or an observation. No secrets, no customer data. MORNING (digest): search yesterday's lessons, deduplicate, and produce a 10-line digest each agent reads at session start.

Approval rule

🛡
Review lessons weekly; delete wrong ones before they spread.

Set it up

  1. Run a local memory server and register it as an MCP server in each agent.
  2. Add the evening prompt to each agent's end-of-day routine.
  3. 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.

Get the 10 best agent setups. Free.

Plus new recipes every week. One email, no spam.

Unsubscribe anytime. Privacy

Related recipes

Same job: Personal ops

More Multi-agent recipes

Get their template ↗