Worker Agents Shouldn't Write Memory Directly: A Curator-Agent Pattern

In a multi-agent setup, shared memory pollution is a familiar pain. One developer on r/openclaw describes a pattern that gates all memory writes through a dedicated Memory Curator agent, preventing worker agents from writing durable facts directly. The approach is inspired by organizational transactive memory research (Ren & Argote) and existing agent memory systems like MemGPT, MemoryBank, LEGOMem, and Generative Agents.
How the Memory Curator Pattern Works
Worker agents never write to memory. Instead, they emit structured memory events with a proposed scope and evidence. The Memory Curator agent then validates, redacts, deduplicates, and routes each event to one of four scopes, or discards it outright.
The Four Scopes
- Agent Repo Memory — durable design decisions for a single agent (analogous to individual specialist memory)
- Agent Team Memory — cross-agent procedures, handoff standards, safety rules (transactive team memory)
- Project Memory — current state, decisions, risks for one engagement
- Session Scratch — temporary observations that probably shouldn't survive (short-term working memory)
Event Schema
Events are JSON with type tags: fact, decision, preference, risk, procedure, hypothesis, plus an evidence reference and a proposed scope. The curator can override the proposed scope and is the only writer to durable stores.
Open Questions
The author flags two concerns:
- Over-emission or under-emission — the event requirement might cause workers to emit everything (flooding) or stop bothering (losing useful observations).
- Routing accuracy at scale — session vs. project boundaries blur on long sessions; project vs. team boundaries blur when a lesson generalizes.
The repo is at github.com/jeongmk522-netizen/agent_memory_curator_agent. The developer is curious whether others gate writes up front or do cleanup passes later, noting that cleanup-after is easier but pollution probably accumulates faster than it gets removed.
📖 Read the full source: r/openclaw
👀 See Also

Exploring the Minimum Requirements for OpenClaw: Is OrangePi Zero Sufficient?
Can the budget-friendly OrangePi Zero suffice for running OpenClaw effectively? Dive into the Reddit discussion unraveling this compact yet powerful setup's potential and limitations.

Routing Agent Subtasks to Cheaper Models Dropped Cost from $18 to $4 on Same Refactor
A developer cut agent run costs from $18 to $4 by routing routine subtasks (lint, rename, config edits) to cheap models like DeepSeek V4 Pro and Tencent Hunyuan Hy3, reserving Opus 4.7 for complex reasoning.

How to Disable Claude Code's 1M Context Window to Reduce Token Usage
Anthropic users can disable the 1M context window in Claude Code by adding environment variables to settings.json, which may reduce unexpected token consumption. The source provides two configuration options: completely disabling 1M context or capping the auto-compact window.

20 Claude Code Commands Every Developer Should Know
A Reddit post lists 20 Claude Code commands for stopping tasks, managing context, branching, remote control, and productivity shortcuts like /compact, /branch, and /simplify.