Multi-agent shared memory: best practices for two agents collaborating on the same project? #1576
-
ContextI'm running two AI coding agents simultaneously:
Both agents work on the same projects and I need them to share context: project progress, architecture decisions, debugging findings, user preferences. What I triedApproach 1: Three-zone bank architectureCreated three Hindsight banks on the same API instance:
Built a Python wrapper script for Agent B to call the Hindsight API via shell commands. Problems encountered:
Approach 2: CLAUDE.md + shared markdown filePut shared context directly in a config file (auto-loaded by Agent B) and a shared markdown file in each project directory. Problems:
Approach 3 (current): Minimal
Questions
Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
@1ain0516 thanks for the detailed write-up. the multi-tool shared-memory pattern is exactly what hindsight is designed to support. The canonical version of it is one bank that every tool reads and writes through, not three banks isolated per agent. There's a recent post by a community member that walks through running that pattern across claude desktop, claude code cli, codex, openclaw, and the chatgpt apps, all pointing at one shared bank: https://hindsight.vectorize.io/blog/2026/04/07/one-memory-for-every-ai-tool. Having multiple banks goes against the spirit of sharing information between agents and should only really be used to total isolation of tasks. |
Beta Was this translation helpful? Give feedback.
@1ain0516 thanks for the detailed write-up. the multi-tool shared-memory pattern is exactly what hindsight is designed to support. The canonical version of it is one bank that every tool reads and writes through, not three banks isolated per agent. There's a recent post by a community member that walks through running that pattern across claude desktop, claude code cli, codex, openclaw, and the chatgpt apps, all pointing at one shared bank: https://hindsight.vectorize.io/blog/2026/04/07/one-memory-for-every-ai-tool.
Having multiple banks goes against the spirit of sharing information between agents and should only really be used to total isolation of tasks.