Shared memory
Share memory between cloud-hosted agents
Every agent has its own MemFS for personal memory. If multiple cloud-hosted agents need to share memory with each other, attach the same shared memory repository to each of them.
A shared memory repository is git-backed context that does not belong to only one agent. Every attached agent can access the same files and working context, read or update them with file and shell tools, and see changes made by the others. Changes are versioned with git.
Use shared memory for context that should not belong to only one agent, such as:
- Team conventions and shared instructions
- Product or project knowledge
- Research and reference material
- Plans and documents that multiple agents maintain together
You can work with shared memory through the web and desktop apps. Applications can also manage repositories and attach them to cloud-hosted agents with the Agent SDK.